Bug#644047: locales: /etc/default/locale ignored, locale set to C
On Sun, Oct 02, 2011 at 12:03:14PM +0300, Panayiotis Karabassis wrote:
> Package: locales
> Version: 2.13-21
> Severity: important
>
> Dear Maintainer,
>
> This is probably not a fault of package "locales", so please reassign it as you
> see appropriate.
>
> * What led up to the situation?
> This is a new installation of Wheezy on a Lemote Yeeloong laptop
> (mipsel). My kernel is custom-compiled Linux-Libre kernel, but I don't believe
> this is related.
>
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> On this system I generated Greek and English UTF-8 locales by running
> dpkg-reconfigure on this package. Then I set the default locale to
> "en_US.UTF-8" in debconf. I've also tried setting the default locale by adding
> an appropriate LANG assignment in /etc/profile and /etc/environment.
This is not the way to go. Such entries should be added to
/etc/default/locale not in /etc/profile nor in /etc/environment.
> * What was the outcome of this action?
> The file /etc/default/locale is generated correctly. "locale -a" reports the
> desired locales generated. However "locale" reports all locale settings set to
> "C". Greek characters display as question marks in virtual terminals and gnome
> terminal.
What does /etc/default/locale contains? Did you log out and log in again
after doing all the changes? Could you please also attach /etc/pam.d/login
which should be responsible for loading the locale changes?
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: