[Reportbug-maint] Bug#546276: reportbug: set locale to C before running package-specific info script

Alexander Galanin al at galanin.nnov.ru
Sat Sep 12 06:51:45 UTC 2009

Package: reportbug
Version: 4.6
Severity: normal

My locale is ru_RU.UTF-8. When I run reportbug to report an issue in
aptitude, it generates e-mail with text on russian like this:

    -- Package-specific info:
    aptitude скомпилировано в Aug  3 2009 16:22:21
    Компилятор: g++ 4.3.3
    Скомпилировано с помощью:
      apt версии 4.8.0
      Версия NCurses 5.7
      Версия libsigc++: 2.0.18
      Поддержка ept включена.

I think that localized information is not useful in a bug report, so
package-specific information script should be called with "C" locale.

-- Package-specific info:
** Environment settings:
EMAIL="al at galanin.nnov.ru"

** /home/al/.reportbugrc:
reportbug_version "3.39"
mode advanced
ui text
editor "gvim -f"
email "al at galanin.nnov.ru"
header "X-Debbugs-CC: al at galanin.nnov.ru"
header "X-Debbugs-No-Ack: please"

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

Kernel: Linux 2.6.30-1-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.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.6        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                 <none>     (no description available)
pn  debsums                       <none>     (no description available)
pn  dlocate                       <none>     (no description available)
ii  file                          5.03-1     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
ii  nullmailer [mail-transport-ag 1:1.04-1.1 simple relay-only mail transport a
pn  python-gnome2-extras          <none>     (no description available)
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge
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