You are not logged in.

#1 2012-02-06 04:22:07

Zarcjap
Member
Registered: 2011-06-28
Posts: 29

[SOLVED] Locale issues when running archey3

I recently installed archey3 from the aur on both of my arch linux systems. On one (my server/HTPC) it works great and always has. On the other (my laptop), it worked at first but now spits out error every time it runs:

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                                                                                          
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                                                                                          
                                                                                                                                                                
               +                                                                                                                                                
               #                                                                                                                                                
              ###                                                                                                                                               
             #####              Hostname: Zarch                                                                                                                 
             ######             OS: Arch Linux x86_64                                                                                                           
            ; #####;            Kernel Release: 3.2.2-1-ARCH                                                                                                    
           +##.#####            Processor Type: AMD Turion(tm) 64 X2 Mobile Technology TL-56                                                                    
          +##########           Root: 8.1G / 16G (50%) (ext4)                                                                                                   
         #############;         Data: 159G / 391G (40%) (fuseblk)                                                                                               
        ###############+        RAM: 542 MB / 3705 MB                                                                                                           
       #######   #######        WM: None                                                                                                                        
     .######;     ;###;`".      DE: GNOME                                                                                                                       
    .#######;     ;#####.       Uptime: 0:05                                                                                                                    
    #########.   .########`     Packages: 740                                                                                                                   
   ######'           '######                                                                                                                                    
  ;####                 ####;                                                                                                                                   
  ##'                     '##                                                                                                                                   
 #'                         `#     

and when I run "locale" I get this:

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="en_US.utf8"                                                                                                                                         
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=

and finally in my /etc/rc.conf file I have this:

# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="America/New_York"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
LOCALE="en_US.utf8"
DAEMON_LOCALE="yes"
USECOLOR="yes"

Any Ideas what's wrong? I've looked through the wiki and Google but have yet to find any leads...

Last edited by Zarcjap (2012-02-06 05:02:29)

Offline

#2 2012-02-06 04:56:31

meph
Member
Registered: 2011-06-06
Posts: 160

Re: [SOLVED] Locale issues when running archey3

first, uncomment these in /etc/locale.gen

en_US.UTF-8 UTF-8
en_US ISO-8859-1

and then run as root:

locale-gen

You don't need to run locale-gen after a fresh install as it's done automatically, but you have to do it when you change /etc/locale.gen manually after the install, or your changes won't take effect. Perhaps that's the case?


Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.

Offline

#3 2012-02-06 05:02:08

Zarcjap
Member
Registered: 2011-06-28
Posts: 29

Re: [SOLVED] Locale issues when running archey3

Gah! It worked! Thanks! Also I love your signature.

Offline

Board footer

Powered by FluxBB