Problem with locale settings
Am in the process of installing a new Linode512, Ubuntu 12.10 32 bit (in London) and I got this warning already several times (whith apt-get upgrade, adduser, dpkg-reconfigure tzdata, ….):
> perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
How do I get it right this time?
Thanx
2 Replies
If it doesn't work, try: sudo locale-gen en_US.UTF-8 && sudo dpkg-reconfigure locales