[Yum] RPM install order

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

 



On Wed, Sep 14, 2005 at 02:46:00PM -0400, Paul Oehler wrote:

> In the spec file that builds the 2.1.0 version RPMS,
> myproduct-progs-2.1.0 requires: myproduct = 2.1.0
> AND
> myproduct-tests-2.1.0 requires: myproduct-progs = 2.1.0
> 
> The goal with these require rules is to have myproduct-tests ALWAYS install 
> AFTER the myproduct and myproduct-progs RPMS install for a given version.

This is *not* what the semantics of these requires lines say!
The "Requires:" lines only say that after that total rpm transaction
the requirements are fullfilled, they do not specify any install order.

For forcing an install order, you should use "Prereq:" i.s.o. "Requires".

> Am I just completely wrong to think that this install order is forceable 
> with requires: statements in a spec file?

Yes, see above.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux