Package: apt Version: 0.7.25.3 Severity: normal Hi,
I just noticed that the Packages files in /var/lib/apt/lists have confusing timestamps. For exampe this here: $ ll /var/lib/apt/lists/ftp.*-amd64_Packages* -rw-r--r-- 1 root root 30M Feb 9 03:10 /var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_main_binary-amd64_Packages -rw-r--r-- 1 root root 2.0K Feb 25 10:03 /var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_main_binary-amd64_Packages.IndexDiff The Packages file is actually the latest version from Feb 25, not as suggested by the timestamps from Feb 9. Looking at the source, the problem seems to be that rred copies mtime and atime over from the original file after it applied the patch. This seems very strange to me. Wouldn't it make a lot more sense to copy mtime over from the patch file? I'm not sure what's the right thing to do with atime, but keeping the atime from the original fiile seems reasonable to me. The relevant code starts at line 480 of methods/rred.cc. Philipp -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::Acquire ""; APT::Acquire::Translation "environment"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^linux-image.*"; APT::NeverAutoRemove:: "^linux-restricted-modules.*"; APT::NeverAutoRemove:: "^kfreebsd-image.*"; APT::Clean-Installed "Off"; APT::Periodic ""; APT::Periodic::AutocleanInterval "10"; APT::Periodic::BackupArchiveInterval "10"; APT::Periodic::BackupLevel "50"; APT::Periodic::Download-Upgradeable-Packages "1"; APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Verbose "0"; APT::Cache-Limit "16777216"; 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::netrc "auth.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.d"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Media ""; Dir::Media::MountPath "/media/apt"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; Acquire ""; Acquire::http ""; Acquire::http::Dl-Limit "60"; Acquire::http::Timeout "30"; 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=Debian,a=sid Pin-Priority: 800 Package: * Pin: release o=Debian,a=unstable Pin-Priority: 600 Package: * Pin: release o=Debian,a=experimental Pin-Priority: 570 Package: * Pin: release o=Unofficial Multimedia Packages Pin-Priority: 110 -- (no /etc/apt/sources.list present) -- -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (600, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32zaphod (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/dash Versions of packages apt depends on: ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.3-2 GCC support library ii libstdc++6 4.4.3-2 The GNU Standard C++ Library v3 apt recommends no packages. Versions of packages apt suggests: ii apt-doc 0.7.25.3 Documentation for APT ii aptitude 0.6.1.5-2 terminal-based package manager (te ii bzip2 1.0.5-4 high-quality block-sorting file co ii dpkg-dev 1.15.5.6 Debian package development tools ii lzma 4.43-14 Compression method of 7z format in ii python-apt 0.7.93.1 Python interface to libapt-pkg -- no debconf information
signature.asc
Description: Digital signature