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.
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 /usr/lib/ python3/ dist-packages python3 -c "import uaclient" advantage- tools
python3 -c "import uaclient"
env PYTHONPATH=
ua version
apt policy ubuntu-
And we will take a better look at it.