Ask Your Question
0

problem with yum

asked 2014-01-15 03:29:11 -0500

SaeedMasoumi gravatar image

hi i have a problem with my yum when i type yum update or yum install sth it gave me this error

error: rpmdb: BDB0113 Thread/process 2597/140075287652160 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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-01-15 04:16:52 -0500

Glenn gravatar image

Try this. Open a terminal and log in as root. Then change to /var/lib/rpm. Once in that folder delete the database files.

rm -f __*

That is two underscores before the asterisk. Then rebuild the database.

rpm --rebuilddb

Once the database is rebuilt try your yum operation again.

edit flag offensive delete link more

Comments

Fixed same issue I had on Fedora 21. Thanks! Any idea what causes this?

psychoelf gravatar imagepsychoelf ( 2015-01-18 09:16:17 -0500 )edit

I had the same error! This worked! Thank you!

BlindGuardian117 gravatar imageBlindGuardian117 ( 2015-03-02 20:29:26 -0500 )edit

Thanks for this answer.

legrady gravatar imagelegrady ( 2015-03-20 19:37:53 -0500 )edit

This same process worked beautifully on Fedora 26 with dnf. Thanks! :-)

kbcmdba gravatar imagekbcmdba ( 2017-09-06 12:36:46 -0500 )edit

Question Tools

Stats

Asked: 2014-01-15 03:29:11 -0500

Seen: 7,309 times

Last updated: Mar 20 '15