package python-m2crypto 0.24.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
m2crypto (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
After I input "sudo apt-get install python-m2crypto" something appear like this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-m2crypto is already the newest version (0.24.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python-m2crypto (0.24.0-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 processing package python-m2crypto (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python-m2crypto
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: python-m2crypto 0.24.0-1
ProcVersionSign
Uname: Linux 4.8.0-59-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.7
AptOrdering:
python-
NULL: ConfigurePending
Architecture: amd64
Date: Wed Apr 25 19:00:20 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-07-02 (661 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageV
dpkg 1.18.10ubuntu1.1
apt 1.3.5
SourcePackage: m2crypto
Title: package python-m2crypto 0.24.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to yakkety on 2016-11-07 (534 days ago)
tags: | removed: need-duplicate-check |
Changed in m2crypto (Ubuntu): | |
status: | New → Incomplete |
This looks to me like you are trying to install M2Crypto 0.24 with python3. It doesn't work, py3k is supported only from the version 0.28.0.