Sometimes on Oracle Linux there is problem, when you try use “yum” and get error like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# yum update error: rpmdb: BDB0113 Thread/process 16934/140571185240320 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: Error: rpmdb open failed |
The fixing of this problem, you can try rebuild db:
1 |
# rpm --rebuilddb |
And then should work:
1 |
# yum update |
That’s all!