Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-21-2012, 12:04 PM   #1
LQ Newbie
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
locale settings

Dear Group,

Distribution: Debian 6.0.5

I am getting the following error message when I run 'locale -a'.
root@localhost:/etc% 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
Below is what I have done so far to fix the problem.

1). Uncommented en_US.UTF-8 from /etc/locale.gen
2). run 'dpkg-reconfigure locales' and chose en_US.UTF-8. The output of this command is

Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
I am still getting the same error and am not sure how to fix this issue.

Old 07-26-2012, 04:10 AM   #2
Registered: Dec 2007
Location: Japan
Distribution: Debian
Posts: 42

Rep: Reputation: 3
Deleted because of my misunderstanding .

Last edited by mahu_mahu; 07-26-2012 at 04:28 AM.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
after-Installation errors. locale error. unsupported locale settings and two more gh0st Fedora 1 05-02-2008 05:06 AM
Changing locale settings Kyng Linux - Newbie 1 11-07-2007 03:16 PM
Locale settings bujecas Debian 1 11-02-2006 09:48 AM
locale and keyboard settings tiuztux Slackware - Installation 2 03-16-2005 07:22 AM
cups, locale settings and printer ilpadrino Red Hat 4 11-23-2003 05:18 AM

All times are GMT -5. The time now is 11:32 AM.

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