yum has problems with proxy

Mathieu Bridon (bochecha) bochecha at fedoraproject.org
Wed May 13 09:07:21 UTC 2009


Hi,

>   > On my XO, I am a heavy user of yum.  The communications setup at
>   > my home goes through a proxy to reach the internet.  I have
>   > empirically seen that when told to go from the XO to the net
>   > through a proxy, opera' handles "https:" URLs correctly, whereas
>   > 'yum' does not.
>
> Have you tried:?
>
> # export https_proxy=http://yourproxy:port/
> # yum ...

Last time I checked (was Fedora 10), yum didn't use the env var for proxies.

Instead, you should modify the /etc/yum.conf file. Add the following :
proxy=http://your_proxy/
proxy_username=userxxx
proxy_password=passxxx



----------

Mathieu Bridon (bochecha)




More information about the Fedora-olpc-list mailing list