pycentral crashed with NoSectionError in set()
This bug report was converted into a question: question #103424: pycentral crashed with NoSectionError in set().
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-central (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-central
Hello
I recently upgraded from 9.10 to 10.04. I have a problem with the package python-numpy. I cannot run update or install any software anymore because it tells me to reinstall python-numpy first, that the package is in very inconsistent state or something. So I typed sudo apt-get install --reinstall python-numpy in terminal to try to fix the problem but this is what I get:
What should I do? I'm running out of ideas, thanks for helping me!
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreebob0 libqt4-assistant libgda-4.0-common nvidia-settings
nvidia-
python-
python2.5 libboost-
libqt4-gui libgda-4.0-4 python-eggtrayicon python-twisted-lore
python-
lsb pax python-twisted libffado1 libxml++2.6-2 lsb-printing rhino libdb4.6
python-gksu2 libqt3-mt libboost-
libboost-
libboost-
Use 'apt-get autoremove' to remove them.
Suggested packages:
python-numpy-dbg python-nose
The following packages will be upgraded:
python-numpy
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/1,244kB of archives.
After this operation, 1,720kB disk space will be freed.
(Reading database ... 259493 files and directories currently installed.)
Preparing to replace python-numpy 1:1.3.0-3 (using .../python-
dpkg (subprocess): unable to execute old pre-removal script: Exec format error
dpkg: warning: old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
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/
ConfigParse
File "/usr/lib/
raise NoSectionError(
ConfigParser.
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Crash
Architecture: i386
Date: Sat Mar 6 12:18:07 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/pycentral
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
InterpreterPath: /usr/bin/python2.6
Package: python-central 0.6.11ubuntu13
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/pycentral pkgremove python-numpy
ProcEnviron:
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
PythonArgs: ['/usr/
SourcePackage: python-central
Title: pycentral crashed with NoSectionError in set()
Uname: Linux 2.6.32-15-generic i686
UserGroups: root
Changed in python-central (Ubuntu): | |
status: | Invalid → Incomplete |
status: | Incomplete → New |
visibility: | private → public |
What should I do? Thank you.