yum – Fixing Corrupt DB
If yum hangs you may have a corrupt DB. Try this.
[root@localhost rpm]# cd /var/lib/rpm [root@localhost rpm]# rm -f __db* [root@localhost rpm]# rpm -rebuilddb [root@localhost rpm]# yum clean all
Example is based on Redhat paths.
Related posts:

Leave a comment