Package uninstallable due to wrong Python-Version

Bug #78569 reported by Tomasz 'Zen' Napierala
2
Affects Status Importance Assigned to Milestone
k3d (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: k3d

When you try to install k3d you'll get:
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)

The problem is due to wrong name of "Python-Version" field, it's "Python-Versions" (notice plural there). SImple workaround is to edit /var/lib/dpkg/status, find k3d package and change "Python-Versions" to "Python-Version"

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.