Error while adding Python modules
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/
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/
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/
E: Sub-process /usr/bin/dpkg returned an error code (1)
description: | updated |
Changed in python3.5 (Ubuntu): | |
status: | New → Invalid |