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

I get the following error repeatedly from the cron job:

/etc/cron.daily/apt-cacher-ng:
Maintenance Task: Expiration
See file /var/log/apt-cacher-ng/maint_1577993104.log.html for more details.
Server control address: http://127.0.0.1:3142/acng-report.html
Problem with 
mirror.internode.on.net/pub/debian/dists/unstable/main/binary-amd64/Packages.xz
Problem with 
mirror.internode.on.net/pub/debian/dists/unstable/main/binary-i386/Packages.xz
Errors found, aborting expiration...

The HTML file has the following messages that are relevant:

Parsing metadata in
   mirror.internode.on.net/pub/debian/dists/unstable/main/binary-amd64/Pa
   ckages.xz
   An error occurred while reading this file, some contents may have been
   ignored.
   Parsing metadata in
   mirror.internode.on.net/pub/debian/dists/unstable/main/binary-i386/Pac
   kages.xz
   An error occurred while reading this file, some contents may have been
   ignored.

Firstly both the cron job and the HTML file should include the full path to
the file.  If the errors were reported in 
/var/cache/apt-cacher-ng/mirror.internode.on.net/pub/debian/dists/unstable/main/binary-i386/Packages.xz
 then it
would take me less time to track the problem down.

Next what is the error when reading the file?  I ran xzless against it and the
contents looked OK.  The HTML file should give some clue as to what the error
is.

After the bug is submitted I'll attach both Packages.xz files.

-- Package-specific info:

-- System Information:
Debian Release: 10.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default

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.2~deb10u1
ii  libc6                  2.28-10
ii  libgcc1                1:8.3.0-6
ii  liblzma5               5.2.4-1
ii  libssl1.1              1.1.1d-0+deb10u2
ii  libstdc++6             8.3.0-6
ii  libsystemd0            241-7~deb10u2
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

-- 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
BindAddress: localhost 10.0.0.1
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian 
Archives
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu 
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 
deb.debian.org/debian-security
ReportPage: acng-report.html
ExThreshold: 4
LocalDirs: acng-doc /usr/share/doc/apt-cacher-ng


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

Reply via email to