perl: warning: Setting locale failed.

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = «en_US:en»,
LC_ALL = (unset),
LC_PAPER = «ru_RU.UTF-8»,
LC_ADDRESS = «ru_RU.UTF-8»,
LC_MONETARY = «ru_RU.UTF-8»,
LC_NUMERIC = «ru_RU.UTF-8»,
LC_TELEPHONE = «ru_RU.UTF-8»,
LC_IDENTIFICATION = «ru_RU.UTF-8»,
LC_MEASUREMENT = «ru_RU.UTF-8»,
LC_TIME = «ru_RU.UTF-8»,
LC_NAME = «ru_RU.UTF-8»,
LANG = «en_US.UTF-8»
are supported and installed on your system.
perl: warning: Falling back to a fallback locale («en_US.UTF-8»).

Однострочник на баше, который фиксит вышеуказанную проблему:

sudo locale-gen en_US en_US.UTF-8 ru_RU ru_RU.UTF-8

5.00 avg. rating (100% score) - 1 vote