Using the script from the PR fixed it on my client. However, when installing squid-deb-proxy-client on the server that is also running squid-deb-proxy then the original apt-avahi-discover script emits the mentioned warning but otherwise works fine. But the script from the PR results in the following error:
% sudo apt update Hit:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:5 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease Hit:6 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease Hit:7 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease Hit:8 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease Hit:10 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease Hit:11 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release Hit:9 https://dl.ui.com/unifi/debian stable InRelease Reading package lists... Done E: Sub-process ProxyAutoDetect returned an error code (100) E: Sub-process ProxyAutoDetect returned an error code (100) E: Sub-process ProxyAutoDetect returned an error code (100) E: Sub-process ProxyAutoDetect returned an error code (100) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1963794 Title: apt-avahi-discover script uses deprecated asyncore module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1963794/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs