Re: "yum update" failed behind corporate proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@localhost ~]# http_proxy="yyy-zzz xxx:fakepasswd@xxxxxxxxxx: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
other programs.

Try:

# export http_proxy="...

OR

# 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!

-Dan

-- 
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/
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux