Package: apt-cacher-ng
Version: 3.7.5-1.1
Severity: wishlist

Hello Eduard,

I've been using apt-cacher-ng extensively for building the live images for 
Debian.
Thank you for this tool! It has saved me from downloading many gigabytes of 
data.

Recently I've experimented with snapshot.debian.org to build images from a 
specific timestamp.

I've been able to save some downloads by having the pool of snapshot.debian.org 
and deb.debian.org overlapping with the following Remap (in acng.conf above the 
Remap-debrep line):

Remap-debrepppool: snapshot.debian.org/archive/debian/20260111T142729Z/pool 
snapshot.debian.org/archive/debian/20251011T083425Z/pool 
deb.debian.org/debian/pool

This places all shareable files in the debreppool directory and the dists 
subdirectories stay separate.

However, it is rather inconvenient to specify every single timestamp 
individually, if I would like to use another timestamp.

Would it be possible to have a wild card for the timestamp in the remap line?

With kind regards,
Roland Clobus
Maintainer of the live images for Debian

A mini test case:
# The same files from 3 sources
http_proxy=http://localhost:3142 wcurl 
http://deb.debian.org/debian/pool/main/c/cdebconf-entropy/cdebconf-text-entropy_0.59_amd64.udeb
http_proxy=http://localhost:3142 wcurl 
http://snapshot.debian.org/archive/debian/20260111T142729Z/pool/main/c/cdebconf-entropy/cdebconf-text-entropy_0.59_amd64.udeb
http_proxy=http://localhost:3142 wcurl 
http://snapshot.debian.org/archive/debian/20251011T083425Z/pool/main/c/cdebconf-entropy/cdebconf-text-entropy_0.59_amd64.udeb

# Different versions were available at the different timestamps
http_proxy=http://localhost:3142 wcurl 
http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.8+deb13u3_amd64.deb
http_proxy=http://localhost:3142 wcurl 
http://snapshot.debian.org/archive/debian/20260111T142729Z/pool/main/b/base-files/base-files_13.8+deb13u2_amd64.deb
http_proxy=http://localhost:3142 wcurl 
http://snapshot.debian.org/archive/debian/20251011T083425Z/pool/main/b/base-files/base-files_13.8+deb13u1_amd64.deb


-- Package-specific info:

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.18.5+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-cacher-ng depends on:
ii  adduser                     3.154
ii  debconf [debconf-2.0]       1.5.91
ii  dpkg                        1.23.5
ii  libbz2-1.0                  1.0.8-6+b1
ii  libc6                       2.42-11
ii  libcares2                   1.34.6-1
ii  libevent-2.1-7t64           2.1.12-stable-10+b2
ii  libevent-pthreads-2.1-7t64  2.1.12-stable-10+b2
ii  libfuse3-4                  3.18.1-1
ii  libgcc-s1                   15.2.0-12
ii  liblzma5                    5.8.2-2
ii  libssl3t64                  3.5.4-1+b1
ii  libstdc++6                  15.2.0-12
ii  libsystemd0                 259-1
ii  libwrap0                    7.6.q-36+b2
ii  lsb-base                    11.6
ii  sysvinit-utils [lsb-base]   3.15-6
ii  zlib1g                      1:1.3.dfsg+really1.3.1-1+b2

Versions of packages apt-cacher-ng recommends:
ii  ca-certificates  20250419

Versions of packages apt-cacher-ng suggests:
ii  avahi-daemon  0.8-17+b1
pn  doc-base      <none>

-- Configuration Files:
/etc/apt-cacher-ng/acng.conf changed [not included]
/etc/apt-cacher-ng/security.conf [Errno 13] Permission denied: 
'/etc/apt-cacher-ng/security.conf'

-- debconf information excluded

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to