package python-pbr 1.8.0-4ubuntu1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 2

Bug #1774456 reported by Nestor Bustillos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pbr (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

El error fue al intentar instalar odoo version 8

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-pbr 1.8.0-4ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-28.32~16.04.2-generic 4.10.17
Uname: Linux 4.10.0-28-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: i386
Date: Wed May 30 20:08:53 2018
Dependencies: python-six 1.10.0-3
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 2
InstallationDate: Installed on 2018-04-19 (42 days ago)
InstallationMedia: Ubuntu-MATE 16.04.3 LTS "Xenial Xerus" - Release i386 (20170801)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: python-pbr
Title: package python-pbr 1.8.0-4ubuntu1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nestor Bustillos (1968abel) wrote :
Revision history for this message
James Page (james-page) wrote :

update-alternatives: attention: there is no alternative / 5sr / b) n'python3-pbr (part of the group of links pbr); eliminating it from the list of alternatives
update-alternatives: error: / var / lib / dpkg / alternatives / pbr corrupted: end of unexpected file when trying to read master file

Revision history for this message
James Page (james-page) wrote :

It looks like the alternatives db for pbr has become corrupted, hence the package won't install/updated

Revision history for this message
James Page (james-page) wrote :

I think this is an install local issue - you should be able to resolve using:

  sudo update-alternatives --remove-all pbr
  sudo rm -f /etc/alternatives/pbr /var/lib/dpkg/alternatives/pbr
  sudo apt install --reinstall python3-pbr

Changed in python-pbr (Ubuntu):
status: New → Invalid
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.