package ubuntu-advantage-tools 27.2.2~18.04.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Doing a dist-upgrade from 18.04 to 20.04:
Errors were encountered while processing:
ubuntu-
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
*** Send problem report to the developers?
After the problem report has been sent, please fill out the form in the
automatically opened web browser.
What would you like to do? Your options are:
S: Send report (294.9 KB)
V: View report
K: Keep report file for sending later or copying to somewhere else
I: Cancel and ignore future crashes of this program version
C: Cancel
Please choose (S/V/K/I/C): s
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.......
RequestsDepen
..
*** Uploading problem information
The collected information is being sent to the bug tracking system.
This might take a few minutes.
99%
*** To continue, you must visit the following URL:
You can launch a browser now, or copy this URL into a browser on another computer.
Choices:
1: Launch a browser now
C: Cancel
Please choose (1/C):
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 4.15.0-159-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.26
Architecture: amd64
Date: Fri Oct 8 17:59:57 2021
ErrorMessage: installed ubuntu-
Python3Details: /opt/anaconda3/
PythonDetails: /opt/anaconda3/
RelatedPackageV
dpkg 1.19.0.5ubuntu2.3
apt 1.6.14
SourcePackage: ubuntu-
Title: package ubuntu-
UpgradeStatus: Upgraded to bionic on 2021-10-08 (0 days ago)
Thank you for the bug report!
This appears to be a duplicate of bug 1930121.
For now, the likely quick fix is to set PYTHONPATH= /usr/lib/ python3/ dist-packages
We will release a proper fix in ubuntu- advantage- tools in a coming release.