Red Hat Bugzilla – Bug 135048
rpms are not uninstalled in "dependency order"
Last modified: 2007-11-30 17:10:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
When several packages are uninstalled using a single rpm invocation
they are not uninstalled in proper dependency order.
Example: I have two packages, base and application.
Application requires base.
When installing both with "rpm -U base.rpm application.rpm" then
base is installed first (even if I use "rpm -U application.rpm
base.rpm"). Just as it should be.
When uninstalling them "rpm -e base application" and "rpm -e
application base" gives different results. Then the packages seems to
be uninstalled in reverse command line argument order. That breaks the
dependency and my application requires base to be available in the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Build attached packages
2. Install them
3. Try both variants of "rpm -e" as mentioned above
Actual Results: Different uninstall order
Expected Results: The same order. application should always be
uninstalled before base since it has a "requires base" dependency.
Created attachment 104926 [details]
Example spec file for dummy base package
Created attachment 104927 [details]
Example spec file for dummy application package
I think this is a duplicate of bug 129875
Collapsing into common rpm sorted erasure bug
*** This bug has been marked as a duplicate of 158577 ***