base/7/x86_64/filelists_db FAILED

 

解决办法:

[root@localhost ~]# cd /var/lib/rpm
[root@localhost rpm]# rm -rf __db.* # 清除原 rpmdb 文件

[root@localhost rpm]# rpm --rebuilddb # 重建 rpm 数据库

[root@localhost rpm]# yum clean all # 清除所有 yum 缓存

  

如果以上方法未能解决问题,请按照下面的方法再继续操作:

# 检查 yum 源配置文件

[root@localhost rpm]# cd /etc/yum.repos.d/

# 更新 yum 源

[root@localhost yum.repos.d]# yum update -y --skip-broken

# 清除所有 yum 缓存

[root@localhost yum.repos.d]# yum clean all

Loaded plugins: fastestmirror

Cleaning repos: base epel extras updates

Cleaning up list of fastest mirrors

# 重建 yum 缓存

[root@localhost yum.repos.d]# yum makecache

  

原文地址:https://www.cnblogs.com/royfans/p/11586616.html