How to rebuild the RPM database.

If you are facing the problem with the rpm then you can simply update the rpm database by using the following command from the shell.The following command allow you to recover the corrupt rpm database.

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

About Anant 386 Articles
Senior technical writer