При попытке выполнить locale-gen

2/2) Generating en_US.UTF-8 ...
/usr/share/i18n/locales/ru_RU:72: LC_MESSAGES: unknown character in field `yesexpr'
/usr/share/i18n/locales/ru_RU:73: LC_MESSAGES: unknown character in field `noexpr'
/usr/share/i18n/locales/ru_RU:78: LC_MONETARY: unknown character in field `currency_symbol'
/usr/share/i18n/locales/ru_RU:101: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:102: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:103: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:104: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:105: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:106: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:107: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:108: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:109: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:110: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:111: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:112: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:113: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:114: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:115: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:116: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:117: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:118: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:119: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:120: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:121: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:122: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:123: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:124: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:125: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:126: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:127: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:128: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:129: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:130: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:131: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:132: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:133: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:134: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:135: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:136: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:137: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:138: LC_TIME: unknown character in field `abmon'
LC_MESSAGES: value for field `yesexpr' must not be an empty string
LC_MESSAGES: value for field `noexpr' must not be an empty string [ !! ]
* Bad entry in locale.gen: 'ru_RU.CP1251 '; skipping

Никто не знает, что это и как бороться?

Уважаемый, а Вы

Уважаемый, а Вы разве не знали, что локали ru_RU.CP1251 в природе не существует? Это злые происки сами-знаете-кого в связи сами-знаете-чем.

PS: Неправильно записана локаль в /etc/locales.gen. Надо:

ru_RU.CP1251 CP1251

_________________
From Siberia with Love!

Ничего

Ничего принципиально не изменилось.

Примечание: По

Примечание: По умолчанию в списке поддерживаемых нет локали ru_RU.CP1251 и если вы пропишите ее в /etc/locale.gen то получите сообщение об ошибке вместо ожидаемой локали, чтобы этого не произошло, в случае если вам нужна эта локаль, то перед тем как ее прописыавть в /etc/locale.gen ее придется прописать в /usr/share/i18n/SUPPORTED

http://ru.gentoo-wiki.com/%D0%A1%D0%BE%D0%B7%D0%B4%D0%B0%D0%BD%D0%B8%D0%B5_%D1%82%D0%BE%D0%BB%D1%8C%D0%BA%D0%BE_%D0%BD%D1%83%D0%B6%D0%BD%D1%8B%D1%85_%D0%B2%D0%B0%D1%80%D0%B8%D0%B0%D0%BD%D1%82%D0%BE%D0%B2_locale

# cat

# cat /etc/locale.gen
en_US.UTF-8 UTF-8

ru_RU.UTF-8 UTF-8
ru_RU.KOI8-R KOI8-R
ru_RU.ISO-8859-5 ISO-8859-5
ru_RU.CP1251 CP1251
# locale-gen
 * Generating 5 locales (this might take a while) with 1 jobs
 *  (1/5) Generating en_US.UTF-8 ...                                      [ ok ]
 *  (2/5) Generating ru_RU.UTF-8 ...                                      [ ok ]
 *  (3/5) Generating ru_RU.KOI8-R ...                                     [ ok ]
 *  (4/5) Generating ru_RU.ISO-8859-5 ...                                 [ ok ]
 *  (5/5) Generating ru_RU.CP1251 ...                                     [ ok ]
 * Generation complete

Ничего не добавлял никуда, кроме locale.gen. Что я не так делаю?
_________________
Fedora? rpm -Uhv emerge

#/lib/libc-* ?

#/lib/libc-* ?

да нет, все

да нет, все нормалек :)

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".