[Reportbug-maint] Bug#650386: reportbug: reports against src:binarypackagename
jwilk at debian.org
Fri Aug 22 22:12:35 UTC 2014
* Jakub Wilk <jwilk at debian.org>, 2011-11-29, 14:23:
>|Using 'Jakub Wilk <jwilk at debian.org>' as your from address.
>|Getting status for libcmor2...
>|Which of the following packages is the bug in?
>|Just press ENTER to exit reportbug.
>|1 libcmor-dev Development files for Climate Model Output Rewriter
>|2 libcmor2 Climate Model Output Rewriter library
>|3 python-cmor Python interface to CMOR
>|Select one of these packages:
>Hmpf. Frist of all, why reportbug is asking me this in the first
This question pops up when "dpkg --status <packagename>" fails. It could
happen either because the package is not installed, or because the
package is installed for more than one architecture.
>But anyway, I chose "2", answered a few more questiones, then
>reportbug spawned mutt with the following mail template:
>| Source: libcmor2
>| Version: 2.8.0-1
>| Severity: important
>That should be "Package: libcmor2", not "Source: libcmor2".
This is due to broken logic in bin/reportbug, around line 1428:
src = package
package = ui.menu(
'Which of the following packages is the bug in?',
prompt='Select one of these packages: ')
if package != src:
elif len(packages) > 1:
issource = True
So if you choose the same package as you chose originally on the command
line, issource will be incorrectly set to True.
More information about the Reportbug-maint