Error while adding Python modules

Bug #1651990 reported by Michal Dziczkowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.5 (Ubuntu)
Invalid
Undecided
Unassigned

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)

description: updated
Changed in python3.5 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.