rpmforge 存储库的镜像

rpmforge 存储库的镜像

当我yum makecache在 Centos-6.1 上运行时,出现以下错误:

epel-source/other_db                                                          | 1.6 MB     00:40
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404"
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again

所以,rpmforge 有问题,实际上http://apt.sw.be已经宕机了。有办法解决吗?

答案1

下载合适的rpmforge 包 这里如果你需要源码。

然后运行这个64位

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

而对于32位

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

添加上面的密钥回购协议

wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm --import RPM-GPG-KEY.dag.txt

这里欲了解更多信息和这里对于与您的相同的存储库,该存储库比上面给出的前者更旧。

相关内容