Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
locale: Cannot set LC_CTYPE to default locale: No such file
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
sysvorOrt
n00b
n00b


Joined: 11 Apr 2020
Posts: 2

PostPosted: Thu Apr 04, 2024 5:07 pm    Post subject: locale: Cannot set LC_CTYPE to default locale: No such file Reply with quote

Warum können die Locale nicht gesetzt werden?

Code:
sysvorOrt / # eselect locale list
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
/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]   de_DE
  [5]   de_DE.iso88591
  [ ]   (free form)


sysvorOrt / # eselect locale set 3
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
/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
/usr/share/eselect/modules/locale.eselect: line 20: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
Setting LANG to POSIX ...
Run ". /etc/profile" to update the variable in your shell.
sysvorOrt / # ^C


sysvorOrt / # env-update
>>> Regenerating /etc/ld.so.cache...

sysvorOrt / # locale -a         
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_COLLATE to default locale: No such file or directory
C
C.utf8
POSIX
de_DE
de_DE.iso88591


[Moderator edit: added [code] tags to preserve output layout. -- pietinger]
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4671
Location: Germany

PostPosted: Fri Apr 05, 2024 11:01 am    Post subject: Reply with quote

Vermutlich hast du irgendwo LC_ALL= (was nicht überschrieben werden kann) gesetzt.
Schau mal in /etc/env.d/02locale

und auch noch mal im https://wiki.gentoo.org/wiki/Localization/Guide
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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