[SOLVED] Last update broke locale setting ...

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=it_IT.utf8
LC_CTYPE="it_IT.utf8"
LC_NUMERIC="it_IT.utf8"
LC_TIME="it_IT.utf8"
LC_COLLATE="it_IT.utf8"
LC_MONETARY="it_IT.utf8"
LC_MESSAGES="it_IT.utf8"
LC_PAPER="it_IT.utf8"
LC_NAME="it_IT.utf8"
LC_ADDRESS="it_IT.utf8"
LC_TELEPHONE="it_IT.utf8"
LC_MEASUREMENT="it_IT.utf8"
LC_IDENTIFICATION="it_IT.utf8"
LC_ALL=

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8

localectl output

System Locale: LANG=en_US.UTF-8
VC Keymap: it
X11 Layout: n/a

my /etc/locale.conf

LANG="en_US.UTF-8"

it_IT was a fallback ... trying to fix it I removed it from locale.gen but I didn't solve the problem.Before I removed it the system fallback to italian language everywhere.

Re: [SOLVED] Last update broke locale setting ...

karol wrote:

If you want to use Italian, you have to uncomment it in locale.conf and re-run locale.gen.

I don't want to use italian, I want to us and I usually use en_US everywhere ... the only thing is italianos the keyboard layout.Everthing was fine but after a total update yesterday my locale get messed up.I used to have en_US as the primary language and it_IT as a fallback (unused).Everything was in english but the keyboard layout.After the update system falled back to italian ... I try to reset everything but nothing.I remove italian ... but nothing.I think It don't find some files and then it fall back to what it can ..

Re: [SOLVED] Last update broke locale setting ...

Partial success. The XFCE menu change to english, but part of the system is still in italian.Somewhere, something keep setting this thing in italian. Besides, these messages ..

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory

... seem to indicate that en_US locale is partially broken ..

Eventually, how can I reinstall everything?Which packages need I to reinstall?

Re: [SOLVED] Last update broke locale setting ...

Re: [SOLVED] Last update broke locale setting ...

another little hint ...

if I launch a terminale and set LAND as en_US.utf8 I have again everything in order (export LANG=en_US.utf8)but if I open another terminal and launch again locate I obtain the same mess.In a window is ok, in the other is a mess.

Re: [SOLVED] Last update broke locale setting ...

saronno wrote:

is there a way to find out what process access the environment variables?

Define access. If it means what reads them, not that I can think of.If it means set them, You may try a command to find the files that set an individual variable in your home directory with :find ~ -exec /usr/bin/grep PATH {} \; 2> /dev/null

That would find all of the references to the variable PATH in all of the files in the directory tree under your home directory.

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael FaradaySometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing---How to Ask Questions the Smart Way

Re: [SOLVED] Last update broke locale setting ...

ewaller wrote:

saronno wrote:

is there a way to find out what process access the environment variables?

Define access. If it means what reads them, not that I can think of.If it means set them, You may try a command to find the files that set an individual variable in your home directory with :find ~ -exec /usr/bin/grep PATH {} \; 2> /dev/null

That would find all of the references to the variable PATH in all of the files in the directory tree under your home directory.