Bug#684407: apt: connection to Debian mirror with both A and AAAA records fails if client has no routable IPv6 address
Package: apt
Version: 0.9.7.2
Severity: important
Tags: ipv6
Failed to fetch http://http.debian.net/debian/pool/main/libf/libfile-libmagic-perl/libfile-libmagic-perl_0.96-3_i386.deb Cannot initiate the connection to ftp.fi.debian.org:80 (2001:708:310:54::99). - connect (101: Network is unreachable) [IP: 2001:708:310:54::99 80]
This client host only has ::1 and fe80:: addresses since my ISP is not IPv6-enabled. However, apparently, the resolver returns both A and AAAA records for ftp.fi.debian.org and APT somehow tries to connect via the IPv6 address even though we don't have any IPv6 route to the outside world.
Please feel free to re-assign this to the correct package as appropriate.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (1001, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2012.4
ii gnupg 1.4.12-4+b1
ii libapt-pkg4.12 0.9.7.2
ii libc6 2.13-33
ii libgcc1 1:4.7.1-2
ii libstdc++6 4.7.1-2
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.6.8-1
ii dpkg-dev 1.16.4.3
ii python-apt 0.8.4
ii xz-utils 5.1.1alpha+20120614-1
-- no debconf information
Reply to: