Package: apt-cacher-ng
Version: 3.7.5-1
Followup-For: Bug #1023388
X-Debbugs-Cc: [email protected]
Control: tags -1 patch

apt-cacher-ng sends duplicate Host header:

    GET / HTTP/1.1
    User-Agent: Apt-Cacher-NG/3.7.5
    Host: d-i.debian.org
    Host: d-i.debian.org
    User-Agent: Wget/1.25.0
    Accept: */*
    Accept-Encoding: identity
    Accept: application/octet-stream

Patch on salsa that fixes this error:

https://salsa.debian.org/blade/apt-cacher-ng/-/merge_requests/14

-- Package-specific info:

-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages apt-cacher-ng depends on:
ii  adduser                     3.152
ii  debconf [debconf-2.0]       1.5.91
ii  dpkg                        1.22.21
ii  libbz2-1.0                  1.0.8-6
ii  libc6                       2.41-12
ii  libcares2                   1.34.5-1
ii  libevent-2.1-7t64           2.1.12-stable-10+b1
ii  libevent-pthreads-2.1-7t64  2.1.12-stable-10+b1
ii  libfuse2t64                 2.9.9-9
ii  libgcc-s1                   14.2.0-19
ii  liblzma5                    5.8.1-1
ii  libssl3t64                  3.5.1-1+deb13u1
ii  libstdc++6                  14.2.0-19
ii  libsystemd0                 257.8-1~deb13u2
ii  libwrap0                    7.6.q-36
ii  sysvinit-utils [lsb-base]   3.14-4
ii  zlib1g                      1:1.3.dfsg+really1.3.1-1+b1

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

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

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

Reply via email to