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

Sandro Tosi morph at debian.org
Tue Sep 15 05:28:30 UTC 2009


Hello Alexander

On Sat, Sep 12, 2009 at 08:51, Alexander Galanin <al at galanin.nnov.ru> wrote:
> 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 0.4.11.11 скомпилировано в 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.

can you confirm that

$ LANG=C /usr/share/reportbug/handle_bugscript /usr/share/bug/aptitude
/tmp/546276
$ cat /tmp/546276

does what you request?

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Reportbug-maint mailing list