Добавление локали ru_RU.CP1251 с через localedef


Однажды при работе с git репозиторием возникла проблема:

# git pull
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "ru_RU.CP1251",
    LC_ALL = "ru_RU.CP1251",
    LC_PAPER = "ru_RU.CP1251",
    LC_ADDRESS = "ru_RU.CP1251",
    LC_MONETARY = "ru_RU.CP1251",
    LC_NUMERIC = "ru_RU.CP1251",
    LC_TELEPHONE = "ru_RU.CP1251",
    LC_IDENTIFICATION = "ru_RU.CP1251",
    LC_MEASUREMENT = "ru_RU.CP1251",
    LC_TIME = "ru_RU.CP1251",
    LC_NAME = "ru_RU.CP1251",
    LANG = "ru_RU.CP1251"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Already up-to-date.
Rating All.BY Анализ сайта ITblog.by