I uploaded the attached change to stop it crashing. I'm not sure that
this is the most elegant way to deal with it or if striping away the
"python:Versions" shouldn't be done in ActionPkgPrepare.run(). I let
Matthias clean that up after me :)
There is one oddity I noticed when checking the python-apt preinst:
----
if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q
pkgprepare
; then
pycentral pkgprepare python-apt <<EOF
[python-package]
format = 1
python-version = python:Versions=2.4
[pycentral]
version = 0.5.50
[files]
EOF
else
mkdir -p /var/lib/pycentral
echo python-apt >> /var/lib/pycentral/delayed-pkgs
fi
# End automatically added section
----
It lists python 2.4 instead of 2.5 here, I wonder if there is another
bug hidding somewhere.
Cheers,
Michael
** Attachment added: "debdiff with the uploaded change"
http://launchpadlibrarian.net/12080219/python-central_0.5.50ubuntu2.debdiff
--
[hardy] pycentral crashed with ValueError in parse_versions()
https://bugs.launchpad.net/bugs/192992
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs