Linux yum失败
Cannot retrieve repository metadata (repomd.xml) for repository: XXXX(解决方法)
话不多说—解决方案:
先备份:
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup```
再下载镜像
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo
清理缓存
yum clean all
安装依赖
yum makecache
搞定