[Yum] "yum update" failed behind corporate proxy

C. Daniel Chase Dan at cdChase.com
Thu Nov 22 13:03:38 UTC 2007

On 11/21/2007 11:39 PM, Hou Xiang ZHU spoke thusly:
> Hi, I have F7 installed and when I connect to Internet using ADSL
> connection,
> "yum update" works.
> but when I connected inside corporate network, it must go through proxy.
> I tried many ways to set proxy, all failed.
> my proxy need username and passwd, and in my username, there is a
> "space" and "-", is this causing problem?
> Thanks,
> Houxiang
> The following is the log.
> --------------------------------
> [root at localhost ~]# http_proxy="yyy-zzz xxx:fakepasswd at"

I have never had to work with a proxy, but I can tell you you need an
'export' to properly set any environment variable so it can be used by
other programs.


# export http_proxy="...


# http_proxy="...
# export http_proxy

Oh, and in this is your login to the proxy, it is not strictly in the
http URL, so it should not need to be encoded using %20 for the space.
Though that is dependent on the proxy, so I would try it both ways.

Good luck!


C. Daniel Chase               (423) 949-4086         http://cdChase.com/
Get Firefox!     http://www.spreadfirefox.com/?q=affiliates&id=58708&t=1
Queensbury High School 1977 30th Reunion  http://cdchase.com/QHSReunion/

More information about the Yum mailing list