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

Hi,
On this buster host I have apt-cacher-ng running, when using the line below:

deb http://localhost:3142/packagecloud.io/grafana/testing/debian/ stretch main

apt fails to fetch the repository:

# apt update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [38.3 
kB]
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease
Err:4 http://localhost:3142/packagecloud.io/grafana/testing/debian stretch 
InRelease
  500  Bad redirection (path) [IP: ::1 3142]
Fetched 38.3 kB in 1s (40.5 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch 
http://localhost:3142/packagecloud.io/grafana/testing/debian/dists/stretch/InRelease
  500  Bad redirection (path) [IP: ::1 3142]
W: Some index files failed to download. They have been ignored, or old ones 
used instead.

While the repository itself updates fine when not going through apt-cacher-ng.

I've attached a debug log, hope that helps!

Filippo

-- Package-specific info:

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (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.69
ii  dpkg                   1.19.2
ii  libbz2-1.0             1.0.6-9
ii  libc6                  2.27-8
ii  libgcc1                1:8.2.0-9
ii  liblzma5               5.2.2-1.3
ii  libssl1.1              1.1.1a-1
ii  libstdc++6             8.2.0-9
ii  libsystemd0            239-13
ii  libwrap0               7.6.q-27
ii  lsb-base               9.20170808
ii  zlib1g                 1:1.2.11.dfsg-1

apt-cacher-ng recommends no packages.

Versions of packages apt-cacher-ng suggests:
ii  avahi-daemon  0.7-4+b1
pn  doc-base      <none>
ii  libfuse2      2.9.8-2

-- 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:
  apt-cacher-ng/gentargetmode: No automated setup
  apt-cacher-ng/bindaddress: keep
* apt-cacher-ng/tunnelenable: false
  apt-cacher-ng/proxy: keep
  apt-cacher-ng/port: keep
  apt-cacher-ng/cachedir: keep

Attachment: apt-cacher-ng_packagecloud_debug.gz
Description: application/gzip

Reply via email to