Package: apt-cacher-ng Version: 3.2-2 Upon installation of AC-NG, the remap rule ('secdeb') for debian security is missing the directory spec ('/debian-security'):
Rong remap rule without directory spec: Remap-secdeb: security.debian.org ; security.debian.org deb.debian.org/debian-security Working remap rule with directory spec: Remap-secdeb: security.debian.org /debian-security ; security.debian.org deb.debian.org/debian-security If the directory spec is not included in the remap rule the following error comes up: "Err:1 http://localhost:3142/debian-security buster/updates InRelease 503 DNS error for hostname debian-security: No address associated with hostname. If debian-security refers to a configured cache repository, please check the corresponding configuration file. [IP: ::1 3142] Reading package lists... Done W: Failed to fetch http://localhost:3142/debian-security/dists/buster/updates/InRelease 503 DNS error for hostname debian-security: No address associated with hostname. If debian-security refers to a configured cache repository, please check the corresponding configuration file. [IP: ::1 3142] W: Some index files failed to download. They have been ignored, or old ones used instead." For testing purposes, the client is on the same host as apt-cacher-ng. The repository spec '/debian-security' was chosen because it is per default appended when installing Debian Buster (10) using a preseed file. As an aside: In the remap rule above I would suggest adding 'deb.debian.org/debian-security' in the MurgeURL component, so my suggested remap rule would look like: Remap-secdeb: deb.debian.org/debian-security security.debian.org /debian-security ; security.debian.org deb.debian.org/debian-security -- John Doe