nala icon indicating copy to clipboard operation
nala copied to clipboard

DeprecationWarning when running update/upgrade

Open D-u-c-k-s-e-l opened this issue 1 year ago • 3 comments

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 avatar Oct 31 '23 04:10 D-u-c-k-s-e-l

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.

D-u-c-k-s-e-l avatar Oct 31 '23 04:10 D-u-c-k-s-e-l

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.

volitank avatar Nov 02 '23 19:11 volitank

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

D-u-c-k-s-e-l avatar Nov 25 '23 16:11 D-u-c-k-s-e-l