www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

yum remove docker
error: rpmdb: BDB0113 Thread/process 14536/140712790841152 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
[root@localhost bin]# yum remove
error: rpmdb: BDB0113 Thread/process 14536/140712790841152 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
[root@localhost bin]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 50G 11G 40G 21% /
devtmpfs 851M 0 851M 0% /dev
tmpfs 864M 0 864M 0% /dev/shm
tmpfs 864M 9.2M 854M 2% /run
tmpfs 864M 0 864M 0% /sys/fs/cgroup
/dev/sda2 1014M 139M 876M 14% /boot
/dev/sda1 200M 12M 189M 6% /boot/efi
/dev/mapper/centos-home 411G 33M 411G 1% /home
tmpfs 173M 0 173M 0% /run/user/0
[root@localhost bin]# mv /var/lib/rpm
rpm/ rpm-state/
[root@localhost bin]# mv /var/lib/rpm/
Basenames __db.001 __db.003 Dirnames Installtid Obsoletename Providename .rpm.lock Sigmd5
Conflictname __db.002 .dbenv.lock Group Name Packages Requirename Sha1header Triggername
[root@localhost bin]# mv /var/lib/rpm/__db.00
__db.001 __db.002 __db.003
[root@localhost bin]# mv /var/lib/rpm/__db.00
__db.001 __db.002 __db.003
[root@localhost bin]# mv /var/lib/rpm/__db.00* /tmp/ && yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base extras updates
Cleaning up list of fastest mirrors
[root@localhost bin]# yum remove docker
Loaded plugins: fastestmirror
No Match for argument: docker

No Packages marked for removal
[root@localhost bin]#

posted on 2022-12-01 17:14  秦瑞It行程实录  阅读(203)  评论(0编辑  收藏  举报
www.cnblogs.com/ruiyqinrui