DB RUNRECOVERY: Fatal error, run database recovery

DB RUNRECOVERY: Fatal error, run database recovery

From Consultancy.EdVoncken.NET

Jump to: navigation, search

Sometimes, for example if you kill the yum update process, the RPM database is left in an inconsistent state.

Here's how to fix that:

 rm -f /var/lib/rpm/__db*
 db_verify /var/lib/rpm/Packages
 rpm --rebuilddb