[Linux]使用yum提示Error: rpmdb open failed 解决

2016-07-12 10:26:33来源:oschina作者:Doug人点击

rpmdb: Thread/process 23317/139897112413952 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 failedcd /var/lib/rpm/
for i in `ls | grep 'db.'`;do mv $i $i.bak;done
rpm --rebuilddb
yum clean all

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台