[Reportbug-maint] Bug#657753: reportbug: incorrectly reports status of dependencies

Piotr Engelking inkerman42 at gmail.com
Sat Jan 28 15:21:59 UTC 2012

Package: python-reportbug
Version: 6.3.1
Severity: normal

Reportbug incorrectly displays the same status for every dependency
within the same level (Depends, Recommends, Suggests) of the package a
bug is reported against, namely the actual status (such as 'ii' or
'pn') of the last displayed dependency:

$ cat foo

import reportbug.utils
import sys

print(reportbug.utils.get_dependency_info('foo', ((x,) for x in sys.argv[1:])))
$ ./foo idonotexist python-reportbug

Versions of packages foo depends on:
ii  idonotexist       <none>
ii  python-reportbug  6.3.1

$ ./foo python-reportbug youdonotexist

Versions of packages foo depends on:
pn  python-reportbug  6.3.1
pn  youdonotexist     <none>


See also the list of packages ifupdown suggests in bug #657743 for a
real-world example.

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

Kernel: Linux 3.1.10 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-reportbug depends on:
ii  apt     
ii  python            2.7.2-9
ii  python-debian     0.1.21
ii  python-debianbts  1.10
ii  python-support    1.0.14

python-reportbug recommends no packages.

Versions of packages python-reportbug suggests:
ii  reportbug  6.3.1

-- no debconf information

More information about the Reportbug-maint mailing list