error: rpmdb: BDB0113 Thread/process 1128700/140117765585792 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


[root@wx8vm00002 ~]# cd /var/lib/rpm
[root@wx8vm00002 rpm]# ls
Basenames     __db.001  __db.003  Group       Name          Packages     Requirename  Sigmd5
Conflictname  __db.002  Dirnames  Installtid  Obsoletename  Providename  Sha1header   Triggername
[root@wx8vm00002 rpm]# rm -rf __db*
[root@wx8vm00002 rpm]# rpm --rebuilddb
## 记得再运行一遍 yum list
[root@wx8vm00002 rpm]# yum list