[Yum-devel] Guarantee Install Order

James Antill james at fedoraproject.org
Fri Feb 22 21:32:23 UTC 2013


On Fri, 2013-02-22 at 14:06 -0600, Kevin Knowles wrote:
> Hi all,
> 
> I have the following dependency structure:
> A depends on B depends on C
> 
> The dependencies are being set in each RPM as requires.  So, A requires B
> and B requires C.
> 
> When doing a yum install A, I would expect the install order to always be
> C, B, A.  But we are seeing B being installed before C some times.  The
> problem is B has a post install script that calls an executable installed
> by C.  What will I need to set in RPM or Yum to guarantee that C is always
> installed before B?  I am using RPM v4.8 if that matters.

 That's an rpm thing, the best documentation I can find off hand is:

http://www.rpm.org/wiki/PackagerDocs/Dependencies#ScriptletDependencies



More information about the Yum-devel mailing list