You are not logged in.

#1 2008-12-12 04:51:01

ning
Member
Registered: 2008-11-15
Posts: 27

[Solve]locale -a Error

[ning@courser 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

=
any thought here?

Last edited by ning (2008-12-18 16:24:34)

Offline

#2 2008-12-12 08:16:41

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: [Solve]locale -a Error

ning wrote:

any thought here?

Have a look on /etc/locale.gen (IIRC) then launch locale-gen. More info viewing the man pages.

HTH


syntaxerrormmm - Homepage

Offline

#3 2008-12-13 12:22:10

ning
Member
Registered: 2008-11-15
Posts: 27

Re: [Solve]locale -a Error

can anyone make a further explain it?

Offline

#4 2008-12-13 13:27:31

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: [Solve]locale -a Error

http://wiki.archlinux.org/index.php/Locale

Maybe that would help...:)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#5 2008-12-15 16:01:58

ning
Member
Registered: 2008-11-15
Posts: 27

Re: [Solve]locale -a Error

doesn't work..

Offline

#6 2008-12-15 17:38:27

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: [Solve]locale -a Error

Try reinstalling glibc, then regenerate the locales required as you already learned to do.

BTW, what is your locale (you see it in /etc/rc.conf, IIRC)?

HTH

Last edited by syntaxerrormmm (2008-12-15 17:39:06)


syntaxerrormmm - Homepage

Offline

#7 2008-12-15 17:53:37

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [Solve]locale -a Error

Paste the complete output of 'locale' and 'locale -a' here, along with the LOCALE line in rc.conf


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2008-12-16 17:17:41

ning
Member
Registered: 2008-11-15
Posts: 27

Re: [Solve]locale -a Error

LOCALE="en_US.utf8"                         ( locale in rc.conf)

======                                           (locale)
[ning@courser ~]$ locale
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
LANG=en_US.utf8
LC_CTYPE=en_US.utf8
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE=C
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
[ning@courser ~]$


=====================                                    (locale -a)
[ning@courser ~]$ 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
C
POSIX

Offline

#9 2008-12-16 18:06:36

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: [Solve]locale -a Error

ning wrote:

LOCALE="en_US.utf8"                         ( locale in rc.conf)

Mmh.

ArchWiki Official Install Guide wrote:

/etc/locale.gen
This file contains a list of all supported locales and charsets available to you. When choosing a LOCALE in your /etc/rc.conf or when starting a program, it is required to uncomment the respective locale in this file, to make a "compiled" version available to the system, and run the locale-gen command as root to generate all uncommented locales and put them in their place afterwards. You should uncomment all locales you intend to use.

During the installation process, you do not need to run locale-gen manually, this will be taken care of automatically after saving your changes to this file.

By default, all locales are commented out, including the default en_US.utf8 locale referred to in the /etc/rc.conf file. To make your system work smoothly, you must edit this file and uncomment at least the one locale you're using in your rc.conf.

And I shall add, then regenerate the locales with

# locale-gen

HTH


syntaxerrormmm - Homepage

Offline

#10 2008-12-16 19:48:46

monstermudder78
Member
Registered: 2008-05-18
Posts: 120

Re: [Solve]locale -a Error

For some reason I just had to go through the process of generating my locales this morning, after months of having them generated and working.  Not sure if it was the result of something I did manually or a pacman message that I missed, but thought it was odd.

Offline

Board footer

Powered by FluxBB