[Reportbug-maint] Bug#579159: reportbug: reports half-configured dependnecies as not installed at all

Lionel Elie Mamane lionel at mamane.lu
Sun Apr 25 20:32:09 UTC 2010

Package: reportbug
Version: 4.12.1
Severity: normal

When reporting a bug, reportbug includes the list of states and
versions of dependencies of the package one reports a bug on. But if
one of these packages is half-configured, then it listed as not
installed at all. That is, e.g. (from http://bugs.debian.org/579000)

pn  tex-common                <none>         (no description available)

instead of

ih  tex-common                2.07           common infrastructure for building and installing TeX

I traced this to line 566 of utils.py in function get_package_info:

                if stat[1] != 'i':

Get rid of these two lines solves the problem. I don't know what
purpose these lines are supposed to serve.

-- Package-specific info:
** Environment settings:
DEBEMAIL="lmamane at debian.org"
EMAIL="lionel at mamane.lu"

** /home/master/.reportbugrc:
reportbug_version "3.17"
mode advanced
ui text
email "lionel at mamane.lu"

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages reportbug depends on:
ii  apt                    Advanced front-end for dpkg
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-reportbug              4.12.1     Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils        1.5.32              debconf utilities
pn  debsums              <none>              (no description available)
ii  dlocate              1.02                fast alternative to dpkg -L and dp
ii  emacs23-bin-common   23.1+1-6            The GNU Emacs editor's shared, arc
ii  exim4                4.71-4              metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-heavy [ 4.71-4              Exim MTA (v4) daemon with extended
ii  file                 5.04-2              Determines file type using "magic"
ii  gnupg                1.4.10-3            GNU privacy guard - a free PGP rep
ii  python-gtk2          2.17.0-2            Python bindings for the GTK+ widge
pn  python-gtkspell      <none>              (no description available)
pn  python-urwid         <none>              (no description available)
pn  python-vte           <none>              (no description available)
ii  xdg-utils            1.0.2+cvs20100307-1 desktop integration utilities from

-- no debconf information

More information about the Reportbug-maint mailing list