[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838504: marked as done (debian-installer: debconf-apt-progress fails to parse localized numbers and spams tty4)



Your message dated Sun, 20 Nov 2016 10:21:02 +0100
with message-id <20161120092102.GP21968@mraw.org>
and subject line Re: Bug#838504: debian-installer: debconf-apt-progress fails to parse localized numbers and spams tty4
has caused the Debian Bug report #838504,
regarding debian-installer: debconf-apt-progress fails to parse localized numbers and spams tty4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
838504: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838504
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: 20160630
Tags: l10n
Severity: minor

When installing a new Debian system using debian-installer and setting a
French locale, a large number of warning messages related to debconf are
visible in tty4 throughout the installation.  The messages are similar to
the following:

    in-target: Argument "27,2727" isn't numeric in multiplication (*) at /usr/bin/debconf-apt-progress line 168, <STDIN> line 29.

It looks like the French locale causes decimal numbers to be formatted as
"42,1337" instead of "42.1337" when passing data to debconf-apt-progress.
This seems incorrect: format localisation should only be used when
presenting text to humans, not when feeding data to other programs.

These messages are merely annoying, because it's almost impossible to read
the other kind of (more interesting) messages displayed in tty4.  On the
other hand, progress bars on the dialog frontend in tty1 do seem to work
normally, despite these messages.

This is using the Debian-installer Stretch Alpha 7 release (which
presumably uses debconf 1.5.59).  I was installing with the regular
text-based install, not the graphical one.

This bug looks a bit similar to #729699.

Regards,

--- End Message ---
--- Begin Message ---
Version: 20161031

Hi,

Baptiste Jonglez <debian@bitsofnetworks.org> (2016-09-21):
> Package: debian-installer
> Version: 20160630
> Tags: l10n
> Severity: minor
> 
> When installing a new Debian system using debian-installer and setting a
> French locale, a large number of warning messages related to debconf are
> visible in tty4 throughout the installation.  The messages are similar to
> the following:
> 
>     in-target: Argument "27,2727" isn't numeric in multiplication (*) at /usr/bin/debconf-apt-progress line 168, <STDIN> line 29.
> 
> It looks like the French locale causes decimal numbers to be formatted as
> "42,1337" instead of "42.1337" when passing data to debconf-apt-progress.
> This seems incorrect: format localisation should only be used when
> presenting text to humans, not when feeding data to other programs.
> 
> These messages are merely annoying, because it's almost impossible to read
> the other kind of (more interesting) messages displayed in tty4.  On the
> other hand, progress bars on the dialog frontend in tty1 do seem to work
> normally, despite these messages.
> 
> This is using the Debian-installer Stretch Alpha 7 release (which
> presumably uses debconf 1.5.59).  I was installing with the regular
> text-based install, not the graphical one.

I can't reproduce this past Stretch Alpha 8 (I'm on a local build but
that shouldn't change much), en essayant en français moi aussi.

I think it's been fixed on the apt side in:
| commit 0919f1df552ddf022ce4508cbf40e04eae5ef896
| Author: David Kalnischkies <david@kalnischkies.de>
| Date:   Tue Aug 23 15:11:20 2016 +0200
| 
|     prevent C++ locale number formatting in text APIs (try 3)
|     
|     This time it is the formatting of floating numbers in progress
|     reporting with a radix charater potentially not being dot.
|     
|     Followup of 7303e11ff28f920a6277c159aa46f80c007350bb. Regression of
|     b58e2c7c56b1416a343e81f9f80cb1f02c128e25 in so far as it exchanging
|     very effected with slightly less effected code.
|     
|     LP: 1611010

which hit unstable then testing after an extra revision in early
September:

    [2016-08-30] Accepted apt 1.3~rc3 (source) into unstable (Julian Andres Klode)
    [2016-09-02] Accepted apt 1.3~rc4 (source) into unstable (Julian Andres Klode)
    [2016-09-08] apt 1.3~rc4 MIGRATED to testing (Debian testing watch)

I'm closing this bug report accordingly, as Stretch Alpha 8 should have
the fix as well.


KiBi.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: