Locale Configuration Issue on Ubuntu 12.04
From Zam Wiki
Have you encountered problem like this when you login to your server via ssh?
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
It’s no so difficult to fix this annoying warning but as usual, the hardest part is to find the right solution. So here what I’ve done to fix the problem:
root@gh0st:~# locale-gen en_US.UTF-8 /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) Generating locales... en_US.UTF-8... done Generation complete.
Then this command to complete it:
root@gh0st:~# dpkg-reconfigure locales Generating locales... en_US.UTF-8... up-to-date Generation complete.