How do I fix my locale issue?

View previous topic View next topic Go down

How do I fix my locale issue?

Post by Algerien1970 on Tue 9 Jun - 23:54

I am getting this message every time I do something like starting or stopping a service.
Code:
perl: warning: Setting locale failed.  
perl: warning: Please check that your locale settings:  
        LANGUAGE = "en_US:en",  
        LC_ALL = (unset),  
        LC_MESSAGES = "en_US.UTF-8",  
        LANG = "en_US.UTF-8"  
    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  
(Reading database ... 21173 files and directories currently installed.)  
Removing bind9 ...  
 * Stopping domain name service... bind9                                        [ OK ]
Processing triggers for man-db ...  
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  






The answear is :
Just add the following to your
Code:
gedit ~/.bashrc
file (assuming you're using bash)
Code:
export LC_ALL="en_US.UTF-8"


Last edited by Algerien1970 on Thu 11 Jun - 12:16; edited 1 time in total
avatar
Algerien1970
Forum Manager
Forum Manager

Messages : 485
Date d'inscription : 2015-05-14

http://wien2k.forumalgerie.net

Back to top Go down

Re: How do I fix my locale issue?

Post by Algerien1970 on Tue 9 Jun - 23:55

Reference :

[You must be registered and logged in to see this link.]
avatar
Algerien1970
Forum Manager
Forum Manager

Messages : 485
Date d'inscription : 2015-05-14

http://wien2k.forumalgerie.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum