今天在使用yum的时候,突然鬼畜的出现这个问题。
提示为:
rpmdb: Thread/process 10462/139780351551392 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: Error: rpmdb open failed
解决问题的办法很简单,百度到的解决办法:
rm -fr /var/lib/rpm/__db.*