[Bug 1652031] Re: 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

ChristianEhrhardt 1652031 at bugs.launchpad.net
Tue Jan 3 06:12:54 UTC 2017


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

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-cryptography in Ubuntu.
https://bugs.launchpad.net/bugs/1652031

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

Status in python-cryptography package in Ubuntu:
  Incomplete

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1652031/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list