Dear everyone,I am observing a behaviour that is strongly related to the issue reported here and I must protest making the gateway machine a higher priority than any other explicitly configured (DNS, SRV, mDNS... options).
I am running a network, where only selected machines have direct internet access. apt-cacher-ng provided system updated to all hidden machines. In my case, the gateway is a minimalist Raspi, but apt-cacher-ng is running on a completely different machine. Now, auto-apt-cacher ignorantly returns the IPv6 address of my gateway and apt stops updating:
lestinsk@trixie:~> sudo apt update [sudo] password for lestinsk: Ign:1 http://deb.debian.org/debian trixie InRelease Ign:2 http://security.debian.org/debian-security trixie-security InRelease Ign:3 http://deb.debian.org/debian trixie-updates InRelease Err:4 http://deb.debian.org/debian trixie ReleaseCannot initiate the connection to fe80::406d:3b6d:e90:16c2:3142 (fe80::406d:3b6d:e90:16c2). - connect (22: Invalid argument)
Err:5 http://security.debian.org/debian-security trixie-security ReleaseCannot initiate the connection to fe80::406d:3b6d:e90:16c2:3142 (fe80::406d:3b6d:e90:16c2). - connect (22: Invalid argument)
Err:6 http://deb.debian.org/debian trixie-updates ReleaseCannot initiate the connection to fe80::406d:3b6d:e90:16c2:3142 (fe80::406d:3b6d:e90:16c2). - connect (22: Invalid argument) Error: The repository 'http://deb.debian.org/debian trixie Release' no longer has a Release file. Notice: Updating from such a repository can't be done securely, and is therefore disabled by default. Notice: See apt-secure(8) manpage for repository creation and user configuration details. Error: The repository 'http://security.debian.org/debian-security trixie-security Release' no longer has a Release file. Notice: Updating from such a repository can't be done securely, and is therefore disabled by default. Notice: See apt-secure(8) manpage for repository creation and user configuration details. Error: The repository 'http://deb.debian.org/debian trixie-updates Release' no longer has a Release file. Notice: Updating from such a repository can't be done securely, and is therefore disabled by default. Notice: See apt-secure(8) manpage for repository creation and user configuration details.
No Bookworm machines are affected, but for Trixie, this is a full stop. Best, Michael
OpenPGP_signature.asc
Description: OpenPGP digital signature

