"yum update" failed behind corporate proxy

Hou Xiang ZHU <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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:[email protected]: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@localhost ~]#
------------------------------------
[root@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@localhost ~]#
[root@localhost ~]# ping http://rpm.livna.org
ping: unknown host http://rpm.livna.org
[root@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@localhost ~]#
---------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.