[Yum-devel] remove dependency ordering problem
Jesse Keating
jkeating at j2solutions.net
Tue Apr 1 19:39:09 UTC 2008
On Tue, 2008-04-01 at 11:50 -0600, Robert Mecklenburg wrote:
> However when we perform a "yum remove pkga" the order of removal is
> not pkgc, pkgb, pkga. Of course, our situation is more complex with
> more packages and at least one more "layer" of requires. In our case,
> pkga is actually removed before some of the other packages. Since
> pkga contains files needed to remove our other packages (such as
> scripts and shared libraries), the other package removes fail.
Are you making proper use of Requires(post): ?
If I understand it correctly, removal ordering and install ordering is
all inside rpm itself, not yum. Yum just hands rpm a transaction list,
rpm figures out what order to do it in. You have to give rpm hints if
you need things for %pre and %post so that it can get the ordering
correct.
--
Jesse Keating RHCE (jkeating.livejournal.com)
Fedora Project (fedoraproject.org/wiki/JesseKeating)
GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080401/e4c44ed2/attachment.pgp
More information about the Yum-devel
mailing list