Comment 1 for bug 1946034

Revision history for this message
Joseph O'Connor (geopython1916) wrote :

Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'uaclient'
dpkg: error processing package ubuntu-advantage-tools (--configure):
 installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 ubuntu-advantage-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
joecoc1916@joe-DellOptiPlex-9010:/usr/bin$ sudo apt remove emacs25
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  emacs25-lucid
Suggested packages:
  emacs25-common-non-dfsg
The following packages will be REMOVED:
  emacs25
The following NEW packages will be installed:
  emacs25-lucid
0 upgraded, 1 newly installed, 1 to remove and 34 not upgraded.
1 not fully installed or removed.
Need to get 3,476 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 emacs25-lucid amd64 25.2+1-6 [3,476 kB]
Fetched 3,476 kB in 1s (2,834 kB/s)
dpkg: emacs25: dependency problems, but removing anyway as you requested:
 emacs depends on emacs25 | emacs25-lucid | emacs25-nox; however:
  Package emacs25 is to be removed.
  Package emacs25-lucid is not installed.
  Package emacs25-nox is not installed.

(Reading database ... 391577 files and directories currently installed.)
Removing emacs25 (25.2+1-6) ...
Remove dictionaries-common for emacs25
remove/dictionaries-common: Purging byte-compiled files for flavour emacs25
Remove git for emacs25
remove/git: Handling removal of emacsen flavor emacs25
Remove emacsen-common for emacs25
emacsen-common: Handling removal of emacsen flavor emacs25
Remove cmake-data for emacs25
remove/cmake-data: Purging byte-compiled files for emacs25
Selecting previously unselected package emacs25-lucid.
(Reading database ... 391567 files and directories currently installed.)
Preparing to unpack .../emacs25-lucid_25.2+1-6_amd64.deb ...
Unpacking emacs25-lucid (25.2+1-6) ...
Setting up ubuntu-advantage-tools (27.2.2~18.04.1) ...
Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'uaclient'
dpkg: error processing package ubuntu-advantage-tools (--configure):
 installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1
Setting up emacs25-lucid (25.2+1-6) ...
update-alternatives: using /usr/bin/emacs25-lucid to provide /usr/bin/emacs (emacs) in auto mode
Install emacsen-common for emacs25
emacsen-common: Handling install of emacsen flavor emacs25
Install git for emacs25
install/git: Handling install of emacsen flavor emacs25
install/git: Byte-compiling for emacs25
+ emacs25 -batch -q -no-site-file -f batch-byte-compile git.el git-blame.el
Install cmake-data for emacs25
install/cmake-data: Byte-compiling for emacs25
Install dictionaries-common for emacs25
install/dictionaries-common: Byte-compiling for emacsen flavour emacs25
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 ubuntu-advantage-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)