Rebuild the YUM Database in Fedora 7

If you’ve ever gotten to a point where installing RPMs in linux becomes unresponsive, unreliable and/or extremely flaky, you may need to dig a little deeper. Simply killing the yumex/yum/python processes may not be enough. Perhaps a reboot will do the trick, but when you run a server, any downtime whatsoever is unacceptable 99.9% of the time. Your next option–rebuild the RPM database. YUM will (should, rather) then function normally. Do so as stated:

rm -f /var/lib/rpm/__db*
rpm –rebuilddb
yum clean all


No comments yet. Your thoughts are welcome.

Leave a reply

Add this site to your Firefox Search Bar

Twitter Updates


The line separating what's real and what isn't is becoming more and more obfuscated...

Follow Ben on Twitter

Recent Entries

Categories

Archives

This site is optimized for Firefox.