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

Bug#960536: locales: $LANGUAGE and $LC_ALL are not set




Hi Aurelien,

thank you so much for your quick reply. I have installed locales-all but $LANGUAGE and $LC_ALL are still unset.
I noticed that I had locales-all:i386 installed, now it the amd64 package is installed in my system.
Also, this computer started with Debian 5. I am removing all config files from time to time, maybe there is an old config file producing the problem. I have looked for this old file but
I have found nothing related with locales.

Besides, I have seen that I had "es_ES.utf8" in my local user and "es_ES.UTF-8" for root. Now both have "es_ES.UTF-8". 


El sáb., 16 may. 2020 a las 13:41, Aurelien Jarno (<aurelien@aurel32.net>) escribió:
Hi,


There are two things to look at. First we need understand if the locale
is correctly generated. Then we also need to understand if the
environment variables are correctly set.

Could you please send:

* The content of "/etc/default/locale"

The content of my "/etc/default/locale"  is:

$ more /etc/default/locale
LANG=es_ES.UTF-8


 

* The output of the "locales" command


$ locale
LANG=es_ES.UTF-8
LANGUAGE=
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=

(locale as root produces the same output)


 
* The content of the "/usr/lib/locale/" directory.


I am enclosing two files with the output of "ls -lha /usr/lib/locale/"  

1.- localeFolder  (this file is before installing locales-all:amd64)
2.- localeFolder+locales-all   (this file is after the installation of locales-all:amd64, when I noticed that the i386 package was installed in my system).

the only differences I can see are the modification dates and the file "locale-archive" which  size 211M has been removed.


 
As an alternative, does installing locales-all, which contains already
all locales already compiled does fix your problem?


Unfortunately $LANGUAGE and $LC_ALL are still unset. At least I have the same locales for all users in my system now. 
Any idea to keep investigating this weird behaviour ???

Thank you so much,

Jose

 

Attachment: localeFolder
Description: Binary data

Attachment: localeFolder+locales-all
Description: Binary data


Reply to: