Comment 2 for bug 1949574

Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote :

Hello murthagh,

Did you a custom python version installed in your system ? If yes, I think you can run the upgrade command again specifying the right python path like this:

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

If that doesn't work, please provide the output of the following commands:

which python3
python3 -c "import uaclient"
env PYTHONPATH=/usr/lib/python3/dist-packages python3 -c "import uaclient"
ua version
apt policy ubuntu-advantage-tools

And we will take a better look at it.