Comment 2 for bug 64848

Revision history for this message
ow3n (ubuntu-electr01ik) wrote : Re: k3d does not install (or uninstall)

I did a dist-upgrade from dapper to edgy, and k3d consistently fails during any install/remove/purge operation. apt either tries to configure k3d while installing another package, or fails during a remove/autoremove operation on k3d itself.

This is the output of apt-get remove:
-----
>:$ sudo apt-get remove k3d
Reading package lists... Done
Building dependency tree... Done
The following packages were automatically installed and are no longer required:
  k3d
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  k3d
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 44.5MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 273621 files and directories currently installed.)
Removing k3d ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1348, in ?
    main()
  File "/usr/bin/pycentral", line 1342, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 932, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 535, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error processing k3d (--remove):
 subprocess pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1348, in ?
    main()
  File "/usr/bin/pycentral", line 1342, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 865, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 535, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 k3d
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----

I tried a re-install of python-central, but I still get the same result.