[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Difference between Prereq: and Requires:



So *if* a packageA has a "provides:" equal to what packageB has as a
"Prereq:" then pkgorder will (assuming all else is okay) order packageB
after packageA.  But what of packages that don't have "provides:"?  How can
I force my package to be the last package installed?

Diane


Diane Reichlen
Symantec Corporation
dreichlen@symantec.com
----- Forwarded by Diane Reichlen/Waltham/Massachusetts/SYMANTEC on
05/17/2002 02:59 PM -----
                                                                                                           
                      Jeff Johnson                                                                         
                      <jbj@redhat.com>         To:       rpm-list@redhat.com                               
                      Sent by:                 cc:                                                         
                      rpm-list-admin@re        Subject:  Re: Difference between Prereq: and Requires:      
                      dhat.com                                                                             
                                                                                                           
                                                                                                           
                      05/17/2002 12:30                                                                     
                      PM                                                                                   
                      Please respond to                                                                    
                      rpm-list                                                                             
                                                                                                           
                                                                                                           




On Fri, May 17, 2002 at 11:39:18AM -0400, Diane Reichlen wrote:
> I am trying to build an rpm that will be installed any time after the
> kernel is installed during a RedHat 7.1 installation.  From reading
through
> this mailing list I saw reference to pkgorder, prereq and require.  What
is
> the difference between using Prereq and requires?  I have looked through
> the Maximum RPM documentation and can find nothing on "Prereq".

There is no difference between PreReq: and Requires:, *except*

             PreReq: is a hint used for package ordering, and a package
             which contains the matching provide is guaranteed to be
             installed before whatever package has the PreReq:.

Even that PreReq: distinction is moot these days *except* when a dependency
loop is encountered, in which case the loop will be trimmed on Requires:,
leaving PreReq:'s as is.

73 de Jeff

--
Jeff Johnson             ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC



_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []