package python-cryptography 1.2.3-1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cryptography (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
sdv
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-cryptography 1.2.3-1
ProcVersionSign
Uname: Linux 4.4.0-57-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Wed Jan 11 10:34:07 2017
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2016-06-22 (202 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.15ubuntu0.2
SourcePackage: python-cryptography
Title: package python-cryptography 1.2.3-1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Unpacking grub-common (2.02~beta2- 36ubuntu3. 6) over (2.02~beta2- 36ubuntu3. 2) ... 2.20.1- 0ubuntu2. 4_all.deb ...
^
^ apt/archives/ apport_ 2.20.1- 0ubuntu2. 4_all.deb (--unpack): pycompile" , line 35, in <module> python/ debpython/ version. py", line 24, in <module> cryptography_ 1.2.3-1ubuntu0. 1_amd64. deb ...
^
^ apt/archives/ python- cryptography_ 1.2.3-1ubuntu0. 1_amd64. deb (--unpack):
Preparing to unpack .../apport_
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../python-
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1