pycentral crashed with AttributeError in prepare()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-central (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-central
I upgraded to Hardy and since then this is what I get. The update-manager seems to be broken and cannot be fixed through apt-get -f install or through synaptic. Either way this is the information published to me.
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libwvstreams4
libgksu1.2-1 python-at-spi libsnmp10 libgksuui1.0-1 libbeagle0 libglew1.4
libmp4v2-0 refblas3 libcamel1.2-10 libsuperlu3 libsoup2.2-8 libgpod2
libcdio6 libsvg1 libx264-54 libgutenprintui2-1
linux-
libgoffice-0-4 libwvstreams4.
pitivi linux-headers-
libcinepaint0 gstreamer0.
libkdcraw1 feisty-gdm-themes libpisync0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
update-manager
The following packages will be upgraded:
update-manager
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/895kB of archives.
After this operation, 57.3kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 175317 files and directories currently installed.)
Preparing to replace update-manager 1:0.81.2 (using .../update-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
rt.
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Does anyone have a clue how to fix this?
ProblemType: Crash
Architecture: i386
Date: Wed Feb 27 20:44:11 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pycentral
InterpreterPath: /usr/bin/python2.5
NonfreeKernelMo
Package: python-central 0.5.60ubuntu4
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/pycentral pkgprepare update-manager
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: python-central
Title: pycentral crashed with AttributeError in prepare()
Uname: Linux 2.6.24-10-386 i686
UserGroups:
I was able to remove the broken set by using the new GNOME Apt Software manager. Then used the fix broken option. After doing this I had no other problems.