[Rpm-maint] installation ordering

Pixel pixel at mandriva.com
Thu Jul 10 11:25:54 UTC 2008


Tom Brown <tom at ng23.net> writes:

> Hi
>
> I have an rpm called say 1 that had dependencies on rpm's 2, 3 and 4 - 
> so when i install 1 then 2, 3 and 4 also get installed which is the desired
> result.
>
> Is there anyway that i can have rpm 1 install first out of the 4 as there are
> pieces in rpm 1 that 2, 3 and 4 rely on?

you should tell more, but what you must something like

in pkg{2,3,4}.spec:

Requires(pre): pkg1

or

Requires(post): pkg1



More information about the Rpm-maint mailing list