$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

$ sudo apt policy squid-deb-proxy-client
squid-deb-proxy-client:
  Installiert:           0.8.15+nmu1ubuntu1
  Installationskandidat: 0.8.15+nmu1ubuntu1
  Versionstabelle:
 *** 0.8.15+nmu1ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe i386 Packages

/usr/share/squid-deb-proxy-client/apt-avahi-discover:6: DeprecationWarning: The 
asyncore module is deprecated and will be removed in Python 3.12. The 
recommended replacement is asyncio
  import asyncore

and hangs on apt install beep

$ grep -n asyncore /usr/share/squid-deb-proxy-client/apt-avahi-discover
6:import asyncore
40:class AptAvahiClient(asyncore.dispatcher):
42:        asyncore.dispatcher.__init__(self)
118:    asyncore.loop(timeout=timeout)

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to