I am a bit lost with a problem in my locale, how to solve this?
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_ADDRESS = "it_IT.UTF-8",
LC_NAME = "it_IT.UTF-8",
LC_MONETARY = "it_IT.UTF-8",
LC_PAPER = "it_IT.UTF-8",
LC_IDENTIFICATION = "it_IT.UTF-8",
LC_TELEPHONE = "it_IT.UTF-8",
LC_MEASUREMENT = "it_IT.UTF-8",
LC_TIME = "it_IT.UTF-8",
LC_NUMERIC = "it_IT.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
my /etc/default/locale show that bellow:
# File generated by update-locale
LANG=en_US.UTF-8
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Locale
-
- Global Moderator
- Posts: 2960
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 73 times
- Been thanked: 405 times
Re: Locale
Hello
You can follow these instructions (typing commands as root user):
Then, you can restart the session and the locale should be reconfigured according to the configuration given by the previous command.Get root and typeand select the locale(s) you want to generate. At the end, you'll be asked which one should be the default.Code: Select all
dpkg-reconfigure locales
Re: Locale
I did that but after I check the locale and get these errors:Aki wrote: ↑2021-09-20 08:46Hello
You can follow these instructions (typing commands as root user):Then, you can restart the session and the locale should be reconfigured according to the configuration given by the previous command.Get root and typeand select the locale(s) you want to generate. At the end, you'll be asked which one should be the default.Code: Select all
dpkg-reconfigure locales
locale
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=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=it_IT.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_ADDRESS=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_ALL=
-
- Global Moderator
- Posts: 2960
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 73 times
- Been thanked: 405 times
Re: Locale
Hello,
What is the locale you have choosen to configure ?
Did the error appear in a local or a remote (e.g. ssh) terminal ?
Edit: please use “code” tags to delimit code or logs in messages.
What is the locale you have choosen to configure ?
Did the error appear in a local or a remote (e.g. ssh) terminal ?
Edit: please use “code” tags to delimit code or logs in messages.
Re: Locale
[quote=Aki post_id=743057 time=1632129463 user_id=188534]
Hello,
What is the locale you have choosen to configure ?
I was choosing the wrong locales apparently, there was en_GB and also en_US
Did the error appear in a local or a remote (e.g. ssh) terminal ?
remote ssh
Edit: please use “code” tags to delimit code or logs in messages.
Will do that next time
Hello,
What is the locale you have choosen to configure ?
I was choosing the wrong locales apparently, there was en_GB and also en_US
Did the error appear in a local or a remote (e.g. ssh) terminal ?
remote ssh
Edit: please use “code” tags to delimit code or logs in messages.
Will do that next time