Description of problem: after "yum update rpm"; yum no longer works: $ yum list foo There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib/librpm.so.0: undefined symbol: cap_compare Please install a package which provides this module, or verify that the module is installed correctly. ... etc. Indeed: # ldd -r /usr/lib/librpm.so.0 undefined symbol: cap_compare (/usr/lib/librpm.so.0) Steps to Reproduce: 1. have libcap-2.10 2. yum update rpm 3. yum update anything # won't work
This problem caused by a bug in libcap, failed as bug 505598
fixed in rpm-4.7.0-6