package ubuntu-advantage-tools 27.1~16.04.2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

Bug #1938074 reported by Bruna Larissa Rabelo dos Reis
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-advantage-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

ModuleNotFoundError: No module named 'uaclient'
dpkg: erro to process the package ubuntu-advantage-tools

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: ubuntu-advantage-tools 27.1~16.04.2
ProcVersionSignature: Ubuntu 4.15.0-142.146~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-142-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.30
Architecture: amd64
Date: Mon Jul 26 15:33:56 2021
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationDate: Installed on 2019-08-30 (696 days ago)
InstallationMedia: Ubuntu 16.04.6 LTS "Xenial Xerus" - Release amd64 (20190227)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.7
 apt 1.2.35
SourcePackage: ubuntu-advantage-tools
Title: package ubuntu-advantage-tools 27.1~16.04.2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bruna Larissa Rabelo dos Reis (bruna13) wrote :
Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote :

Hi Bruna, thanks for reporting this issue.
Just to confirm, are you using a custom python installation in the system ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-advantage-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

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.

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.