[CentOS] Yum Problem

Fri Nov 2 10:26:29 UTC 2007
Lorenzo Quatrini <lorenzo at gmk.it>

Jun Salen ha scritto:
> Hi,
> I have no problem running yum update inside the root prompt, but when running yum using sudo as logged-in as ordinary user and command the 'sudo yum update', I am having below error:
> Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
> [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
> Error: Cannot find a valid baseurl for repo: rpmforge 
> This happened even I try to export my proxy server since where using them to connect internet. This is in a newly installed CentOS5 box. I also try to issue 'yum clean metadata' and  'yum clean all' but the problem still persists.  Can you please give me the clue on how to solve this.
> Thanks,
> junji
> aisalen.wordpress.com
> Linux Registered User #253162

Is this appening even if you put the proxy=http://<host>:<port> directive on 
/etc/yum.conf ?


Lorenzo Quatrini