Bug#372504: apt is requesting each pdiff once, but printing a message 3 times
Package: apt
Version: 0.7.6
Followup-For: Bug #372504
I'm the maintainer of "approx", which will soon support pdiffs, so I
noticed this behavior too. I can confirm that the server is only
receiving one request for each pdiff file, but the apt-get client is
printing the message 3 times, like this:
[requested unstable/main/binary-i386/Packages.diff/2007-12-01-0806.33.gz]
Get:59 http://apt unstable/main 2007-12-01-0806.33.pdiff [6111B]
Get:60 http://apt unstable/main 2007-12-01-0806.33.pdiff [6111B]
Get:61 http://apt unstable/main 2007-12-01-0806.33.pdiff [6111B]
[requested unstable/main/source/Sources.diff/2007-12-01-0806.33.gz]
Get:62 http://apt unstable/main 2007-12-01-0806.33.pdiff [3758B]
Get:63 http://apt unstable/main 2007-12-01-0806.33.pdiff [3758B]
Get:64 http://apt unstable/main 2007-12-01-0806.33.pdiff [3758B]
[requested experimental/main/binary-i386/Packages.diff/2007-12-01-0806.33.gz]
Get:65 http://apt experimental/main 2007-12-01-0806.33.pdiff [248B]
Get:66 http://apt experimental/main 2007-12-01-0806.33.pdiff [248B]
Get:67 http://apt experimental/main 2007-12-01-0806.33.pdiff [248B]
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Cache-Limit "100000000";
APT::Default-Release "testing";
APT::Get "";
APT::Get::Show-Upgraded "true";
APT::Acquire "";
APT::Acquire::Translation "environment";
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 "/usr/sbin/dpkg-preconfigure --apt";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
Aptitude "";
Aptitude::Purge-Unused "true";
DSelect "";
DSelect::Clean "always";
-- /etc/apt/preferences --
Package: *
Pin: release a=testing
Pin-Priority: 900
Package: *
Pin: release a=unstable
Pin-Priority: 400
-- /etc/apt/sources.list --
deb http://apt:9999/security stable/updates main contrib non-free
deb http://apt:9999/security testing/updates main contrib non-free
deb http://apt:9999/debian stable main contrib non-free
deb http://apt:9999/debian testing main contrib non-free
deb http://apt:9999/debian unstable main contrib non-free
deb http://apt:9999/debian experimental main contrib non-free
deb http://apt:9999/volatile stable/volatile main
deb http://apt:9999/misc stable main
deb http://apt:9999/misc testing main
deb http://apt:9999/misc unstable main
deb-src http://apt:9999/debian testing main contrib non-free
deb-src http://apt:9999/debian unstable main contrib non-free
deb-src http://apt:9999/misc unstable main
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2007.07.31 GnuPG archive keys of the Debian a
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libgcc1 1:4.2.2-3 GCC support library
ii libstdc++6 4.2.2-3 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: