Comment 2 for bug 1949965

Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

This appears to be a duplicate of bug 1930121 and will be fixed in the next release of ubuntu-advantage-tools 27.4, which should be released in the next couple weeks.

This bug occurs when you have a nonstandard installation of python3. Nonstandard here means just about anything other than using "apt install python3" from the ubuntu archives.

You should be able to get around this for now with the following command:

env PYTHONPATH=/usr/lib/python3/dist-packages apt upgrade

If that doesn't work please comment here letting us know and we can debug further :)