I have a Debian server which I've just upgraded from lenny to squeeze using apt-get. During the upgrade, I got the following error lots of times:
manconv: cant set the locale; make sure $LC_* and $LANG are correct
Afterwards, proftp wouldn't start. I did various things (including dpkg-reconfigure locales, local-gen) which eventually got it to start, but I am still getting error messages about locales.
When I log in via ssh I get:
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
When I run apache2ctl status I get:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_GB.utf8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The /etc/environment file contains:
How do I fix this?