volitank / nala

Nala is a front-end for libapt-pkg.
GNU General Public License v3.0
1.33k stars 49 forks source link

DeprecationWarning when running update/upgrade #26

Open D-u-c-k-s-e-l opened 8 months ago

D-u-c-k-s-e-l commented 8 months ago

When I run

sudo nala upgrade

or

sudo nala update

I get a bunch of DeprecationWarnings:

/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
/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
/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
/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
/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
/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
/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

The standard nala update/upgrade text follows this but on occasion gets interrupted by the same error.

Relevant info:

nala version 0.11.1 python3 version 3.10.12 python3.11 is installed but not default (v3.11.0) system is Linux Mint 21.2 Cinnamon

D-u-c-k-s-e-l commented 8 months ago

I just realized this was a clone of the gitlab repo but creating a new account is too much work so I'm just going to leave this here.

volitank commented 8 months ago

This looks more like an issue with squid-deb-proxy-client. I don't think this is coming from Nala. I would assume these would probably happen if you use apt update as well. I think it's an update hook.

D-u-c-k-s-e-l commented 7 months ago

I'm unable to try that right now, but I'll do so when I can.