If you can 'elinks' after 'export http_proxy="http://10.129.10.129:80"' then your proxy settings are OK. -----Original Message----- From: yum-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:yum-bounces@xxxxxxxxxxxxxxxxxxxx]On Behalf Of lists@xxxxxxxxxxxxxxxxx Sent: Friday, 2 July 2004 12:02 PM To: yum@xxxxxxxxxxxxxxxxxxxx Subject: [Yum] Yum ignoring http_proxy system variable I have a Red Hat 9.0 box on a private LAN (ie: not connected to the Internet), however I do have access to the web via a Squid proxy server. The Red Hat installation is straight from the CDs - so no updates have been applied yet. I log on as root In .bash_profile I have put in: http_proxy=http://proxy.lan:8080/ and have confirmed at the command prompt # echo $http_proxy http://proxy.lan:8080/ Initially I was getting this error: -------------------------------------- # yum list Gathering header information file(s) from server(s) Server: Red Hat Linux 9 - i386 - Base retrygrab() failed for: http://mirror.dulug.duke.edu/pub/yum-repository/redhat/9/i386/headers/header .info Executing failover method failover: out of servers to try Error getting file http://mirror.dulug.duke.edu/pub/yum-repository/redhat/9/i386/headers/header .info [Errno 4] IOError: <urlopen error > -------------------------------------- I figured that it was because it could not resolve mirror.dulug.duke.edu - even though it shouldn't need to, so I entered the following in /etc/hosts 152.3.97.77 mirror.dulug.duke.edu Now when I run "yum list" it just sits there - and when I run a "netstat -a" I see that it is trying to make a direct HTTP connection to mirror.dulug.duke.edu when it should be using my proxy. Any ideas? Regards, Rob _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum