[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
> "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?
> The following is the log.
> [root at localhost ~]# http_proxy="yyy-zzz xxx:fakepasswd at 10.80.20.5:80"
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
# export 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.
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