Hi,
I have been facing this fatal error whenever i update yum or while trying to get access internet from command mode.This troubles me for a long time since i started my work in Linux based project.I put some of examples here.
the
Command is:
PHP Code:
[root@localhost ~]# yum check-update
and the
OUTPUT is
PHP Code:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist [url]http://apt.sw.be/redhat/el5/en/mirrors-rpmforge[/url] error was
[Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Error: Cannot find a valid baseurl for repo: rpmforge
Next YUM make cache Command
PHP Code:
[root@localhost ~]# yum makecache
OUTPUT is:
PHP Code:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
[Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Error: Cannot find a valid baseurl for repo: rpmforge
I got the same error.
Hope I will get help and get rid of this soon...!