Originally published at: https://www.cyberciti.biz/tips/rebuilding-corrupted-rpm-database.html
One of our clients reported that he is getting an error and RPM database is corrupted. He is using Red Hat Enterprise Linux. Sometime it is possible to fix RPM database errors. I am surprised that many Linux admins do not make back up of RPM DB (/var/lib/rpm). Anyways if you ever messed up with…