package ubuntu-advantage-tools 27.3~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I don't know
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 4.15.0-142-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.30
AptOrdering:
ubuntu-
code: Install
ubuntu-
code: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Fri Nov 5 20:01:35 2021
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2021-09-28 (38 days ago)
InstallationMedia: Ubuntu 16.04.7 LTS "Xenial Xerus" - Release amd64 (20200806)
RelatedPackageV
dpkg 1.18.4ubuntu1.7
apt 1.2.35
SourcePackage: ubuntu-
Title: package ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
This appears to be a duplicate of bug 1930121 and will be fixed in the next release of ubuntu- advantage- tools 27.4, which should be released in the next couple weeks.
This bug occurs when you have a nonstandard installation of python3. Nonstandard here means just about anything other than using "apt install python3" from the ubuntu archives.
You should be able to get around this for now with the following command:
env PYTHONPATH= /usr/lib/ python3/ dist-packages apt upgrade
If that doesn't work please comment here letting us know and we can debug further :)