As I run yum makecache on Centos-6.1, I get this error:

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

So, there is a problem with rpmforge and in fact http://apt.sw.be is down. Any way to fix that?

  • please see updated version of my answer – George Udosen Dec 5 '16 at 19:55

Download the appropriate rpmforge package here if you need the source.

Then run this for 64 bit:

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

And for 32 bit:

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

Add the key for the above repo:

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

Go here for more information and here for the same repo as yours which is older than the former given above.

| improve this answer | |
  • So, should I remove the rpmforge* from /etc/yum.repo.d ? – mahmood Dec 5 '16 at 19:12
  • no the system should do it for you. – George Udosen Dec 5 '16 at 19:19
  • please see updated version of my answer – George Udosen Dec 5 '16 at 19:55
  • Still after 10 hours, I am not able to see http://packages.sw.be. Do you? It doesn't either working on web browser. Just want to know if it is my problem (network) or not. – mahmood Dec 6 '16 at 6:27
  • let me install it myself and get back to you, sorry for the situation – George Udosen Dec 6 '16 at 7:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.