Public bug reported:
auto-apt-proxy waits too long if there is no answer on the network.
My apt-cacher-ng is not on localhost, or the gateway but a separate
machine on the LAN. Apparently, auto-apt-proxy cannot detect the cache
in that case (whereas squid-deb-proxy-client can). This lead to "apt
update" hanging for about 10 minutes each time. Please make sure to
time out after no more than 2 seconds.
# apt update
[...]14 lines of output from repositories[...]
Reading package lists... Done
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
E: Sub-process ProxyAutoDetect returned an error code (1)
** Affects: auto-apt-proxy (Ubuntu)
Importance: Undecided
Status: New
** Tags: bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874721
Title:
the program needs a timeout parameter
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/auto-apt-proxy/+bug/1874721/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs