[Yum] "yum update" failed behind corporate proxy

Tim Lauridsen tim.lauridsen at googlemail.com
Thu Nov 22 08:25:22 UTC 2007


Hou Xiang ZHU wrote:
> 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 10.80.20.5:80"
> yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> http://rpm.livna.org/fedora/7/i386/repodata/repomd.xml: [Errno 14] HTTP
> Error 404: Date: Thu, 22 Nov 2007 04:36:25 GMT
> Server: Apache/1.3.29 (Unix) mod_perl/1.29 PHP/4.3.4
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
> 
> Trying other mirror.
> http://livna.cat.pdx.edu/fedora/7/i386/repodata/repomd.xml: [Errno 14]
> HTTP Error 404: Date: Thu, 22 Nov 2007 04:36:25 GMT
> Server: Apache/1.3.29 (Unix) mod_perl/1.29 PHP/4.3.4
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
> 
> Trying other mirror.
> http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/7/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Date: Thu, 22 Nov 2007 04:36:25 GMT
> Server: Apache/1.3.29 (Unix) mod_perl/1.29 PHP/4.3.4
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
> 
> Trying other mirror.
> http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/7/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Date: Thu, 22 Nov 2007 04:36:25 GMT
> Server: Apache/1.3.29 (Unix) mod_perl/1.29 PHP/4.3.4
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
> 
> Trying other mirror.
> http://mirror.atrpms.net/livna/fedora/7/i386/repodata/repomd.xml: [Errno
> 14] HTTP Error 404: Date: Thu, 22 Nov 2007 04:36:26 GMT
> Server: Apache/1.3.29 (Unix) mod_perl/1.29 PHP/4.3.4
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
> 
> Trying other mirror.
> ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/7/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Date: Thu, 22 Nov 2007 04:36:26 GMT
> Server: Apache/1.3.29 (Unix) mod_perl/1.29 PHP/4.3.4
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
> 
> Trying other mirror.
> Error: Cannot open/read repomd.xml file for repository: livna
> [root at localhost ~]#
> ------------------------------------
> [root at localhost ~]# route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.80.20.0 138.198.199.254 255.255.255.0 UG 0 0 0 eth0
> 192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
> 138.198.199.0 * 255.255.255.0 U 0 0 0 eth0
> 192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
> 138.198.0.0 138.198.199.254 255.255.0.0 UG 0 0 0 eth0
> 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
> [root at localhost ~]#
> [root at localhost ~]# ping http://rpm.livna.org
> ping: unknown host http://rpm.livna.org
> [root at localhost ~]# wget http://rpm.livna.org
> --12:37:28-- http://rpm.livna.org/
> => `index.html.2'
> Resolving lps-ap.st.com... 10.80.20.5
> Connecting to lps-ap.st.com|10.80.20.5|:80... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> 
> [ <=> ] 639 --.--K/s
> 
> 12:37:29 (41.22 MB/s) - `index.html.2' saved [639]
> 
> [root at localhost ~]#
> ---------------------------------------------------
> 
> 
> 
> 
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum

Spaces is not allowed in a URL, they need to be substituted by '%20'.

Tim



More information about the Yum mailing list