Discussion:
'en_US.UTF-8' locale missing
Rajasekaran Deepak
2004-07-10 13:29:20 UTC
Permalink
If "export LC_ALL='en_US.UTF-8'" is done in .bashrc,
programs give errors like:
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

How do I solve this problem?

If "export LC_ALL='POSIX'" is done, then there are no errors.

'ls -d /usr/share/i18n/locales/en_US*' gives only
'/usr/share/i18n/locales/en_US'.

'ls -d /usr/share/locale/en_US*' gives only
'/usr/share/locale/en_US'.

Background: I am using Debian Sarge. I am new to Debian. I have been using
Red Hat till recently.

Mail-Followup-To: ***@students.iiit.ac.in, debian-***@lists.debian.org

Thanks in advance.
--
Rajasekaran Deepak <http://students.iiit.ac.in/~deepakr/>
Derrick 'dman' Hudson
2004-07-10 14:33:24 UTC
Permalink
On Sat, Jul 10, 2004 at 06:59:20PM +0530, Rajasekaran Deepak wrote:
| If "export LC_ALL='en_US.UTF-8'" is done in .bashrc,
| programs give errors like:
| 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
|
| How do I solve this problem?

# dpkg-reconfigure -plow locales

That will show the debconf configuration interface. Select
en_US.UTF-8 as one of the locales to generate.

-D
--
mailhost:/etc/mail# less sendmail.cf
less: syntax of file "sendmail.cf" may induce nausea, show anyway? [n]

www: http://dman13.dyndns.org/~dman/ jabber: ***@dman13.dyndns.org
Nicos Gollan
2004-07-10 14:48:31 UTC
Permalink
On Sat, 10 Jul 2004 18:59:20 +0530
Post by Rajasekaran Deepak
If "export LC_ALL='en_US.UTF-8'" is done in .bashrc,
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
Did you make sure the locales are created? Run

dpkg-reconfigure locales

and select the proper ones.
--
Got Backup?

Jabber: Shadowdancer at jabber.fsinf.de
Continue reading on narkive:
Loading...