LINUX.ORG.RU

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

это для gtk, а для кед нужны пакеты локализации.

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

1. набираете su и нажимаете «enter»
далее, вводите свой пароль.
промт # - индикатор консоли и действий с правами root.

2. а потом уже вводите команду :

#dpkg-reconfigure locales

для отображения новой локали нужна перегрузка компа или новый сеанс пользователя.

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

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LANGUAGE = (unset),
   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_CTYPE 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
Package `locales' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locales is not installed

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

root@debian:/home/denis# apt-get install locales
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
xorg-docs-core xfonts-scalable xfonts-75dpi
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
locales
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4757 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
0% [Working]
Media change: please insert the disc labeled
'Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27'
in the drive '/media/cdrom/' and press enter
Media change: please insert the disc labeled
'Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27'
in the drive '/media/cdrom/' and press enter

Failed to fetch cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/pool/main/e/eglibc/locales_2.11.2-10_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

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

root@debian:/home/denis# apt-get update --fix-missing
Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27] squeeze Release.gpg
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Hit http://security.debian.org squeeze/updates Release
Get:1 http://security.debian.org squeeze/updates/main Sources [7934 B]
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://security.debian.org squeeze/updates/contrib i386 Packages
Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/ squeeze/contrib Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/ squeeze/main Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27] squeeze Release
Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27] squeeze/contrib i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27] squeeze/main i386 Packages/DiffIndex
Fetched 7934 B in 6s (1299 B/s)
Reading package lists... Done
root@debian:/home/denis# apt-get install locales
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
xorg-docs-core xfonts-scalable xfonts-75dpi
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
locales
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4757 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
Failed to fetch cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/pool/main/e/eglibc/locales_2.11.2-10_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@debian:/home/denis# dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LANGUAGE = (unset),
   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_CTYPE 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
Package `locales' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locales is not installed

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

странно , пакет locales битый
нужно подключить тырнет или скачать самостоятельно по прямой ссылке:

http://packages.debian.org/squeeze/all/locales/download


например:
http://ftp.de.debian.org/debian/pool/main/e/eglibc/locales_2.11.2-10_all.deb

и установить:
#dpkg -i locales_2.11.2-10_all.deb

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

$ echo -e «LC_ALL=\„ru_RU.UTF-8\“\nLANGUAGE=\„ru_RU.UTF-8\“» >> ~/.profile; source ~/.profile
Почему так трудно попробовать? Или потом из файла ~/.profile ТС не осилит удалить 2 строчки?

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

> Все правильно я сказал!

LANG = «ru_RU.UTF-8»

LANG уже установлено в ru_RU.UTF-8, но файлов, соответствующих локали, не существует.

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

>странно , пакет locales битый

У меня чувство, что у топикстартера дефолтный дебиановский sources.list без репозиториев, а не пакет битый. Локаль он бы сам выкачал при установке, хоть с cd, хоть dvd.

Хотя может и фигня.

rins
()
Ответ на: комментарий от intel

Failed to fetch cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/pool/main/e/eglibc/locales_2.11.2-10_all.deb Hash Sum mismatch E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

а вот это что? или убери из /etc/apt/sources.list диски или вставь, что бы с него поставило если пакет уже стоит, но битый - aptitude reinstall locales

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