Radu Radutiu
2006-Feb-17 12:37 UTC
[CentOS] Http proxy set in yum.conf is not working for the new yum mirrorlist system
Hi, It seems that the new update system does not consider the proxy option set yum.conf. After installing centos-yumconf-4-4.4.noarch.rpm together with the new yum packages, I was no longer able to use yum. In my case HTTP access is allowed only through a proxy. The proxy URL is configured in yum.conf. If I set the environment variable http_proxy from the shell I start yum, everything works. If I comment out the mirrorlist lines in CentOS-Base.repo yum is working fine without setting http_proxy environment variable (using the proxy defined in yum.conf). Anyone else seeing this or am I doing something wrong? Regards, Radu
Johnny Hughes
2006-Feb-17 12:50 UTC
[CentOS] Http proxy set in yum.conf is not working for the new yum mirrorlist system
On Fri, 2006-02-17 at 14:37 +0200, Radu Radutiu wrote:> Hi, > > It seems that the new update system does not consider the proxy option > set yum.conf. After installing centos-yumconf-4-4.4.noarch.rpm together > with the new yum packages, I was no longer able to use yum. In my case > HTTP access is allowed only through a proxy. The proxy URL is configured > in yum.conf. > If I set the environment variable http_proxy from the shell I start yum, > everything works. > If I comment out the mirrorlist lines in CentOS-Base.repo yum is working > fine without setting http_proxy environment variable (using the proxy > defined in yum.conf). > Anyone else seeing this or am I doing something wrong? > > Regards, > > Radu >Try it with the 4-4.5 as it uses port 80 instead of port 81 ... which might make it better. To be honest, I don't know if the mirrorlist selects will use the proxy settings of yum or not. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060217/a0402d34/attachment-0002.sig>
Karanbir Singh
2006-Feb-17 13:22 UTC
[CentOS] Http proxy set in yum.conf is not working for the new yum mirrorlist system
Johnny Hughes wrote:>>It seems that the new update system does not consider the proxy option >>set yum.conf. After installing centos-yumconf-4-4.4.noarch.rpm together >>with the new yum packages, I was no longer able to use yum. In my case >>HTTP access is allowed only through a proxy. The proxy URL is configured >>in yum.conf. >>If I set the environment variable http_proxy from the shell I start yum, >>everything works. >>If I comment out the mirrorlist lines in CentOS-Base.repo yum is working >>fine without setting http_proxy environment variable (using the proxy >>defined in yum.conf). >>Anyone else seeing this or am I doing something wrong? >> > > > Try it with the 4-4.5 as it uses port 80 instead of port 81 ... which > might make it better.that will fix this problem here.> > To be honest, I don't know if the mirrorlist selects will use the proxy > settings of yum or not.it will work fine. the issue here seems to be the :81 / :80 issue. -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq