UnixServerAdmin

Server Administration & Management

How to Fix corrupted RPM database on CentOS

To fix the corrupted database just execute the following command from the console:-

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

# rpm –rebuilddb -vv

June 1, 2012 Posted by | Tips & Tricks, Unix/Linux | , , | Leave a comment