yum install got broken on Centos 8 (again)

Issues related to applications and software problems and general support
Post Reply
search4workingdistro
Posts: 66
Joined: 2020/11/18 10:52:19

yum install got broken on Centos 8 (again)

Post by search4workingdistro » 2021/10/03 21:07:25

Oh dear, oh dear... Not sure why so many people consider Centos to be one of the most reliable distributions...
# sudo yum install mc
error: rpmdb: BDB0113 Thread/process 1225778/140423928347520 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
Error: Error: rpmdb open failed
Does anyone know how to fix that?

sml
Posts: 305
Joined: 2020/01/17 09:01:44

Re: yum install got broken on Centos 8 (again)

Post by sml » 2021/10/04 08:32:45

search4workingdistro wrote:
2021/10/03 21:07:25
Fatal error, run database recovery
Just do what it says. Searching web for "rpmdb recovery" will give you plenty of results. E.g.
https://rpm.org/user_doc/db_recovery.html
https://www.thegeekdiary.com/how-to-rec ... m-database
https://www.tecmint.com/rebuild-corrupt ... -in-centos
https://access.redhat.com/solutions/6903

Post Reply