首页 » Linux » CentOS » yum报错cannot open Packages database in /var/lib/rpm

yum报错cannot open Packages database in /var/lib/rpm

 

rpmdb: Thread/process 11197/140701458409216 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

解决办法:

原文链接:yum报错cannot open Packages database in /var/lib/rpm,转载请注明来源!

3