linode主机yum安装出现Error: Cannot retrieve repository metadata (repomd.xml) for repository

Loaded plugins: fastestmirror<br />
Setting up Install Process<br />
Determining fastest mirrors<br />
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&amp;arch=x86_64&amp;repo=os&amp;infra=stock error was<br />
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"<br />
^CCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&amp;arch=x86_64&amp;repo=extras&amp;infra=stock error was<br />
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"<br />
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&amp;arch=x86_64&amp;repo=updates&amp;infra=stock error was<br />
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"<br />
http://mirrors.linode.com/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.linode.com'"<br />
Trying other mirror.<br />
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again<br />

 

解决方案:

我cao,是不是iptables规则设置错了! 关掉试试!

原文链接:https://xiaohost.com/3180.html,转载请注明出处。
0

评论0

请先