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

Bug#112968: apt: Error when parsing ftp_proxy env. variable



Package: apt
Version: 0.5.3
Severity: normal

A very strange bug. I have FTP URLs in sources.list and I proxy them
via the HTTP proxy Squid (yes, the man page of apt says it is slow).

If my ftp_proxy is without dot:

export ftp_proxy=http://proxy-interxion:3128/        

it works fine but if I use the same machine with a FQDN:

export ftp_proxy=http://proxy-interxion.gitoyen.net:3128/

it fails. Do note that this is really the same proxy:

machoke:~/tmp %   ping -c 1 proxy-interxion.gitoyen.net
PING machoke.gitoyen.net (80.67.160.2): 56 data bytes
64 bytes from 80.67.160.2: icmp_seq=0 ttl=255 time=0.0 ms

machoke:~/tmp % ping -c 1 proxy-interxion            
PING machoke.gitoyen.net (80.67.160.2): 56 data bytes
64 bytes from 80.67.160.2: icmp_seq=0 ttl=255 time=0.0 ms

When I use the FQDN, the symptoms are that that apt displays "Logging
in" during a very long time then:

Err ftp://ftp.fr.debian.org woody/main kdebase-libs 4:2.1.1.0-10
  Server closed the connection

I have the feeling I made a stupid mistake Somewhere but I cannot find where.

sources.list:

deb ftp://ftp.fr.debian.org/debian woody main contrib non-free


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux machoke 2.4.9 #1 SMP Mon Sep 3 22:22:29 CEST 2001 i686
Locale: LANG=C, LC_CTYPE=fr_FR

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




Reply to: