您的购物车目前是空的!
我们再安装了腾讯云轻量云服务器的宝塔应用之后,出现无法使用yum
命令的情况。注意,这里使用的是CentOS 7.8 64bit的系统,应用镜像宝塔Linux面板。原因就是rpm数据库损坏。
[[email protected] yum.repos.d]# yum clean all
error: rpmdb: BDB0113 Thread/process 13132/139729145776192 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:
[[email protected] yum.repos.d]# cd /var/lib/rpm [[email protected] rpm]# ls Basenames __db.001 __db.003 Group Name Packages Requirename Sigmd5 Conflictname __db.002 Dirnames Installtid Obsoletename Providename Sha1header Triggername [[email protected] rpm]# rm -rf __db* [[email protected] rpm]# rpm --rebuilddb