[Yum] yum and proxy...

Michael Stenner mstenner at phy.duke.edu
Tue Oct 21 18:16:23 UTC 2003


On Tue, Oct 21, 2003 at 09:42:28AM -0500, Boex,Matthew W. wrote:
> seth,
> 
> thanks.  i forgot... i did try that one too.  i just retried with
> your proxy setting and got this error...
> 
> Gathering package information from servers
> Getting headers from: Red Hat Linux 7.3 base
> Error getting file 
> http://mirror.dulug.duke.edu/pub/yum-repository/redhat/7.3/i3
> 86/headers/header.info
> [Errno 4] IOError: [Errno socket error] nonnumeric port

I know why this error happens.  It looks like the urllib in 1.5.2 does
not deal well with user:pass in proxies.  In fact, it doesn't deal
with them at all.  I don't know how about 2.2.  I don't have access to
a password-based proxy (or do I?) to test on.  In any event, we're not
likely to work on a solution for yum 1.x, so you'll need to either
find a way to upgrade (I THINK this is discussed on this list in the
archives) or not use a password-based proxy.

I will make password-based proxies a priority in urlgrabber TNV,
although it may already Just Work.

					-Michael
-- 
  Michael Stenner                       Office Phone: 919-660-2513
  Duke University, Dept. of Physics       mstenner at phy.duke.edu
  Box 90305, Durham N.C. 27708-0305



More information about the Yum mailing list