Package: apt-cacher
Version: 1.7.21+nmu1
Severity: normal
AFAICT, metadata deltas now have filenames along the lines of
T-2021-01-13-2000.21-F-2021-01-13-2000.21.pdiff, which don't match
apt-cacher's default pdiff_files_regexp; as such, apt winds up falling
back on downloading full lists. I've had good results by generalizing
the regexp to
pdiff_files_regexp =
(?:^|[/-])2\d{3}-\d{2}-\d{2}-\d{4}\.\d{2}\.(?:gz|pdiff.*)$
Could you please take a look?
Thanks!
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'stable'), (300,
'unstable-debug'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32
Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt-cacher depends on:
ii cdebconf [debconf-2.0] 0.256
ii debconf [debconf-2.0] 1.5.74
ii ed 1.16-1
ii init-system-helpers 1.60
ii libdpkg-perl 1.20.5
ii libfilesys-df-perl 0.92-6+b6
ii libio-interactive-perl 1.022-1
ii libio-interface-perl 1.09-2
ii libipc-shareable-perl 0.61-2
ii libnetaddr-ip-perl 4.079+dfsg-1+b5
ii libsys-syscall-perl 0.25-6
ii libwww-curl-perl 4.17-7+b1
ii libwww-perl 6.51-1
ii lsb-base 11.1.0
ii perl 5.32.0-6
ii update-inetd 4.51
Versions of packages apt-cacher recommends:
ii libberkeleydb-perl 0.64-1+b1
ii libio-compress-lzma-perl 2.100-1
Versions of packages apt-cacher suggests:
ii libfreezethaw-perl 0.5001-2.1
ii libio-socket-inet6-perl 2.72-2.1
-- Configuration Files:
/etc/apt-cacher/apt-cacher.conf changed:
group = www-data
user = www-data
path_map = debian http.debian.net/debian ; security
security.debian.org/debian-security ; secure-testing
secure-testing.debian.net/debian-secure-testing ; non-US
debian.teleglobe.net/non-US non-us.debian.org/debian-non-US ; debathena
debathena.mit.edu/apt ; debian-ports ftp.ports.debian.org/debian-ports ;
debian-debug debug.mirrors.debian.org/debian-debug
allowed_hosts = *
clean_cache = 0
pdiff_files_regexp = (?:^|[/-])2\d{3}-\d{2}-\d{2}-\d{4}\.\d{2}\.(?:gz|pdiff.*)$
-- debconf information:
* apt-cacher/mode: daemon