【CentOS】問題修復(二)
[root@localhost src]# yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed
修復
[root@localhost src]# rm -rf /var/lib/rpm/__db*
[root@localhost src]# rpm --rebuilddb