一、CentOS6.5 yum安裝報錯
Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
二、解決方法
1.備份現(xiàn)有repo倉庫
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2.使用阿里云倉庫repo
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo
#https鏈接報錯就用http
3.更新yum
yum clean all
yum makecache