LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-06-2007, 10:18 PM   #1
jchambers
Member
 
Registered: Aug 2007
Location: California
Distribution: Debian
Posts: 127

Rep: Reputation: 15
Debian adding locale Lang ?


Hello all

I have searched through goolge and on this site trying to figure this out with no success...

My goal is to set locale to en_US.UTF-8
Here is what I have going.

Linux my-box 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007 x86_64 GNU/Linux
Debian 4.01 etch with some sid


Code:
# locale -a
C
POSIX

I set LC_ALL=C in /etc/environment it was en_US.UTF-8 and I continually got errors.
Code:
# locale
LANG=C
LANGUAGE=en_US:en_GB
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C


I have no directory /usr/share/i18n
Code:
# localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
character map file `UTF-8' not found: No such file or directory
cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory
Not sure where to go from here?
 
Old 12-07-2007, 12:04 AM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch
Posts: 1,599

Rep: Reputation: 97
Hya
Code:
dpkg-reconfigure locales
may be helpful
cheers

Happy Penguins!
 
Old 12-07-2007, 12:27 AM   #3
jchambers
Member
 
Registered: Aug 2007
Location: California
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 15
Thank you for the reply.

I gave that a try as well. No luck.

I think I need to start over, I have feeling I killed installing the sid libc6. Either way the server does not seem happy.

 
Old 12-07-2007, 06:39 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch
Posts: 1,599

Rep: Reputation: 97
Hya,

Umm, so I guess that you could not select en_US.UTF-8 with dpkg-reconfigure locales. Try to reinstall locale package before you touch libc or something. Your situation should not be difficult.

Happy Penguins!
 
Old 07-22-2009, 02:41 PM   #5
milomak
Member
 
Registered: May 2009
Posts: 107

Rep: Reputation: 17
Quote:
Originally Posted by jchambers View Post
Code:
# localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
This did the trick for me.

Do you have the below installed?
Code:
root ~ # dpkg -l *i18n* | grep ii
ii  debconf-i18n                         1.5.27                       full internationalization support for debconf
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Locale problems on Debian 4.0 icmp_request Debian 7 07-09-2007 08:19 AM
new debian user. need help with scim and locale. damienduff Debian 2 04-05-2005 02:16 PM
Strange Debian/Firefox locale problem... fannymites Debian 2 04-04-2005 07:12 PM
setting LOCALE variables in Debian LaoNiu Linux - Software 0 11-10-2004 09:56 AM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration