yum更新失败

错误提示类似于:

rpmdb: BDB0113 Thread/process

可以通过如下代码解决:

# 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-12 12:48  iLocationStudio  阅读(64)  评论(0编辑  收藏  举报