Red Hat Bugzilla – Bug 397471
[RFE] [PATCH] database consistency check
Last modified: 2014-01-21 18:00:42 EST
Unfortunately, yum and rpm are not without their share of bugs. Sometimes you
get broken dependencies, or failed upgrades with duplicate packages. Apt has a
nice command which allows you to find and identify such problems, but yum does not.
The included patch adds a "check" command which adds that missing functionality.
It does two things:
- Checks that every dependency for every package is satisfied, and prints out
those which are not.
- Check that there is only one of each package installed. It excludes those in
This covers the most common problems found, and gives enough information to
solve them. Automatic repair would also be nice, but it is not included here.
Created attachment 267821 [details]
You want to install yum-utils and run package-cleanup (--problems does #1, and
--dupes does #2).