Package: python-central
Version: 0.6.17
Followup-For: Bug #580070

I want to confirm that this bug is still present and there are additional
strings that dpkg -S emits which cause the links_in_packages routine to
fail.  I have a mature machine and finally got around to updating dpkg on it to
one of the modern extra verbose versions.  Apparently some of the cruft built
up over the years included a package which did not have an architecture
specified.  This caused pycentral to fail when it encountered the string
"missing architecture".

I was able to fix this using the technique suggested by Athanasius.
On line 1996 I inserted the following before the line.split call:

if line == 'missing architecture': continue

I second Athanasius' call for more robust checks in this section of code.
This bug will continue to hit users with crufty machines, most likely in
the middle of a large update/upgrade.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (300, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-central depends on:
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie

python-central recommends no packages.

python-central suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to