lost and found ( for me ? )

Fedora 19: yum error: BDB0087 DB_RUNRECOVERY: Fatal error

small tips to how to fix the yum error.

# cat /etc/fedora-release ;uname -ri
Fedora release 19 (Schrödinger’s Cat)
3.11.3-201.fc19.x86_64 x86_64

# yum update -y
error: rpmdb: BDB0113 Thread/process 2917/140267983161152 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

rebuild the rpm DB

# rpm -v --rebuilddb

# yum update -y
Loaded plugins: langpacks, refresh-packagekit
adobe-linux-x86_64                                       |  951 B     00:00     
fedora-virt-preview                                      | 2.9 kB     00:00     
google-chrome                                            |  951 B     00:00     
google-musicmanager                                      |  951 B     00:00     
updates/19/x86_64/metalink                               | 7.9 kB     00:00     
updates                                                  | 4.4 kB     00:00     
virtualbox                                               |  951 B     00:00     

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.