Red Hat Bugzilla – Bug 476490
"yum remove openldap / db4" wants to remove all packages
Last modified: 2014-01-21 18:07:15 EST
Description of problem:
Wanted to remove openldap or db4 (related to another bug I filed). When trying "yum remove openldap" or "yum remove db4" I was offered to remove 945 packages. I checked a few of these and they were the latest once installed (for instance yum itself). I did not go through with it so cannot say if they would indeed be removed.
Version-Release number of selected component (if applicable):
How reproducible: "yum remove openldap", "yum remove db4"
Steps to Reproduce:
Actual results: too many packages selected for removal
Expected results: only the packages indicated to be removed
Additional info: this makes a workaround for another bug (openldap bdb) impossible and makes my whole authentication impossible.
Since this bug in combination with other bug openldap bdb related makes LDAP unworkable on FC10, the upgrade from FC8 to FC10 has failed and I need to roll back on my production machines.
This is not a bug, doing anything else would be a bug, these packages have a huge amount of very real dependencies. Try 'rpm -e --test openldap db4' to see the direct dependencies, yum processes these recursively (like it should) to remove everything that depends on db4 and openldap, everything depending on those packages in turn etc.
'rpm -e --nodeps db4 openldap' will only remove those two packages but don't be surprised when everything and the world breaks if you do so.
OK. Understood. Which makes my other bug report 476488 more serious, as openldap and bdb cannot be removed without breaking the system as you say.