Select Page

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: [code]rm -f /var/lib/rpm/__db* rpm –rebuilddb yum clean all[/code] About Benjamin PeroveBen has been associated with a broad spectrum of technologies starting from an early age, and he's contributed to the success of many businesses and enterprises professionally since 2001. Most of his time is spent building cool stuff. When he's not working, he enjoys reading, playing acoustic guitar, and being with friends. He currently resides in Medellin,...