Setlocale warning on a new installation – en_US.UTF-8

Just do the following and ignore the rest of this post…

dpkg-reconfigure locales
# choose en_US.UTF-8 in the next two screens

When setting up a VPS in Paris data center, in Gandi.net, upon starting the Ubuntu for the first time, I received the following warning message…


-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

References

Solution


sudo locale-gen en_US.UTF-8

sudo update-locale en_US.UTF-8

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s