Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

(K)ubuntu problem: Setting locale failed

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Haakin
LXF regular


Joined: Tue Jun 21, 2005 10:40 am
Posts: 251
Location: Lleida (Spain, Europe)

PostPosted: Sun Sep 17, 2006 10:50 pm    Post subject: (K)ubuntu problem: Setting locale failed Reply with quote

Hello,

I have a problem with my Kubuntu 6.06 setup. When I install anything I get this error:

Code:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "es_ES:es:en_GB:en",
        LC_ALL = "es_ES",
        LC_TYPE = "es_ES",
        LANG = "es_ES@euro"
    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


I installed Kubuntu 6.06 from a CD last week. It was a new installation, not an upgrade.

Any idea about how I could solve it? I looked for a solution in the Ubuntu and Kubunut forums and in Google, but it's a mess. Apparently a lot of people has this problem, but there are no (easy) solutions. At least there is no an official solution to this problem.

Frankly, I don't know if it is important or not, but it's quite annoying. Any help would be greatly appreciated.

Javier
_________________
English is not my mother tongue. So, be ready to read bad grammar and reduced vocabulary Sad
Back to top
View user's profile Send private message Visit poster's website
Haakin
LXF regular


Joined: Tue Jun 21, 2005 10:40 am
Posts: 251
Location: Lleida (Spain, Europe)

PostPosted: Wed Sep 20, 2006 1:31 pm    Post subject: RE: (K)ubuntu problem: Setting locale failed Reply with quote

Hello,

it seems that I've been able to solve my problem Very Happy. The solution was much easier that I thought.

This is the /etc/environment that the Kubuntu installer set up:

Code:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:
/usr/games"

LANG="es_ES.UTF-8"
LANGUAGE="es_ES:es:en_GB:en"
LC_ALL=es_ES
LC_TYPE=es_ES


I just edited it (sudo pico /etc/environment), and changed it to:

Code:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:
/usr/games"

##LANG="es_ES.UTF-8"
##LANGUAGE="es_ES:es:en_GB:en"
##LC_ALL=es_ES
##LC_TYPE=es_ES

LANG=es_ES.UTF-8


Now, everything seems to work.

Javier
_________________
English is not my mother tongue. So, be ready to read bad grammar and reduced vocabulary Sad
Back to top
View user's profile Send private message Visit poster's website
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2010 Future Publishing, all rights reserved.


Web hosting by UKFast