[Yum-devel] Guarantee Install Order

Zdenek Pavlas zpavlas at redhat.com
Mon Feb 25 13:55:39 UTC 2013


> >  The problem is B has a post install script that calls an executable
> > installed by C.

> Simple requires are always sufficient to guarantee install order,
> unless there are dependency loops.

A dependency loop could be detected when ordering the transaction.
Packages participating in the loop must be installed essentially
"at the same time". Can't we do something like this, then?

1) %pre of B, then C
2) unpack B and C
3) %post of B, then C

Should work no worse than the current solution, IMO.
(scriptlet-to-executable requires would always work, at least)


More information about the Yum-devel mailing list