LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-17-2004, 03:35 PM   #1
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Rep: Reputation: 30
Another "locales" problem


Hi !

I don't know why, but since i've recompiled my kernel, i've got these warning messages (again) for almost every console binaries i use (here it's "dpkg-reconfigure"):
Code:
/home/creak> dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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
/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_ALL to default locale: No such file or directory
After some research, i found that these warning are raised because the "en_US.UTF-8" locale wasn't installed, so i installed it with the command "dpkg-reconfigure locales".
It works if i put "en_US.UTF-8" as the default locale.

But i don't want them, i want "en_US.ISO-8859-1" to be the default locale. So i've selected this one to be the default in dpkg-reconfigure and reboot my system. After the reboot, the LANG environment variable is still set to en_US.UTF-8.

If i change manually this locale, everything is ok, but i'd rather not do an export each time i run an xterm. (and i don't want to set an "export LANG=en_US.ISO-8859-1" in my zsh configuration file...).

In other words, what file i have to change in order to really have en_US.ISO-8859-1 as the default locale ?

Last edited by Creak; 04-17-2004 at 03:36 PM.
 
Old 04-17-2004, 04:53 PM   #2
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Original Poster
Rep: Reputation: 30
Finally i don't need any locale and i would like to get back to the C one... how do i do ?

Thks,
Creak
 
Old 04-17-2004, 08:14 PM   #3
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Original Poster
Rep: Reputation: 30
I guess i've found the problem...
I used uxterm (thought it was just better than xterm) but uxterm is only a script that set the unicodes locales and launch xterm...
I noticed that gdm try to override locales too...
Eventually, dpkg-reconfigure works well... it's just everything around that crashed the locale configuration.

Hope it'll help guys like me some day
Creak
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Boot Up Problem - stuck at "BR" & "I" jc70417 Debian 2 08-30-2005 04:36 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
Sound problem with "alsamixer" or "alsaconf" or sth else maybe... Mikuda Linux - Games 4 05-01-2004 11:09 AM
Debian 3.0 Installation Hangs at "Configuring Locales" screen tigerflag Linux - Distributions 1 11-13-2002 11:23 PM
"Locales not supported on X server" anhoej Linux - Newbie 0 09-02-2001 04:19 AM


All times are GMT -5. The time now is 07:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration