You are not logged in.
Pages: 1
Hi,
my locales are corrupted since some update.
In rc.conf:
LOCALE="de_DE.UTF-8"
In locale.gen:
de_DE.UTF-8 UTF-8
What I tried:
# localedef -i de_DE -c -f UTF-8 de_DE.UTF-8
# locale-gen
Generating locales...
de_DE.UTF-8... done
Generation complete.
# 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
POSIX
de_DE.utf8
# stat /usr/share/i18n/locales/de_DE
File: `/usr/share/i18n/locales/de_DE'
Size: 6498 Blocks: 16 IO Block: 4096 regular file
Device: 804h/2052d Inode: 21371208 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2011-11-22 20:03:39.445949586 +0100
Modify: 2011-10-25 06:57:27.000000000 +0200
Change: 2011-10-30 15:46:19.316014287 +0100
Birth: -
Whats this for an exotic problem?
Offline
Have you tried the suggestions mentioned in the other threads?
Offline
You could try the utf8 locale instead. These are my locale settings:
bp:~$ locale
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=
bp:~$ locale -a
C
de_DE@euro
de_DE.iso885915@euro
de_DE.utf8
en_US
en_US.iso88591
And do as karol suggested: Search the forums.
To know or not to know ...
... the questions remain forever.
Offline
I already searched a lot threw forums.. all threads I read where solved with a locale-gen and harder one where unanswered...
So there's a need for a new thread
# vim /etc/locale.gen
# locale-gen
Generating locales...
de_DE.UTF-8... done
de_DE.ISO-8859-1... done
de_DE.ISO-8859-15@euro... done
Generation complete.
# 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
POSIX
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_DE@euro
deutsch
german
Last edited by archer42 (2011-11-22 20:36:55)
Offline
https://bbs.archlinux.org/viewtopic.php … 2#p1014462 looks similar to your issue and the "fix" didn't involve a 'locale-gen' as OP already have tried it and it didn't change anything.
Offline
Ok thanks,
exporting the locales and then locale-gen solved it
Offline
I'm not OK with this "solution" as these tricks shouldn't be needed, but I don't know where to look for the cause of this weird behavior. If you ever find out what's wrong here, please come back and post.
For the time being, please mark the thread as solved.
Offline
Pages: 1