Sep
5
Recently site http://apt.sw.be/redhat/el5/en/mirrors-rpmforge went down and this broke my YUM. Here is the error:
Setting up repositories
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
[Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Error: Cannot find a valid baseurl for repo: rpmforge
As a solution I’ve edited manually my /etc/yum.repos.d/mirrors-rpmforge
vi /etc/yum.repos.d/mirrors-rpmforge
And commented out problem site.
Then edited /etc/yum.repos.d/rpmforge.repo
vi /etc/yum.repos.d/rpmforge.repo
And commented live list and uncommented file. Like this
#mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
Now YUM it is back. Still get some mirroring errors, but at least I can use it.
Comments
4 Responses to “How to fix problems with RPMforge”
Leave a Reply
You must be logged in to post a comment.
Thanks man this helped me out so much, I really appreciate it.
Thanks that worked for me!
Once again thanks, I could fix the issue with Could not retrieve mirrorlist
thank you!