Hello Grant Orndorff,

This is happening when I try to upgrade with apt upgrade
I already reported in another post but was doubled and I posted here, I 
reported on this:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1927905

I tried to run command: env PYTHONPATH=/usr/lib/python3/dist-packages apt 
upgrade
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/usr/lib/python3/dist-packages/uaclient/entitlements/__init__.py", line 
1, in <module>
    from typing import Dict, List, Type, cast  # noqa: F401
ImportError: cannot import name 'Type'
dpkg: error processing ubuntu-advantage-tools (--configure):
 sub-process script post-installation installed returned error output status 1
Errors were found during the processing of:
 ubuntu-advantage-tools
E: Sub-process/usr/bin/dpkg returned an error code (1)


I tried to update again but the error persisted as:

Enable UA Infra: ESM to receive additional future security updates.

See https://ubuntu.com/esm or run: sudo ua status

0 updated packages, 0 new packages installed, 0 to be removed and 0 not updated.
1 packages not fully installed or removed.
After this operation, additional 0B of disk space will be used.
Do you want to continue? [Y / n] y
Configuring ubuntu-advantage-tools (27.3 ~ 16.04.2) ...
TraceBack (most recent call last):
  File "<string>", line 2, in <module>
ImportError: No module named 'uaclient'
dpkg: error processing ubuntu-advantage-tools (--configure) package:
 sub-process script post-installation installed returned error output status 1
Errors were found during the processing of:
 ubuntu-advantage-tools
E: Sub-process/usr/bin/dpkg returned an error code (1)

So I run the commands that resulted in the following exits:
which python3
/usr/local/bin/python3

python3 -c "import uaclient"
nothing

env PYTHONPATH=/usr/lib/python3/dist-packages python3 -c "import uaclient"
nothing

ua version
27.3 ~ 16.04.2

apt policy ubuntu-advantage-tools
ubuntu-advantage-tools:
  Installed: 27.3 ~ 16.04.2
  Candidate: 27.3 ~ 16.04.2
  Version table:
 *** 27.3 ~ 16.04.2 500
        500 http://ppa.launchpad.net/ua-client/stable/ubuntu xenial/main amd64 
Packages
        100 /var/lib/dpkg/status
     27.3 ~ 16.04.1 500
        500 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages

Well I hope this problem can be solved, I'm looking forward to it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

Title:
  package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError:
  No module named 'uaclient'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1930121/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to