Pages

Sunday, September 19, 2010

Fixing yum's corrupted database...

Today, I need to update my CentOS servers. So I fire up 
#yum -y update

It ends up with error that say "rpm database corrupted"
After googling, I get the way to fix it back.

To Fix The RPM's Corrupted Database
#rm -f /var/lib/rpm/__db*
#rpm --rebuilddb
#yum -y update

I hope that this tip may save someone out there. :)

No comments:

Post a Comment