51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

yum update升级后的一点小故障

使用yum时一直提示下面的信息
Loaded plugins: fastestmirror Repository base is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository centosplus is listed more than once in the configuration Repository contrib is listed more than once in the configuration Cleaning repos: base extras updates Cleaning up Everything Cleaning up list of fastest mirrors

|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 2 3 4 5 6 7 8 9 | Loaded plugins: fastestmirror Repository base is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository centosplus is listed more than once in the configuration Repository contrib is listed more than once in the configuration Cleaning repos: base extras updates Cleaning up Everything Cleaning up list of fastest mirrors |

原来系统是CentOS6.8,yum update后开始一直报这个了,后来经过查找发现,系统已经升级到了Centos6.9,升级后在/etc/yum.repos.d增加了新的源,和我原有的阿里源冲突了,只要删除这些后增加的源,再yum clean all就好了
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Media.repo CentOS-Vault.repo

|---|--------------------------------------------------------------------------------------------------| | 1 | CentOS-Base.repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Media.repo CentOS-Vault.repo |


赞(1)
未经允许不得转载:工具盒子 » yum update升级后的一点小故障