YUM Error: rpmdb open failed 报错解决
· 技术积累 · Centos6 Yum

很长时间没有装包了,今天yum装包就报了这个错纳闷了,百度找了解决方法.

yum 报错内容:

error: rpmdb: BDB0113 Thread/process 2367/140443154233344 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

解决:

rm -rf /var/lib/rpm/--db*
rpm --rebuilddb
yum makecache

本文最后更新时间 2024-03-31
文章链接地址:
https://hope.jinchuang.org/archives/164.html
本站文章除注明[转载|引用],均为本站原创内容,转载前请注明出处
yum安装出现error: %pre() scriptlet failed, exit status 1, Error in PREIN scriptlet in rpm package 错误
Centos7 yum报错:Error: rpmdb open failed
Centos | Ubuntu更改为腾讯、阿里云的源
Centos克隆虚拟机后-没有eth0 网卡的问题

centos7 忘记root密码 ━ 重置root密码

网站竟然被注入木马了

我要留言