All other threads were closed already, so i started a new one. It may spare some time for you.
I have a virtual private server running Ubuntu 9.10 and got messages like this:
To get rid of the messages I had to run this command:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
# locale-gen en_US en_US.UTF-8 hu_HU hu_HU.UTF-8
The problem was solved. I didn't had to edit any files like /etc/environment
# dpkg-reconfigure locales
Hope it helps for you!
I found the solution here: