summaryrefslogtreecommitdiffstats
path: root/po/ru.po
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2001-12-10 15:28:35 +0000
committerPablo Saratxaga <pablo@mandriva.com>2001-12-10 15:28:35 +0000
commit36e4848b84d7db70404433cc1483133b755f5334 (patch)
tree8257c8c812a42ba13d8e7a0d0f6e7664c0d7eb65 /po/ru.po
parent3147af6d8ff5173fa0dd9c24868a421bb8a43af8 (diff)
downloadurpmi-36e4848b84d7db70404433cc1483133b755f5334.tar
urpmi-36e4848b84d7db70404433cc1483133b755f5334.tar.gz
urpmi-36e4848b84d7db70404433cc1483133b755f5334.tar.bz2
urpmi-36e4848b84d7db70404433cc1483133b755f5334.tar.xz
urpmi-36e4848b84d7db70404433cc1483133b755f5334.zip
corrected some English typos
Diffstat (limited to 'po/ru.po')
-rw-r--r--po/ru.po458
1 files changed, 217 insertions, 241 deletions
diff --git a/po/ru.po b/po/ru.po
index a9bd13b3..7db88a62 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: urpmi 1.7\n"
-"POT-Creation-Date: 2001-12-03 17:32+0100\n"
+"POT-Creation-Date: 2001-12-10 16:21+0100\n"
"PO-Revision-Date: 2000-08-01 16:24+0200\n"
"Last-Translator: Aleksey Smirnov <smi@logic.ru>\n"
"Language-Team: Russian\n"
@@ -27,27 +27,27 @@ msgstr ""
"Автоматическая установка пакетов...\n"
"Вы запросили установку пакета $rpm\n"
-#: _irpm:31 po/placeholder.h:169 urpmi:248
+#: _irpm:31 po/placeholder.h:157 urpmi:235
msgid "Is it OK?"
msgstr "Это правильно?"
-#: _irpm:33 po/placeholder.h:159 urpmi:251 urpmi:279
+#: _irpm:33 po/placeholder.h:147 urpmi:238 urpmi:266
msgid "Ok"
msgstr "Ok"
-#: _irpm:34 po/placeholder.h:125 urpmi:252 urpmi:280
+#: _irpm:34 po/placeholder.h:113 urpmi:239 urpmi:267
msgid "Cancel"
msgstr "Отменить"
-#: _irpm:40 po/placeholder.h:136 urpmi:256 urpmi:318 urpmi:342
+#: _irpm:40 po/placeholder.h:124 urpmi:243 urpmi:305 urpmi:329
msgid "Nn"
msgstr "НнnN"
-#: _irpm:41 po/placeholder.h:139 urpmi:257 urpmi:319 urpmi:343
+#: _irpm:41 po/placeholder.h:127 urpmi:244 urpmi:306 urpmi:330
msgid "Yy"
msgstr "ДдYy"
-#: _irpm:42 po/placeholder.h:163 urpmi:258
+#: _irpm:42 po/placeholder.h:151 urpmi:245
msgid " (Y/n) "
msgstr " (Д/н) "
@@ -118,7 +118,7 @@ msgid " --description - print tag description: description."
msgstr ""
#: po/placeholder.h:20
-msgid " --provides - print tag provides: all provides (mutliple lines)."
+msgid " --provides - print tag provides: all provides (multiple lines)."
msgstr ""
#: po/placeholder.h:21
@@ -148,8 +148,8 @@ msgid "try urpmf --help for more options"
msgstr ""
#: po/placeholder.h:28
-msgid "urpmi is not installed"
-msgstr "urpmi не установлен"
+msgid "no full media list was found"
+msgstr ""
#: po/placeholder.h:29
#, fuzzy, c-format
@@ -165,11 +165,11 @@ msgstr ""
msgid "unable to write config file [%s]"
msgstr ""
-#: po/placeholder.h:32 urpm.pm:1719
+#: po/placeholder.h:32 urpm.pm:1553
msgid "retrieving rpms files..."
msgstr ""
-#: po/placeholder.h:33 urpm.pm:283
+#: po/placeholder.h:33 urpm.pm:275
#, c-format
msgid "using different removable device [%s] for \"%s\""
msgstr ""
@@ -179,7 +179,7 @@ msgstr ""
msgid "nothing to write in list file for \"%s\""
msgstr ""
-#: po/placeholder.h:35 urpm.pm:239
+#: po/placeholder.h:35 urpm.pm:231
#, c-format
msgid "unable to find list file for \"%s\", medium ignored"
msgstr ""
@@ -194,456 +194,396 @@ msgstr "не удается обновить источник данных \"%s\"\n"
msgid "nothing written in list file for \"%s\""
msgstr ""
-#: po/placeholder.h:38 urpm.pm:869
-#, c-format
-msgid "read provides file [%s]"
-msgstr ""
-
-#: po/placeholder.h:39 urpm.pm:1595
+#: po/placeholder.h:38 urpm.pm:1429
#, c-format
msgid "package %s is not found."
msgstr ""
-#: po/placeholder.h:40 urpm.pm:900
-#, fuzzy, c-format
-msgid "unable to write compss file [%s]"
-msgstr "не удается создать источник данных \"%s\"\n"
-
-#: po/placeholder.h:41 urpm.pm:843
+#: po/placeholder.h:39 urpm.pm:852
#, c-format
msgid "unmounting %s"
msgstr ""
-#: po/placeholder.h:42
+#: po/placeholder.h:40
#, c-format
msgid "removing %d obsolete headers in cache"
msgstr ""
-#: po/placeholder.h:43 urpm.pm:949 urpm.pm:1537
+#: po/placeholder.h:41
#, c-format
msgid "no hdlist file found for medium \"%s\""
msgstr ""
-#: po/placeholder.h:44 urpm.pm:166
+#: po/placeholder.h:42 urpm.pm:160
#, c-format
msgid "medium \"%s\" tries to use an already used hdlist, medium ignored"
msgstr ""
-#: po/placeholder.h:45 urpm.pm:190
+#: po/placeholder.h:43 urpm.pm:184
#, c-format
msgid "unable to use name \"%s\" for unnamed medium because it is already used"
msgstr ""
-#: po/placeholder.h:46 urpm.pm:197
+#: po/placeholder.h:44 urpm.pm:191
#, c-format
msgid "unable to take medium \"%s\" into account as no list file [%s] exists"
msgstr ""
-#: po/placeholder.h:47
+#: po/placeholder.h:45
msgid "keeping only files referenced in provides"
msgstr ""
-#: po/placeholder.h:48
+#: po/placeholder.h:46
#, fuzzy, c-format
msgid "unable to build synthesis file for medium \"%s\""
msgstr "не удается обновить источник данных \"%s\"\n"
-#: po/placeholder.h:49
+#: po/placeholder.h:47
#, c-format
msgid "found %d headers in cache"
msgstr ""
-#: po/placeholder.h:50 urpm.pm:866
-#, fuzzy, c-format
-msgid "unable to read provides file [%s]"
-msgstr "не удается создать источник данных \"%s\"\n"
-
-#: po/placeholder.h:51 urpm.pm:1945
+#: po/placeholder.h:48 urpm.pm:1771
#, c-format
msgid "avoid selecting %s as its locales language is not already selected"
msgstr ""
-#: po/placeholder.h:52
+#: po/placeholder.h:49
#, c-format
msgid ""
"removing %s to upgrade to %s ...\n"
" since it will not be updated otherwise"
msgstr ""
-#: po/placeholder.h:56
+#: po/placeholder.h:53
#, c-format
msgid "medium \"%s\" already exists"
msgstr ""
-#: po/placeholder.h:57
+#: po/placeholder.h:54
#, fuzzy, c-format
msgid "unable to write list file of \"%s\""
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:58
+#: po/placeholder.h:55
#, c-format
msgid "write config file [%s]"
msgstr ""
-#: po/placeholder.h:59 urpm.pm:1133
+#: po/placeholder.h:56 urpm.pm:1021
#, fuzzy, c-format
msgid "no package named %s"
msgstr "пакеты не названы %s\n"
-#: po/placeholder.h:60 urpm.pm:878
-#, fuzzy, c-format
-msgid "unable to read compss file [%s]"
-msgstr "не удается создать источник данных \"%s\"\n"
-
-#: po/placeholder.h:61 urpm.pm:234
+#: po/placeholder.h:57 urpm.pm:226
#, c-format
msgid "unable to find hdlist file for \"%s\", medium ignored"
msgstr ""
-#: po/placeholder.h:62
+#: po/placeholder.h:58
#, c-format
msgid "built hdlist synthesis file for medium \"%s\""
msgstr ""
-#: po/placeholder.h:63
-msgid "computing dependencies"
-msgstr ""
-
-#: po/placeholder.h:64
+#: po/placeholder.h:59
#, c-format
msgid "retrieve of [%s] failed"
msgstr ""
-#: po/placeholder.h:65 urpm.pm:898
-#, c-format
-msgid "write provides file [%s]"
-msgstr ""
-
-#: po/placeholder.h:66 urpm.pm:833
+#: po/placeholder.h:60 urpm.pm:842
#, fuzzy, c-format
msgid "mounting %s"
msgstr "установка %s\n"
-#: po/placeholder.h:67 urpm.pm:184
+#: po/placeholder.h:61 urpm.pm:178
#, c-format
msgid ""
"unable to take care of medium \"%s\" as list file is already used by another "
"medium"
msgstr ""
-#: po/placeholder.h:68
+#: po/placeholder.h:62
#, c-format
msgid "reading hdlist file [%s]"
msgstr ""
-#: po/placeholder.h:69 urpm.pm:103
+#: po/placeholder.h:63 urpm.pm:97
#, c-format
msgid "wget failed: exited with %d or signal %d\n"
msgstr ""
-#: po/placeholder.h:70 urpm.pm:903
-#, c-format
-msgid "write compss file [%s]"
-msgstr ""
-
-#: po/placeholder.h:71 urpm.pm:857
-#, c-format
-msgid "read depslist file [%s]"
-msgstr ""
-
-#: po/placeholder.h:72 urpm.pm:287 urpm.pm:290
+#: po/placeholder.h:64 urpm.pm:279 urpm.pm:282
#, fuzzy, c-format
msgid "unable to retrieve pathname for removable medium \"%s\""
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:73 urpm.pm:1714
+#: po/placeholder.h:65 urpm.pm:1548
#, c-format
msgid "malformed input: [%s]"
msgstr ""
-#: po/placeholder.h:74 urpm.pm:1548 urpm.pm:1574
+#: po/placeholder.h:66 urpm.pm:1382 urpm.pm:1408
#, c-format
msgid "there are multiple packages with the same rpm filename \"%s\""
msgstr ""
-#: po/placeholder.h:75 urpm.pm:169
+#: po/placeholder.h:67 urpm.pm:163
#, c-format
msgid "medium \"%s\" tries to use an already used list, medium ignored"
msgstr ""
-#: po/placeholder.h:76 urpm.pm:895
-#, fuzzy, c-format
-msgid "unable to write provides file [%s]"
-msgstr "не удается создать источник данных \"%s\"\n"
-
-#: po/placeholder.h:77 urpm.pm:212
+#: po/placeholder.h:68 urpm.pm:204
#, c-format
msgid "unable to access hdlist file of \"%s\", medium ignored"
msgstr ""
-#: po/placeholder.h:78 urpm.pm:1245
-#, fuzzy
-msgid "unable to find all synthesis file, using parsehdlist server"
-msgstr "не удается обновить источник данных \"%s\"\n"
-
-#: po/placeholder.h:79 urpm.pm:1035
+#: po/placeholder.h:69 urpm.pm:931
#, fuzzy
msgid "unable to register rpm file"
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:80 urpm.pm:262
+#: po/placeholder.h:70 urpm.pm:254
#, c-format
msgid "unable to inspect list file for \"%s\", medium ignored"
msgstr ""
-#: po/placeholder.h:81 urpm.pm:278
+#: po/placeholder.h:71 urpm.pm:270
#, c-format
msgid "too many mount points for removable medium \"%s\""
msgstr ""
-#: po/placeholder.h:82 urpm.pm:254
+#: po/placeholder.h:72 urpm.pm:246
#, c-format
msgid "incoherent list file for \"%s\", medium ignored"
msgstr ""
-#: po/placeholder.h:83
+#: po/placeholder.h:73
#, c-format
msgid "copy of [%s] failed"
msgstr ""
-#: po/placeholder.h:84
+#: po/placeholder.h:74
#, fuzzy, c-format
msgid "trying to remove inexistent medium \"%s\""
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:85
+#: po/placeholder.h:75
msgid "retrieving description file..."
msgstr ""
-#: po/placeholder.h:86 urpm.pm:937 urpm.pm:1221 urpm.pm:1519 urpm.pm:1526
+#: po/placeholder.h:76 urpm.pm:1137
#, fuzzy, c-format
msgid "unable to parse correctly [%s]"
msgstr "не удается обновить источник данных \"%s\"\n"
-#: po/placeholder.h:87 urpm.pm:1222
+#: po/placeholder.h:77 urpm.pm:1130 urpm.pm:1136
#, fuzzy, c-format
-msgid "read synthesis file [%s]"
-msgstr "не удается создать источник данных \"%s\"\n"
+msgid "unable to analyse synthesis data of %s"
+msgstr "не удается обновить источник данных \"%s\"\n"
-#: po/placeholder.h:88 urpm.pm:854
+#: po/placeholder.h:78 urpm.pm:1138
#, fuzzy, c-format
-msgid "unable to read depslist file [%s]"
+msgid "read synthesis file [%s]"
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:89 urpm.pm:881
-#, c-format
-msgid "read compss file [%s]"
-msgstr ""
-
-#: po/placeholder.h:90 urpm.pm:98
+#: po/placeholder.h:79 urpm.pm:92
msgid "no webfetch (curl or wget for example) found\n"
msgstr ""
-#: po/placeholder.h:91 urpm.pm:145 urpm.pm:157
+#: po/placeholder.h:80 urpm.pm:139 urpm.pm:151
#, c-format
msgid "syntax error in config file at line %s"
msgstr ""
-#: po/placeholder.h:92
+#: po/placeholder.h:81
#, c-format
msgid "building hdlist [%s]"
msgstr ""
-#: po/placeholder.h:93 urpm.pm:1649
+#: po/placeholder.h:82 urpm.pm:1483
#, fuzzy, c-format
msgid "unable to read rpm file [%s] from medium \"%s\""
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:94 urpm.pm:1039
+#: po/placeholder.h:83 urpm.pm:935
msgid "error registering local packages"
msgstr ""
-#: po/placeholder.h:95 urpm.pm:279
+#: po/placeholder.h:84 urpm.pm:271
#, c-format
msgid "taking removable device as \"%s\""
msgstr ""
-#: po/placeholder.h:96 urpm.pm:1726
+#: po/placeholder.h:85 urpm.pm:1560
#, c-format
msgid "...retrieving failed: %s"
msgstr ""
-#: po/placeholder.h:97 urpm.pm:1665
+#: po/placeholder.h:86 urpm.pm:1499
#, c-format
msgid "incoherent medium \"%s\" marked removable but not really"
msgstr ""
-#: po/placeholder.h:98
+#: po/placeholder.h:87
#, fuzzy, c-format
msgid "unable to build hdlist: %s"
msgstr "не удается обновить источник данных \"%s\"\n"
-#: po/placeholder.h:99 urpm.pm:1639 urpm.pm:1642 urpm.pm:1661
+#: po/placeholder.h:88 urpm.pm:1473 urpm.pm:1476 urpm.pm:1495
#, c-format
msgid "medium \"%s\" is not selected"
msgstr ""
-#: po/placeholder.h:100 urpm.pm:1030
+#: po/placeholder.h:89 urpm.pm:926
#, c-format
msgid "invalid rpm file name [%s]"
msgstr ""
-#: po/placeholder.h:101 urpm.pm:1205
-#, c-format
-msgid "unknown data associated with %s"
-msgstr ""
-
-#: po/placeholder.h:102 urpm.pm:228
+#: po/placeholder.h:90 urpm.pm:220
#, c-format
msgid "trying to bypass existing medium \"%s\", avoiding"
msgstr ""
-#: po/placeholder.h:103 urpm.pm:893
+#: po/placeholder.h:91 urpm.pm:1117
#, c-format
-msgid "write depslist file [%s]"
+msgid "unknown data associated with %s"
msgstr ""
-#: po/placeholder.h:104 urpm.pm:214
+#: po/placeholder.h:92 urpm.pm:206
#, c-format
msgid "unable to access list file of \"%s\", medium ignored"
msgstr ""
-#: po/placeholder.h:105 urpm.pm:1933
+#: po/placeholder.h:93 urpm.pm:1759
#, c-format
msgid "avoid selecting %s as not enough files will be updated"
msgstr ""
-#: po/placeholder.h:106 urpm.pm:1031
+#: po/placeholder.h:94 urpm.pm:927
#, fuzzy, c-format
msgid "unable to access rpm file [%s]"
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:107 urpm.pm:890
-#, fuzzy, c-format
-msgid "unable to write depslist file [%s]"
-msgstr "не удается создать источник данных \"%s\"\n"
-
-#: po/placeholder.h:108
+#: po/placeholder.h:95
#, c-format
msgid ""
"removing %s to upgrade to %s ...\n"
" since it will not upgrade correctly!"
msgstr ""
-#: po/placeholder.h:112 urpm.pm:1018
-#, c-format
-msgid "relocated %s entries in depslist"
-msgstr ""
-
-#: po/placeholder.h:113 urpm.pm:1676
+#: po/placeholder.h:99 urpm.pm:1510
#, fuzzy, c-format
msgid "unable to access medium \"%s\""
msgstr "не удается обновить источник данных \"%s\"\n"
-#: po/placeholder.h:114 urpm.pm:944 urpm.pm:1532 urpm.pm:1583
+#: po/placeholder.h:100 urpm.pm:913
#, c-format
-msgid "unable to parse correctly [%s] on value \"%s\""
+msgid "relocated %s entries in depslist"
msgstr ""
-#: po/placeholder.h:115
+#: po/placeholder.h:101
#, fuzzy, c-format
msgid "trying to select inexistent medium \"%s\""
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:116 urpm.pm:1136
+#: po/placeholder.h:102 urpm.pm:1417
+#, c-format
+msgid "unable to parse correctly [%s] on value \"%s\""
+msgstr ""
+
+#: po/placeholder.h:103
+#, c-format
+msgid "no rpm files found from [%s]"
+msgstr ""
+
+#: po/placeholder.h:104 urpm.pm:1024
#, fuzzy, c-format
msgid "The following packages contain %s: %s"
msgstr "Эти пакеты содержат %s: %s\n"
-#: po/placeholder.h:117
-#, c-format
-msgid "no rpm files found from [%s]"
+#: po/placeholder.h:105 urpm.pm:914
+msgid "no entries relocated in depslist"
msgstr ""
-#: po/placeholder.h:118 urpm.pm:1724
+#: po/placeholder.h:106 urpm.pm:1558
msgid "...retrieving done"
msgstr ""
-#: po/placeholder.h:119 urpm.pm:1826
+#: po/placeholder.h:107 urpm.pm:1652
#, c-format
msgid "selecting %s using obsoletes"
msgstr ""
-#: po/placeholder.h:120 urpm.pm:109
+#: po/placeholder.h:108 urpm.pm:103
#, c-format
msgid "curl failed: exited with %d or signal %d\n"
msgstr ""
-#: po/placeholder.h:121 urpm.pm:1942
+#: po/placeholder.h:109 urpm.pm:1768
#, c-format
msgid "selecting %s by selection on files"
msgstr ""
-#: po/placeholder.h:122 urpm.pm:106
+#: po/placeholder.h:110 urpm.pm:100
msgid "curl is missing\n"
msgstr ""
-#: po/placeholder.h:123 urpm.pm:101
+#: po/placeholder.h:111 urpm.pm:95
msgid "wget is missing\n"
msgstr ""
-#: po/placeholder.h:124 urpm.pm:201
+#: po/placeholder.h:112 urpm.pm:195
#, c-format
msgid "unable to determine medium of this hdlist file [%s]"
msgstr ""
-#: po/placeholder.h:126
+#: po/placeholder.h:114
msgid " --help - print this help message.\n"
msgstr ""
-#: po/placeholder.h:127 urpmi:361
+#: po/placeholder.h:115 urpmi:348
msgid "everything already installed"
msgstr "все уже установлено"
-#: po/placeholder.h:128 urpmi:98
+#: po/placeholder.h:116 urpmi:98
#, fuzzy, c-format
msgid "urpmi: unknown option \"-%s\", check usage with --help\n"
msgstr ""
"urpmq: неизместный параметр \"-$1\", проверьте использование , с параметром "
"--help\n"
-#: po/placeholder.h:129 urpmi:194
+#: po/placeholder.h:117 urpmi:184
msgid "One of the following packages is needed:"
msgstr "Нужен один из следующих пакетов:"
-#: po/placeholder.h:130 po/placeholder.h:237
+#: po/placeholder.h:118 po/placeholder.h:233
msgid " --update - use only update media.\n"
msgstr ""
-#: po/placeholder.h:131 urpmi:299
+#: po/placeholder.h:119 urpmi:286
msgid ""
"Installation failed, some files are missing.\n"
"You may want to update your urpmi database"
msgstr ""
-#: po/placeholder.h:135
+#: po/placeholder.h:123
msgid " --auto - automatically select a good package in choices.\n"
msgstr ""
-#: po/placeholder.h:137 urpmi:307 urpmi:314 urpmi:327 urpmi:338 urpmi:351
+#: po/placeholder.h:125 urpmi:294 urpmi:301 urpmi:314 urpmi:325 urpmi:338
msgid "Installation failed"
msgstr "Установка не прошла"
-#: po/placeholder.h:138 po/placeholder.h:249
+#: po/placeholder.h:126 po/placeholder.h:222
msgid ""
" --auto-select - automatically select packages for upgrading the system.\n"
msgstr ""
-#: po/placeholder.h:140
+#: po/placeholder.h:128
msgid " --X - use X interface.\n"
msgstr ""
-#: po/placeholder.h:141 urpmi:247
+#: po/placeholder.h:129 urpmi:234
#, c-format
msgid ""
"To satisfy dependencies, the following packages are going to be installed (%"
@@ -651,38 +591,38 @@ msgid ""
msgstr ""
"Для удовлетворения зависимостей будут установлены следующие пакеты (%d MB)"
-#: po/placeholder.h:142 urpmi:320 urpmi:344
+#: po/placeholder.h:130 urpmi:307 urpmi:331
msgid "Try installation without checking dependencies? (y/N) "
msgstr "Попробовать установить без проверки зависимостей? (д/Н) "
-#: po/placeholder.h:143
+#: po/placeholder.h:131
msgid ""
" --best-output - choose best interface according to the environment:\n"
" X or text mode.\n"
msgstr ""
-#: po/placeholder.h:147 po/placeholder.h:256
+#: po/placeholder.h:135 po/placeholder.h:237
msgid " -p - allow search in provides to find package.\n"
msgstr ""
-#: po/placeholder.h:148 po/placeholder.h:257
+#: po/placeholder.h:136 po/placeholder.h:236
msgid " -v - verbose mode.\n"
msgstr ""
-#: po/placeholder.h:149
+#: po/placeholder.h:137
msgid " -q - quiet mode.\n"
msgstr ""
-#: po/placeholder.h:150 urpmi:202
+#: po/placeholder.h:138 urpmi:192
#, c-format
msgid "What is your choice? (1-%d) "
msgstr "Что вы выберете? (1-%d) "
-#: po/placeholder.h:151 po/placeholder.h:197 po/placeholder.h:217
+#: po/placeholder.h:139 po/placeholder.h:185 po/placeholder.h:205
msgid " --wget - use wget to retrieve distant files.\n"
msgstr ""
-#: po/placeholder.h:152
+#: po/placeholder.h:140
#, c-format
msgid ""
"urpmi version %s\n"
@@ -692,69 +632,69 @@ msgid ""
"usage:\n"
msgstr ""
-#: po/placeholder.h:158 urpmi:328 urpmi:352
+#: po/placeholder.h:146 urpmi:315 urpmi:339
msgid "Try installation even more strongly (--force)? (y/N) "
msgstr "Попробовать установить еще более настойчиво (--force)? (д/Н) "
-#: po/placeholder.h:160 po/placeholder.h:250
+#: po/placeholder.h:148 po/placeholder.h:221
msgid ""
" --force - force invocation even if some packages do not exist.\n"
msgstr ""
-#: po/placeholder.h:161 urpmi:205
+#: po/placeholder.h:149 urpmi:195
msgid "Sorry, bad choice, try again\n"
msgstr "Извините, это плохой выбор, попробуйте еще\n"
-#: po/placeholder.h:162
+#: po/placeholder.h:150
msgid ""
" names or rpm files (only for root) given on command line are installed.\n"
msgstr ""
-#: po/placeholder.h:164
+#: po/placeholder.h:152
msgid " -a - select all matches on command line.\n"
msgstr ""
-#: po/placeholder.h:165 po/placeholder.h:190 po/placeholder.h:210
+#: po/placeholder.h:153 po/placeholder.h:178 po/placeholder.h:198
msgid " --curl - use curl to retrieve distant files.\n"
msgstr ""
-#: po/placeholder.h:166 urpmi:294
+#: po/placeholder.h:154 urpmi:281
#, c-format
msgid "installing %s\n"
msgstr "установка %s\n"
-#: po/placeholder.h:167 urpmi:152
+#: po/placeholder.h:155 urpmi:152
msgid "Only superuser is allowed to install local packages"
msgstr ""
"Только суперпользователю (администратору) разрешается устанавливать "
"локальные пакеты"
-#: po/placeholder.h:168 urpmi:276
+#: po/placeholder.h:156 urpmi:263
#, c-format
msgid "Please insert the medium named \"%s\" on device [%s]"
msgstr "Вставьте источник данных с именем \"%s\" в устройство [%s]"
-#: po/placeholder.h:170 po/placeholder.h:258 urpmi:266 urpmq:149
+#: po/placeholder.h:158 po/placeholder.h:238 urpmi:253 urpmq:134
msgid "unable to get source packages, aborting"
msgstr "не удается получить исходные (source) пакеты, выходим"
-#: po/placeholder.h:171 urpmi:102
+#: po/placeholder.h:159 urpmi:102
#, fuzzy
msgid "Only superuser is allowed to install packages"
msgstr ""
"Только суперпользователю (администратору) разрешается устанавливать "
"локальные пакеты"
-#: po/placeholder.h:172 urpmi:193
+#: po/placeholder.h:160 urpmi:183
#, fuzzy, c-format
msgid "One of the following packages is needed to install %s:"
msgstr "Нужен один из следующих пакетов:"
-#: po/placeholder.h:173 urpmi:277
+#: po/placeholder.h:161 urpmi:264
msgid "Press Enter when it's done..."
msgstr "По готовности нажмите enter..."
-#: po/placeholder.h:174
+#: po/placeholder.h:162
#, fuzzy
msgid ""
"usage: urpmi.addmedia [options] <name> <url> [with <relative_path>]\n"
@@ -778,28 +718,28 @@ msgstr ""
"hdlist>\n"
" removable_<device>://<путь> (для сьемных устройств)\n"
-#: po/placeholder.h:184 urpmi.addmedia:76
+#: po/placeholder.h:172 urpmi.addmedia:75
#, c-format
msgid "unable to create medium \"%s\"\n"
msgstr "не удается создать источник данных \"%s\"\n"
-#: po/placeholder.h:185 urpmi.addmedia:77
+#: po/placeholder.h:173 urpmi.addmedia:76
#, c-format
msgid "unable to update medium \"%s\"\n"
msgstr "не удается обновить источник данных \"%s\"\n"
-#: po/placeholder.h:186 po/placeholder.h:206 urpmi.addmedia:54
+#: po/placeholder.h:174 po/placeholder.h:194 urpmi.addmedia:53
#, c-format
msgid ""
"\n"
"unknown options '%s'\n"
msgstr ""
-#: po/placeholder.h:191 po/placeholder.h:215
+#: po/placeholder.h:179 po/placeholder.h:203
msgid " -c - clean headers cache directory.\n"
msgstr ""
-#: po/placeholder.h:192 urpmi.addmedia:62
+#: po/placeholder.h:180 urpmi.addmedia:61
#, c-format
msgid ""
"%s\n"
@@ -808,11 +748,11 @@ msgstr ""
"%s\n"
"<относительный путь к hdlist> не указан\n"
-#: po/placeholder.h:196 po/placeholder.h:216
+#: po/placeholder.h:184 po/placeholder.h:204
msgid " -f - force generation of hdlist files.\n"
msgstr ""
-#: po/placeholder.h:198 urpmi.addmedia:64
+#: po/placeholder.h:186 urpmi.addmedia:63
#, c-format
msgid ""
"%s\n"
@@ -821,7 +761,7 @@ msgstr ""
"%s\n"
"`with' отсутсвует для ftp media\n"
-#: po/placeholder.h:202
+#: po/placeholder.h:190
#, fuzzy
msgid ""
"usage: urpmi.update [options] <name> ...\n"
@@ -833,7 +773,7 @@ msgstr ""
"\n"
"неизвестные параметры '%s'\n"
-#: po/placeholder.h:211 urpmi.update:58
+#: po/placeholder.h:199 urpmi.update:59
#, c-format
msgid ""
"the entry to update is missing\n"
@@ -842,22 +782,27 @@ msgstr ""
"пункт для обновления не указан\n"
"(один из %s)\n"
-#: po/placeholder.h:218 urpmi.update:56
+#: po/placeholder.h:206
+msgid ""
+" -d - force complete computation of depslist.ordered file.\n"
+msgstr ""
+
+#: po/placeholder.h:207 urpmi.update:57
msgid "nothing to update (use urpmi.addmedia to add a media)\n"
msgstr ""
"нечего обновлять (используйте urpmi.addmedia для добавления источника "
"данных)\n"
-#: po/placeholder.h:219
+#: po/placeholder.h:208
msgid " -a - select all non-removable media.\n"
msgstr ""
-#: po/placeholder.h:220 urpmi.removemedia:44
+#: po/placeholder.h:209 urpmi.removemedia:44
msgid "nothing to remove (use urpmi.addmedia to add a media)\n"
msgstr ""
"нечего удалять (используйте urpmi.addmedia для добавления источника данных)\n"
-#: po/placeholder.h:221 urpmi.removemedia:46
+#: po/placeholder.h:210 urpmi.removemedia:46
#, c-format
msgid ""
"the entry to remove is missing\n"
@@ -866,7 +811,7 @@ msgstr ""
"пункт для удаления не указан\n"
"(один из %s)\n"
-#: po/placeholder.h:225
+#: po/placeholder.h:214
#, c-format
msgid ""
"usage: urpmi.removemedia [-a] <name> ...\n"
@@ -881,40 +826,53 @@ msgstr ""
"\n"
"неизвестные параметры '%s'\n"
-#: po/placeholder.h:232
-msgid " -h - print this help message.\n"
-msgstr ""
-
-#: po/placeholder.h:233 urpmq:131
+#: po/placeholder.h:223 urpmq:120
msgid ""
-"some package have to be removed for being upgraded, this is not supported "
+"some packages have to be removed for being upgraded, this is not supported "
"yet\n"
msgstr ""
"некоторые пакеты должны быть удалены перед их обновлением, это пока не "
"поддерживается\n"
-#: po/placeholder.h:234
+#: po/placeholder.h:224 urpmq:80
+#, fuzzy, c-format
+msgid "urpmq: unknown option \"-%s\", check usage with --help\n"
+msgstr ""
+"urpmq: неизместный параметр \"-$1\", проверьте использование , с параметром "
+"--help\n"
+
+#: po/placeholder.h:225
+msgid " -h - print this help message.\n"
+msgstr ""
+
+#: po/placeholder.h:226
+msgid ""
+" --headers - extract headers for package listed from urpmi db to\n"
+" stdout (root only).\n"
+msgstr ""
+
+#: po/placeholder.h:230
msgid " -g - print groups too with name.\n"
msgstr ""
-#: po/placeholder.h:235 urpmq:83
+#: po/placeholder.h:231 urpmq:83
#, fuzzy, c-format
msgid "urpmq: cannot read rpm file \"%s\"\n"
msgstr "urpmq: не удается прочитать rpm файл \"$_\"\n"
-#: po/placeholder.h:236
+#: po/placeholder.h:232
msgid " names or rpm files given on command line are queried.\n"
msgstr ""
-#: po/placeholder.h:238
+#: po/placeholder.h:234
msgid " -r - print version and release too with name.\n"
msgstr ""
-#: po/placeholder.h:239
+#: po/placeholder.h:235
msgid " -f - print version, release and arch with name.\n"
msgstr ""
-#: po/placeholder.h:240
+#: po/placeholder.h:239
#, c-format
msgid ""
"urpmq version %s\n"
@@ -924,56 +882,43 @@ msgid ""
"usage:\n"
msgstr ""
-#: po/placeholder.h:246
+#: po/placeholder.h:245
msgid " -d - extend query to package dependencies.\n"
msgstr ""
-#: po/placeholder.h:247
+#: po/placeholder.h:246
msgid ""
" --sources - give all source packages before downloading (root only).\n"
msgstr ""
-#: po/placeholder.h:248
-msgid ""
-" -c - choose complete method for resolving requires closure.\n"
-msgstr ""
-
-#: po/placeholder.h:251 urpmq:80
-#, fuzzy, c-format
-msgid "urpmq: unknown option \"-%s\", check usage with --help\n"
-msgstr ""
-"urpmq: неизместный параметр \"-$1\", проверьте использование , с параметром "
-"--help\n"
-
-#: po/placeholder.h:252
+#: po/placeholder.h:247
msgid ""
-" --headers - extract headers for package listed from urpmi db to\n"
-" stdout (root only).\n"
+" -u - remove package if a better version is already installed.\n"
msgstr ""
-#: po/placeholder.h:259
+#: po/placeholder.h:248
msgid ""
-" -u - remove package if a better version is already installed.\n"
+" -c - choose complete method for resolving requires closure.\n"
msgstr ""
-#: urpm.pm:1850 urpm.pm:1859
+#: urpm.pm:1676 urpm.pm:1685
#, c-format
msgid "removing %s to upgrade to %s ..."
msgstr ""
-#: urpm.pm:1851 urpm.pm:1860
+#: urpm.pm:1677 urpm.pm:1686
msgid ", $otherPackage, "
msgstr ", $otherPackage, "
-#: urpm.pm:1851 urpm.pm:1860
+#: urpm.pm:1677 urpm.pm:1686
msgid "));"
msgstr "));"
-#: urpm.pm:1856
+#: urpm.pm:1682
msgid "$p->{name}-$p->{version}-$p->{release}"
msgstr "$p->{name}-$p->{version}-$p->{release}"
-#: urpm.pm:1866
+#: urpm.pm:1692
msgid "$prefix/$_"
msgstr "$prefix/$_"
@@ -989,7 +934,7 @@ msgstr "тспользование: urpmi.addmedia <имя> <url>"
#: urpmi.addmedia:38 urpmi.addmedia:39 urpmi.addmedia:40 urpmi.addmedia:41
#: urpmi.update:43 urpmi.update:44 urpmi.update:45 urpmi.update:46
-#: urpmi.update:47 urpmi.update:48
+#: urpmi.update:47 urpmi.update:48 urpmi.update:49
msgid ") . _("
msgstr ""
@@ -1002,7 +947,7 @@ msgstr ");"
msgid "usage: urpmi.update [options] <name> ..."
msgstr "использование: urpmi.update [-a] <имя> ..."
-#: urpmi.removemedia:35 urpmi.update:48
+#: urpmi.removemedia:35 urpmi.update:49
msgid ", $_);"
msgstr ", $_);"
@@ -1015,6 +960,37 @@ msgstr "использование: urpmi.removemedia [-a] <имя> ..."
msgid "urpmq version %s"
msgstr "urpmq версия %s"
+#~ msgid "urpmi is not installed"
+#~ msgstr "urpmi не установлен"
+
+#, fuzzy
+#~ msgid "unable to write compss file [%s]"
+#~ msgstr "не удается создать источник данных \"%s\"\n"
+
+#, fuzzy
+#~ msgid "unable to read provides file [%s]"
+#~ msgstr "не удается создать источник данных \"%s\"\n"
+
+#, fuzzy
+#~ msgid "unable to read compss file [%s]"
+#~ msgstr "не удается создать источник данных \"%s\"\n"
+
+#, fuzzy
+#~ msgid "unable to write provides file [%s]"
+#~ msgstr "не удается создать источник данных \"%s\"\n"
+
+#, fuzzy
+#~ msgid "unable to find all synthesis file, using parsehdlist server"
+#~ msgstr "не удается обновить источник данных \"%s\"\n"
+
+#, fuzzy
+#~ msgid "unable to read depslist file [%s]"
+#~ msgstr "не удается создать источник данных \"%s\"\n"
+
+#, fuzzy
+#~ msgid "unable to write depslist file [%s]"
+#~ msgstr "не удается создать источник данных \"%s\"\n"
+
#~ msgid ""
#~ "%s\n"
#~ "device `%s' do not exist\n"
---------------------------------------------------------------------------- sub acceptLicense {} #------------------------------------------------------------------------------ sub setupSCSI { my ($o) = @_; modules::configure_pcmcia($o->{pcmcia}) if $o->{pcmcia}; modules::load_ide(); modules::load_category('bus/firewire'); modules::load_category('disk/scsi|hardware_raid'); install_any::getHds($o, $o); } #------------------------------------------------------------------------------ sub selectInstallClass { my ($o) = @_; if ($o->{partitioning}{use_existing_root} || $o->{isUpgrade}) { # either one root is defined (and all is ok), or we take the first one we find my $p = fsedit::get_root_($o->{fstab}) || (first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) || die)->{part}; install_any::use_root_part($o->{all_hds}, $p, $o->{prefix}); } } #------------------------------------------------------------------------------ sub doPartitionDisksBefore { my ($o) = @_; eval { eval { fs::umount("$o->{prefix}/proc") }; eval { fs::umount_all($o->{fstab}, $o->{prefix}) }; eval { sleep 1; fs::umount_all($o->{fstab}, $o->{prefix}) } if $@; #- HACK } if $o->{fstab} && !$::testing && !$::live; } #------------------------------------------------------------------------------ sub doPartitionDisksAfter { my ($o) = @_; if (!$::testing) { my $hds = $o->{all_hds}{hds}; partition_table::write($_) foreach @$hds; $_->{rebootNeeded} and $o->rebootNeeded foreach @$hds; } fs::set_removable_mntpoints($o->{all_hds}); fs::set_all_default_options($o->{all_hds}, $o->{useSupermount}, $o->{security}, lang::fs_options($o->{locale})) if !$o->{isUpgrade}; $o->{fstab} = [ fsedit::get_all_fstab($o->{all_hds}) ]; fsedit::get_root_($o->{fstab}) or die "Oops, no root partition"; if (arch() =~ /ppc/ && detect_devices::get_mac_generation() =~ /NewWorld/) { die "Need bootstrap partition to boot system!" if !(defined $partition_table::mac::bootstrap_part); } if (arch() =~ /ia64/ && !fsedit::has_mntpoint("/boot/efi", $o->{all_hds})) { die N("You must have a FAT partition mounted in /boot/efi"); } if ($o->{partitioning}{use_existing_root}) { #- ensure those partitions are mounted so that they are not proposed in choosePartitionsToFormat fs::mount_part($_, $o->{prefix}) foreach sort { $a->{mntpoint} cmp $b->{mntpoint} } grep { $_->{mntpoint} && maybeFormatted($_) } @{$o->{fstab}}; } cat_("/proc/mounts") =~ m|(\S+)\s+/tmp/image nfs| && !any { $_->{mntpoint} eq "/mnt/nfs" } @{$o->{all_hds}{nfss}} and push @{$o->{all_hds}{nfss}}, { type => 'nfs', mntpoint => "/mnt/nfs", device => $1, options => "noauto,ro,nosuid,soft,rsize=8192,wsize=8192" }; } #------------------------------------------------------------------------------ sub doPartitionDisks { my ($o) = @_; if ($o->{partitioning}{auto_allocate}) { fsedit::auto_allocate($o->{all_hds}, $o->{partitions}); } } #------------------------------------------------------------------------------ sub ask_mntpoint_s { my ($_o, $fstab) = @_; #- TODO: set the mntpoints my %m; foreach (@$fstab) { my $m = $_->{mntpoint}; next if !$m || $m eq 'swap'; #- there may be a lot of swap. $m{$m} and die N("Duplicate mount point %s", $m); $m{$m} = 1; #- in case the type does not correspond, force it to ext3 $_->{type} = 0x483 if $m =~ m|^/| && !isTrueFS($_) && !isOtherAvailableFS($_); } 1; } sub rebootNeeded($) { my ($_o) = @_; log::l("Rebooting..."); c::_exit(0); } sub choosePartitionsToFormat($$) { my ($_o, $fstab) = @_; foreach (@$fstab) { $_->{mntpoint} = "swap" if isSwap($_); $_->{mntpoint} or next; add2hash_($_, { toFormat => $_->{notFormatted} }); $_->{toFormatUnsure} = member($_->{mntpoint}, '/', '/usr'); if (!$_->{toFormat}) { my $t = fsedit::typeOfPart($_->{device}); $_->{toFormatUnsure} ||= #- if detected dos/win, it's not precise enough to just compare the types (too many of them) (!$t || isOtherAvailableFS({ type => $t }) ? !isOtherAvailableFS($_) : $t != $_->{type}); } } } sub formatMountPartitions { my ($o) = @_; fs::formatMount_all($o->{all_hds}{raids}, $o->{fstab}, $o->{prefix}); } #------------------------------------------------------------------------------ sub setPackages { my ($o, $rebuild_needed) = @_; install_any::setPackages($o, $rebuild_needed); pkgs::selectPackagesAlreadyInstalled($o->{packages}, $o->{prefix}); $rebuild_needed and pkgs::selectPackagesToUpgrade($o->{packages}, $o->{prefix}); } sub choosePackages { my ($o, $packages, $_compssUsers, $first_time) = @_; #- now for upgrade, package that must be upgraded are #- selected first, after is used the same scheme as install. #- make sure we kept some space left for available else the system may #- not be able to start (xfs at least). my $available = install_any::getAvailableSpace($o); my $availableCorrected = pkgs::invCorrectSize($available / sqr(1024)) * sqr(1024); log::l(sprintf "available size %s (corrected %s)", formatXiB($available), formatXiB($availableCorrected)); add2hash_($o, { compssListLevel => 5 }) if !$::auto_install; #- avoid destroying user selection of packages but only #- for expert, as they may have done individual selection before. if ($first_time || !$::expert) { exists $o->{compssListLevel} and pkgs::setSelectedFromCompssList($packages, $o->{compssUsersChoice}, $o->{compssListLevel}, $availableCorrected); } $availableCorrected; } sub beforeInstallPackages { my ($o) = @_; #- save these files in case of upgrade failure. if ($o->{isUpgrade}) { foreach (@filesToSaveForUpgrade) { unlink "$o->{prefix}/$_.mdkgisave"; if (-e "$o->{prefix}/$_") { eval { cp_af("$o->{prefix}/$_", "$o->{prefix}/$_.mdkgisave") }; } } foreach (@filesNewerToUseAfterUpgrade) { unlink "$o->{prefix}/$_.rpmnew"; } } #- some packages need such files for proper installation. install_any::write_fstab($o); require network; network::add2hosts("$o->{prefix}/etc/hosts", "localhost.localdomain", "127.0.0.1"); log::l("setting excludedocs to $o->{excludedocs}"); substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros"; #- add oem lilo theme and background if the files exists. mkdir "$o->{prefix}$_" foreach qw(/boot /usr /usr/share /usr/share/mdk); install_any::getAndSaveFile("Mandrake/base/oem-message-graphic", "$o->{prefix}/boot/oem-message-graphic"); install_any::getAndSaveFile("Mandrake/base/oem-background.png", "$o->{prefix}/usr/share/mdk/oem-background.png"); } sub pkg_install { my ($o, @l) = @_; log::l("selecting packages"); require pkgs; if ($::testing) { log::l("selecting package \"$_\"") foreach @l; } else { $o->{packages}{rpmdb} ||= pkgs::rpmDbOpen($o->{prefix}); pkgs::selectPackage($o->{packages}, pkgs::packageByName($o->{packages}, $_) || die "$_ rpm not found") foreach @l; } my @toInstall = pkgs::packagesToInstall($o->{packages}); if (@toInstall) { log::l("installing packages"); $o->installPackages; } else { log::l("all packages selected are already installed, nothing to do") } } sub pkg_install_if_requires_satisfied { my ($o, @l) = @_; require pkgs; $o->{packages}{rpmdb} ||= pkgs::rpmDbOpen($o->{prefix}); foreach (@l) { my %newSelection; my $pkg = pkgs::packageByName($o->{packages}, $_) || die "$_ rpm not found"; pkgs::selectPackage($o->{packages}, $pkg, 0, \%newSelection); if (scalar(keys %newSelection) == 1) { pkgs::selectPackage($o->{packages}, $pkg); } else { log::l("pkg_install_if_requires_satisfied: not selecting $_ because of ", join(", ", keys %newSelection)); } } $o->installPackages; } sub installPackages($$) { #- complete REWORK, TODO and TOCHECK! my ($o) = @_; my $packages = $o->{packages}; #- this method is always called, go here to close still opened rpm db. delete $packages->{rpmdb}; if (%{$packages->{state}{ask_remove} || {}}) { log::l("removing : ", join ', ', keys %{$packages->{state}{ask_remove}}); pkgs::remove($o->{prefix}, [ keys %{$packages->{state}{ask_remove}} ], $packages); } #- small transaction will be built based on this selection and depslist. my @toInstall = pkgs::packagesToInstall($packages); my $time = time(); $ENV{DURING_INSTALL} = 1; pkgs::install($o->{prefix}, $o->{isUpgrade}, \@toInstall, $packages); delete $ENV{DURING_INSTALL}; run_program::rooted_or_die($o->{prefix}, 'ldconfig') unless $::g_auto_install; log::l("Install took: ", formatTimeRaw(time() - $time)); install_any::log_sizes($o); scalar(@toInstall); #- return number of packages installed. } sub afterInstallPackages($) { my ($o) = @_; return if $::g_auto_install; die N("Some important packages didn't get installed properly. Either your cdrom drive or your cdrom is defective. Check the cdrom on an installed computer using \"rpm -qpl Mandrake/RPMS/*.rpm\" ") if any { m|read failed: Input/output error| } cat_("$o->{prefix}/root/drakx/install.log"); if (arch() !~ /^sparc/) { #- TODO restore it as may be needed for sparc -x "$o->{prefix}/usr/bin/dumpkeys" or $::testing or die "Some important packages didn't get installed properly. Please switch to console 2 (using ctrl-alt-f2) and look at the log file /tmp/ddebug.log Consoles 1,3,4,7 may also contain interesting information"; } #- why not? cuz weather is nice today :-) [pixel] common::sync(); common::sync(); my $have_devfsd = do { my $p = pkgs::packageByName($o->{packages}, 'devfsd'); $p && $p->flag_installed }; if ($have_devfsd) { require bootloader; bootloader::may_append($o->{bootloader}, devfs => 'mount'); } #- generate /etc/lvmtab needed for rc.sysinit run_program::rooted($o->{prefix}, 'vgscan') if -e '/etc/lvmtab'; #- configure PCMCIA services if needed. modules::write_pcmcia($o->{prefix}, $o->{pcmcia}); #- for mandrake_firstime touch "$o->{prefix}/var/lock/TMP_1ST"; any::config_dvd($o->{prefix}, $have_devfsd); any::config_mtools($o->{prefix}); any::writeandclean_ldsoconf($o->{prefix}); #- make sure wins is disabled in /etc/nsswitch.conf #- else if eth0 is not existing, glibc segfaults. substInFile { s/\s*wins// if /^\s*hosts\s*:/ } "$o->{prefix}/etc/nsswitch.conf"; #- make sure some services have been enabled (or a catastrophic restart will occur). #- these are normally base package post install scripts or important services to start. run_program::rooted($o->{prefix}, "chkconfig", "--add", $_) foreach qw(random netfs network rawdevices sound kheader usb keytable syslog crond portmap); if ($o->{mouse}{device} =~ /ttyS/) { log::l("disabling gpm for serial mice (doesn't get along nicely with X)"); run_program::rooted($o->{prefix}, "chkconfig", "--del", "gpm") } #- call update-menus at the end of package installation run_program::rooted($o->{prefix}, "update-menus"); if ($o->{pcmcia}) { substInFile { s/.*(TaskBarShowAPMStatus).*/$1=1/ } "$o->{prefix}/usr/lib/X11/icewm/preferences"; eval { cp_af("$o->{prefix}/usr/share/applnk/System/kapm.kdelnk", "$o->{prefix}/etc/skel/Desktop/Autostart/kapm.kdelnk") }; } if ($o->{brltty}) { output("$o->{prefix}/etc/brltty.conf", <<EOF); braille-driver $o->{brltty}{driver} braille-device $o->{brltty}{device} text-table $o->{brltty}{table} EOF } $o->install_urpmi; if ($o->{locale}{lang} =~ /^(zh_TW|th|vi|be|bg)/) { #- skip since we don't have the right font (it badly fails at least for zh_TW) } else { my $kde_charset = lang::charset2kde_charset(lang::l2charset($o->{locale}{lang})); my $welcome = c::to_utf8(N("Welcome to %s", '%n')); substInFile { s/^(GreetString)=.*/$1=$welcome/; s/^(Language)=.*/$1=$o->{locale}{lang}/; if (!member($kde_charset, 'iso8859-1', 'iso8859-15')) { #- don't keep the default for those s/^(StdFont)=.*/$1=*,12,5,$kde_charset,50,0/; s/^(FailFont)=.*/$1=*,12,5,$kde_charset,75,0/; s/^(GreetFont)=.*/$1=*,24,5,$kde_charset,50,0/; } } "$o->{prefix}/usr/share/config/kdm/kdmrc"; } install_any::disable_user_view($o->{prefix}) if $o->{security} >= 3 || $o->{authentication}{NIS}; run_program::rooted($o->{prefix}, "kdeDesktopCleanup"); foreach (list_skels($o->{prefix}, '.kde/share/config/kfmrc')) { my $found; substInFile { $found ||= /KFM Misc Defaults/; $_ .= "[KFM Misc Defaults] GridWidth=85 GridHeight=70 " if eof && !$found; } $_ } #- move some file after an upgrade that may be seriously annoying. #- and rename saved files to .mdkgiorig. if ($o->{isUpgrade}) { my $pkg = pkgs::packageByName($o->{packages}, 'rpm'); $pkg && ($pkg->flag_selected || $pkg->flag_installed) && $pkg->compare(">= 4.0") and pkgs::cleanOldRpmDb($o->{prefix}); log::l("moving previous desktop files that have been updated to Trash of each user"); install_any::kdemove_desktop_file($o->{prefix}); foreach (@filesToSaveForUpgrade) { renamef("$o->{prefix}/$_.mdkgisave", "$o->{prefix}/$_.mdkgiorig") if -e "$o->{prefix}$_.mdkgisave"; } foreach (@filesNewerToUseAfterUpgrade) { if (-e "$o->{prefix}/$_.rpmnew" && -e "$o->{prefix}/$_") { renamef("$o->{prefix}/$_", "$o->{prefix}/$_.mdkgiorig"); renamef("$o->{prefix}/$_.rpmnew", "$o->{prefix}/$_"); } } } #- fix bad update-alternatives that may occurs after upgrade (but let them for install too). if (-d "$o->{prefix}/etc/alternatives") { foreach (all("$o->{prefix}/etc/alternatives")) { next if run_program::rooted($o->{prefix}, 'test', '-e', "/etc/alternatives/$_"); log::l("fixing broken alternative $_"); run_program::rooted($o->{prefix}, "update-alternatives", "--auto", $_); } } #- update oem lilo image if it exists. if (-s "$o->{prefix}/boot/oem-message-graphic") { rename "$o->{prefix}/boot/message-graphic", "$o->{prefix}/boot/message-graphic.mdkgiorig"; rename "$o->{prefix}/boot/oem-message-graphic", "$o->{prefix}/boot/message-graphic"; } #- update background image if it exists for common environment. if (-s "$o->{prefix}/usr/share/mdk/oem-background.png") { if (-e "$o->{prefix}/usr/share/mdk/backgrounds/default.png") { rename "$o->{prefix}/usr/share/mdk/backgrounds/default.png", "$o->{prefix}/usr/share/mdk/backgrounds/default.png.mdkgiorig"; rename "$o->{prefix}/usr/share/mdk/oem-background.png", "$o->{prefix}/usr/share/mdk/backgrounds/default.png"; } else { #- KDE desktop background. if (-e "$o->{prefix}/usr/share/config/kdesktoprc") { update_gnomekderc("$o->{prefix}/usr/share/config/kdesktoprc", "Desktop0", MultiWallpaperMode => "NoMulti", Wallpaper => "/usr/share/mdk/oem-background.png", WallpaperMode => "Scaled", ); } #- GNOME desktop background. if (-e "$o->{prefix}/etc/gnome/config/Background") { update_gnomekderc("$o->{prefix}/etc/gnome/config/Background", "Default", wallpaper => "/usr/share/mdk/oem-background.png", wallpaperAlign => "3", ); } } } if ($o->{blank} || $o->{updatemodules}) { my @l = detect_devices::floppies_dev(); foreach (qw(blank updatemodules)) { $o->{$_} eq "1" and $o->{$_} = $l[0] || die N("No floppy drive available"); } $o->{blank} and $o->copyKernelFromFloppy(); $o->{updatemodules} and $o->updateModulesFromFloppy(); } } sub copyKernelFromFloppy { my ($o) = @_; return if $::testing || !$o->{blank}; fs::mount($o->{blank}, "/floppy", "vfat", 0); eval { cp_af("/floppy/vmlinuz", "$o->{prefix}/boot/vmlinuz-default") }; if ($@) { log::l("copying of /floppy/vmlinuz from blank modified disk failed: $@"); } fs::umount("/floppy"); } sub install_urpmi { my ($o) = @_; my $pkg = pkgs::packageByName($o->{packages}, 'urpmi'); if ($pkg && ($pkg->flag_selected || $pkg->flag_installed)) { install_any::install_urpmi($o->{prefix}, $::oem ? 'cdrom' : $o->{method}, #- HACK $o->{packages}, $o->{packages}{mediums}); pkgs::saveCompssUsers($o->{prefix}, $o->{packages}, $o->{compssUsers}, $o->{compssUsersSorted}); } } sub updateModulesFromFloppy { my ($o) = @_; return if $::testing || !$o->{updatemodules}; fs::mount($o->{updatemodules}, "/floppy", "ext2", 0); foreach (glob_("$o->{prefix}/lib/modules/*")) { my ($kernelVersion) = m,lib/modules/(\S*),; log::l("examining updated modules for kernel $kernelVersion"); if (-d "/floppy/$kernelVersion") { my @src_files = glob_("/floppy/$kernelVersion/*"); my @dest_files = map { chomp_($_) } run_program::rooted_get_stdout($o->{prefix}, 'find', '/lib/modules'); foreach my $s (@src_files) { log::l("found updatable module $s"); my ($sfile, $sext) = $s =~ /([^\/\.]*\.o)(?:\.gz|\.bz2)?$/; my $qsfile = quotemeta $sfile; my $qsext = quotemeta $sext; foreach my $target (@dest_files) { $target =~ /$qsfile/ or next; eval { cp_af($s, $target) }; if ($@) { log::l("updating module $target by $s failed: $@"); } else { log::l("updating module $target by $s"); } if ($target !~ /$qsfile$qsext$/) { #- extension differ, first rename target file correctly, #- then uncompress source file, then compress it as expected. my ($basetarget, $text) = $target =~ /(.*?)(\.gz|\.bz2)$/; rename $target, "$basetarget$sext";