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
 

About Benjamin Perove

Benjamin has been associated with computer technology starting from a very early age, and has contributed to the success of many businesses and enterprises since 2001. He loves to crush pow at Keystone, play acoustic guitar, climb rocks, and ascend mountains on his road bike. Benjamin is an Avalanche fan and currently resides in Boulder, Colorado.

Add this site to your Firefox Search Bar

Twitter Updates


No public Twitter messages.

Recent Entries

Topics

Archives

This site is optimized for Firefox.