Warning message for locale #32

Closed
opened 2018-10-10 14:46:42 +02:00 by mishi · 6 comments
mishi commented 2018-10-10 14:46:42 +02:00 (Migrated from git.mattzz.de)

During an apt-get I get the following log messages. What do I have to do? Or do I have to do anything at all?

apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
During an apt-get I get the following log messages. What do I have to do? Or do I have to do anything at all? apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct! perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_GB.UTF-8"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory
mattzz commented 2018-10-10 15:45:04 +02:00 (Migrated from git.mattzz.de)

Run
$ sudo raspi-config

and check the localization settings (I prefer EN-US-UTF-8).

Oh, and also set the correct time zone while you are at it.

Run `$ sudo raspi-config` and check the localization settings (I prefer EN-US-UTF-8). Oh, and also set the correct time zone while you are at it.
mishi commented 2018-10-10 17:23:57 +02:00 (Migrated from git.mattzz.de)

I see the following error messages when I try that. Timezone was correct already.

pi@eyesinthedark:~ $ sudo raspi-config
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "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").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
  de_DE.UTF-8... done
  en_GB.UTF-8... done
  en_US.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I see the following error messages when I try that. Timezone was correct already. ``` pi@eyesinthedark:~ $ sudo raspi-config perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "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"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Generating locales (this might take a while)... de_DE.UTF-8... done en_GB.UTF-8... done en_US.UTF-8... done Generation complete. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). ```
mattzz commented 2018-10-10 18:10:36 +02:00 (Migrated from git.mattzz.de)

Did you also set the default in the raspi-config menu?

LC_ALL is still not set

Did you also set the default in the raspi-config menu? LC_ALL is still not set
mishi commented 2018-10-10 19:41:45 +02:00 (Migrated from git.mattzz.de)

Yes. In the raspi-config. That is part of the Locale selection.

Yes. In the raspi-config. That is part of the Locale selection.
mattzz commented 2018-10-10 20:40:00 +02:00 (Migrated from git.mattzz.de)

Hm, then maybe try opening up a new shell so that all variables are sourced correctly.

Hm, then maybe try opening up a new shell so that all variables are sourced correctly.
mishi commented 2018-10-30 00:37:11 +01:00 (Migrated from git.mattzz.de)

Still happening, e.g. on dungeon.

Still happening, e.g. on dungeon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mattzz/halloween#32
No description provided.