警告:
Problem connecting to a software source
There was a (possibly temporary) problem connecting to a software source.
Please check the detailed error for further details.
![](https://img-blog.csdnimg.cn/img_convert/28240f64f678c84574012d998cd95a7d.png)
解决办法:
root后输入
sed -i "s|enabled=1 lenabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf
mv /etc/yum.repos.d/CentOS -Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -0 /etc/yum.repos.d/CentOS Base.repo https://www .xmpan.com/Centos-6-Vault-Aliyun.repo
yum clean all
yum makecache