Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons.

 


Repository base is listed more than once in the configuration

Repository updates is listed more than once in the configuration

Repository addons is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Repository contrib is listed more than once in the configuration

Loading mirror speeds from cached hostfile

http://mirrors.163.com/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\xa7\xa3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>

Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. 

昨天遇到这个问题了,浪费了好多时间 源来是。。。。DNS的问题

修改 

/etc/resov.conf

添加

nameserver 219.141.140.130

nameserver 202.106.0.20

posted @ 2013-07-02 14:17  ArcerZhang  阅读(786)  评论(0编辑  收藏  举报