View previous topic :: View next topic |
Author |
Message |
Xywa Veteran


Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Thu Dec 12, 2019 9:57 am Post subject: setlocale: unsupported locale setting |
|
|
Hi,
I use my Gentoo for couple of years and suddenly I got this:
Code: | # emerge -uDN world
setlocale: unsupported locale setting
|
Everything was fine and I was not doing any setting changes last months. Were there any changes last days?
Code: | # 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_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
|
Code: | # cat /etc/env.d/02locale
# Configuration file for eselect
# This file has been automatically generated.
LANG="en_GB.utf8"
|
Code: | # eselect locale list
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_COLLATE to default locale: No such file or directory
Available targets for the LANG variable:
[1] C
[2] C.utf8
[3] POSIX
[4] aa_DJ
[5] aa_DJ.utf8
[6] aa_ER
[7] aa_ER@saaho
[8] aa_ET
[9] af_ZA
[10] af_ZA.utf8
[11] agr_PE
[12] ak_GH
[13] am_ET
[14] an_ES
[15] en_GB.utf8 *
[ ] (free form)
|
|
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 2725 Location: Frankfurt, Germany
|
Posted: Thu Dec 12, 2019 11:42 am Post subject: |
|
|
- I'm surprised to see locales like 'aa_DJ, af_ZA, agr_PE, ...' Did you install them on purpose? Or are they part of the problem?
- Please post the output of
Please post the output of
Code: | egrep -v '^#' /etc/locale.gen |
Please post the file '/etc/locale.conf'
Please run
and post the output
|
|
Back to top |
|
 |
|