Bug#409383: Always picks the same IP address for round-robbin DNS...
Package: apt
Version: 0.6.46.4
Severity: normal
I tried apt-get several times and it always uses the same IP address.
This is despite the DNS server returning the addresses in a different
order each query (I checked with wireshark). Also, ping manages to use a
different IP address each time. Why doesn't apt-get?
Reading package lists... Done
Building dependency tree... Done
Need to get 11.2kB of source archives.
0% [Connecting to http.us.debian.org (204.152.191.7)]
anthony@Tao:/tmp$ apt-get source libapache2-mod-auth-plain
Reading package lists... Done
Building dependency tree... Done
Need to get 11.2kB of source archives.
0% [Connecting to http.us.debian.org (204.152.191.7)]
anthony@Tao:/tmp$ apt-get source libapache2-mod-auth-plain
Reading package lists... Done
Building dependency tree... Done
Need to get 11.2kB of source archives.
0% [Connecting to http.us.debian.org (204.152.191.7)]
anthony@Tao:/tmp$ apt-get source libapache2-mod-auth-plain
Reading package lists... Done
Building dependency tree... Done
Need to get 11.2kB of source archives.
0% [Connecting to http.us.debian.org (204.152.191.7)]
anthony@Tao:/tmp$ apt-get source libapache2-mod-auth-plain
Reading package lists... Done
Building dependency tree... Done
Need to get 11.2kB of source archives.
0% [Waiting for headers]
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "134217728";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
-- /etc/apt/preferences --
Package: *
Pin: release o=Tao
Pin-Priority: 125
Package: *
Pin: release a=unstable
Pin-Priority: 100
-- /etc/apt/sources.list --
deb http://http.us.debian.org/debian etch main contrib non-free
deb-src http://http.us.debian.org/debian etch main contrib non-free
deb http://www.debian-multimedia.org etch main
deb-src http://www.debian-multimedia.org etch main
#deb http://http.us.debian.org/debian unstable main
deb-src http://http.us.debian.org/debian unstable main
deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main
deb file:///srv/deb Tao/
deb-src file:///srv/deb Tao/
#deb http://mirror.espri.arizona.edu/debian-volatile sarge/volatile main
#deb http://mirror.espri.arizona.edu/debian-volatile sarge/volatile-sloppy main
#deb http://mirrors.ibiblio.org/pub/mirrors/blackdown/debian sarge non-free
#deb http://ftp.tux.org/pub/java/debian sarge non-free
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apt depends on:
ii debian-archive-keyring 2006.11.22 GnuPG archive keys of the Debian a
ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-21 GCC support library
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: