Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've just set up Arch Linux (not my first time). Everything installed correctly but when I login (X isn't installed yet) I see:

Arch Linux 3.8.4-1-ARCH (tty1)

mgoszcz2 login: root
Password:
Last login: Thu Mar 28 21:47:57 on tty1
-bash: en_IE.UTF-8: command not found
[root@mgoszcz2 ~]#

Anyone knows what's causing this? Any way to fix this?

share|improve this question
    
Look through your shell initialization files for the line where you have incorrectly tried to set your locale. –  jasonwryan Mar 27 '13 at 22:45
    
I looked through /etc/bash.bashrc /etc/issue & /etc/motd and didn't find anything.. Anywhere else I should look? –  mgoszcz2 Mar 27 '13 at 22:55
1  
See the Arch Wiki bash article for details on the relevant files... –  jasonwryan Mar 27 '13 at 23:09
    
Thanks. I'll close the question once stack exchange allows me to :) –  mgoszcz2 Mar 27 '13 at 23:23
2  
If you found the issue, you can answer your own question: it may help someone else with a similar problem. –  jasonwryan Mar 27 '13 at 23:54
show 3 more comments

1 Answer

up vote 2 down vote accepted

Thanks jasonwryan. It seems that by accident file /etc/locale.conf contained

en_IE.UTF-8

instead of, correct

LANG=en_IE.UTF-8

Thanks a million.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.