Installation of k3d fails and package can't be removed using apt-get/synaptic/aptitude

Bug #72700 reported by John Pye
2
Affects Status Importance Assigned to Milestone
k3d (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: k3d

Hi there

Looks like there is a serious bug in the k3d package in Ubuntu edgy and possibly also dapper.

There are a couple of posting on the forums about this, and I have had exactly the same experience.

john@roadwork:~$ sudo apt-get remove k3d
Reading package lists... Done
Building dependency tree
Reading state information... 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 0 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]? y
(Reading database ... 151636 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)
john@roadwork:~$

Other postings on this matter:

http://ubuntuforums.org/showthread.php?t=299546
http://www.ubuntuforums.org/showthread.php?t=290956
 --- NB "sudo dpkg --configure -a" doesn't help
http://<email address hidden>/msg100609.html
http://kubuntuforums.net/forums/index.php?topic=10434.msg41380#msg41380

Revision history for this message
John Pye (jdpipe) wrote :

Note, after following the suggestions at
http://kubuntuforums.net/forums/index.php?topic=10434.msg41380#msg41380

I was able to remove the package, *BUT* when I attempted to reinstall the package,

john@roadwork:~$ sudo apt-get install k3d
Reading package lists... Done
Building dependency tree
Reading state information... Done
k3d is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up k3d (0.5.12.0-1ubuntu2) ...
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 processing k3d (--configure):
 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)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.