Bionic
Check after cacher is down in the host

+;enp8s0;IPv4;apt-cacher-ng\032proxy\032on\032Keschdeichel;_apt_proxy._tcp;local
=;enp8s0;IPv4;apt-cacher-ng\032proxy\032on\032Keschdeichel;_apt_proxy._tcp;local;Keschdeichel.local;192.168.122.1;3142;

ubuntu@b-deb-proxy:~$ curl  192.168.122.1:3142
curl: (7) Failed to connect to 192.168.122.1 port 3142: Connection refused

ubuntu@b-deb-proxy:~$ /usr/share/squid-deb-proxy-client/apt-avahi-discover 
2>/dev/null
error: uncaptured python exception, closing channel <AptAvahiClient> 
('192.168.122.1', 3142): 9223372036854775807 (<class 'socket.error'>:[Errno 
111] Connection refused [/usr/lib/python2.7/asyncore.py|read|83] 
[/usr/lib/python2.7/asyncore.py|handle_read_event|446] 
[/usr/lib/python2.7/asyncore.py|handle_connect_event|454])

Upgrade

ubuntu@b-deb-proxy:~$ sudo apt install squid-deb-proxy-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  squid-deb-proxy-client
1 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 4820 B of archives.
After this operation, 2048 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 
squid-deb-proxy-client all 0.8.14ubuntu0.18.04.1 [4820 B]
Fetched 4820 B in 0s (55.6 kB/s)           
(Reading database ... 91938 files and directories currently installed.)
Preparing to unpack .../squid-deb-proxy-client_0.8.14ubuntu0.18.04.1_all.deb ...
Unpacking squid-deb-proxy-client (0.8.14ubuntu0.18.04.1) over (0.8.14) ...
Setting up squid-deb-proxy-client (0.8.14ubuntu0.18.04.1) ...


Test with new version

ubuntu@b-deb-proxy:~$ /usr/share/squid-deb-proxy-client/apt-avahi-
discover 2>/dev/null

No more errors bleed into the output, mark verified

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1505670

Title:
  python exceptions bleeding into stdout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1505670/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to