1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
.TH urpmi.addmedia 8 "05 Jul 2001" "MandrakeSoft" "Mandrake Linux"
.IX urpmi.addmedia
.SH îáú÷á
urpmi.addmedia \- ÄÏÄÁ¤ ÎÏצ ÎÏÓ¦§ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ú urpmi
.SH ÷éëïòéóôáîîñ
.B urpmi.addmedia [\fIÐÁÒÁÍÅÔÒÉ\fP] <\fIÎÁÚ×Á\fP> <\fIurl\fP>
.SH ïðéó
urpmi.addmedia ÐÏצÄÏÍÌѤ urpmi, ÝÏ ÎÏצ rpms ÍÏÖÕÔØ ÂÕÔÉ ÚÎÁÊÄÅÎÉÍÉ
ÚÁ ×ËÁÚÁÎÏÀ ÁÄÒÅÓÏÀ. îÁ ÄÁÎÉÊ ÞÁÓ Ð¦ÄÔÒÉÍÕÀÔØÓÑ ÔÁ˦ ÎÏÓ¦§: ÌÏËÁÌØΦ
ÄÉÓËÉ, ÚͦÎΦ ÄÉÓËÉ (ËÏÍÐÁËÔ ÔÁ ¦ÎÛ¦), http ÔÁ ftp.
.PP
÷Ó¦ ËÏÒÉÓÔÕ×ÁÞ¦, ÝÏ ÎÁÌÅÖÁÔØ ÄÏ ÇÒÕÐÉ urpmi ÍÏÖÕÔØ ÄÏÄÁ×ÁÔÉ ÎÏצ
ÎÏÓ¦§.
.PP
ðÏÔÒ¦ÂÎÏ ×ÉÂÒÁÔÉ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÒÅÖÉͦ×:
.PP
http:
.br
.IP "\fB urpmi.addmedia <\fIÎÁÚ×Á\fP> http://<\fIÁÄÒÅÓÁ_ÈÏÓÔÁ\fP>/<\fIÍÁÒÛÒÕÔ\fP> with <\fI צÄÎÏÓÎÉÊ ÍÁÒÛÒÕÔ ÄÏ hdlist\fP>\fP"
äÅ <\fIÎÁÚ×Á\fP> \- ÃÅ ÷ÁÛÁ ÎÁÚ×Á ÄÁÎÏÇÏ ÎÏÓ¦Ñ (ÎÁÐÒÉËÌÁÄ: MandrakeUpdate).
.br
<\fIÁÄÒÅÓÁ ÈÏÓÔÁ\fP>/<\fIÍÁÒÛÒÕÔ\fP> \- ÃÅ ÒÏÚÔÁÛÕ×ÁÎÎÑ ËÁÔÁÌÏÇÕ Ú rpm × ÔÅÎÅÔÁÈ.
.br
<\fIצÄÎÏÓÎÉÊ ÍÁÒÛÒÕÔ ÄÏ hdlist\fP> \- ÃÅ ÍÁÒÛÒÕÔ ÄÌÑ ÚÎÁÈÏÄÖÅÎÎÑ hdlist rpm. ðÏÌÏÖÅÎÎÑ ÚÁÄÁ¤ÔØÓÑ ×¦ÄÎÏÓΦ ÄÏ <\fIÍÁÒÛÒÕÔ\fP>'Á.
.br
úÁÕ×ÁÖÔÅ, ÝÏ ÄÌÑ ÏÔÒÉÍÁÎÎÑ ÆÁÊÌ¦× ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ \fBwget\fP, ÏÔÖÅ
÷É ÍÏÖÅÔÅ ÄÏÄÁÔÉ ÓÐÅæÁÌØΦ ÐÁÒÁÍÅÔÒÉ ÄÌÑ
\fBwget\fP צÄÒÅÄÁÇÕ×Á×ÛÉ ÆÁÊÌ \fB/etc/wgetrc\fP. úÁ ÄÏÄÁÔËÏ×ÏÀ
¦ÎÆÏÒÍÁæ¤À Ú×ÅÒΦÔØÓÑ, ÂÕÄØ ÌÁÓËÁ, ÄÏ ÄÏËÕÍÅÎÔÁæ§ Ú \fBwget\fP.
.PP
ftp:
.br
.IP "\fB urpmi.addmedia <\fIÎÁÚ×Á\fP> ftp://<\fI¦Í'Ñ ËÏÒÉÓÔÕ×ÁÞÁ\fP>:<\fIquser\fP>@<\fIhost\fP>/<\fIÍÁÒÛÒÕÔ\fP> with <\fIצÄÎÏÓÎÉÊ ÍÁÒÛÒÕÔ ÄÏ hdlist\fP>\fP"
ôÅ Ö ÓÁÍÅ, ÝÏ ¦ ÄÌÑ http, Ô¦ÌØËÉ ÄÏÄÁÊÔÅ ¦Í'Ñ ËÏÒÉÓÔÕ×ÁÞÁ ¦ ÐÁÒÏÌØ,
ÑËÝÏ ÃÅ ×ÉÍÁÇÁ¤ÔØÓÑ (îÅ ÐÏÔÒ¦ÂÎÏ ×ËÁÚÕ×ÁÔÉ ¦Í'Ñ ËÏÒÉÓÔÕ×ÁÞÁ ¦ ÐÁÒÏÌØ
ÄÌÑ ÁÎÏΦÍÎÏÇÏ ftp).
.br
úÁÕ×ÁÖÔÅ, ÝÏ ÄÌÑ ÏÔÒÉÍÁÎÎÑ ÆÁÊÌ¦× ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ \fBwget\fP, ÏÔÖÅ,
ÑËÝÏ ÷É ÚÎÁÈÏÄÉÔÅÓØ ÚÁ ÂÒÁÎÄÍÁÕÅÒÏÍ (firewall), ÷ÁÍ ÍÏÖÌÉ×Ï ÐÏÔÒ¦ÂÎÏ
ÂÕÄÅ ÄÏÄÁÔÉ \fBpassive_ftp=on\fP ÄÏ \fB/etc/wgetrc\fP.
.nf
ÎÁÐÒÉËÌÁÄ: urpmi.addmedia ftp ftp://a:a@leia//export/Mandrake/RPMS with ../base/hdlist
.fi
.PP
ìÏËÁÌØÎÉÊ ÄÉÓË ÞÉ NFS:
.br
.IP "\fB urpmi.addmedia <\fIÎÁÚ×Á\fP> file://<\fIÍÁÒÛÒÕÔ\fP>\fP with <\fIצÄÎÏÓÎÉÊ ÍÁÒÛÒÕÔ ÄÏ hdlist\fP>\fP"
äÅ <\fIÎÁÚ×Á\fP> \- ÃÅ ÷ÁÛÁ ÎÁÚ×Á ÄÁÎÏÇÏ ÎÏÓ¦Ñ (ÎÁÐÒÉËÌÁÄ: Myrpms).
.br
<\fIÍÁÒÛÒÕÔ\fP> ÃÅ ÚÎÁÈÏÄÖÅÎÎÑ ËÁÔÁÌÏÇÕ Ú rpm ÎÁ ÷ÁÛ¦Ê ÍÁÛÉΦ.
.PP
úͦÎΦ ÐÒÉÓÔÒϧ:
.br
.IP "\fB urpmi.addmedia removable_<\fIdevice\fP>://<\fIÍÁÒÛÒÕÔ\fP>\fP with <\fIצÄÎÏÓÎÉÊ ÍÁÒÛÒÕÔ ÄÏ hdlist\fP>\fP"
<\fIdevice\fP> \- ÃÅ ÎÁÚ×Á ÚͦÎÎÏÇÏ ÎÏÓ¦Ñ Õ ×ÉÇÌÑĦ, ÑË Õ /dev/ ËÁÔÁÌÏÚ¦
(ÔÏÂÔÏ cdrom, floppy, zip, ...).
.br
<\fIÍÁÒÛÒÕÔ\fP> \- ÃÅ ÐÏÌÏÖÅÎÎÑ ËÁÔÁÌÏÇÕ Ú rpm ÎÁ ÍÁÛÉΦ, ËÏÌÉ ÎÏÓ¦Ê ÚÍÏÎÔÏ×ÁÎÏ.
.PP
.SH ðáòáíåôòé
.IP "\fB\--update\fP"
ÄÏÄÁ¤ ÎÏ×ÉÊ ÎÏÓ¦Ê, ÑËÉÊ ÂÕÄÅ ×ÒÁÈÏ×Õ×ÁÔÉÓØ ÐÒÉ ÐÏÎÏ×ÌÅÎΦ Ô¦ÌØËÉ
ÎÏÓ¦§× ÄÌÑ ÐÏÎÏ×ÌÅÎÎÑ × \fBurpmi\fP.
.SH æáêìé
/usr/bin/urpmi
.br
\fBurpmi\fP ×ÉËÏÎÁ×ÞÁ ÐÒÏÇÒÁÍÁ (ÓËÒÉÐÔ ÎÁ ÍÏצ perl)
.PP
/var/lib/urpmi/list.*
.br
í¦ÓÔÉÔØ ÓÐÉÓÏË ×Ó¦È ÐÁËÅÔ¦× ×¦ÄÏÍÉÈ urpmi ÔÁ §ÈΤ ͦÓÃÅÐÏÌÏÖÅÎÎÑ. îÁ
ËÏÖÅÎ ÎÏÓ¦Ê ¤ ÏÄÉÎ ÓÐÉÓÏË ÆÁÊ̦×(*).
.PP
/var/lib/urpmi/hdlist.*
.br
í¦ÓÔÉÔØ ÓÐÉÓÏË ×Ó¦È ÐÁËÅÔ¦×, ÃÅ \- ËÏÒÏÔËÁ ÁÎÏÔÁÃ¦Ñ ×Ó¦È ÚÁÇÏÌÏ×Ë¦× rpm.
îÁ ËÏÖÅÎ ÎÏÓ¦Ê ¤ ÏÄÉÎ ÓÐÉÓÏË ÆÁÊ̦×(*).
.PP
/var/lib/urpmi/synthesis.hdlist.*
.br
í¦ÓÔÉÔØ Ú¦ÒÎÕ ¦ÎÆÏÒÍÁæÀ ÐÒÏ ×Ó¦ צÄÏͦ ÐÁËÅÔÉ ÐÏÂÕÄÏ×ÁΦ Ú ÆÁÊ̦×
hdlist, Ñ˦ ÍÏÖÕÔØ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉÓØ ÁÌÇÏÒÉÔÍÏÍ Í¦Î¦ÍÁÌØÎϧ
צÄÓÔÁΦ. ñËÝÏ ÔÁËÉÈ ÆÁÊÌ¦× ÎÅÍÁ¤, ÓËÏÒÉÓÔÁÊÔÅÓØ ËÏÍÁÎÄÏÀ
\fBurpmi.update -a\fP ÝÏ ÓÔ×ÏÒÉÔÉ §È. 㦠ÆÁÊÌÉ ÎÅÏÂÏ×'ÑÚËÏצ.
.PP
/etc/urpmi/urpmi.cfg
.br
í¦ÓÔÉÔØ ÏÐÉÓÉ ÎÏÓ¦§×, ÄÏÐÕÓËÁ¤ÔØÓÑ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÐÏÐÅÒÅÄÎ¦Ê ÆÏÒÍÁÔ
×¦Ä ÓÔÁÒÉÈ ×ÅÒÓ¦Ê urpmi.
.PP
/etc/urpmi/skip.list
.br
í¦ÓÔÉÔØ ÓÐÉÓÏË ÔÉÈ ÐÁËÅÔ¦×, ÝÏ ÎÅ ÍÏÖÕÔØ ÂÕÔÉ ÐÏÎÏ×ÌÅΦ Á×ÔÏÍÁÔÉÞÎÏ.
.PP
/var/lib/urpmi/depslist.ordered
.br
ðÒÏÓÔÉÊ ÔÅËÓÔÏ×ÉÊ ÆÁÊÌ, ÝÏ Í¦ÓÔÉÔØ ×Ó¦ ÚÁÌÅÖÎÏÓÔ¦ ÄÌÑ ×Ó¦È ×¦ÄÏÍÉÈ ÐÁËÅÔ¦×.
.PP
/var/lib/urpmi/provides
.br
ðÒÏÓÔÉÊ ÔÅËÓÔÏ×ÉÊ ÆÁÊÌ, ÝÏ Í¦ÓÔÉÔØ ÏÐÉÓ ×Ó¦È ÆÕÎËÃ¦Ê ('provides') ¦ ÐÁËÅÔ¦×, Ñ˦
ÚÁÂÅÚÐÅÞÕÀÔØ ÔÕ ÞÉ ¦ÎÛÕ ÆÕÎËæÀ.
.PP
/var/lib/urpmi/compss
.br
ðÒÏÓÔÉÊ ÔÅËÓÔÏ×ÉÊ ÆÁÊÌ Ú çÒÕÐÁÍÉ ÐÁËÅÔ¦ ¦ ÓÐÉÓËÏÍ ÐÁËÅÔ¦× ÄÌÑ ËÏÖÎϧ ÇÒÕÐÉ.
.SH "äé÷. ôáëïö"
urpmi(8),
urpmi.update(8),
urpmi.removemedia(8),
autoirpm(8),
autoirpm-icons(8),
urpmf(8),
urpmq(8),
.SH á÷ôïòé
Pascal Rigaux, Mandrakesoft <pixel@mandrakesoft.com>
.br
Francois Pons, Mandrakesoft <fpons@mandrakesoft.com>
.SH
ðåòåëìáä
.br
äÍÉÔÒÏ ëÏ×ÁÌØÏ×, <kov@tokyo.emai.ne.jp>
|