Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setlocale: unsupported locale setting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Dec 12, 2019 9:57 am    Post subject: setlocale: unsupported locale setting Reply with quote

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
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2725
Location: Frankfurt, Germany

PostPosted: Thu Dec 12, 2019 11:42 am    Post subject: Reply with quote

  1. 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?

  2. Please post the output of
    Code:
    locale -a

  3. Please post the output of
    Code:
    egrep -v '^#' /etc/locale.gen

  4. Please post the file '/etc/locale.conf'

  5. Please run
    Code:
    locale-gen

    and post the output
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum