package python-m2crypto 0.24.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1766917 reported by Change Zhong on 2018-04-25
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
m2crypto (Ubuntu)
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/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    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
ProcVersionSignature: Ubuntu 4.8.0-59.64-generic 4.8.17
Uname: Linux 4.8.0-59-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.7
AptOrdering:
 python-m2crypto:amd64: Install
 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)
RelatedPackageVersions:
 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)

Change Zhong (userchange) wrote :
tags: removed: need-duplicate-check
Matej (mcepl) wrote :

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.

Joshua Powers (powersj) on 2018-06-06
Changed in m2crypto (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

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

Changed in m2crypto (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers