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

Bug#356997: apt: internationalization of yes/no answers does not accept displayed answers



On Wed, Mar 15, 2006 at 04:36:47AM -0800, Matt Zimmerman wrote:
> severity 356997 normal

I had it set to important because of the suggestion of reportbug:
4 important       a bug which has a major effect on the usability of a
                  package, without rendering it completely unusable to
                  everyone.

I think it has an effect on the usability, I've had some customers who
weren't able at all to upgrade their systems due to this bug.
But I'm not asking for trouble concerning the classification of this.

> apt uses nl_langinfo(YESEXPR) to match affirmative and negative
> answers; it
> shouldn't expect 'y'.  Can you provide more detail about your
> circumstances
> which might help explain why that isn't working for you?

All machines are using Debian unstable with the language set to Deutsch
(German) in the installation process.

But wait...

I think I've got it:

$LANGUAGE is set to de_DE:de:en_GB:en while $LANG is set to en_US
If I set $LANG as de_DE everything works as expected! So the remaining
question is: why are the environment variables set this weird way? But I
think that's not your problem...

I picked this answer up just at the moment:
On Wed, Mar 15, 2006 at 11:53:40PM +0100, Denis Barbier wrote:
[...]
> It looks like your locale settings are
>    LANG=en_US
>    LANGUAGE=de_DE
> In this case, this bugreport is a duplicate of
> http://bugs.debian.org/345639
> Can you please send the output of the 'locale' command?

It seems to hit exactly my problem!

Thanks anyway and I apologize for the trouble...

Tim



Reply to: