LINUX.ORG.RU

Не даёт установить язык

 


0

1

Язык интерфейса русский, но ввод с клавиатуры только латиницей. Русский пропал после обновления системы

installArchives() failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "C.UTF-8",
	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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "C.UTF-8",
	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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package language-pack-gnome-ru-base.
(Reading database ... 
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 278262 files and directories currently installed.)
Preparing to unpack .../00-language-pack-gnome-ru-base_1%%3a22.04+20230801_all.deb ...
Unpacking language-pack-gnome-ru-base (1:22.04+20230801) ...
Selecting previously unselected package language-pack-ru-base.
Preparing to unpack .../01-language-pack-ru-base_1%%3a22.04+20230801_all.deb ...
Unpacking language-pack-ru-base (1:22.04+20230801) ...
Selecting previously unselected package language-pack-ru.
Preparing to unpack .../02-language-pack-ru_1%%3a22.04+20230801_all.deb ...
Unpacking language-pack-ru (1:22.04+20230801) ...
Selecting previously unselected package language-pack-gnome-ru.
Preparing to unpack .../03-language-pack-gnome-ru_1%%3a22.04+20230801_all.deb ...
Unpacking language-pack-gnome-ru (1:22.04+20230801) ...
Selecting previously unselected package gimp-help-ru.
Preparing to unpack .../04-gimp-help-ru_2.10.0-1_all.deb ...
Unpacking gimp-help-ru (2.10.0-1) ...
Selecting previously unselected package gnome-user-docs-ru.
Preparing to unpack .../05-gnome-user-docs-ru_41.5-1ubuntu2_all.deb ...
Unpacking gnome-user-docs-ru (41.5-1ubuntu2) ...
Selecting previously unselected package hunspell-ru.
Preparing to unpack .../06-hunspell-ru_1%%3a7.2.0-2_all.deb ...
Unpacking hunspell-ru (1:7.2.0-2) ...
Selecting previously unselected package hyphen-ru.
Preparing to unpack .../07-hyphen-ru_20030310-1ubuntu3_all.deb ...
Unpacking hyphen-ru (20030310-1ubuntu3) ...
Selecting previously unselected package libreoffice-l10n-ru.
Preparing to unpack .../08-libreoffice-l10n-ru_1%%3a7.3.7-0ubuntu0.22.04.3_all.deb ...
Unpacking libreoffice-l10n-ru (1:7.3.7-0ubuntu0.22.04.3) ...
Selecting previously unselected package libreoffice-help-ru.
Preparing to unpack .../09-libreoffice-help-ru_1%%3a7.3.7-0ubuntu0.22.04.3_all.deb ...
Unpacking libreoffice-help-ru (1:7.3.7-0ubuntu0.22.04.3) ...
Selecting previously unselected package mythes-ru.
Preparing to unpack .../10-mythes-ru_1%%3a7.2.0-2_all.deb ...
Unpacking mythes-ru (1:7.2.0-2) ...
Selecting previously unselected package thunderbird-locale-ru.
Preparing to unpack .../11-thunderbird-locale-ru_1%%3a102.15.1+build1-0ubuntu0.22.04.1_amd64.deb ...
Unpacking thunderbird-locale-ru (1:102.15.1+build1-0ubuntu0.22.04.1) ...
Setting up thunderbird-locale-ru (1:102.15.1+build1-0ubuntu0.22.04.1) ...
Setting up gimp-help-ru (2.10.0-1) ...
Setting up libreoffice-l10n-ru (1:7.3.7-0ubuntu0.22.04.3) ...
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
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
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
Setting up gnome-user-docs-ru (41.5-1ubuntu2) ...
Setting up hunspell-ru (1:7.2.0-2) ...
Setting up hyphen-ru (20030310-1ubuntu3) ...
Setting up mythes-ru (1:7.2.0-2) ...
Setting up libreoffice-help-ru (1:7.3.7-0ubuntu0.22.04.3) ...
Setting up language-pack-ru (1:22.04+20230801) ...
Setting up language-pack-gnome-ru (1:22.04+20230801) ...
Setting up language-pack-ru-base (1:22.04+20230801) ...
Generating locales (this might take a while)...
  ru_RU.UTF-8... done
  ru_UA.UTF-8... done
Generation complete.
Setting up language-pack-gnome-ru-base (1:22.04+20230801) ...
Processing triggers for dictionaries-common (1.28.14) ...
Processing triggers for libreoffice-common (1:7.3.7-0ubuntu0.22.04.3) ...
libdvd-pkg: Checking orig.tar integrity...
/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: 
libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting...
libdvd-pkg: Checking orig.tar integrity...
/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: 
libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting...
cat: /tmp/opera.timestamp:     
sh: 1: [: -ne: argument expected
rm:   '/tmp/opera.timestamp':     

Ответ на: комментарий от firkax

Я ниасилил всю портянку.

Расплывчато изложена проблема. Добавить раскладку можно напрямою в гноме. И сменить региональные настройки. Это если разговор про ДЕ.

utanho ★★★★★
()
Ответ на: комментарий от Gennadevich
setxkbmap -layout us,ru -variant -option grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp &

Выполнил. Результата ноль

# dpkg-reconfigure locales
sudo dpkg-reconfigure locales
[sudo] пароль для user: 
Generating locales (this might take a while)...
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IL.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.ISO-8859-15... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZM.UTF-8... done
  en_ZW.UTF-8... done
  ro_RO.UTF-8... done
  ru_RU.UTF-8... done
  ru_UA.UTF-8... done
Generation complete.
*** update-locale: Warning: LANGUAGE ("ru:en_US:en") is not compatible with LANG (en_ZA.UTF-8). Disabling it.
[1]+  Завершён        setxkbmap -layout us,ru -variant -option grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp

Поставь Убунту. Там не пропадает.

Ошибаетесь. У меня как раз Убунту

mark-v
() автор топика
Ответ на: комментарий от utanho

Добавить раскладку можно напрямою в гноме

Русский присутствует, но на него не переключается ввод https://prnt.sc/BdF19tJYlK_h

mark-v
() автор топика
Последнее исправление: mark-v (всего исправлений: 1)
Ответ на: комментарий от mark-v

А комбинация клавишь для переключения раскладок задана?

И попробуй:

sudo apt install console-setup locales keyboard-configuration
sudo dpkg-reconfigure console-setup
sudo dpkg-reconfigure locales
sudo dpkg-reconfigure keyboard-configuration
Vsevolod-linuxoid ★★★★★
()
Ответ на: комментарий от Vsevolod-linuxoid

А комбинация клавишь для переключения раскладок задана?

Alt + Shift

sudo apt install console-setup locales keyboard-configuration
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Уже установлен пакет console-setup самой новой версии (1.205ubuntu3).
Уже установлен пакет keyboard-configuration самой новой версии (1.205ubuntu3).
Уже установлен пакет locales самой новой версии (2.35-0ubuntu3.3).
Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
sudo dpkg-reconfigure console-setup
update-initramfs: deferring update (trigger activated)
Обрабатываются триггеры для initramfs-tools (0.140ubuntu13.4) …
update-initramfs: Generating /boot/initrd.img-5.15.0-83-generic
sudo dpkg-reconfigure locales
Generating locales (this might take a while)...
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IL.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZM.UTF-8... done
  en_ZW.UTF-8... done
  ru_RU.KOI8-R... done
  ru_RU.UTF-8... done
  ru_UA.UTF-8... done
Generation complete.
sudo dpkg-reconfigure keyboard-configuration

У меня ноутбук. ХЗ, какая там модель клавиатуры

mark-v
() автор топика