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

Dear maintainers,

It seems there is a cache or DNS issue (?) sometimes when trying
to access from my internal local network to public Internet.

My clients targets are either armhf, either arm64 or amd64 running
Debian Buster 10.3

Apt-cacher-ng is running on armhf target

With following file : /etc/apt/apt.conf.d/apt_conf_proxy_http_https

ansible@pinebook:~$ grep -i Acqui /etc/apt/apt.conf.d/apt_conf_proxy_http_https
Acquire::http::proxy "http://srv-apt-cacher-110-service:3142";;
Acquire::https::proxy "http://srv-apt-cacher-110-service:3142";;

ansible@pinebook:~$ grep -iR ^Deb /etc/apt/
/etc/apt/sources.list.d/debian_apt_v_10_buster_current.list:deb http://ftp.debian.org/debian/ buster main contrib non-free /etc/apt/sources.list.d/debian_apt_v_10_buster_updates.list:deb http://ftp.fr.debian.org/debian buster-updates main contrib non-free /etc/apt/sources.list.d/armbian_apt_v_10_buster.list:deb http://apt.armbian.com buster main buster-utils buster-desktop /etc/apt/sources.list.d/debian_apt_v_10_buster_previous.list:deb http://ftp.debian.org/debian/ stretch main contrib non-free /etc/apt/sources.list.d/debian_apt_v_10_buster_update_security.list:deb http://security.debian.org buster/updates main contrib non-free /etc/apt/sources.list.d/debian_apt_v_10_buster_backports.list:deb http://ftp.fr.debian.org/debian buster-backports main contrib non-free


test 1: The issue ...
---------------------

ansible@pinebook:~$ sudo apt update
Hit:1 http://ftp.fr.debian.org/debian buster-backports InRelease
Err:2 http://apt.armbian.com buster InRelease
  500  Bad redirection (path) [IP: 192.168.54.79 3142]
Hit:3 http://ftp.debian.org/debian buster InRelease
Hit:4 http://security.debian.org buster/updates InRelease
Hit:5 http://ftp.fr.debian.org/debian buster-updates InRelease
Ign:6 http://ftp.debian.org/debian stretch InRelease
Hit:7 http://ftp.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://apt.armbian.com/dists/buster/InRelease 500 Bad redirection (path) [IP: 192.168.54.79 3142] W: Some index files failed to download. They have been ignored, or old ones used instead.
ansible@pinebook:~$

ansible@pinebook:~$ host 192.168.54.79
79.54.168.192.in-addr.arpa domain name pointer srv-apt-cacher-110-service.noip.jml.


test 2: no more issue (!)
-------------------------

ansible@pinebook:~$ sudo sed -i -e 's/Acquire/#Acquire/g' /etc/apt/apt.conf.d/apt_conf_proxy_http_https

ansible@pinebook:~$ sudo apt update
Hit:1 http://ftp.fr.debian.org/debian buster-backports InRelease
Hit:2 http://ftp.fr.debian.org/debian buster-updates InRelease Hit:3 http://ftp.debian.org/debian buster InRelease Ign:4 http://ftp.debian.org/debian stretch InRelease Hit:5 http://security.debian.org buster/updates InRelease Hit:6 http://ftp.debian.org/debian stretch Release
Hit:7 https://apt.armbian.com buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
ansible@pinebook:~$


Thanks in advance for your help
Best regards

Reply via email to