Package: apt-cacher-ng
Version: 3.7.4-1+b2
Severity: normal
Hi,
on my apt-cacher-ng installation, I see directories like
/var/cache/apt-cacher-ng/var/cache/apt-cacher-ng/zg20150/dists/bookworm-zg-unstable
(zg20150 is a local repository created by reprepro that holds my backports).
I sometimes see files like InRelease.1692725238.head in those
directories, but apt-cacher-ng does seem to clean those up as probably
intended.
Is the doubled "/var/cache/apt-cacher-ng" an intended path or is that
double insertion of the CacheDir value that is not intended?
Greetings
Marc
-- Package-specific info:
-- System Information:
Debian Release: 12.1
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.4.12-zgsrv20080 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=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.134
ii debconf [debconf-2.0] 1.5.82
ii dpkg 1.21.22
ii libbz2-1.0 1.0.8-5+b1
ii libc-ares2 1.18.1-3
ii libc6 2.36-9+deb12u1
ii libevent-2.1-7 2.1.12-stable-8
ii libevent-pthreads-2.1-7 2.1.12-stable-8
ii libfuse2 2.9.9-6+b1
ii libgcc-s1 12.2.0-14
ii liblzma5 5.4.1-0.2
ii libssl3 3.0.9-1
ii libstdc++6 12.2.0-14
ii libsystemd0 252.12-1~deb12u1
ii libwrap0 7.6.q-32
ii sysvinit-utils [lsb-base] 3.06-4
ii zlib1g 1:1.2.13.dfsg-1
Versions of packages apt-cacher-ng recommends:
ii ca-certificates 20230311
Versions of packages apt-cacher-ng suggests:
pn avahi-daemon <none>
pn doc-base <none>
-- Configuration Files:
/etc/apt-cacher-ng/acng.conf changed:
CacheDir: /var/cache/apt-cacher-ng
LogDir: /var/log/apt-cacher-ng
SupportDir: /usr/lib/apt-cacher-ng
Port:13142
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian
Archives
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu
Archives
Remap-klxrep: file:kali_mirrors /kali ; file:backends_kali # Kali Linux Archives
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin #
incomplete, please create this file or specify preferred mirrors here
Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please
create this file or specify preferred mirrors here
Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch
Linux
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-epel: file:epel_mirrors # Fedora EPEL
Remap-slrep: file:sl_mirrors # Scientific Linux
Remap-gentoo: file:gentoo_mirrors.gz /gentoo ; file:backends_gentoo # Gentoo
Archives
Remap-secdeb: security.debian.org security.debian.org/debian-security
deb.debian.org/debian-security /debian-security ;
deb.debian.org/debian-security security.debian.org
Remap-debian: debian ; debian.apt-cache.zugschlus.de/debian
Remap-debiansecurity: debian-security ;
debian-security.apt-cache.zugschlus.de/debian-security
Remap-zg20150: zg20150 ; zg20150.apt-cache.zugschlus.de/zg20150
ReportPage: acng-report.html
ExThreshold: 4
LocalDirs: acng-doc /usr/share/doc/apt-cacher-ng
/etc/apt-cacher-ng/security.conf [Errno 13] Permission denied:
'/etc/apt-cacher-ng/security.conf'
/etc/logrotate.d/apt-cacher-ng changed:
/var/log/apt-cacher-ng/apt-cache*.log {
su apt-cacher-ng apt-cacher-ng
weekly
missingok
rotate 4
nomail
compress
delaycompress
notifempty
create
prerotate
find /var/log/apt-cacher-ng -maxdepth 1 -type f -name
'apt-cache*.log*' -ls > /home/mh/varlogaptcacherngaptcachelog-findls-$(date
+%Y%m%d%H%M) | sort -k11
endscript
postrotate
if [ -e /run/systemd/system ] ; then
if systemctl -q is-active apt-cacher-ng ; then
systemctl kill --signal=USR1 apt-cacher-ng ; fi
elif [ -s /var/run/apt-cacher-ng/pid ] ; then
kill -s USR1 "$(cat /var/run/apt-cacher-ng/pid)"
2>/dev/null ||:
fi
endscript
}
/var/log/apt-cacher-ng/apt-cache*.err {
su apt-cacher-ng apt-cacher-ng
weekly
notifempty
missingok
nomail
rotate 4
compress
delaycompress
create
prerotate
find /var/log/apt-cacher-ng -maxdepth 1 -type f -name
'apt-cache*.err*' -ls > /home/mh/varlogaptcacherngaptcacheerr-findls-$(date
+%Y%m%d%H%M) | sort -k11
endscript
postrotate
if [ -e /run/systemd/system ] ; then
if systemctl -q is-active apt-cacher-ng ; then
systemctl kill --signal=USR1 apt-cacher-ng ; fi
elif [ -s /var/run/apt-cacher-ng/pid ] ; then
kill -s USR1 "$(cat /var/run/apt-cacher-ng/pid)"
2>/dev/null ||:
fi
endscript
}
-- debconf information:
apt-cacher-ng/tunnelenable: false
* apt-cacher-ng/port: keep
* apt-cacher-ng/proxy: keep
* apt-cacher-ng/bindaddress: keep
* apt-cacher-ng/gentargetmode: No automated setup
* apt-cacher-ng/cachedir: keep