package python3-cryptography 1.2.3-1ubuntu0.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

Bug #1652031 reported by Daniel de Melo Costa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cryptography (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I was starting my computer when the app crashed. It happens all the time.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python3-cryptography 1.2.3-1ubuntu0.1
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
Date: Mon Dec 19 15:57:35 2016
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationDate: Installed on 2016-12-19 (3 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.15ubuntu0.2
SourcePackage: python-cryptography
Title: package python3-cryptography 1.2.3-1ubuntu0.1 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
Daniel de Melo Costa (danieldemelocosta) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
thank you for your report and your help to make Ubuntu better.

From the log I've seen:
Configurando python3-cryptography (1.2.3-1ubuntu0.1) ...
dpkg-query: aviso: a interpretar o ficheiro '/var/lib/dpkg/status' perto da linha 13027 pacote 'libdbusmenu-gtk3-4:amd64':
 description faltando
Traceback (most recent call last):
  File "/usr/bin/py3compile", line 290, in <module>
    main()
  File "/usr/bin/py3compile", line 270, in main
    options.force, options.optimize, e_patterns)
  File "/usr/bin/py3compile", line 172, in compile
    interpreter.magic_number(version), mtime)
  File "/usr/share/python3/debpython/interpreter.py", line 233, in magic_number
    result = self._execute('import imp; print(imp.get_magic())', version)
  File "/usr/share/python3/debpython/interpreter.py", line 359, in _execute
    raise Exception('{} failed with status code {}'.format(command, output['returncode']))
Exception: python3.5 -c 'import imp; print(imp.get_magic())' failed with status code 139

Now while the second part is a python fail I wonder about the first which is complaining about being unable to read a proper state from "/var/lib/dpkg/status" - I wonder if this file is damaged on your system.
It is a critical part of the package management.

I can't guess what happened but you might try the suggestions made here to fix it up:
http://askubuntu.com/questions/4834/how-do-i-rebuild-a-corrupt-dpkg-status-file

Changed in python-cryptography (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-cryptography (Ubuntu) because there has been no activity for 60 days.]

Changed in python-cryptography (Ubuntu):
status: Incomplete → Expired
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.