Package: apt-cacher-ng
Version: 3.2-2
Severity: normal

Dear Maintainer,

I am running apt-cacher-ng on buster. Fairly recently, I began to receive
daily emails from cron with the following body:


/etc/cron.daily/apt-cacher-ng:
Error: cannot fetch 
http://localhost:3142/acng-report.html?doExpire=Start+Expiration&abortOnErrors=aOe,
 HTTP/1.1 502 Connection closed
run-parts: /etc/cron.daily/apt-cacher-ng exited with return code 2


I have tried running a cache cleanup via the web interface http://myhost:3142/ .
No good.

I have also tried purging apt-cacher-ng, and then reinstalling, thinking
that clearing the cache and resetting all configuration would solve the
problem. No good.

So I am at a loss. Somehow, the daily cron script for apt-cacher-ng now
always fails, and it seems there is no way to fix it. Even purging the
package, which should remove all state related to apt-cacher-ng, does not
solve it. This suggests to me that something else on my server is breaking
the cron script. But what could that be?

I am running shorewall firewall, and I use /etc/{hosts.allow,hosts.deny}
to limit network access to the proxy that apt-cacher-ng provides, but
those have never caused an issue like this before.

Any guidance would be appreciated.

Thanks,
-S.M.

-- Package-specific info:

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-cacher-ng depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  dpkg                   1.19.7
ii  libbz2-1.0             1.0.6-9
ii  libc6                  2.28-10
ii  libgcc1                1:8.3.0-6
ii  liblzma5               5.2.4-1
ii  libssl1.1              1.1.1c-1
ii  libstdc++6             8.3.0-6
ii  libsystemd0            241-5
ii  libwrap0               7.6.q-28
ii  lsb-base               10.2019051400
ii  zlib1g                 1:1.2.11.dfsg-1

apt-cacher-ng recommends no packages.

Versions of packages apt-cacher-ng suggests:
pn  avahi-daemon  <none>
pn  doc-base      <none>
ii  libfuse2      2.9.9-1

-- debconf information:
  apt-cacher-ng/bindaddress: keep
  apt-cacher-ng/cachedir: keep
  apt-cacher-ng/port: keep
* apt-cacher-ng/tunnelenable: false
  apt-cacher-ng/gentargetmode: No automated setup
  apt-cacher-ng/proxy: keep

Reply via email to