LINUX.ORG.RU

проблемы с локалью в ubuntu после обновления


0

0

Всё точно не помню, но могу сказать, что в ходе обновления были заменены linux-kernel-headers на то, что там сейчас вместо них (libc6-headers или как-то так?) и сгенерирован новый initrd.

Теперь и в Gnome руссификация стала частичной (т.е. часть на русском, часть на английском), и openoffice файлы с русскими названиями не открывает, и в консоли они показываются вопросами и т.д. и т.п.

Думается, проблема в этом:

perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "ru_RU.UTF8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").

Только с ходу не пойму как её решить?

Пост скриптум:

$ cat /var/lib/locales/supported.d/ru ru_RU.UTF-8 UTF-8 ru_UA.UTF-8 UTF-8

$ locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=ru_RU.UTF-8 LANGUAGE=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL=

★★★★★

Вернее - доставь.

anonymous
()
Ответ на: комментарий от Igron

В плане проблем с русским ни чего не изменилось.

Ну а в остальном Стало только хуже.

По ходу выполнения:
Password:
Reading package lists... Done
Building dependency tree... Done
language-support-ru is already the newest version.
The following extra packages will be installed:
  console-terminus
Suggested packages:
  console-setup
The following NEW packages will be installed:
  console-cyrillic console-terminus
0 upgraded, 2 newly installed, 0 to remove and 1185 not upgraded.
Need to get 499kB of archives.
After unpacking 3543kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com edgy/main console-terminus 4.20-2 [308kB]
Get:2 http://archive.ubuntu.com edgy/universe console-cyrillic 0.9-13 [191kB]
Fetched 499kB in 6s (71.8kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ru_RU.UTF-8",
        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_ALL to default locale: No such file or directory
Preconfiguring packages ...
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously deselected package console-terminus.
(Reading database ... 124641 files and directories currently installed.)
Unpacking console-terminus (from .../console-terminus_4.20-2_all.deb) ...
Selecting previously deselected package console-cyrillic.
Unpacking console-cyrillic (from .../console-cyrillic_0.9-13_all.deb) ...
Setting up console-terminus (4.20-2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ru_RU.UTF-8",
        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_ALL to default locale: No such file or directory

Setting up console-cyrillic (0.9-13) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ru_RU.UTF-8",
        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_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ru_RU.UTF-8",
        LC_ALL = (unset),
        LANG = "ru_RU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

После перезагрузки при запуске KDE:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[KCrash handler]
#6  0xb68b454d in KDIconView::slotClipboardDataChanged ()
   from /usr/lib/libkdeinit_kdesktop.so
#7  0xb68cb128 in KDIconView::qt_invoke ()
   from /usr/lib/libkdeinit_kdesktop.so
#8  0xb72af051 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9  0xb72afaec in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#10 0xb763b44b in QClipboard::dataChanged () from /usr/lib/libqt-mt.so.3
#11 0xb71cf7dc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#12 0xb71e94db in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#13 0xb725da2f in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#14 0xb725d952 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#15 0xb7243a4d in QApplication::exec () from /usr/lib/libqt-mt.so.3
#16 0xb68c8a6e in kdemain () from /usr/lib/libkdeinit_kdesktop.so
#17 0xb7f614f4 in kdeinitmain () from /usr/lib/kde3/kdesktop.so
#18 0x0804e063 in ?? ()
#19 0x00000001 in ?? ()
#20 0x080ae578 in ?? ()
#21 0x00000001 in ?? ()
#22 0x00000000 in ?? ()

eugrus ★★★★★
() автор топика

sudo dpkg-reconfigure locales ты уже делал, как я понимаю...

возникла мысль - а не установлен ли localepurge?

zodiac ★★
()
Ответ на: комментарий от zodiac

$ sudo dpkg-reconfigure locales
Password:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ru_RU.UTF-8",
        LC_ALL = (unset),
        LANG = "ru_RU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

eugrus ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.