Cannot retrieve repository metadata (repomd.xml)

    CentOS6.4用yum安装程序时,报Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again错误。尝试更换yum源等操作,无果。最后发现原来是DNS的问题,修改/etc/resolv.conf:



添加:

nameserver 219.141.140.130

nameserver 202.106.0.20


问题解决


你可能感兴趣的:(centos,yum,repomd.xml)