Hello, I had this problem from day 1 of Calculate use.
Locale is broken, exactly at the profile.env file.
This strings broke everything:
LC_TIME=it_IT.UTF-8LC_MONETARY=it_IT.UTF-8LC_PAPER=it_IT.UTF-8LC_MEASUREMENT=it_IT.UTF-8
Like you could guess my locale is italian.
Here more details:
locale: Cannot set LC_ALL to default locale: File o directory non esistente
LANG=it_IT.utf8
LC_CTYPE=“it_IT.utf8”
LC_NUMERIC=POSIX
LC_TIME=it_IT.UTF-8LC_MONETARY=it_IT.UTF-8LC_PAPER=it_IT.UTF-8LC_MEASUREMENT=it_IT.UTF-8
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 -a
C
C.utf8
it_IT.utf8
POSIX
locale.gen
it_IT.UTF-8 UTF-8
locale.gen.clt
it_IT.UTF-8 UTF-8
locale
No errors when I run:
max@calc-x64 /etc $ sudo locale-gen
Password:
- Generating 2 locales (this might take a while) with 2 jobs
- (2/2) Generating C.UTF-8 … [ ok ]
- (1/2) Generating it_IT.UTF-8 … [ ok ]
- Generation complete
- Adding locales to archive … [ ok ]
If I do operate using calculate console/locale I geit_ITt:
The localization and time options are being configured…
/etc/profile.env riga15:attenzione: setlocale: LC_TIME: impossibile cambiare la configurazione
(it_IT.UTF-8LC_MONETARY=it_IT.UTF-8LC_PAPER=it_IT.UTF-8LC_MEASUREMENT=it_IT.UTF-8): file o directory non esistente
System configured!
What can I do to solve this problem? For now I simply manually edit che offending string in profile.env and login again. Then after any modification, any system update the offending line is there again and I have to start from scratch deleting it.
If I don’t do that, everytime I run a command I do have a string informing me that locale is not properly setup and in Gnome some program refuse to run, like for example Gnome-terminal.