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.
yum search 软件包等都有错误
yum list等都用不了
DNS的问题
修改
/etc/resov.conf文件
添加
nameserver 当地dns供应商