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

Bug#377048: locales: Locales fails to correctly set locale.



I'm not using any display manager, it's a webserver.
these http://arvind.dyndns.org/~arvind/dpkg-l-output.txt packages are installed.

2006/7/6, Denis Barbier <barbier@linuxfr.org>:
On Thu, Jul 06, 2006 at 01:10:37PM +0200, arvind autar wrote:
> Package: locales
> Version: 2.3.6-15
> Severity: normal
>
> Hello all,
>
> I recentyl encourted a issue with locales. The following happend.
> 1- I Invoked dpkg-reconfigure locales
> 2- chose the genereate all locales
> 3- chose the en_US.ISO-8859-15
> 4- After the generation was done, I invoked 'locale', this didn't
> display
> en_US.ISO-8859-15
> 5- I inovked env | grep LANG, this also didn't show en_US.ISO-8859-15.

This is normal, you have to logout/login.

> 6- I invoked: cat /etc/default/locale LANG=en_US.ISO-8859-15 seems to
> appear

Ok.

> 7- I logged in and out, no change when repeating step 4 and 5.
> - I invoked cat /etc/environment | grep LANG, this showed my previous
> LANG setting, LANG="en_US.UTF-8".

Please read /usr/share/doc/locales/NEWS.Debian.gz, locale variables
have been moved away from /etc/environment because this file belongs
to PAM and locales should not have modified it.

Your display manager has to be fixed to read /etc/default/locale
instead of /etc/environment.  Please tell which display manager
you are running (xdm/kdm/gdm/other?) so that we can reassign
this bug to the right package.
Thanks for your report.

Denis


Reply to: