В консольном редакторе nano у меня была такая ошибка:
kiman@1111:~/www/kiman$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=uk_UA.UTF-8
LC_TIME=uk_UA.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=uk_UA.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=uk_UA.UTF-8
LC_NAME=uk_UA.UTF-8
LC_ADDRESS=uk_UA.UTF-8
LC_TELEPHONE=uk_UA.UTF-8
LC_MEASUREMENT=uk_UA.UTF-8
LC_IDENTIFICATION=uk_UA.UTF-8
LC_ALL=
kiman@1111:~/www/kiman$
При попытке обновить выдавался такой вывод в консоль:
kiman@1111:~/www/kiman$ sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "uk_UA.UTF-8",
LC_ADDRESS = "uk_UA.UTF-8",
LC_MONETARY = "uk_UA.UTF-8",
LC_NUMERIC = "uk_UA.UTF-8",
LC_TELEPHONE = "uk_UA.UTF-8",
LC_IDENTIFICATION = "uk_UA.UTF-8",
LC_MEASUREMENT = "uk_UA.UTF-8",
LC_TIME = "uk_UA.UTF-8",
LC_NAME = "uk_UA.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").
kiman@1111:~/www/kiman$
Решить удалось довольно просто, пришлось сгенерировать все те локали, которые у меня были добавлены:
sudo locale-gen ru_RU.UTF-8
sudo locale-gen uk_UA.UTF-8
sudo locale-gen en_EN.UTF-8
После чего русский текст стал в редакторе nano отображаться, а ошибки исчезли.
Я ИДИОТ УБЕЙТЕ МЕНЯ КТО НИБУДЬ!!!!!!!!!