yum has problems with proxy

Mikus Grinbergs mikus at bga.com
Wed May 13 18:24:01 UTC 2009


Thanks, folks, for your suggestions.


> modify the /etc/yum.conf file. Add the following :
> proxy=3Dhttp://your_proxy/

Did not get that working on my XO.  [The error message changed.]

Without modifying /etc/yum.conf, the error message I get is:
| Could not get metalink 
https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=i386 
error was
| [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known

With /etc/yum.conf modified to specify the proxy, on XO I get:
| Could not get metalink 
https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=i386 
error was
| [Errno 14] HTTP Error 501: Not Implemented

Besides which, if I were to modify /etc/yum.conf for use at home, I 
would have to *un*modify it to run yum on my XO when away from home.


> # export https_proxy=3Dhttp://yourproxy:port/

Interestingly enough, this is currently working on my 20090512 XO. 
The trick seems to lie in re-orienting the application (yum) to use 
'http' where the application control file has specified 'https'.

Thanks,  mikus




More information about the Fedora-olpc-list mailing list