Archive for May 9, 2004

Fixing a corrupt RPM database

RPM is great for maintaining packages on multiple systems – until something goes wrong and the database gets corrupted. Here’s a quick and easy way to rebuild a corrupt RPM database: $ rm -f /var/lib/rpm/__db* $ rpm –rebuilddb