运维辞典@欢迎访问小站,如有疑问,可通过右侧QQ或底部邮箱联系,非常感谢@

centos 6 apt.sw.be 错误 无法yum安装软件解决方案

服务器系统 Administrator 873℃

yum时出现以下错误:
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 6 – “Couldn’t resolve host ‘apt.sw.be’”
* base: mirror.sjc02.svwh.net
* extras: mirror.sjc02.svwh.net
* updates: repos.lax.quadranet.com
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 – “Couldn’t resolve host ‘apt.sw.be’”
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again

解决方法:

cd /etc/yum.repos.d
mv rpmforge.repo rpmforge.repo.bak

故障解决

码字很辛苦,转载请注明来自:《运维辞典 » centos 6 apt.sw.be 错误 无法yum安装软件解决方案

喜欢 (0)