Re: Yum Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jun Salen ha scritto:
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 ?


Regards

Lorenzo Quatrini ----------------------------


Do you mean http_proxy=http://<host>:<port>? Yes, it still happens even after I try proxy=http://<host>:<port>. Sorry for the delay answer, due to long holiday.


Thanks,


From 'man yum.conf' the syntax is 'proxy=http://<host>:<port>' (not http_proxy)
Anyway it may be too that apt.sw.be is busy; you could try to use the local mirror list changing the following lines on /etc/yum.repos.d/rpmforge.repo:

#mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge

Bye

Lorenzo Quatrini
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux