Getting DB_RUNRECOVERY error from yum/rpm, what can you do to fix it? The error messages look something like this:

$ sudo yum install google-chrome-stable
error: rpmdb: Thread/process 9662/3077695168 failed: Thread died in Berkeley DB library
error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db4 - (-30974)
error: cannot open Packages database in /var/lib/rpm
Error: rpmdb open failed


To fix this problem:

sudo rm -rf /var/lib/rpm/__db.00?
sudo rpm --rebuilddb
Tagged with:

One Response to error: rpmdb: … DB_RUNRECOVERY Fatal error, run database recovery

  1. says:

    That is a very good tip espeecially to those new to the blogosphere.
    Brief but very precise info… Many thanks for sharing this one.
    A must read post!

Leave a Reply

Your email address will not be published. Required fields are marked *

Set your Twitter account name in your settings to use the TwitterBar Section.