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
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.
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.
Johnny Hughes wrote:
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.
I am using 4-4.5. The proxy only allows port 80 and it works if I set the http_proxy environment variable but not the yum.conf proxy configuration.
Radu Radutiu wrote:
I am using 4-4.5. The proxy only allows port 80 and it works if I set the http_proxy environment variable but not the yum.conf proxy configuration.
can you post the output from : rpm -q yum centos-yumconf rpm -Vv centos-yumconf
and also post your main yum.conf file here.
- K
On Fri, 2006-02-17 at 13:39 +0000, Karanbir Singh wrote:
Radu Radutiu wrote:
I am using 4-4.5. The proxy only allows port 80 and it works if I set the http_proxy environment variable but not the yum.conf proxy configuration.
can you post the output from : rpm -q yum centos-yumconf rpm -Vv centos-yumconf
and also post your main yum.conf file here.
- K
OK ... I think that we have now confirmed that the default yum behavior is not to enable the proxy information in it's config file until after it has already obtained the mirror information.
This is a yum design issue and when it enables the proxy information.
We are going to look to see if it is possible to make the mirrorlist selection happen through the proxy info provided by yum.conf ... in the meantime, please leave the proxy information in your ENV ... or pass it in when you issue the yum command.
Thanks for you feedback in helping to make CentOS better.
On Fri, 2006-02-17 at 08:16 -0600, Johnny Hughes wrote:
On Fri, 2006-02-17 at 13:39 +0000, Karanbir Singh wrote:
Radu Radutiu wrote:
I am using 4-4.5. The proxy only allows port 80 and it works if I set the http_proxy environment variable but not the yum.conf proxy configuration.
can you post the output from : rpm -q yum centos-yumconf rpm -Vv centos-yumconf
and also post your main yum.conf file here.
- K
OK ... I think that we have now confirmed that the default yum behavior is not to enable the proxy information in it's config file until after it has already obtained the mirror information.
This is a yum design issue and when it enables the proxy information.
We are going to look to see if it is possible to make the mirrorlist selection happen through the proxy info provided by yum.conf ... in the meantime, please leave the proxy information in your ENV ... or pass it in when you issue the yum command.
Thanks for you feedback in helping to make CentOS better.
We have a new yum RPM that uses the proxy to select the mirrorlists if one is defined in yum.conf or in a .repo file.
The new yum is available here for testing:
http://dev.centos.org/centos/4/testing/i386/RPMS/yum-2.4.2-2.centos4.noarch....
(yum is a noarch RPM and this version should work on all centos-4 arches)
This will be released after it is tested and we know it works, so please reply to this posting if you have a proxy server and yum was not working for you before.
Thanks, Johnny Hughes
Johnny Hughes wrote:
On Fri, 2006-02-17 at 08:16 -0600, Johnny Hughes wrote:
On Fri, 2006-02-17 at 13:39 +0000, Karanbir Singh wrote:
Radu Radutiu wrote:
I am using 4-4.5. The proxy only allows port 80 and it works if I set the http_proxy environment variable but not the yum.conf proxy configuration.
can you post the output from : rpm -q yum centos-yumconf rpm -Vv centos-yumconf
and also post your main yum.conf file here.
- K
OK ... I think that we have now confirmed that the default yum behavior is not to enable the proxy information in it's config file until after it has already obtained the mirror information.
This is a yum design issue and when it enables the proxy information.
We are going to look to see if it is possible to make the mirrorlist selection happen through the proxy info provided by yum.conf ... in the meantime, please leave the proxy information in your ENV ... or pass it in when you issue the yum command.
Thanks for you feedback in helping to make CentOS better.
We have a new yum RPM that uses the proxy to select the mirrorlists if one is defined in yum.conf or in a .repo file.
The new yum is available here for testing:
http://dev.centos.org/centos/4/testing/i386/RPMS/yum-2.4.2-2.centos4.noarch....
(yum is a noarch RPM and this version should work on all centos-4 arches)
This will be released after it is tested and we know it works, so please reply to this posting if you have a proxy server and yum was not working for you before.
Thanks, Johnny Hughes
The new version works ok for me with the proxy configuration in yum.conf.
Thanks,
Radu