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

Bug#131825: apt: wrong handling of http_proxy environment variable



Package: apt
Version: 0.5.4
Severity: important



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux bretagne.rail.eu.org 2.4.16-usb #1 sam déc 8 14:59:33 CET 2001 i686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro

Versions of packages apt depends on:
ii  libc6                         2.2.4-7    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2        1:2.95.4-1 The GNU stdc++ library


the standard http_proxy format is machine:port lynx and other
programs relies on it.

However if this variable is set to proxy:3128, apt-get fails miserably
trying to connect to port 80 of machine named 3128

a typical error message is 

Failed to fetch http://security.debian.org/dists/stable/updates/main/binary-i386/Packages  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22 Invalid argument)





Reply to: