[Bug 1659002] Re: ImportError: No module named 'ConfigParser' when running pycompile

Matthias Klose doko at ubuntu.com
Thu Nov 23 13:18:45 UTC 2017


invalid, the user pointed /usr/bin/python to python3

Setting up python-apt (1.1.0~beta1build1) ...
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-apt (--configure):
 subprocess installed post-installation script returned error exit status 1


** Changed in: python2.7 (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1659002

Title:
  ImportError: No module named 'ConfigParser' when running pycompile

Status in python2.7 package in Ubuntu:
  Invalid

Bug description:
  1

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: python-apt 1.1.0~beta1build1
  ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
  Uname: Linux 4.4.0-59-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.4
  AptOrdering:
   python-apt: Install
   python-sip: Configure
   python-qt4: Configure
   python-apt: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Tue Jan 24 16:45:23 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2016-11-23 (61 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.18
  SourcePackage: python-apt
  Title: package python-apt 1.1.0~beta1build1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1659002/+subscriptions



More information about the foundations-bugs mailing list