Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning when running update/upgrade #26

Open
D-u-c-k-s-e-l opened this issue Oct 31, 2023 · 3 comments
Open

DeprecationWarning when running update/upgrade #26

D-u-c-k-s-e-l opened this issue Oct 31, 2023 · 3 comments

Comments

@D-u-c-k-s-e-l
Copy link

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
Copy link
Author

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
Copy link
Owner

volitank commented Nov 2, 2023

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants