yum安装报错rpmdb: BDB0113 Thread/process 136661/140660029847360 failed: BDB1507 Thread died in Berkeley DB 怎么办?
使用yum安装软件(不论是安装什么软件)时报如下错误:
[root@localhost ~]``# yum install vim`
`错误:rpmdb: BDB0113 Thread``/process` `136661``/140660029847360` `failed: BDB1507 Thread died ``in` `Berkeley DB library`
`错误:db5 错误(-30973) 来自 dbenv->failchk:BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery`
`错误:无法使用 db5 - (-30973) 打开 Packages 索引`
`错误:无法从 ``/var/lib/rpm` `打开软件包数据库``CRITICAL:yum.main:` `Error: rpmdb ``open` `failed
解决方式:重新构建rpm数据库
[root@localhost ~]# cd /var/lib/rpm
[root@localhost rpm]# ls
Basenames __db.001 __db.003 Group Name Packages Requirename Sigmd5Conflictname __db.002 Dirnames Installtid Obsoletename Providename Sha1header Triggername
[root@localhost rpm]# rm -rf __db*
[root@localhost rpm]# rpm --rebuilddb
原文来自cnblog:职业法师李富贵!
版权申明
本文系作者 @Tis-FYM 原创发布在Tis-FYI站点。未经许可,禁止转载。
暂无评论数据