Tagged: debian

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