【已解决】执行yum命令失败:error: rpmdb: BDB0113 Thread/process 16978/139878363277376 failed: BDB1507 Thread died in Berkeley DB library

执行yum命令失败

系统: centos7.8

 

可以通过以下命令解决

#cd /var/lib/rpm
# ls
Basenames __db.001 __db.003 Group Name Packages Requirename Sigmd5
Conflictname __db.002 Dirnames Installtid Obsoletename Providename Sha1header Triggername
# rm -rf __db*
# rpm --rebuilddb

posted @ 2021-04-02 14:29  pyng  阅读(5928)  评论(0编辑  收藏  举报