前几天centos的腾讯源失效了,我换成阿里源的过程中发生了这个错误
Error

解决方法

vim /etc/yum.repos.d/CentOS-Base.repo

内容
将所有的failovermethod=priority注释掉即可
最后重建源缓存

yum makecache