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

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’”

Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again

解决方法:
打开
/etc/yum.repos.d
改名 rpmforge.repo为 rpmforge.repo.bak
故障解决

点赞