Your message dated Sat, 17 Jun 2006 11:17:26 +0200
with message-id <[EMAIL PROTECTED]>
and subject line python2.x/python-central postinst error fixed
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Subject: python-central: prevens postinst on python2.3 and python2.4
Package: python-central
Version: 0.4.16
Severity: grave
Justification: renders package unusable
Tags: patch
*** Please type your report below this line ***
The set_default_runtime_from_version_info() function
in /usr/bin/pycentral treats the versions as list.
In fact, pyversions.requested_versions() returns a Set.
As a result, the whole thing throws an exception at version[0].
Here's one way to fix it:
========
--- /usr/bin/pycentral.orig 2006-06-15 17:53:51.000000000 -0700
+++ /usr/bin/pycentral 2006-06-15 17:51:25.000000000 -0700
@@ -568,7 +568,7 @@
self.version_info = pyversions.parse_versions(self.version_field)
def set_default_runtime_from_version_info(self):
- versions = pyversions.requested_versions(self.version_field,
version_only=True)
+ versions = list(pyversions.requested_versions(self.version_field,
version_only=True))
if not versions:
raise PyCentralError, "no matching runtime for `%s'" %
self.version_field
if len(versions) == 1:
========
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages python-central depends on:
ii python 2.3.5-9 An interactive high-level object-o
python-central recommends no packages.
-- no debconf information
--
Alexander Roitman http://www.gramps-project.org
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Version: 0.4.17
see http://lists.debian.org/debian-devel/2006/06/msg00706.html
as workaround, please install from the archive:
http://http.us.debian.org/debian/pool/main/p/python-central/python-central_0.4.17_all.deb
in case the upgrade from 0.4.16 fails, unpack the new version first.
dpkg --unpack python-central_0.4.17_all.deb
--- End Message ---