[Bug 1651990] [NEW] Error while adding Python modules
Michal Dziczkowski
1651990 at bugs.launchpad.net
Thu Dec 22 09:46:44 UTC 2016
Public bug reported:
# 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)
** Affects: python3.5 (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
- While attempting to install python3 modules with are required to solve
- dependencies, I recieve every time following output (bellow is a example
- with python3-simplejson):
-
- Apt-install python3-simplejson
+ # apt install python-sip
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
- The Following additional packages will be installed:
- python-sip
- They will be installed the following NEW packages:
- python3-simplejson
The following packages will be upgraded:
python-sip
- 1 upgraded, 1 newly installed, 0 to remove and 1308 not upgraded.
- 4 not fully installed or removed.
- You need to get 48.5 kB / 120 kB of archives.
- After this operation will be additionally used 217 KB of disk space.
- Download: 1 http://pl.archive.ubuntu.com/ubuntu yakkety / main amd64 python3-simplejson amd64 3.8.2-2 [48.5 kB]
- Downloaded 0s 48.5 kB (132 kB / s)
- (Reading database ... 142129 files and directories currently installed.)
+ 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
- Selecting a previously unsuccessful package python3-simplejson.
- Preparing to unpack the package ... / python3-simplejson_3.8.2-2_amd64.deb ...
- Unpacking python3-simplejson (3.8.2-2) ...
Errors were encountered while processing:
/var/cache/apt/archives/python-sip_4.18.1+dfsg-1_amd64.deb
- In: --force-yes is deprecated, use one of the options starting with --allow instead.
- E: Sub-process / usr / bin / dpkg returned an error code (1)
+ E: Sub-process /usr/bin/dpkg returned an error code (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:
New
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