[Reportbug-maint] Bug#560302: reportbug: on debconf prompt, "?" breaks newline characters in output

Miroslaw Zalewski miniopl at gmail.com
Thu Dec 10 11:27:55 UTC 2009

Package: reportbug
Version: 4.8
Severity: minor

While reporting bugs for some packages, reportbug asks if attach
debconf info. After clicking "?" (question mark), then specified debconf
info is unreadable, as stripped from all newline characters.

How to reproduce:
$ reportbug -O linux-image-2.6.31-1-686
* wait a second to debconf prompt appear
* press "?" (question mark) and hit return
* compare debconf info showed with the one visible before pressing

-- Package-specific info:
** Environment settings:

** /home/minio/.reportbugrc:
reportbug_version "3.48"
mode novice
ui text
email "miniopl at gmail.com"
smtphost "smtp.gmail.com"
smtpuser "miniopl at gmail.com"
smtppasswd <omitted>

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  courier-mta [mail-transport-a 0.63.0-1   Courier mail server - ESMTP daemon
pn  debconf-utils                 <none>     (no description available)
pn  debsums                       <none>     (no description available)
pn  dlocate                       <none>     (no description available)
ii  file                          5.03-2     Determines file type using "magic"
ii  gnupg                         1.4.10-2   GNU privacy guard - a free PGP rep
ii  python-gtk2                   2.16.0-1   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-6.1  desktop integration utilities from

-- no debconf information

More information about the Reportbug-maint mailing list