Fix corrupted RPM database on CentOS 5

If rpm / yum command hangs during operations or you see error messages – it means your rpm database corrupted. /var/lib/rpm/ stores rpm database just delete the same and rebuild rpm database:

Command to rebuild rpm database

rm -f /var/lib/rpm/__db*
rpm --rebuilddb -v -v

Facebook Comments

More Stuff

Changing in 11.44 – Database Name Length Restriction UPDATE – We have updated our plans for database prefixing and maximum username and database name lengths. For more information, read our latest post: ...
4 open source alternatives to Microsoft Access When small businesses, community organizations, and similar-sized groups realize they need software to manage their data, they think first of Microsof...
Installation Guide of Fedora 24 Workstation with Screenshots After breaking the news on TecMint news section to our readers and followers about the official release of Fedora 24 which was earlier on that day ann...
How to install htop on macOS Unix desktop running on MacBook Pro n... I like htop on my Ubuntu server. The man page says it is a free (GPL) ncurses-based process viewer for Linux. Can I install htop on macOS Unix deskto...
Spread the love

Posted by News Monkey