Package: apt Version: 0.7.6 Severity: important Short story: apt redownloads _old_ files via HTTP while it should track the date like it does with some other periodically updated files.
And there is some real problem, watch out for Last-Modified, If-Modified-Since and file storage times. What actually happens is that decompressed files do not have the right modification date, instead they get a totally wrong date (we don't have May 16 2006 now). And this one is later used for If-Modified-Since/If-Range fields. $ apt-get update -o Debug::Acquire::Http="true" -o Acquire::Http::Pipeline-Depth=1 -q ... GET /debian/dists/unstable/main/binary-amd64/Packages.bz2 HTTP/1.1 Host: debian.netcologne.de Connection: keep-alive User-Agent: Debian APT-HTTP/1.3 (0.7.6) HTTP/1.1 200 OK Content-Type: application/x-bzip2 Accept-Ranges: bytes ETag: "-4476933836472069556" Last-Modified: Sun, 09 Sep 2007 08:01:48 GMT Content-Length: 4859362 Date: Sun, 09 Sep 2007 16:43:26 GMT Server: lighttpd/1.4.16 ... $ apt-get update -o Debug::Acquire::Http="true" -o Acquire::Http::Pipeline-Depth=1 -q ... GET /debian/dists/unstable/main/i18n/Translation-de.bz2 HTTP/1.1 Host: debian.netcologne.de Connection: keep-alive If-Modified-Since: Tue, 16 May 2006 05:13:16 GMT User-Agent: Debian APT-HTTP/1.3 (0.7.6) HTTP/1.1 200 OK Content-Type: application/octet-stream Accept-Ranges: bytes Content-Length: 189 Date: Sun, 09 Sep 2007 16:46:59 GMT Server: lighttpd/1.4.16 ... $ ls -la /var/lib/apt/lists/*Translati* -rw-r--r-- 1 root root 4405231 16. Mai 2006 /var/lib/apt/lists/debian.netcologne.de_debian_dists_unstable_main_i18n_Translation-de -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "amd64"; 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::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 ""; 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"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; Acquire ""; Acquire::Queue-Mode "host"; Acquire::Retries "0"; Acquire::Source-Symlinks "true"; Acquire::http ""; Acquire::http::Pipeline-Depth "0"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- deb http://debian.netcologne.de/debian unstable main non-free contrib #deb http://debian.netcologne.de/debian testing main non-free contrib #deb http://ftp.uni-kl.de/debian unstable main contrib non-free #deb http://ftp.uni-kl.de/debian testing main contrib non-free #deb http://ftp.uni-kl.de/debian experimental main #deb-src http://ftp.uni-kl.de/debian unstable main contrib non-free #deb-src http://ftp.uni-kl.de/debian experimental main #deb-src http://ftp.uni-kl.de/debian stable main contrib non-free #deb http://ftp.uni-kl.de/debian-local unstable main unikl #deb http://people.debian.org/~blade/testing/ ./ #deb http://spello.sscnet.ucla.edu/marillat/ sid main #deb http://ftp.debian-unofficial.org/debian unstable main contrib non-free restricted #deb-src http://ftp.debian-unofficial.org/debian unstable main contrib non-free restricted -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apt depends on: ii debian-archive-keyring 2007.02.19-0.1 GnuPG archive keys of the Debian a ii libc6 2.6.1-1 GNU C Library: Shared libraries ii libgcc1 1:4.2.1-4 GCC support library ii libstdc++6 4.2.1-4 The GNU Standard C++ Library v3 apt recommends no packages. -- no debconf information -- <amq> Joey: ich häng schon am Manual. <RvB> amq: Naja, du musst halt nicht nur dranhängen sondern auch lesen. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

