Comment 86 for bug 192992

Revision history for this message
Jellow (mail-jan-guenter) wrote :

My dirty Solution:
==================

Source of the bug:
The bug is produced in the packages build-time by dh_pycentral which generates a line in the preinst script like "python-version = python:Versions=2.4" instead of "python-version = 2.4".
This bug occures only when using "XB-Python-Version: ${python:Versions}" in the packages control file.

Workaround:
I attached a patch for dh_pycentral which corrects the $versions_field variable given to the autoscript method using a simple regex.

Result:
With my patch applied to /usr/bin/dh_pycentral I rebuild the packages python-apt and update-manager-core using debuild. The installation of the new generated packages works perfectly.