Removing duplicate RPM packages

Every so often you get a weird RPM situation where the same RPM is installed twice. The solution is to remove both of them, and then reinstall one.

rpm bad-package -e --allmatches
Leave A Reply - 1 Reply
Replies
zeus 2014-01-31 09:13am - No Email - Logged IP: 86.5.182.54

May need to backup libraries first!! I did this with openssl which removed the libcrypt.so(64), amongst others, which totally fouled up yum and left rpm complaining about the lack of the libcrypt.so. No gui thereafter and had to download the rpms via another server and install using rpm with --nodep option.

All content licensed under the Creative Commons License