[Bug 1651990] Re: Error while adding Python modules

Kai Kasurinen 1651990 at bugs.launchpad.net
Thu Jul 23 15:41:35 UTC 2020


*** This bug is a duplicate of bug 1715062 ***
    https://bugs.launchpad.net/bugs/1715062

** This bug is no longer a duplicate of bug 1659002
   ImportError: No module named 'ConfigParser' when running pycompile
** This bug has been marked a duplicate of bug 1715062
   package python-six 1.10.0-3 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

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

Title:
  Error while adding Python modules

Status in python3.5 package in Ubuntu:
  Invalid

Bug description:
  # apt install python-sip
  Reading package lists ... Done
  Building dependency tree
  Reading state information ... Done
  The following packages will be upgraded:
    python-sip
  1 upgraded, 0 newly installed, 0 to remove and 1308 not upgraded.
  10 not fully installed or removed.
  Need to get 0 B / 71.8 kB archives.
  After this operation will be released 14.3 kB disk space.
  (Reading database ... 142205 files and directories currently installed.)
  Preparing to unpack the package ... / python-sip_4.18.1 + dfsg-1_amd64.deb ...
    File "/ rofs / usr / bin / pyclean", line 63
      except (IOError, OSError) that:
                               ^
  SyntaxError: invalid syntax
  dpkg: warning: previous subprocess pre-removal script returned error code 1
  dpkg: trying script from the new package ...
    File "/ rofs / usr / bin / pyclean", line 63
      except (IOError, OSError) that:
                               ^
  SyntaxError: invalid syntax
  dpkg: error processing archive /var/cache/apt/archives/python-sip_4.18.1+dfsg-1_amd64.deb (--unpack):
   subprocess new pre-removal script returned error code 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 while cleaning up:
   subprocess installed post-installation script returned error code 1
  Errors were encountered while processing:
   /var/cache/apt/archives/python-sip_4.18.1+dfsg-1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1651990/+subscriptions



More information about the foundations-bugs mailing list