'sudo apt-get update' stall/error

2021-09-05 Thread Emanuel Berg
$ sudo apt-get update

... ?

Nothing happens, when I do C-c C-c it says on stderr:

  Got SIGINT, quitting.
  Traceback (most recent call last):
File "/usr/share/squid-deb-proxy-client/apt-avahi-discover", line 126, in 

  address = get_proxy_host_port_from_avahi()
File "/usr/share/squid-deb-proxy-client/apt-avahi-discover", line 79, in 
get_proxy_host_port_from_avahi
  for line in p.stdout:
  KeyboardInterrupt

Ideas?

-- 
underground experts united
https://dataswamp.org/~incal



Re: 'sudo apt-get update' stall/error

2021-09-05 Thread Reco
Hi.

On Mon, Sep 06, 2021 at 01:43:03AM +0200, Emanuel Berg wrote:
> $ sudo apt-get update
...
>   address = get_proxy_host_port_from_avahi()
> File "/usr/share/squid-deb-proxy-client/apt-avahi-discover", line 79, in 
> get_proxy_host_port_from_avahi
...
> 
> Ideas?

apt purge squid-deb-proxy-client, for starters.

If you're using Squid as a proxy - just set the proxy in
/etc/apt/apt.conf, like this:

Acquire::http::Proxy "http://:3148";

If not - no further action is required.

Reco