Rebuild the YUM Database in Fedora 7

Share the knowledge

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


I liked a @YouTube video Flash Fans: 2012 Budweiser Official Big Game Commercial

Recent Entries

Topics

Archives

This site is optimized for Firefox.