yum安装报错Error: rpmdb open failed

[root@node88 ~]# yum install iscsi-initiator-utils
error: db5 error(5) from dbenv->open: Input/output error
error: cannot open Packages index using db5 - Input/output error (5)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed

处理方法:

重新建立rpm包管理索引

sudo rpm --rebuilddb

重建索引后yum安装包正常

yum安装报错Error: rpmdb open failed_第1张图片

你可能感兴趣的:(linux,运维,centos)