error message installing python2.5-minimal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.5 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python2.5-minimal
After system hang while update manager was running in Ubuntu 9.10, I get the following when in a root terminal
apt-get -bf install python2.5-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.5-minimal is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up python2.5-minimal (2.5.4-1ubuntu6) ...
Linking and byte-compiling packages for runtime python2.5...
/usr/lib/
Compiling /usr/lib/
File "/usr/lib/
with open(pane_
^
SyntaxError: invalid syntax
Errors were ignored.
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg = DebPackage(
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/lib/
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.5-minimal is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up python2.5-minimal (2.5.4-1ubuntu6) ...
Linking and byte-compiling packages for runtime python2.5...
/usr/lib/
Compiling /usr/lib/
File "/usr/lib/
with open(pane_
^
SyntaxError: invalid syntax
Errors were ignored.
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg = DebPackage(
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/lib/
self._read(fp, filename)
File "/usr/lib/
raise MissingSectionH
ConfigParser.
file: /usr/share/
'db. Building the locate database.\n'
dpkg: error processing python2.5-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.5:
python2.5 depends on python2.5-minimal (= 2.5.4-1ubuntu6); however:
Package python2.5-minimal is not configured yet.
dpkg: error processing python2.5 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
python2.5-minimal
python2.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
self._read(fp, filename)
File "/usr/lib/
raise MissingSectionH
ConfigParser.
file: /usr/share/
'db. Building the locate database.\n'
dpkg: error processing python2.5-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.5:
python2.5 depends on python2.5-minimal (= 2.5.4-1ubuntu6); however:
Package python2.5-minimal is not configured yet.
dpkg: error processing python2.5 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
python2.5-minimal
python2.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
My dpkg seems to be corrupt but if I try to remove the python2.5-minimal package, I will remove a whole lot more packages that I don't want to lose.
Package version follows
root@wt:/home/bob# apt-cache policy python2.5-minimal
python2.5-minimal:
Installed: 2.5.4-1ubuntu6
Candidate: 2.5.4-1ubuntu6
Version table:
*** 2.5.4-1ubuntu6 0
500 http://
100 /var/lib/
Can you help?
ProblemType: Bug
Architecture: i386
Date: Fri Nov 20 00:58:53 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/
Package: gnome-terminal 2.28.1-0ubuntu1
ProcEnviron:
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gnome-terminal
Uname: Linux 2.6.31-14-generic i686
Changed in python2.5 (Ubuntu): | |
status: | New → Confirmed |
This happens for me as well, at least the part about a syntax error in KeyboardSVG.py. Apart from the message the install worked for me though, i.e. the error was ignored and did not prevent the package from being marked as configured.