一 问题描述
[root@VM_0_17_centos rabbitmq]# yum install rabbitmq-server-3.7.4-1.el7.noarch.rpm
error: rpmdb: BDB0113 Thread/process 27590/140471762446144 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
CRITICAL:yum.main:
Error: rpmdb open failed
二 解决办法
cd /var/lib/rpm
rm -rf __db*
rpm --rebuilddb
————————————————
版权声明:本文为CSDN博主「猪猪侠在冒险」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u012888704/article/details/106033716