package ubuntu-advantage-tools 27.3~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1949965 reported by yiming564
8
This bug affects 1 person
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-advantage-tools 27.3~16.04.1
ProcVersionSignature: Ubuntu 4.15.0-142.146~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-142-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.30
AptOrdering:
 ubuntu-advantage-tools: Install
 code: Install
 ubuntu-advantage-tools: Configure
 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)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.7
 apt 1.2.35
SourcePackage: ubuntu-advantage-tools
Title: package ubuntu-advantage-tools 27.3~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
yiming564 (yiming564) wrote :
Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

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 :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.