Wednesday, March 4, 2015

RaspberryPi language perl problem solve

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "es_ES.utf-8",
        LC_MONETARY = "es_ES.utf-8",
        LC_CTYPE = "es_ES.utf-8",
        LC_COLLATE = "es_ES.utf-8",
        LC_MESSAGES = "es_ES.utf-8",
        LC_NUMERIC = "es_ES.utf-8",
        LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
You may have to edit /etc/default/locale and add the default locales:
LANG=en_GB.UTF-8
LC_ALL=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8

Best Solution :

sudo nano /etc/ssh/ssh_config
and put a # at the beginning of the line starting with SendEnv LANG LC...
Save, close and reconnect your SSH session and everything should be fine.

No comments:

Post a Comment