суббота, 8 ноября 2014 г.

perl: warning: Setting locale failed.

sudo dpkg-reconfigure nginx

Ответ:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ru_RU.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



Решение:


sudo locale-gen ru_RU ru_RU.UTF-8
sudo dpkg-reconfigure locales
sudo dpkg-reconfigure nginx

Комментариев нет:

Отправить комментарий