Think. Blink. Click.
Thursday, May 28, 2009
Rebuilding the rpm database
Sometimes the system updates using
yum
or
rpm
fails displaying a rpm database corruption error.
To remove this error we need to rebuild the rpm database.
First, remove the corrupted database. This involves deleting
/var/lib/rpm/__db*
files.
# rm /var/lib/rpm/__db*
Second, recreate the database
# rpm --rebuilddb
That's it.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)