How to rebuild the RPM database for Linux Centos 5

gorilla-chimp

Had problems with our RPMs and our sys-admin Tim Hass came up with the perfect answer ! First of all You just need to be sure that no rpm processes are running!

Then delete /var/lib/rpm/__db.*

and then run the command:

rpm –rebuilddb -vv

Nice one 🙂 Thanks Tim

Discover more from WIREDGORILLA

Subscribe now to keep reading and get access to the full archive.

Continue reading