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)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to