После очередного dist-upgrade locale locale: Cannot set LC_CTYPE to default locale: Permission denied locale: ?????????? ?????????? LC_ALL ? ?????? ?? ?????????.: ???????? ? ??????? LANG=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= ls -lR /usr/lib/locale/ru_* lrwxrwxrwx 1 root root 14 Dec 27 14:50 ru_RU -> ru_RU.iso88595 lrwxrwxrwx 1 root root 11 Dec 27 14:50 ru_UA -> ru_UA.koi8u ru_RU.cp1251: total 336 -rw-r--r-- 1 root root 144 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 2 root root 21883 Dec 27 14:44 LC_COLLATE -rw-r--r-- 2 root root 274656 Dec 27 14:44 LC_CTYPE -rw-r--r-- 1 root root 342 Dec 27 14:49 LC_IDENTIFICATION --w------- 2 root root 24 Jan 13 17:05 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:05 LC_MESSAGES -rw-r--r-- 1 root root 295 Dec 27 14:49 LC_MONETARY -rw-r--r-- 2 root root 63 Dec 27 14:44 LC_NAME --w------- 1 root root 55 Jan 13 17:05 LC_NUMERIC --w------- 2 root root 35 Jan 13 17:05 LC_PAPER -rw-r--r-- 1 root root 53 Dec 27 14:49 LC_TELEPHONE -rw-r--r-- 1 root root 2327 Dec 27 14:49 LC_TIME ru_RU.cp1251/LC_MESSAGES: total 4 -rw-r--r-- 2 root root 62 Dec 27 14:49 SYS_LC_MESSAGES ru_RU.ibm866: total 332 -rw-r--r-- 1 root root 144 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 1 root root 19427 Dec 27 14:49 LC_COLLATE -rw-r--r-- 1 root root 274544 Dec 27 14:49 LC_CTYPE -rw-r--r-- 1 root root 342 Dec 27 14:49 LC_IDENTIFICATION -rw-r--r-- 1 root root 24 Dec 27 14:49 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:05 LC_MESSAGES -rw-r--r-- 1 root root 295 Dec 27 14:49 LC_MONETARY -rw-r--r-- 1 root root 63 Dec 27 14:49 LC_NAME -rw-r--r-- 1 root root 55 Dec 27 14:49 LC_NUMERIC -rw-r--r-- 1 root root 35 Dec 27 14:49 LC_PAPER -rw-r--r-- 1 root root 53 Dec 27 14:49 LC_TELEPHONE -rw-r--r-- 1 root root 2327 Dec 27 14:49 LC_TIME ru_RU.ibm866/LC_MESSAGES: total 4 -rw-r--r-- 1 root root 62 Dec 27 14:49 SYS_LC_MESSAGES ru_RU.iso88595: total 328 -rw-r--r-- 1 root root 148 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 1 root root 20119 Dec 27 14:48 LC_COLLATE -rw-r--r-- 1 root root 274124 Dec 27 14:48 LC_CTYPE -rw-r--r-- 1 root root 346 Dec 27 14:49 LC_IDENTIFICATION -rw-r--r-- 1 root root 28 Dec 27 14:48 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:05 LC_MESSAGES -rw-r--r-- 1 root root 299 Dec 27 14:49 LC_MONETARY -rw-r--r-- 1 root root 67 Dec 27 14:49 LC_NAME -rw-r--r-- 1 root root 59 Dec 27 14:49 LC_NUMERIC -rw-r--r-- 1 root root 39 Dec 27 14:48 LC_PAPER -rw-r--r-- 1 root root 57 Dec 27 14:49 LC_TELEPHONE -rw-r--r-- 1 root root 2331 Dec 27 14:49 LC_TIME ru_RU.iso88595/LC_MESSAGES: total 4 -rw-r--r-- 1 root root 66 Dec 27 14:49 SYS_LC_MESSAGES ru_RU.koi8r: total 332 -rw-r--r-- 1 root root 144 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 1 root root 20351 Dec 27 14:49 LC_COLLATE -rw-r--r-- 1 root root 274668 Dec 27 14:49 LC_CTYPE -rw-r--r-- 1 root root 342 Dec 27 14:49 LC_IDENTIFICATION -rw-r--r-- 1 root root 24 Dec 27 14:49 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:05 LC_MESSAGES -rw-r--r-- 1 root root 295 Dec 27 14:49 LC_MONETARY -rw-r--r-- 1 root root 63 Dec 27 14:49 LC_NAME -rw-r--r-- 1 root root 55 Dec 27 14:49 LC_NUMERIC -rw-r--r-- 1 root root 35 Dec 27 14:49 LC_PAPER -rw-r--r-- 1 root root 53 Dec 27 14:49 LC_TELEPHONE -rw-r--r-- 1 root root 2327 Dec 27 14:49 LC_TIME ru_RU.koi8r/LC_MESSAGES: total 4 -rw-r--r-- 1 root root 62 Dec 27 14:49 SYS_LC_MESSAGES ru_RU.utf8: total 1568 -rw-r--r-- 1 root root 151 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 2 root root 1243770 Dec 27 14:44 LC_COLLATE --w------- 20 root root 317872 Jan 13 17:05 LC_CTYPE -rw-r--r-- 1 root root 341 Dec 27 14:49 LC_IDENTIFICATION --w------- 19 root root 23 Jan 13 17:05 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:05 LC_MESSAGES -rw-r--r-- 1 root root 294 Dec 27 14:44 LC_MONETARY --w------- 10 root root 62 Jan 13 17:05 LC_NAME --w------- 1 root root 54 Jan 13 17:05 LC_NUMERIC --w------- 17 root root 34 Jan 13 17:05 LC_PAPER --w------- 1 root root 52 Jan 13 17:05 LC_TELEPHONE -rw-r--r-- 1 root root 2498 Dec 27 14:49 LC_TIME ru_RU.utf8/LC_MESSAGES: total 4 -rw-r--r-- 2 root root 70 Dec 27 14:49 SYS_LC_MESSAGES ru_UA.cp1251: total 336 -rw-r--r-- 1 root root 144 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 2 root root 21883 Dec 27 14:44 LC_COLLATE -rw-r--r-- 2 root root 274656 Dec 27 14:44 LC_CTYPE -rw-r--r-- 1 root root 299 Dec 27 14:49 LC_IDENTIFICATION --w------- 2 root root 24 Jan 13 17:05 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:05 LC_MESSAGES -rw-r--r-- 1 root root 295 Dec 27 14:49 LC_MONETARY -rw-r--r-- 2 root root 63 Dec 27 14:44 LC_NAME -rw-r--r-- 1 root root 55 Dec 27 14:44 LC_NUMERIC --w------- 2 root root 35 Jan 13 17:05 LC_PAPER -rw-r--r-- 1 root root 51 Dec 27 14:49 LC_TELEPHONE -rw-r--r-- 1 root root 2359 Dec 27 14:49 LC_TIME ru_UA.cp1251/LC_MESSAGES: total 4 -rw-r--r-- 2 root root 62 Dec 27 14:49 SYS_LC_MESSAGES ru_UA.koi8u: total 336 -rw-r--r-- 1 root root 144 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 1 root root 21143 Dec 27 14:49 LC_COLLATE -rw-r--r-- 1 root root 274796 Dec 27 14:49 LC_CTYPE -rw-r--r-- 1 root root 299 Dec 27 14:49 LC_IDENTIFICATION --w------- 1 root root 24 Jan 13 17:05 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:05 LC_MESSAGES -rw-r--r-- 1 root root 295 Dec 27 14:49 LC_MONETARY -rw-r--r-- 1 root root 63 Dec 27 14:49 LC_NAME -rw-r--r-- 1 root root 55 Dec 27 14:49 LC_NUMERIC --w------- 1 root root 35 Jan 13 17:05 LC_PAPER -rw-r--r-- 1 root root 51 Dec 27 14:49 LC_TELEPHONE -rw-r--r-- 1 root root 2359 Dec 27 14:49 LC_TIME ru_UA.koi8u/LC_MESSAGES: total 4 -rw-r--r-- 1 root root 62 Dec 27 14:49 SYS_LC_MESSAGES ru_UA.utf8: total 1568 -rw-r--r-- 1 root root 151 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 2 root root 1243770 Dec 27 14:44 LC_COLLATE --w------- 20 root root 317872 Jan 13 17:05 LC_CTYPE -rw-r--r-- 1 root root 298 Dec 27 14:49 LC_IDENTIFICATION --w------- 19 root root 23 Jan 13 17:05 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:05 LC_MESSAGES -rw-r--r-- 1 root root 294 Dec 27 14:44 LC_MONETARY --w------- 10 root root 62 Jan 13 17:05 LC_NAME --w------- 2 root root 54 Jan 13 17:05 LC_NUMERIC --w------- 17 root root 34 Jan 13 17:05 LC_PAPER -rw-r--r-- 1 root root 50 Dec 27 14:44 LC_TELEPHONE -rw-r--r-- 1 root root 2538 Dec 27 14:49 LC_TIME ru_UA.utf8/LC_MESSAGES: total 4 -rw-r--r-- 2 root root 70 Dec 27 14:49 SYS_LC_MESSAGES
# rpmverify glibc-locales ?
(В ответ на комментарий №1) > # rpmverify glibc-locales > ? ошибок нет
(In reply to comment #2) > (В ответ на комментарий №1) > > # rpmverify glibc-locales > > ? > > ошибок нет Но и прав доступа, которые вы приводите, в пакете glibc-locales тоже нет. Опишите, пожалуйста, процедуру, которая привела вашу систему в такое состояние.
насчет "ошибок нет" не прав был, не на той системе посмотрел и так apt-get install glibc-locales Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: glibc-core glibc-gconv-modules glibc-nss glibc-preinstall glibc-pthread glibc-timezones glibc-utils iconv nscd The following packages will be upgraded glibc-core glibc-gconv-modules glibc-locales glibc-nss glibc-preinstall glibc-pthread glibc-timezones glibc-utils iconv nscd 10 upgraded, 0 newly installed, 0 removed and 65 not upgraded. Need to get 8368kB of archives. After unpacking 2888kB of additional disk space will be used. Do you want to continue? [Y/n] Fetched 8368kB in 0s (61.6MB/s) Committing changes... Preparing... #################################################################################################### [100%] Updating / installing... 1: glibc-preinstall-6:2.24-alt1 #################################################################################################### [ 5%] 2: glibc-core-6:2.24-alt1 #################################################################################################### [ 10%] 3: glibc-pthread-6:2.24-alt1 #################################################################################################### [ 15%] 4: glibc-gconv-modules-6:2.24-alt1 #################################################################################################### [ 20%] 5: iconv-6:2.24-alt1 #################################################################################################### [ 25%] 6: glibc-timezones-6:2.24-alt1 #################################################################################################### [ 30%] useradd: user 'nscd' already exists 7: nscd-6:2.24-alt1 #################################################################################################### [ 35%] 8: glibc-locales-6:2.24-alt1 #################################################################################################### [ 40%] 9: glibc-utils-6:2.24-alt1 #################################################################################################### [ 45%] 10: glibc-nss-6:2.24-alt1 #################################################################################################### [ 50%] Cleaning up / removing... 11: glibc-nss-6:2.23-alt3 #################################################################################################### [ 55%] 12: glibc-utils-6:2.23-alt3 #################################################################################################### [ 60%] 13: glibc-locales-6:2.23-alt3 #################################################################################################### [ 65%] 14: nscd-6:2.23-alt3 #################################################################################################### [ 70%] 15: glibc-timezones-6:2.23-alt3 #################################################################################################### [ 75%] 16: iconv-6:2.23-alt3 #################################################################################################### [ 80%] 17: glibc-gconv-modules-6:2.23-alt3 #################################################################################################### [ 85%] 18: glibc-pthread-6:2.23-alt3 #################################################################################################### [ 90%] 19: glibc-core-6:2.23-alt3 #################################################################################################### [ 95%] 20: glibc-preinstall-6:2.23-alt3 #################################################################################################### [100%] Done. [root@h51 /]# rpmverify glibc-locales .M.....T. /usr/lib/locale/en_AG/LC_COLLATE .M.....T. /usr/lib/locale/en_AG/LC_CTYPE .M.....T. /usr/lib/locale/en_AG/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_AG/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_AG/LC_NAME .M.....T. /usr/lib/locale/en_AG/LC_NUMERIC .M.....T. /usr/lib/locale/en_AG/LC_PAPER .M.....T. /usr/lib/locale/en_AG/LC_TELEPHONE .M.....T. /usr/lib/locale/en_AU.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_AU.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_AU.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_AU.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_AU.utf8/LC_NAME .M.....T. /usr/lib/locale/en_AU.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_AU.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_AU/LC_COLLATE .M.....T. /usr/lib/locale/en_AU/LC_CTYPE .M.....T. /usr/lib/locale/en_AU/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_AU/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_AU/LC_NAME .M.....T. /usr/lib/locale/en_AU/LC_NUMERIC .M.....T. /usr/lib/locale/en_AU/LC_PAPER .M.....T. /usr/lib/locale/en_BW.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_BW.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_BW.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_BW.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_BW.utf8/LC_NAME .M.....T. /usr/lib/locale/en_BW.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_BW.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_BW/LC_COLLATE .M.....T. /usr/lib/locale/en_BW/LC_CTYPE .M.....T. /usr/lib/locale/en_BW/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_BW/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_BW/LC_NAME .M.....T. /usr/lib/locale/en_BW/LC_NUMERIC .M.....T. /usr/lib/locale/en_BW/LC_PAPER .M.....T. /usr/lib/locale/en_CA.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_CA.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_CA.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_CA.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_CA.utf8/LC_MONETARY .M.....T. /usr/lib/locale/en_CA.utf8/LC_NAME .M.....T. /usr/lib/locale/en_CA.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_CA.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_CA.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/en_CA/LC_COLLATE .M.....T. /usr/lib/locale/en_CA/LC_CTYPE .M.....T. /usr/lib/locale/en_CA/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_CA/LC_NAME .M.....T. /usr/lib/locale/en_CA/LC_NUMERIC .M.....T. /usr/lib/locale/en_CA/LC_PAPER .M.....T. /usr/lib/locale/en_CA/LC_TELEPHONE .M.....T. /usr/lib/locale/en_DK.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_DK.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_DK.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_DK.utf8/LC_NAME .M.....T. /usr/lib/locale/en_DK.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_DK.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_DK/LC_COLLATE .M.....T. /usr/lib/locale/en_DK/LC_CTYPE .M.....T. /usr/lib/locale/en_DK/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_DK/LC_NAME .M.....T. /usr/lib/locale/en_DK/LC_NUMERIC .M.....T. /usr/lib/locale/en_DK/LC_PAPER .M.....T. /usr/lib/locale/en_GB.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_GB.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_GB.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_GB.utf8/LC_MONETARY .M.....T. /usr/lib/locale/en_GB.utf8/LC_NAME .M.....T. /usr/lib/locale/en_GB.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_GB.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_GB.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/en_GB/LC_COLLATE .M.....T. /usr/lib/locale/en_GB/LC_CTYPE .M.....T. /usr/lib/locale/en_GB/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_GB/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_GB/LC_MONETARY .M.....T. /usr/lib/locale/en_GB/LC_NAME .M.....T. /usr/lib/locale/en_GB/LC_NUMERIC .M.....T. /usr/lib/locale/en_GB/LC_PAPER .M.....T. /usr/lib/locale/en_HK.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_HK.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_HK.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_HK.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_HK.utf8/LC_MONETARY .M.....T. /usr/lib/locale/en_HK.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_HK.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_HK/LC_COLLATE .M.....T. /usr/lib/locale/en_HK/LC_CTYPE .M.....T. /usr/lib/locale/en_HK/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_HK/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_HK/LC_NUMERIC .M.....T. /usr/lib/locale/en_HK/LC_PAPER .M.....T. /usr/lib/locale/en_IE.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_IE.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_IE.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_IE.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_IE.utf8/LC_MONETARY .M.....T. /usr/lib/locale/en_IE.utf8/LC_NAME .M.....T. /usr/lib/locale/en_IE.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_IE.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_IE.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/en_IE/LC_COLLATE .M.....T. /usr/lib/locale/en_IE/LC_CTYPE .M.....T. /usr/lib/locale/en_IE/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_IE/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_IE/LC_MONETARY .M.....T. /usr/lib/locale/en_IE/LC_NAME .M.....T. /usr/lib/locale/en_IE/LC_NUMERIC .M.....T. /usr/lib/locale/en_IE/LC_PAPER .M.....T. /usr/lib/locale/en_IE/LC_TELEPHONE .M.....T. /usr/lib/locale/en_IE@euro/LC_COLLATE .M.....T. /usr/lib/locale/en_IE@euro/LC_CTYPE .M.....T. /usr/lib/locale/en_IE@euro/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_IE@euro/LC_MONETARY .M.....T. /usr/lib/locale/en_IE@euro/LC_NAME .M.....T. /usr/lib/locale/en_IE@euro/LC_NUMERIC .M.....T. /usr/lib/locale/en_IE@euro/LC_PAPER .M.....T. /usr/lib/locale/en_IE@euro/LC_TELEPHONE .M.....T. /usr/lib/locale/en_IL/LC_COLLATE .M.....T. /usr/lib/locale/en_IL/LC_CTYPE .M.....T. /usr/lib/locale/en_IL/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_IL/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_IL/LC_MONETARY .M.....T. /usr/lib/locale/en_IL/LC_NAME .M.....T. /usr/lib/locale/en_IL/LC_NUMERIC .M.....T. /usr/lib/locale/en_IL/LC_PAPER .M.....T. /usr/lib/locale/en_IL/LC_TELEPHONE .M.....T. /usr/lib/locale/en_IN/LC_COLLATE .M.....T. /usr/lib/locale/en_IN/LC_CTYPE .M.....T. /usr/lib/locale/en_IN/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_IN/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_IN/LC_MONETARY .M.....T. /usr/lib/locale/en_IN/LC_NUMERIC .M.....T. /usr/lib/locale/en_IN/LC_PAPER .M.....T. /usr/lib/locale/en_IN/LC_TELEPHONE .M.....T. /usr/lib/locale/en_NG/LC_COLLATE .M.....T. /usr/lib/locale/en_NG/LC_CTYPE .M.....T. /usr/lib/locale/en_NG/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_NG/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_NG/LC_MONETARY .M.....T. /usr/lib/locale/en_NG/LC_NAME .M.....T. /usr/lib/locale/en_NG/LC_NUMERIC .M.....T. /usr/lib/locale/en_NG/LC_PAPER .M.....T. /usr/lib/locale/en_NG/LC_TELEPHONE .M.....T. /usr/lib/locale/en_NZ.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_NZ.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_NZ.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_NZ.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_NZ.utf8/LC_MONETARY .M.....T. /usr/lib/locale/en_NZ.utf8/LC_NAME .M.....T. /usr/lib/locale/en_NZ.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_NZ.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_NZ.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/en_NZ/LC_COLLATE .M.....T. /usr/lib/locale/en_NZ/LC_CTYPE .M.....T. /usr/lib/locale/en_NZ/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_NZ/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_NZ/LC_NAME .M.....T. /usr/lib/locale/en_NZ/LC_NUMERIC .M.....T. /usr/lib/locale/en_NZ/LC_PAPER .M.....T. /usr/lib/locale/en_PH.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_PH.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_PH.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_PH.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_PH.utf8/LC_NAME .M.....T. /usr/lib/locale/en_PH.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_PH.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_PH.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/en_PH/LC_COLLATE .M.....T. /usr/lib/locale/en_PH/LC_CTYPE .M.....T. /usr/lib/locale/en_PH/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_PH/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_PH/LC_NUMERIC .M.....T. /usr/lib/locale/en_PH/LC_PAPER .M.....T. /usr/lib/locale/en_PH/LC_TELEPHONE .M.....T. /usr/lib/locale/en_SG.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_SG.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_SG.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_SG.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_SG.utf8/LC_MONETARY .M.....T. /usr/lib/locale/en_SG.utf8/LC_NAME .M.....T. /usr/lib/locale/en_SG.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_SG.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_SG.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/en_SG/LC_COLLATE .M.....T. /usr/lib/locale/en_SG/LC_CTYPE .M.....T. /usr/lib/locale/en_SG/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_SG/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_SG/LC_NUMERIC .M.....T. /usr/lib/locale/en_SG/LC_PAPER .M.....T. /usr/lib/locale/en_US.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_US.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_US.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_US.utf8/LC_NAME .M.....T. /usr/lib/locale/en_US.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_US.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_US.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/en_US/LC_COLLATE .M.....T. /usr/lib/locale/en_US/LC_CTYPE .M.....T. /usr/lib/locale/en_US/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_US/LC_NAME .M.....T. /usr/lib/locale/en_US/LC_NUMERIC .M.....T. /usr/lib/locale/en_US/LC_PAPER .M.....T. /usr/lib/locale/en_ZA.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_ZA.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_ZA.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_ZA.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_ZA.utf8/LC_MONETARY .M.....T. /usr/lib/locale/en_ZA.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_ZA.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_ZA.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/en_ZA/LC_COLLATE .M.....T. /usr/lib/locale/en_ZA/LC_CTYPE .M.....T. /usr/lib/locale/en_ZA/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_ZA/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_ZA/LC_MONETARY .M.....T. /usr/lib/locale/en_ZA/LC_NUMERIC .M.....T. /usr/lib/locale/en_ZA/LC_PAPER .M.....T. /usr/lib/locale/en_ZA/LC_TELEPHONE .M.....T. /usr/lib/locale/en_ZM/LC_COLLATE .M.....T. /usr/lib/locale/en_ZM/LC_CTYPE .M.....T. /usr/lib/locale/en_ZM/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_ZM/LC_NAME .M.....T. /usr/lib/locale/en_ZM/LC_NUMERIC .M.....T. /usr/lib/locale/en_ZM/LC_PAPER .M.....T. /usr/lib/locale/en_ZW.utf8/LC_COLLATE .M.....T. /usr/lib/locale/en_ZW.utf8/LC_CTYPE .M.....T. /usr/lib/locale/en_ZW.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_ZW.utf8/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_ZW.utf8/LC_MONETARY .M.....T. /usr/lib/locale/en_ZW.utf8/LC_NAME .M.....T. /usr/lib/locale/en_ZW.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/en_ZW.utf8/LC_PAPER .M.....T. /usr/lib/locale/en_ZW/LC_COLLATE .M.....T. /usr/lib/locale/en_ZW/LC_CTYPE .M.....T. /usr/lib/locale/en_ZW/LC_MEASUREMENT .M.....T. /usr/lib/locale/en_ZW/LC_MESSAGES/SYS_LC_MESSAGES .M.....T. /usr/lib/locale/en_ZW/LC_MONETARY .M.....T. /usr/lib/locale/en_ZW/LC_NAME .M.....T. /usr/lib/locale/en_ZW/LC_NUMERIC .M.....T. /usr/lib/locale/en_ZW/LC_PAPER .M.....T. /usr/lib/locale/ru_RU.cp1251/LC_MEASUREMENT .M.....T. /usr/lib/locale/ru_RU.cp1251/LC_NUMERIC .M.....T. /usr/lib/locale/ru_RU.cp1251/LC_PAPER .M.....T. /usr/lib/locale/ru_RU.utf8/LC_CTYPE .M.....T. /usr/lib/locale/ru_RU.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/ru_RU.utf8/LC_NAME .M.....T. /usr/lib/locale/ru_RU.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/ru_RU.utf8/LC_PAPER .M.....T. /usr/lib/locale/ru_RU.utf8/LC_TELEPHONE .M.....T. /usr/lib/locale/ru_UA.cp1251/LC_MEASUREMENT .M.....T. /usr/lib/locale/ru_UA.cp1251/LC_PAPER .M.....T. /usr/lib/locale/ru_UA.koi8u/LC_MEASUREMENT .M.....T. /usr/lib/locale/ru_UA.koi8u/LC_PAPER .M.....T. /usr/lib/locale/ru_UA.utf8/LC_CTYPE .M.....T. /usr/lib/locale/ru_UA.utf8/LC_MEASUREMENT .M.....T. /usr/lib/locale/ru_UA.utf8/LC_NAME .M.....T. /usr/lib/locale/ru_UA.utf8/LC_NUMERIC .M.....T. /usr/lib/locale/ru_UA.utf8/LC_PAPER
и это уже на 4 машине такое, не важно ovz, kvm, HW - на всех одно и тоже приходится руками менять права на /usr/lib/locale/ru_*/* потому что после обновления там стоят ls -l total 1568 -rw-r--r-- 1 root root 151 Dec 27 14:49 LC_ADDRESS -rw-r--r-- 2 root root 1243770 Dec 27 14:44 LC_COLLATE --w------- 20 root root 317872 Jan 13 17:26 LC_CTYPE -rw-r--r-- 1 root root 341 Dec 27 14:49 LC_IDENTIFICATION --w------- 19 root root 23 Jan 13 17:26 LC_MEASUREMENT drwxr-xr-x 2 root root 4096 Jan 13 17:26 LC_MESSAGES -rw-r--r-- 1 root root 294 Dec 27 14:44 LC_MONETARY --w------- 10 root root 62 Jan 13 17:26 LC_NAME --w------- 1 root root 54 Jan 13 17:26 LC_NUMERIC --w------- 17 root root 34 Jan 13 17:26 LC_PAPER --w------- 1 root root 52 Jan 13 17:26 LC_TELEPHONE -rw-r--r-- 1 root root 2498 Dec 27 14:49 LC_TIME
А что за система была установлена и в какой конфигурации ?
(В ответ на комментарий №6) > А что за система была установлена и в какой конфигурации ? sisyphus ALT Linux 1.9.1 Server Light beta (confutuere et ratio) но это не важно дома Kdesktop тоже самое
Ну вот у меня на Sisyphus server-light такого нет, как и на kdesktop. # rpm -V glibc-locales не ругается. Смотрите ядро, файловую систему.
uname -a и cat /proc/mounts покажите.
(В ответ на комментарий №8) > Ну вот у меня на Sisyphus server-light такого нет, как и на kdesktop. > # rpm -V glibc-locales не ругается. > Смотрите ядро, файловую систему. на всех X-надцать серверах и заодно и дома ? ядра тоже разные 4.4.39-std-def-alt1.1, 4.4.19-std-def-alt1, 4.4.38-std-def-alt1, 2.6.32-ovz-el-alt140
Так какая файловая система используется ? Таких проблем нет на данный момент ни у кого, но это конечно не показатель. Давайте искать, в чём вы отличаетесь от остальных.
(В ответ на комментарий №9) > uname -a > и cat /proc/mounts покажите. * 2.6.32-ovz-el-alt140 cat /proc/mounts /dev/ploop15139p1 / ext4 rw,relatime,barrier=1,data=ordered,balloon_ino=12 0 0 proc /proc proc rw,nosuid,noexec,relatime,gid=19 0 0 sysfs /sys sysfs rw,relatime 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /tmp tmpfs rw,nosuid,relatime 0 0 * 4.4.38-std-def-alt1 #1 SMP Sun Dec 11 09:33:12 UTC 2016 x86_64 GNU/Linux cat /proc/mounts udevfs /dev devtmpfs rw,relatime,size=5120k,nr_inodes=505657,mode=755 0 0 runfs /run tmpfs rw,nosuid,relatime,mode=755 0 0 /dev/vdb / ext4 rw,relatime,data=ordered 0 0 sysfs /sys sysfs rw,relatime 0 0 proc /proc proc rw,relatime 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 shmfs /dev/shm tmpfs rw,relatime 0 0 tmpfs /tmp tmpfs rw,nosuid,relatime 0 0 /dev/vdc /var ext4 rw,nosuid,relatime,data=ordered 0 0
(В ответ на комментарий №11) > Так какая файловая система используется ? Таких проблем нет на данный момент ни > у кого, но это конечно не показатель. Давайте искать, в чём вы отличаетесь от > остальных. везде ext4 никаких из... Все так часто обновляться, вроде glibc не так давно обновился rpm -q --changelog glibc-locales * Tue Dec 27 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 6:2.24-alt1 - Updated to 2.24 branch with backports from master and fedora.
На моих конфигурациях везде уже давно этот glibc-locales. $ rpm -q glibc-locales glibc-locales-2.24-alt1.x86_64
(В ответ на комментарий №14) > На моих конфигурациях везде уже давно этот glibc-locales. > $ rpm -q glibc-locales > glibc-locales-2.24-alt1.x86_64 подумал может в локальном зеркале пакеты побились но: rpm -K glibc-* glibc-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-core-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-debug-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-devel-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-devel-static-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-gconv-modules-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-kernheaders-4.9-alt1.x86_64.rpm: md5 gpg OK glibc-locales-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-nss-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-preinstall-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-pthread-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-timezones-2.24-alt1.x86_64.rpm: md5 gpg OK glibc-utils-2.24-alt1.x86_64.rpm: md5 gpg OK
У меня такое было. Полечилось: # echo "%_install_langs all" > /etc/rpm/macros # apt-get install --reinstall glibc-locales первое нужно было из-за того что при установке пакетов rpm ругался на локали.
Как объезд поменяйте %_install_langs на all -- так точно работает.
(В ответ на комментарий №17) > Как объезд поменяйте %_install_langs на all -- так точно работает. вот это очень даже может быть т.к. cat /etc/rpm/macros %_install_langs en:ru и это везде где взорвалось
(В ответ на комментарий №16) > У меня такое было. Полечилось: > # echo "%_install_langs all" > /etc/rpm/macros > # apt-get install --reinstall glibc-locales > > первое нужно было из-за того что при установке пакетов rpm ругался на локали. Да помогло.
Я такое поймал в начале января, правда, грешил на локальные проблемы. Файловая система - ext4, в /etc/rpm/macros - %_install_langs en_US:ru_RU:pt_BR:uk_UA:es_ES:tt_RU:kk_KZ Решил удалением glibc-locales и последующей его же установкой.
Проблему я нашёл. rpm плохо обрабатывает ситуацию, когда в пакете есть hardlink-и и какие-то файлы не устанавливаются. В этой ситуации код считает, что права будут выставлены на другой итерации этого же кода, но этого не происходит.
... Чем хороши последние частые обновления glibc, так тем, долго вспоминать ничего не надо. Т.е., на текущих rpm 4.13.0.1-alt1 и последних обновлениях glibc-locales оно ещё актуально. Два последних обновления glibc-locales - оба раза проблемы с правами. Лечилось оба раза через find /usr/share/locale/ -type d -print0 |xargs -0 chmod 0755 find /usr/share/locale/ -type f -print0 |xargs -0 chmod 0644
*** Bug 34930 has been marked as a duplicate of this bug. ***
Я не очень понимаю, у нас настолько особенный rpm или никто в мире не пользуется %_install_langs ?
Сегодня наткнулся на это, пытаясь собрать минимальный образ для mipsel. Совсем интересно это воспроизводится в hasher'е: Удалим всё из ~/hasher чтобы кеш не мешал: $ hsh-rmchroot && rm -rf ~/hasher/* Попробуем что-нибудь сделать с --install-lang: $ hsh --install-langs="C" --initroot [...] hsh-initroot: First time initialization complete. hsh-initroot: RPM database archivation complete. cpio: usr/lib/locale/C.utf8/LC_CTYPE: Cannot open: Permission denied cpio: usr/lib/locale/C.utf8/LC_MEASUREMENT: Cannot open: Permission denied cpio: usr/lib/locale/C.utf8/LC_NAME: Cannot open: Permission denied cpio: usr/lib/locale/C.utf8/LC_NUMERIC: Cannot open: Permission denied cpio: usr/lib/locale/C.utf8/LC_PAPER: Cannot open: Permission denied hsh-initroot: Chroot archivation failed.
Обновлению с p8 тем, у кого выставлен %_install_langs en:ru, это тоже наверное помешает.
Предлагаю вот такое изменение: http://git.altlinux.org/people/iv/packages/rpm.git?p=rpm.git;a=commitdiff;h=5f0f0237d0676e088262ef2e466192658f9bf332 Пока проверил хешером на x86_64: * hsh --install-langs="C" --initroot * hsh --install-langs="en:ru" --initroot Обе эти команды отработали нормально (на сизифном RPM они, напомню, падают при попытке заархивировать chroot для кеша), права на файлы внутри /usr/lib/locale правильные. Могу сделать test-only task. Глеб, что скажешь?
(In reply to comment #27) > Предлагаю вот такое изменение: > > http://git.altlinux.org/people/iv/packages/rpm.git?p=rpm.git;a=commitdiff;h=5f0f0237d0676e088262ef2e466192658f9bf332 Reviewed-by: Dmitry V. Levin <ldv@altlinux.org>
rpm-4.13.0.1-alt8 -> sisyphus: Tue Jun 11 2019 Ivan A. Melnikov <iv@altlinux> 4.13.0.1-alt8 - Fix crash in syslog plugin (closes: #35722). - Fix setting permissions for hardlinked files even if some of the files are skipped (closes: #32997).