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
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-
ProcVersionSign
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.15ubuntu0.2
SourcePackage: python-cryptography
Title: package python3-
UpgradeStatus: No upgrade log present (probably fresh install)
Hi,
thank you for your report and your help to make Ubuntu better.
From the log I've seen: cryptography (1.2.3-1ubuntu0.1) ... dpkg/status' perto da linha 13027 pacote 'libdbusmenu- gtk3-4: amd64': py3compile" , line 290, in <module> py3compile" , line 270, in main py3compile" , line 172, in compile .magic_ number( version) , mtime) python3/ debpython/ interpreter. py", line 233, in magic_number 'import imp; print(imp. get_magic( ))', version) python3/ debpython/ interpreter. py", line 359, in _execute 'returncode' ])) get_magic( ))' failed with status code 139
Configurando python3-
dpkg-query: aviso: a interpretar o ficheiro '/var/lib/
description faltando
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
options.force, options.optimize, e_patterns)
File "/usr/bin/
interpreter
File "/usr/share/
result = self._execute(
File "/usr/share/
raise Exception('{} failed with status code {}'.format(command, output[
Exception: python3.5 -c 'import imp; print(imp.
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: askubuntu. com/questions/ 4834/how- do-i-rebuild- a-corrupt- dpkg-status- file
http://