OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / rpm / draft / man8 / rpm.8
1 .\" This manpage has been automatically generated by docbook2man 
2 .\" from a DocBook document.  This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
4 .\" Please send any bug reports, improvements, comments, patches, 
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .\"
7 .\" This program is free software; you can redistribute it and/or modify
8 .\" it under the terms of the GNU General Public License as published by
9 .\" the Free Software Foundation; either version 2, or (at your option)
10 .\" any later version.
11 .\"
12 .\" This program is distributed in the hope that it will be useful,
13 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 .\" GNU General Public License for more details.
16 .\"
17 .\" You should have received a copy of the GNU General Public License
18 .\" along with this program; if not, write to the Free Software
19 .\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 
20 .\" USA.
21 .\"
22 .\" Japanese Version Copyright (C) 2003 System Design and Research
23 .\" Institute Co.,Ltd. All rights reserved.
24 .\"
25 .\" Translated 14 March 2003 by
26 .\"   System Design and Research Institute Co.,Ltd. <info@sdri.co.jp>
27 .\"
28 .\"WORD: verify         ¸¡ºº
29 .\"WORD: upgrade        ¥¢¥Ã¥×¥°¥ì¡¼¥É
30 .\"WORD: freshen        ¹¹¿·
31 .\"WORD: resign         ºÆ½ð̾
32 .\"WORD: querytag       ¸¡º÷¥¿¥°
33 .\"WORD: relocation     ºÆÇÛÃÖ
34 .\"WORD: format string  ½ñ¼°Ê¸»úÎó
35 .\"WORD: identifier     ¼±ÊÌ»Ò
36 .\"WORD: glob expression        ¥Ñ¥¹Ì¾Å¸³«¼°
37 .\"WORD: capability     Ç½ÎÏ
38 .\"WORD: key ring       ¸°¥ê¥ó¥°
39 .\"WORD: firewall       ¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë
40 .\"subsubsction start
41 .de SSS
42 .SS "    \\$1"
43 .RS 0.5i
44 ..
45 .TH "RPM" "8" "09 June 2002" "Red Hat, Inc." "Red Hat Linux"
46 .\"O .SH NAME
47 .SH Ì¾Á°
48 .\"O rpm \- RPM Package Manager
49 rpm \- RPM ¥Ñ¥Ã¥±¡¼¥¸¥Þ¥Í¡¼¥¸¥ã
50 .\"O .SH SYNOPSIS
51 .SH ½ñ¼°
52 .\"O .SS "QUERYING AND VERIFYING PACKAGES:"
53 .SS ¥Ñ¥Ã¥±¡¼¥¸¤Î¸¡º÷¤È¸¡ºº:
54 .\"O .PP
55 .\"O 
56 .\"O 
57 .\"O \fBrpm\fR {\fB-q|--query\fR} [\fBselect-options\fR] [\fBquery-options\fR]
58 .BR rpm " {" \-q|\-\-query "} [" select-options "] [" query-options ]
59
60 .\"O 
61 .\"O 
62 .\"O \fBrpm\fR {\fB-V|--verify\fR} [\fBselect-options\fR] [\fBverify-options\fR]
63 .BR rpm " {" \-V|\-\-verify "} [" select-options "] [" verify-options ]
64
65 .\"O 
66 .\"O 
67 .\"O \fBrpm\fR \fB--import\fR \fB\fIPUBKEY\fB\fR\fI ...\fR
68 .BI "rpm \-\-import " "PUBKEY ..."
69
70 .\"O 
71 .\"O 
72 .\"O \fBrpm\fR {\fB-K|--checksig\fR} [\fB--nogpg\fR] [\fB--nopgp\fR] [\fB--nomd5\fR]
73 .\"O     \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
74 .BR rpm " {" \-K|\-\-checksig "} [" \-\-nogpg "] [" \-\-nopgp "] [" \-\-nomd5 "]"
75 .br
76 .I "    PACKAGE_FILE" ...
77 .\"O 
78 .\"O .SS "INSTALLING, UPGRADING, AND REMOVING PACKAGES:"
79 .SS ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¦¥¢¥Ã¥×¥°¥ì¡¼¥É¡¦ºï½ü:
80 .\"O .PP
81 .\"O 
82 .\"O 
83 .\"O \fBrpm\fR {\fB-i|--install\fR} [\fBinstall-options\fR] \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
84 .BR rpm " {" \-i|\-\-install "} [" install-options ]
85 .I PACKAGE_FILE ...
86
87 .\"O 
88 .\"O 
89 .\"O \fBrpm\fR {\fB-U|--upgrade\fR} [\fBinstall-options\fR] \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
90 .BR rpm " {" \-U|\-\-upgrade "} [" install-options ]
91 .I PACKAGE_FILE ...
92
93 .\"O 
94 .\"O 
95 .\"O \fBrpm\fR {\fB-F|--freshen\fR} [\fBinstall-options\fR] \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
96 .BR rpm " {" \-F|\-\-freshen "} [" install-options ]
97 .I PACKAGE_FILE ...
98
99 .\"O 
100 .\"O 
101 .\"O \fBrpm\fR {\fB-e|--erase\fR} [\fB--allmatches\fR] [\fB--nodeps\fR] [\fB--noscripts\fR]
102 .\"O     [\fB--notriggers\fR] [\fB--repackage\fR] [\fB--test\fR] \fB\fIPACKAGE_NAME\fB\fR\fI\ ...\fR
103 .BR rpm " {" \-e|\-\-erase "} [" \-\-allmatches "] [" \-\-nodeps "] [" \-\-noscripts ]
104 .br
105 .RB "    [" \-\-notriggers "] [" \-\-repackage "] [" \-\-test ]
106 .I PACKAGE_NAME ...
107 .\"O 
108 .\"O .SS "MISCELLANEOUS:"
109 .SS ¤½¤Î¾:
110 .\"O .PP
111 .\"O 
112 .\"O 
113 .\"O \fBrpm\fR {\fB--initdb|--rebuilddb\fR}
114 .BR rpm " {" \-\-initdb|\-\-rebuilddb }
115
116 .\"O 
117 .\"O 
118 .\"O \fBrpm\fR {\fB--addsign|--resign\fR} \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
119 .BR rpm " {" \-\-addsign|\-\-resign }
120 .I PACKAGE_FILE ...
121
122 .\"O 
123 .\"O 
124 .\"O \fBrpm\fR {\fB--querytags|--showrc\fR}
125 .BR rpm " {" \-\-querytags|\-\-showrc }
126
127 .\"O 
128 .\"O 
129 .\"O \fBrpm\fR {\fB--setperms|--setugids\fR} \fB\fIPACKAGE_NAME\fB\fR\fI ...\fR
130 .BR rpm " {" \-\-setperms|\-\-setugids }
131 .I PACKAGE_NAME ...
132 .\"O 
133 .\"O .SS "select-options"
134 .SS select-options(ÁªÂò¥ª¥×¥·¥ç¥ó)
135 .\"O .PP
136 .\"O 
137 .\"O 
138 .\"O  [\fB\fIPACKAGE_NAME\fB\fR] [\fB-a,--all\fR] [\fB-f,--file \fIFILE\fB\fR]
139 .\"O  [\fB-g,--group \fIGROUP\fB\fR] {\fB-p,--package \fIPACKAGE_FILE\fB\fR]
140 .\"O  [\fB--fileid \fIMD5\fB\fR] [\fB--hdrid \fISHA1\fB\fR] [\fB--pkgid \fIMD5\fB\fR] [\fB--tid \fITID\fB\fR]
141 .\"O  [\fB--querybynumber \fIHDRNUM\fB\fR] [\fB--triggeredby \fIPACKAGE_NAME\fB\fR]
142 .\"O  [\fB--whatprovides \fICAPABILITY\fB\fR] [\fB--whatrequires \fICAPABILITY\fB\fR]
143 .RI [ PACKAGE_NAME ]
144 .RB [ \-a , \-\-all ]
145 .RB [ \-f , \-\-file    " " "\fIFILE" ]
146 .br
147 .RB [ \-g , \-\-group   " " "\fIGROUP" ]
148 .RB [ \-p , \-\-package " " "\fIPACKAGE_FILE" ]
149 .br
150 .RB [ \-\-fileid        " " "\fIMD5" ]
151 .RB [ \-\-hdrid         " " "\fISHA1" ]
152 .RB [ \-\-pkgid         " " "\fIMD5" ]
153 .RB [ \-\-tid           " " "\fITID" ]
154 .br
155 .RB [ \-\-querybynumber " " "\fIHDRNUM" ]
156 .RB [ \-\-triggerdby    " " "\fIPACKAGE_NAME" ]
157 .br
158 .RB [ \-\-whatprovies   " " "\fICAPABILITY" ]
159 .RB [ \-\-whatrequires  " " "\fICAPABILITY" ]
160 .\"O 
161 .\"O .SS "query-options"
162 .SS query-options(¸¡º÷¥ª¥×¥·¥ç¥ó)
163 .\"O .PP
164 .\"O 
165 .\"O 
166 .\"O  [\fB--changelog\fR] [\fB-c,--configfiles\fR] [\fB-d,--docfiles\fR] [\fB--dump\fR]
167 .\"O  [\fB--filesbypkg\fR] [\fB-i,--info\fR] [\fB--last\fR] [\fB-l,--list\fR]
168 .\"O  [\fB--provides\fR] [\fB--qf,--queryformat \fIQUERYFMT\fB\fR]
169 .\"O  [\fB-R,--requires\fR] [\fB--scripts\fR] [\fB-s,--state\fR]
170 .\"O  [\fB--triggers,--triggerscripts\fR]
171 .RB [ \-\-changelog ]
172 .RB [ \-c , \-\-configfiles ]
173 .RB [ \-d , \-\-docfiles ]
174 .RB [ \-\-dump ]
175 .br
176 .RB [ \-\-filesbypkg ]
177 .RB [ \-i , \-\-info ]
178 .RB [ \-\-last ]
179 .RB [ \-l , \-\-list ]
180 .br
181 .RB [ \-\-provides ]
182 .RB [ \-\-qf , \-\-queryformat " " "\fIQUERYFMT" ]
183 .RB [ \-R , \-\-requires ]
184 .br
185 .RB [ \-\-scripts ]
186 .RB [ \-s , \-\-state ]
187 .RB [ \-\-triggers , \-\-triggerscripts ]
188 .\"O 
189 .\"O .SS "verify-options"
190 .SS verify-options(¸¡ºº¥ª¥×¥·¥ç¥ó)
191 .\"O .PP
192 .\"O 
193 .\"O 
194 .\"O  [\fB--nodeps\fR] [\fB--nofiles\fR] [\fB--noscripts\fR]
195 .\"O  [\fB--nodigest\fR] [\fB--nosignature\fR]
196 .\"O  [\fB--nolinkto\fR] [\fB--nomd5\fR] [\fB--nosize\fR] [\fB--nouser\fR]
197 .\"O  [\fB--nogroup\fR] [\fB--nomtime\fR] [\fB--nomode\fR] [\fB--nordev\fR]
198 .RB [ \-\-nodeps ]
199 .RB [ \-\-nofiles ]
200 .RB [ \-\-noscripts ]
201 .RB [ \-\-nodigest ]
202 .br
203 .RB [ \-\-nosignature ]
204 .RB [ \-\-nolinkto ]
205 .RB [ \-\-nomd5 ]
206 .RB [ \-\-nosize ]
207 .br
208 .RB [ \-\-nouser ]
209 .RB [ \-\-nogroup ]
210 .RB [ \-\-nomtime ]
211 .RB [ \-\-nomode ]
212 .RB [ \-\-nordev ]
213 .\"O 
214 .\"O .SS "install-options"
215 .SS install-options(¥¤¥ó¥¹¥È¡¼¥ë¥ª¥×¥·¥ç¥ó)
216 .\"O .PP
217 .\"O 
218 .\"O 
219 .\"O  [\fB--aid\fR] [\fB--allfiles\fR] [\fB--badreloc\fR] [\fB--excludepath \fIOLDPATH\fB\fR]
220 .\"O  [\fB--excludedocs\fR] [\fB--force\fR] [\fB-h,--hash\fR]
221 .\"O  [\fB--ignoresize\fR] [\fB--ignorearch\fR] [\fB--ignoreos\fR]
222 .\"O  [\fB--includedocs\fR] [\fB--justdb\fR] [\fB--nodeps\fR]
223 .\"O  [\fB--nodigest\fR] [\fB--nosignature\fR] [\fB--nosuggest\fR]
224 .\"O  [\fB--noorder\fR] [\fB--noscripts\fR] [\fB--notriggers\fR]
225 .\"O  [\fB--oldpackage\fR] [\fB--percent\fR] [\fB--prefix \fINEWPATH\fB\fR]
226 .\"O  [\fB--relocate \fIOLDPATH\fB=\fINEWPATH\fB\fR]
227 .\"O  [\fB--repackage\fR] [\fB--replacefiles\fR] [\fB--replacepkgs\fR]
228 .\"O  [\fB--test\fR]
229 .RB [ \-\-aid ] 
230 .RB [ \-\-allfiles ] 
231 .RB [ \-\-badreloc ] 
232 .RB [ \-\-excludepath " " "\fIOLDPATH" ]
233 .br
234 .RB [ \-\-excludedocs ] 
235 .RB [ \-\-force ] 
236 .RB [ \-h , \-\-hash ]
237 .RB [ \-\-ignoresize ] 
238 .br
239 .RB [ \-\-ignorearch ] 
240 .RB [ \-\-ignoreos ]
241 .RB [ \-\-includedocs ] 
242 .RB [ \-\-justdb ] 
243 .br
244 .RB [ \-\-nodeps ]
245 .RB [ \-\-nodigest ] 
246 .RB [ \-\-nosignature ] 
247 .RB [ \-\-nosuggest ]
248 .br
249 .RB [ \-\-noorder ] 
250 .RB [ \-\-noscripts ] 
251 .RB [ \-\-notriggers ]
252 .br
253 .RB [ \-\-oldpackage ] 
254 .RB [ \-\-percent ] 
255 .RB [ \-\-prefix " " "\fINEWPATH" ]
256 .br
257 .RB [ \-\-relocate " " "\fIOLDPATH" = "\fINEWPATH" ]
258 .RB [ \-\-repackage ] 
259 .br
260 .RB [ \-\-replacefiles ] 
261 .RB [ \-\-replacepkgs ]
262 .RB [ \-\-test ]
263 .\"O 
264 .\"O .SH "DESCRIPTION"
265 .SH ÀâÌÀ
266 .\"O .PP
267 .\"O \fBrpm\fR is a powerful \fBPackage Manager\fR,
268 .\"O which can be used to build, install, query, verify, update, and
269 .\"O erase individual software packages.
270 .B rpm
271 ¤Ï¶¯ÎϤÊ
272 .B ¥Ñ¥Ã¥±¡¼¥¸¥Þ¥Í¡¼¥¸¥ã
273 ¤Ç¤¢¤ê¡¢¸Ä¡¹¤Î¥½¥Õ¥È¥¦¥§¥¢¥Ñ¥Ã¥±¡¼¥¸¤ò
274 ¥Ó¥ë¥É¡¦¥¤¥ó¥¹¥È¡¼¥ë¡¦¸¡º÷¡¦¸¡ºº¡¦¹¹¿·¡¦ºï½ü¤¹¤ë¤Î¤Ë»È¤¦¤³¤È¤¬¤Ç¤­¤ë¡£
275 .\"O A \fBpackage\fR consists of an archive of files and
276 .\"O meta-data used to install and erase the archive files. The meta-data
277 .\"O includes helper scripts, file attributes, and descriptive information
278 .\"O about the package.
279 .B ¥Ñ¥Ã¥±¡¼¥¸
280 ¤Ï¥Õ¥¡¥¤¥ë¤Î¥¢¡¼¥«¥¤¥Ö¤È¡¢¥¢¡¼¥«¥¤¥Ö¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤Î
281 ¥¤¥ó¥¹¥È¡¼¥ë¡¦¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤Ë»È¤ï¤ì¤ë¥á¥¿¥Ç¡¼¥¿¤«¤é¤Ê¤ë¡£
282 ¥á¥¿¥Ç¡¼¥¿¤ÏÊä½õ¥¹¥¯¥ê¥×¥È¡¢¥Õ¥¡¥¤¥ë°À­¡¢
283 ¤½¤·¤Æ¥Ñ¥Ã¥±¡¼¥¸¤ÎÀâÌÀ¤Ë´Ø¤¹¤ë¾ðÊ󤫤é¤Ê¤ë¡£
284 .\"O \fBPackages\fR come in two varieties: binary packages,
285 .\"O used to encapsulate software to be installed, and source packages,
286 .\"O containing the source code and recipe necessary to produce binary
287 .\"O packages.
288 .B ¥Ñ¥Ã¥±¡¼¥¸
289 ¤Ë¤Ï 2 ¼ïÎढ¤ë¡£
290 ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿¤á¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò¥«¥×¥»¥ë²½¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¥Ð¥¤¥Ê¥ê
291 ¥Ñ¥Ã¥±¡¼¥¸¤È¡¢¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤òÀ¸À®¤¹¤ë¤Î¤ËɬÍפʥ쥷¥Ô¤È¥½¡¼¥¹¥³¡¼¥É
292 ¤«¤é¤Ê¤ë¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤Ç¤¢¤ë¡£
293 .PP
294 .\"O One of the following basic modes must be selected:
295 °Ê²¼¤Î´ðËܥ⡼¥É¤Î¤¤¤º¤ì¤«¤¬ÁªÂò¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤:
296 .\"O \fBQuery\fR,
297 .\"O \fBVerify\fR,
298 .\"O \fBSignature Check\fR,
299 .\"O \fBInstall/Upgrade/Freshen\fR,
300 .\"O \fBUninstall\fR,
301 .\"O \fBInitialize Database\fR,
302 .\"O \fBRebuild Database\fR,
303 .\"O \fBResign\fR,
304 .\"O \fBAdd Signature\fR,
305 .\"O \fBSet Owners/Groups\fR,
306 .\"O \fBShow Querytags\fR, and
307 .\"O \fBShow Configuration\fR.
308 \fB¸¡º÷\fR¡¢
309 \fB¸¡ºº\fR¡¢
310 \fB½ð̾¤Î¸¡ºº\fR¡¢
311 \fB¥¤¥ó¥¹¥È¡¼¥ë/¥¢¥Ã¥×¥°¥ì¡¼¥É/¹¹¿·\fR¡¢
312 \fB¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë\fR¡¢
313 \fB¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½é´ü²½\fR¡¢
314 \fB¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎºÆºîÀ®\fR¡¢
315 \fBºÆ½ð̾\fR¡¢
316 \fB½ð̾¤ÎÄɲÃ\fR¡¢
317 \fB½êÍ­¼Ô/¥°¥ë¡¼¥×¤ÎÀßÄê\fR¡¢
318 \fB¸¡º÷¥¿¥°¤Îɽ¼¨\fR¡¢
319 \fBÀßÄê¤Îɽ¼¨\fR¡£
320 .\"O .SS "GENERAL OPTIONS"
321 .SS ¶¦Ä̤Υª¥×¥·¥ç¥ó
322 .\"O .PP
323 .\"O These options can be used in all the different modes.
324 ¼¡¤Î¥ª¥×¥·¥ç¥ó¤Ï¤¹¤Ù¤Æ¤Î¥â¡¼¥É¤Ç»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
325 .TP
326 .\"O \fB-?, --help\fR
327 .BR \-? ", " \-\-help
328 .\"O Print a longer usage message then normal.
329 »È¤¤Êý¤òÄ̾ï¤Î¤â¤Î¤è¤ê¤âŤ¯É½¼¨¤¹¤ë¡£
330 .TP
331 .\"O \fB--version\fR
332 .B \-\-version
333 .\"O Print a single line containing the version number of \fBrpm\fR
334 .\"O being used. 
335 »ÈÍѤµ¤ì¤ë
336 .B rpm
337 ¤Î¥Ð¡¼¥¸¥ç¥óÈֹ椫¤é¤Ê¤ë 1 ¹Ô¤òɽ¼¨¤¹¤ë¡£
338 .TP
339 .\"O \fB--quiet\fR
340 .B \-\-quiet
341 .\"O Print as little as possible - normally only error messages will
342 .\"O be displayed.
343 ¤Ç¤­¤ë¤À¤±¾¯¤Ê¤¯É½¼¨¤¹¤ë¡£
344 Ä̾ï¤Ï¡¢¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤À¤±¤¬É½¼¨¤µ¤ì¤ë¡£
345 .TP
346 .\"O \fB-v\fR
347 .B \-v
348 .\"O Print verbose information - normally routine progress messages will be
349 .\"O displayed.
350 ¤è¤ê¿¤¯¤Î¾ðÊó¤òɽ¼¨¤¹¤ë¡£
351 Ä̾ï¤Ï¡¢¥ë¡¼¥Á¥ó¤Î¿ÊĽ¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¡£
352 .TP
353 .\"O \fB-vv\fR
354 .B \-vv
355 .\"O Print lots of ugly debugging information.
356 Âô»³¤Î±ø¤¤¥Ç¥Ð¥Ã¥°¾ðÊó¤òɽ¼¨¤¹¤ë¡£
357 .TP
358 .\"O \fB--rcfile \fIFILELIST\fB\fR
359 .BI "\-\-rcfile " FILELIST
360 .\"O Each of the files in the colon separated
361 .\"O \fIFILELIST\fR
362 .\"O is read sequentially by \fBrpm\fR for configuration
363 .\"O information.
364 .\"O Only the first file in the list must exist, and tildes will be
365 .\"O expanded to the value of \fB$HOME\fR.
366 .\"O The default \fIFILELIST\fR is
367 .\"O \fI/usr/lib/rpm/rpmrc\fR:\fI/usr/lib/rpm/redhat/rpmrc\fR:\fI~/.rpmrc\fR.
368 ¥³¥í¥ó(`:')¤Ç¶èÀÚ¤é¤ì¤¿
369 .I FILELIST
370 ¤Î³Æ¥Õ¥¡¥¤¥ë¤Ï¡¢ÀßÄê¾ðÊó¤È¤·¤Æ
371 .B rpm
372 ¤Ë¤è¤Ã¤Æ½çÈÖ¤ËÆɤ߹þ¤Þ¤ì¤ë¡£
373 .I FILELIST
374 ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï
375 .IR /usr/lib/rpm/rpmrc : /usr/lib/rpm/redhat/rpmrc : ~/.rpmrc
376 ¤Ç¤¢¤ë¡£
377 .TP
378 .\"O \fB--pipe \fICMD\fB\fR
379 .BI "\-\-pipe " CMD
380 .\"O Pipes the output of \fBrpm\fR to the command \fICMD\fR.
381 .B rpm
382 ¥³¥Þ¥ó¥É¤Î½ÐÎϤò
383 .I CMD
384 ¤Ø¥Ñ¥¤¥×¤¹¤ë¡£
385 .TP
386 .\"O \fB--dbpath \fIDIRECTORY\fB\fR
387 .BI "\-\-dbpath " DIRECTORY
388 .\"O Use the database in \fIDIRECTORY\fR rathen
389 .\"O than the default path \fI/var/lib/rpm\fR
390 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Ñ¥¹¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Î
391 .I /var/lib/rpm
392 ¤Ç¤Ï¤Ê¤¯
393 .I DIRECTORY
394 ¤ò»È¤¦¡£
395 .TP
396 .\"O \fB--root \fIDIRECTORY\fB\fR
397 .BI "\-\-root " DIRECTORY
398 .\"O Use the file system tree rooted at \fIDIRECTORY\fR for all operations.
399 .\"O Note that this means the database within
400 .\"O \fIDIRECTORY\fR
401 .\"O will be used for dependency checks and any scriptlet(s) (e.g.
402 .\"O \fB%post\fR if installing, or
403 .\"O \fB%prep\fR if building, a package)
404 .\"O will be run after a chroot(2) to
405 .\"O \fIDIRECTORY\fR.
406 ¤¹¤Ù¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ËÂФ·¡¢
407 .I DIRECTORY
408 ¤ò¥ë¡¼¥È¤È¤·¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò»È¤¦¡£
409 ¤³¤ì¤Ï¡¢
410 °Í¸À­¤Î¥Á¥§¥Ã¥¯¤È¤¹¤Ù¤Æ¤Î¥¹¥¯¥ê¥×¥È(·²)
411 (Î㤨¤Ð¡¢¥Ñ¥Ã¥±¡¼¥¸¥¤¥ó¥¹¥È¡¼¥ë»þ¤Î
412 .B %post
413 ¤ä¡¢¥Ñ¥Ã¥±¡¼¥¸¥Ó¥ë¥É»þ¤Î
414 .B %prep
415 ¤Ê¤É)¤¬
416 .I DIRECTORY
417 ¤Ë chroot(2) ¤·¤¿¸å¤Ç¡¢
418 .I DIRECTORY
419 Æâ¤Ë¤¢¤ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤¬»ÈÍѤµ¤ì¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£
420 .\"O .SS "INSTALL AND UPGRADE OPTIONS"
421 .SS ¥¤¥ó¥¹¥È¡¼¥ë¤È¥¢¥Ã¥×¥°¥ì¡¼¥É¤Î¥ª¥×¥·¥ç¥ó
422 .\"O .PP
423 .\"O The general form of an rpm install command is 
424 rpm ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
425 .PP
426 .\"O 
427 .\"O \fBrpm\fR {\fB-i|--install\fR} [\fBinstall-options\fR] \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
428 .BR rpm " {" \-i|\-\-install "} [" install-options ]
429 .I PACKAGE_FILE ...
430 .\"O 
431 .PP
432 .\"O This installs a new package.
433 ¤³¤ì¤Ï¿·¤·¤¤¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
434 .\"O .PP
435 .br
436 .\"O The general form of an rpm upgrade command is 
437 ¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
438 .PP
439 .\"O 
440 .\"O \fBrpm\fR {\fB-U|--upgrade\fR} [\fBinstall-options\fR] \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
441 .BR rpm " {" \-U|\-\-upgrade "} [" install-options ]
442 .I PACKAGE_FILE ...
443 .\"O 
444 .PP
445 .\"O This upgrades or installs the package currently installed
446 .\"O to a newer version.  This is the same as install, except
447 .\"O all other version(s) of the package are removed after the
448 .\"O new package is installed.
449 ¤³¤ì¤Ï¸½ºß¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Ë
450 ¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¤«¡¢¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
451 ¿·¤·¤¤¥Ñ¥Ã¥±¡¼¥¸¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¤é¾¤Î¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¤â¤Î¤¬
452 ºï½ü¤µ¤ì¤ë¤³¤È¤ò½ü¤±¤Ð¡¢¥¤¥ó¥¹¥È¡¼¥ë¤ÈƱ¤¸¤Ç¤¢¤ë¡£
453 .PP
454 .\"O 
455 .\"O \fBrpm\fR {\fB-F|--freshen\fR} [\fBinstall-options\fR] \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
456 .BR rpm " {" \-F|\-\-freshen "} [" install-options ]
457 .I PACKAGE_FILE ...
458 .\"O 
459 .PP
460 .\"O This will upgrade packages, but only if an earlier version
461 .\"O currently exists. The \fIPACKAGE_FILE\fR
462 .\"O may be specified as an
463 .\"O \fBftp\fR or
464 .\"O \fBhttp\fR URL,
465 .\"O in which case the package will be downloaded before being
466 .\"O installed. See \fBFTP/HTTP OPTIONS\fR
467 .\"O for information on \fBrpm\fR's internal
468 .\"O \fBftp\fR and
469 .\"O \fBhttp\fR
470 .\"O client support. 
471 ¤³¤ì¤Ï°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¡¢¸½ºß¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ß
472 ¥Ñ¥Ã¥±¡¼¥¸¤ò¹¹¿·¤¹¤ë¡£
473 .PP
474 .I PACKAGE_FILE
475 ¤Ë¤Ï
476 .B ftp
477 ¤Þ¤¿¤Ï
478 .B http
479 ¤Î URL ¤ò»ØÄꤹ¤ë¤³¤È¤¬²Äǽ¤Ç¡¢¤½¤Î¾ì¹ç¤Ë¤Ï¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÁ°¤Ë
480 ¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¡£
481 .B rpm
482 ÆâÉô¤Ç¤Î
483 .B ftp
484 ¤È
485 .B http
486 ¤Î¥µ¥Ý¡¼¥È¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
487 .B FTP/HTTP ¥ª¥×¥·¥ç¥ó
488 ¤ÎÀá¤ò»²¾È¤Î¤³¤È¡£
489 .\"O .PP
490 .TP
491 .\"O \fB--aid\fR
492 .B \-\-aid
493 .\"O Add suggested packages to the transaction set when needed.
494 »ØÄꤵ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò¡¢É¬Íפ¬¤¢¤ì¤Ð¥È¥é¥ó¥¶¥ó¥¯¥·¥ç¥ó¤Ë²Ã¤¨¤ë¡£
495 .TP
496 .\"O \fB--allfiles\fR
497 \fB\-\-allfiles
498 .\"O Installs or upgrades all the missingok files in the package,
499 .\"O regardless if they exist.
500 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î missingok ¥Õ¥¡¥¤¥ë¤ò¡¢Â¸ºß¤¹¤ë/¤·¤Ê¤¤¤Ë¤«¤«¤ï¤é¤º
501 ¥¤¥ó¥¹¥È¡¼¥ë¤Þ¤¿¤Ï¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¡£
502 .TP
503 .\"O \fB--badreloc\fR
504 .B \-\-badreloc
505 .\"O Used with \fB--relocate\fR, permit relocations on
506 .\"O all file paths, not just those \fIOLDPATH\fR's
507 .\"O included in the binary package relocation hint(s).
508 .B \-\-relocate
509 ¤È°ì½ï¤Ë»È¤ï¤ì¤ë¤È¡¢¥Ñ¥Ã¥±¡¼¥¸ºÆÇÛÃ֤Υҥó¥È(·²)¤ÎÃæ¤Ë¤½¤Î
510 .I OLDPATH
511 ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¯¤Æ¤â¡¢¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¥Ñ¥¹¤ÎºÆÇÛÃÖ¤òµö²Ä¤¹¤ë¡£
512 .TP
513 .\"O \fB--excludepath \fIOLDPATH\fB\fR
514 .BI "\-\-excludepath " OLDPATH
515 .\"O Don't install files whose name begins with
516 .\"O \fIOLDPATH\fR.
517 ¥Ñ¥¹¤Î̾Á°¤¬
518 .I OLDPATH
519 ¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤¤¡£
520 .TP
521 .\"O \fB--excludedocs\fR
522 .B \-\-excludedocs
523 .\"O Don't install any files which are marked as documentation
524 .\"O (which includes man pages and texinfo documents).
525 (man ¥Ú¡¼¥¸¡¢tenxinfo Ê¸½ñ¤ò´Þ¤á¤¿)ʸ½ñ¤Ç¤¢¤ë¤È¥Þ¡¼¥¯ÉÕ¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤ò
526 ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤¤¡£
527 .TP
528 .\"O \fB--force\fR
529 .B \-\-force
530 .\"O Same as using
531 .\"O \fB--replacepkgs\fR,
532 .\"O \fB--replacefiles\fR, and
533 .\"O \fB--oldpackage\fR.
534 .BR \-\-replacepkgs ", " \-\-replacefiles ", " \-\-oldpackage
535 ¤ÎÁȤ߹ç¤ï¤»¤ËƱ¤¸¡£
536 .TP
537 .\"O \fB-h, --hash\fR
538 .BR \-h ", " \-\-hash
539 .\"O Print 50 hash marks as the package archive is unpacked.
540 .\"O Use with \fB-v|--verbose\fR for a nicer display.
541 ¥Ñ¥Ã¥±¡¼¥¸¥¢¡¼¥«¥¤¥Ö¤«¤é¼è¤ê½Ð¤µ¤ì¤ë¤Ë¤Ä¤ì¡¢50¸Ä¤Î¥Ï¥Ã¥·¥å¥Þ¡¼¥¯("#")
542 ¤òɽ¼¨¤¹¤ë¡£
543 .B \-v|\-\-verbose
544 ¤È°ì½ï¤Ë»È¤¨¤Ð¡¢¤è¤ê¤è¤¤É½¼¨¤¬ÆÀ¤é¤ì¤ë¡£
545 .TP
546 .\"O \fB--ignoresize\fR
547 .B \-\-ignoresize
548 .\"O Don't check mount file systems for sufficient disk space before
549 .\"O installing this package.
550 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÁ°¤Ë¡¢¥Ç¥£¥¹¥¯¤Ë½½Ê¬¤Ê¶õ¤­¤¬¤¢¤ë¤«¤Î
551 ¥Á¥§¥Ã¥¯¤ò¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ËÂФ·¤Æ¹Ô¤ï¤Ê¤¤¡£
552 .TP
553 .\"O \fB--ignorearch\fR
554 .B \-\-ignorearch
555 .\"O Allow installation or upgrading even if the architectures
556 .\"O of the binary package and host don't match.
557 ¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤È¡¢¤½¤Î¥Û¥¹¥È¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤¬
558 °ìÃפ·¤Ê¤¯¤Æ¤â¡¢¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò¹Ô¤¦¡£
559 .TP
560 .\"O \fB--ignoreos\fR
561 .B \-\-ignoreos
562 .\"O Allow installation or upgrading even if the operating
563 .\"O systems of the binary package and host don't match.
564 ¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤ÎOS¤È¡¢¤½¤Î¥Û¥¹¥È¤ÎOS¤¬°ìÃפ·¤Ê¤¯¤Æ¤â¡¢
565 ¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò¹Ô¤¦¡£
566 .TP
567 .\"O \fB--includedocs\fR
568 .\"O Install documentation files. This is the default behavior.
569 .B \-\-includedocs
570 ʸ½ñ¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤Ç¤¢¤ë¡£
571 .TP
572 .\"O \fB--justdb\fR
573 .B \-\-justdb
574 .\"O Update only the database, not the filesystem.
575 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤À¤±¤ò¹¹¿·¤·¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¹¹¿·¤·¤Ê¤¤¡£
576 .TP
577 .\"O \fB--nodigest\fR
578 .B \-\-nodigest
579 .\"O Don't verify package or header digests when reading.
580 Æɤ߹þ¤ß»þ¤Ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ø¥Ã¥À¤Î¥À¥¤¥¸¥§¥¹¥È¤ò¸¡ºº¤·¤Ê¤¤¡£
581 .TP
582 .\"O \fB--nosignature\fR
583 .B \-\-nosignature
584 .\"O Don't verify package or header signatures when reading.
585 Æɤ߹þ¤ß»þ¤Ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ø¥Ã¥À¤Î½ð̾¤ò¸¡ºº¤·¤Ê¤¤¡£
586 .TP
587 .\"O \fB--nodeps\fR
588 .B \-\-nodeps
589 .\"O Don't do a dependency check before installing or upgrading
590 .\"O a package.
591 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥Ã¥×¥°¥ì¡¼¥É¤ÎÁ°¤Ë¡¢°Í¸À­¤Î¥Á¥§¥Ã¥¯¤ò¤·¤Ê¤¤¡£
592 .TP
593 .\"O \fB--nosuggest\fR
594 .B \-\-nosuggest
595 .\"O Don't suggest package(s) that provide a missing dependency.
596 ÉÔÌÀ¤Ê°Í¸À­¤ò²ò¾Ã¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸(·²)¤òÄó°Æ¤·¤Ê¤¤¡£
597 .TP
598 .\"O \fB--noorder\fR
599 .B \-\-noorder
600 .\"O Don't reorder the packages for an install. The list of
601 .\"O packages would normally be reordered to satisfy dependancies.
602 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë½ç¤òÊѹ¹¤·¤Ê¤¤¡£
603 Ä̾ï¤Ï°Í¸À­¤òËþ¤¿¤¹¤¿¤á¤Ë¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥ê¥¹¥È¤ÏʤÓÂؤ¨¤é¤ì¤ë¡£
604 .\"O .TP
605 .\"O \fB--noscripts\fR
606 .\"O .TP
607 .\"O \fB--nopre\fR
608 .\"O .TP
609 .\"O \fB--nopost\fR
610 .\"O .TP
611 .\"O \fB--nopreun\fR
612 .\"O .TP
613 .\"O \fB--nopostun\fR
614 .\"O Don't execute the scriptlet of the same name.
615 .\"O The \fB--noscripts\fR option is equivalent to
616 .TP
617 .B \-\-noscriopts
618 .PD 0
619 .TP
620 .B \-\-nopre
621 .TP
622 .B \-\-nopost
623 .TP
624 .B \-\-nopreun
625 .TP
626 .B \-\-nopostun
627 .PD
628 ¤½¤ì¤¾¤ìƱ¤¸Ì¾Á°¤ò»ý¤Ã¤¿¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Ê¤¤¡£
629 .B \-\-noscripts
630 ¥ª¥×¥·¥ç¥ó¤Ï
631
632 .\"O \fB--nopre\fR
633 .\"O \fB--nopost\fR
634 .\"O \fB--nopreun\fR
635 .\"O \fB--nopostun\fR
636 .B "\-\-nopre \-\-nopost \-\-nopreun \-\-nopostun"
637
638 .\"O and turns off the execution of the corresponding
639 .\"O \fB%pre\fR,
640 .\"O \fB%post\fR,
641 .\"O \fB%preun\fR, and
642 .\"O \fB%postun\fR
643 .\"O scriptlet(s).
644 ¤ËÅù¤·¤¯¡¢Âбþ¤¹¤ë
645 .BR %pre ", "
646 .BR %post ", "
647 .BR %preun ", "
648 .BR %postun
649 ¥¹¥¯¥ê¥×¥È(·²)¤ò¼Â¹Ô¤·¤Ê¤¤¡£
650 .\"O .TP
651 .\"O \fB--notriggers\fR
652 .\"O .TP
653 .\"O \fB--notriggerin\fR
654 .\"O .TP
655 .\"O \fB--notriggerun\fR
656 .\"O .TP
657 .\"O \fB--notriggerpostun\fR
658 .TP
659 .B \-\-notriggers
660 .PD 0
661 .TP
662 .B \-\-notriggerin
663 .TP
664 .B \-\-notriggerun
665 .TP
666 .B \-\-notriggerpostun
667 .PD
668 .\"O Don't execute any trigger scriptlet of the named type.
669 »ØÄꤵ¤ì¤¿¼ïÎà¤Î¥È¥ê¥¬¡¼¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Ê¤¤¡£
670 .\"O The \fB--notriggers\fR option is equivalent to
671 .\"O 
672 .\"O \fB--notriggerin\fR
673 .\"O \fB--notriggerun\fR
674 .\"O \fB--notriggerpostun\fR
675 .\"O 
676 .\"O and turns off execution of the corresponding
677 .\"O \fB%triggerin\fR,
678 .\"O \fB%triggerun\fR, and
679 .\"O \fB%triggerpostun\fR
680 .\"O scriptlet(s).
681 .B \-\-notriggers
682 ¥ª¥×¥·¥ç¥ó¤Ï
683
684 .B "\-\-notriggerin \-\-notriggerun \-\-notriggerpostun"
685
686 ¤ËÅù¤·¤¯¡¢Âбþ¤¹¤ë
687 .BR %triggerin ,
688 .BR %triggerun ,
689 .BR %triggerpostun
690 ¥¹¥¯¥ê¥×¥È(·²)¤ò¼Â¹Ô¤·¤Ê¤¤¡£
691 .TP
692 .\"O \fB--oldpackage\fR
693 .B \-\-oldpackage
694 .\"O Allow an upgrade to replace a newer package with an older one.
695 ¿·¤·¤¤¥Ñ¥Ã¥±¡¼¥¸¤ò¤½¤ì¤è¤ê¸Å¤¤¥Ñ¥Ã¥±¡¼¥¸¤Ç¥¢¥Ã¥×¥°¥ì¡¼¥É¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¡£
696 .TP
697 .\"O \fB--percent\fR
698 .B \-\-percent
699 .\"O Print percentages as files are unpacked from the package archive.
700 .\"O This is intended to make \fBrpm\fR easy to run from
701 .\"O other tools.
702 ¥Ñ¥Ã¥±¡¼¥¸¥¢¡¼¥«¥¤¥Ö¤«¤é¥Õ¥¡¥¤¥ë¤¬¼è¤ê½Ð¤µ¤ì¤ë¤Ë¤Ä¤ì¤Æ¡¢
703 ¤½¤Î³ä¹ç¤òɽ¼¨¤¹¤ë¡£
704 ¤³¤ì¤Ï
705 .B rpm
706 ¤¬Â¾¤Î¥Ä¡¼¥ë¤«¤é¼Â¹Ô¤µ¤ì¤ë¤Î¤òÍưפˤ¹¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤ë¡£
707 .TP
708 .\"O \fB--prefix \fINEWPATH\fB\fR
709 .BI "\-\-prefix " NEWPATH
710 .\"O For relocateable binary packages, translate all file paths that
711 .\"O start with the installation prefix in the package relocation hint(s)
712 .\"O to \fINEWPATH\fR.
713 ºÆÇÛÃÖ²Äǽ¤Ê¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤Ë¤ª¤¤¤Æ¡¢¥Ñ¥Ã¥±¡¼¥¸¤ÎºÆÇÛÃÖ¥Ò¥ó¥È(·²)¤Ë¤¢¤ë
714 ¥¤¥ó¥¹¥È¡¼¥ë¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹¤ò¡¢
715 .I NEWPATH
716 ¤ËÃÖ¤­´¹¤¨¤ë¡£
717 .TP
718 .\"O \fB--relocate \fIOLDPATH\fB=\fINEWPATH\fB\fR
719 .BI "\-\-reloacte " OLDPATH = NEWPATH
720 .\"O For relocatable binary packages, translate all file paths
721 .\"O that start with \fIOLDPATH\fR in the
722 .\"O package relocation hint(s) to \fINEWPATH\fR.
723 .\"O This option can be used repeatedly if several
724 .\"O \fIOLDPATH\fR's in the package are to
725 .\"O be relocated.
726 ºÆÇÛÃÖ²Äǽ¤Ê¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤Ë¤ª¤¤¤Æ¡¢¥Ñ¥Ã¥±¡¼¥¸¤ÎºÆÇÛÃÖ¥Ò¥ó¥È(·²)¤Ë¤¢¤ë
727 .I OLDPATH
728 ¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹¤È
729 .I NEWPATH
730 ¤ÇÃÖ¤­´¹¤¨¤ë¡£
731 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Ç¡¢Ê£¿ô¤Î
732 .I OLDPATH
733 ¤¬ºÆÇÛÃÖ¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Î¤Ê¤é¡¢
734 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò·«¤êÊÖ¤·»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
735 .TP
736 .\"O \fB--repackage\fR
737 .B \-\-repackage
738 .\"O Re-package the files before erasing. The previously installed
739 .\"O package will be named according to the macro
740 .\"O \fB%_repackage_name_fmt\fR
741 .\"O and will be created in the directory named by
742 .\"O the macro \fB%_repackage_dir\fR (default value
743 .\"O is \fI/var/tmp\fR).
744 ¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ëÁ°¤ËºÆ¥Ñ¥Ã¥±¡¼¥¸¤¹¤ë¡£
745 °ÊÁ°¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤¿¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢¥Þ¥¯¥í
746 .B %_repackage_name_fmt
747 ¤Ë¤è¤Ã¤Æ̾ÉÕ¤±¤é¤ì¡¢¥Þ¥¯¥í
748 .B %_repackage_dir
749 (¥Ç¥Õ¥©¥ë¥È¤Ï
750 .IR /var/tmp ;
751 ÌõÃí: /usr/lib/rpm/macros ¤Ç¤Ï /var/spool/repackage ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë)
752 ¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤ËºîÀ®¤µ¤ì¤ë¡£
753 .TP
754 .\"O \fB--replacefiles\fR
755 .B \-\-replacefiles
756 .\"O Install the packages even if they replace files from other,
757 .\"O already installed, packages.
758 ´û¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿Â¾¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î¥Õ¥¡¥¤¥ë¤òÃÖ¤­´¹¤¨¤Æ¤·¤Þ¤¦¾ì¹ç¤Ç¤â¡¢
759 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
760 .TP
761 .\"O \fB--replacepkgs\fR
762 .B \-\-replacepkgs
763 .\"O Install the packages even if some of them are already installed
764 .\"O on this system.
765 »ØÄꤵ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¤¦¤Á¤Î¤¤¤¯¤Ä¤«¤¬¥·¥¹¥Æ¥à¤Ë´û¤Ë¥¤¥ó¥¹¥È¡¼¥ë
766 ¤µ¤ì¤Æ¤¤¤Æ¤â¡¢¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
767 .TP
768 .\"O \fB--test\fR
769 .B \-\-test
770 .\"O Do not install the package, simply check for and report
771 .\"O potential conflicts.
772 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤»¤º¡¢Ã±¤Ë¥Á¥§¥Ã¥¯¤È¡¢
773 ÀøºßŪ¤Ê¾×ÆͤÎÊó¹ð¤ò¹Ô¤¦¡£
774 .\"O .SS "ERASE OPTIONS"
775 .SS ºï½ü¤Î¥ª¥×¥·¥ç¥ó
776 .\"O .PP
777 .\"O The general form of an rpm erase command is 
778 rpm ¤òºï½ü¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
779 .PP
780 .\"O 
781 .\"O \fBrpm\fR {\fB-e|--erase\fR} [\fB--allmatches\fR] [\fB--nodeps\fR] [\fB--noscripts\fR] [\fB--notriggers\fR] [\fB--repackage\fR] [\fB--test\fR] \fB\fIPACKAGE_NAME\fB\fR\fI ...\fR
782 .BR rpm " {" \-e|\-\-erase "} [" \-\-allmatches "] [" \-\-nodeps "] [" \-\-noscripts ]
783 .br
784 .RB "    [" \-\-notriggers "] [" \-\-repackage "] [" \-\-test ]
785 .I "PACKAGE_NAME ..."
786 .\"O 
787 .PP
788 .\"O The following options may also be used:
789 °Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤǤ­¤ë:
790 .TP
791 .\"O \fB--allmatches\fR
792 .B \-\-allmatces
793 .\"O Remove all versions of the package which match
794 .\"O \fIPACKAGE_NAME\fR. Normally an
795 .\"O error is issued if \fIPACKAGE_NAME\fR
796 .\"O matches multiple packages.
797 .I PACKAGE_NAME
798 ¤Ë°ìÃפ¹¤ë¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¥Ñ¥Ã¥±¡¼¥¸¤òºï½ü¤¹¤ë¡£
799 .TP
800 .\"O \fB--nodeps\fR
801 .B \-\-nodeps
802 .\"O Don't check dependencies before uninstalling the packages.
803 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÁ°¤Ë°Í¸À­¤Î¥Á¥§¥Ã¥¯¤ò¤·¤Ê¤¤¡£
804 .\"O .TP
805 .\"O \fB--noscripts\fR
806 .\"O .TP
807 .\"O \fB--nopreun\fR
808 .\"O .TP
809 .\"O \fB--nopostun\fR
810 .TP
811 .B \-\-noscripts
812 .PD 0
813 .TP
814 .B \-\-nopreun
815 .TP
816 .B \-\-nopostun
817 .PD
818 .\"O Don't execute the scriptlet of the same name.
819 .\"O The \fB--noscripts\fR option during package erase is
820 .\"O equivalent to
821 ¤½¤ì¤¾¤ìƱ¤¸Ì¾Á°¤ò»ý¤Ã¤¿¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Ê¤¤¡£
822 .B \-\-noscripts
823 ¥ª¥×¥·¥ç¥ó¤Ï
824
825 .\"O \fB--nopreun\fR
826 .\"O \fB--nopostun\fR
827 .B "\-\-nopreun \-\-nopostun"
828
829 .\"O and turns off the execution of the corresponding
830 .\"O \fB%preun\fR, and
831 .\"O \fB%postun\fR
832 .\"O scriptlet(s).
833 ¤ËÅù¤·¤¯¡¢Âбþ¤¹¤ë
834 .B %preun
835 ¤È
836 .B %postun
837 ¥¹¥¯¥ê¥×¥È(·²)¤ò¼Â¹Ô¤·¤Ê¤¤¡£
838 .\"O .TP
839 .\"O \fB--notriggers\fR
840 .\"O .TP
841 .\"O \fB--notriggerun\fR
842 .\"O .TP
843 .\"O \fB--notriggerpostun\fR
844 .TP
845 .B \-\-notriggers
846 .PD 0
847 .TP
848 .B \-\-notriggerun
849 .TP
850 .B \-\-notriggerpostun
851 .PD
852 .\"O Don't execute any trigger scriptlet of the named type.
853 »ØÄꤵ¤ì¤¿¼ïÎà¤Î¥È¥ê¥¬¡¼¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Ê¤¤¡£
854 .\"O The \fB--notriggers\fR option is equivalent to
855 .\"O 
856 .\"O \fB--notriggerun\fR
857 .\"O \fB--notriggerpostun\fR
858 .\"O 
859 .\"O and turns off execution of the corresponding
860 .\"O \fB%triggerun\fR, and
861 .\"O \fB%triggerpostun\fR
862 .\"O scriptlet(s).
863 ¥ª¥×¥·¥ç¥ó
864 .B \-\-notriggers
865 ¤Ï
866
867 .B "\-\-notriggerun \-\-notriggerpostun"
868
869 ¤ËÅù¤·¤¯¡¢Âбþ¤¹¤ë
870 .B %triggerun
871 ¤È
872 .B %triggerpostun
873 ¥¹¥¯¥ê¥×¥È(·²)¤ò¼Â¹Ô¤·¤Ê¤¤¡£
874 .TP
875 .\"O \fB--repackage\fR
876 .B \-\-repackage
877 .\"O Re-package the files before erasing. The previously installed
878 .\"O package will be named according to the macro
879 .\"O \fB%_repackage_name_fmt\fR
880 .\"O and will be created in the directory named by
881 .\"O the macro \fB%_repackage_dir\fR (default value
882 .\"O is \fI/var/tmp\fR).
883 ¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ëÁ°¤ËºÆ¥Ñ¥Ã¥±¡¼¥¸¤¹¤ë¡£
884 °ÊÁ°¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤¿¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢¥Þ¥¯¥í
885 .B %_repackage_name_fmt
886 ¤Ë¤è¤Ã¤Æ̾ÉÕ¤±¤é¤ì¡¢¥Þ¥¯¥í
887 .B %_repackage_dir
888 (¥Ç¥Õ¥©¥ë¥È¤Ï
889 .IR /var/tmp ;
890 ÌõÃí: /usr/lib/rpm/macros ¤Ç¤Ï /var/spool/repackage ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë)
891 ¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤ËºîÀ®¤µ¤ì¤ë¡£
892 .TP
893 .\"O \fB--test\fR
894 .B \-\-test
895 .\"O Don't really uninstall anything, just go through the motions.
896 .\"O Useful in conjunction with the \fB-vv\fR option
897 .\"O for debugging.
898 ¼ÂºÝ¤Ë¤Ï²¿¤â¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤»¤ºµóÆ°¤À¤±¤ò¸«¤»¤ë¡£
899 ¥ª¥×¥·¥ç¥ó
900 .B \-vv
901 ¤È¶¦¤Ë»È¤¨¤Ð¥Ç¥Ð¥Ã¥°¤ËÍ­¸ú¤Ç¤¢¤ë¡£
902 .\"TSEKINE ¤³¤³¤ÎÌõ¤¬¤Ä¤é¤¤¤Ç¤¹
903 .\"O .SS "QUERY OPTIONS"
904 .SS ¸¡º÷¥ª¥×¥·¥ç¥ó
905 .\"O .PP
906 .\"O The general form of an rpm query command is 
907 rpm ¸¡º÷¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
908 .PP
909 .\"O 
910 .\"O \fBrpm\fR {\fB-q|--query\fR} [\fBselect-options\fR] [\fBquery-options\fR]
911 .BR rpm " {" \-q|\-\-query "} [" select-options "] [" query-options ]
912 .\"O 
913 .PP
914 .\"O You may specify the format that package information should be
915 .\"O printed in. To do this, you use the
916 .\"O 
917 .\"O  \fB--qf|--queryformat\fR \fB\fIQUERYFMT\fB\fR
918 .\"O 
919 .\"O option, followed by the \fIQUERYFMT\fR
920 .\"O format string.  Query formats are modifed versions of the
921 .\"O standard \fBprintf(3)\fR formatting. The format
922 .\"O is made up of static strings (which may include standard C
923 .\"O character escapes for newlines, tabs, and other special
924 .\"O characters) and \fBprintf(3)\fR type formatters.
925 ɽ¼¨¤µ¤ì¤ë¥Ñ¥Ã¥±¡¼¥¸¾ðÊó¤Î½ñ¼°¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
926 ¤½¤¦¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
927 .RS 0.2i
928 .PP
929 .BI "\-\-qf|\-\-queryformat " QUERYFMT
930 .RE
931 .PP
932 ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¡£
933 .I QUERYFMT
934 ¤¬½ñ¼°Ê¸»úÎó¤Ç¤¢¤ë¡£¸¡º÷¤Î½ñ¼°¤Ï¡¢É¸½àŪ¤Ê
935 .B printf(3)
936 ¤Î½ñ¼°¤Î½¤Àµ¤Ç¤¢¤ë¡£½ñ¼°¤ÏÀÅŪ¤Êʸ»úÎó
937 (²þ¹Ô¡¦¥¿¥Ö¡¦¤½¤Î¾¤ÎÆüìʸ»ú¤Î¡¢C ¸À¸ì¤Îɸ½àŪ¤Êʸ»ú¥¨¥¹¥±¡¼¥×¤ò´Þ¤à)¤È¡¢
938 .B printf(3)
939 ·¿¤Î½ñ¼°Ê¸»úÎ󤫤é¤Ê¤ë¡£
940 .\"O As \fBrpm\fR already knows the type to print, the
941 .\"O type specifier must be omitted however, and replaced by the name
942 .\"O of the header tag to be printed, enclosed by \fB{}\fR
943 .\"O characters. Tag names are case insesitive, and the leading
944 .\"O \fBRPMTAG_\fR portion of the tag name may be omitted
945 .\"O as well.
946 ¤·¤«¤·
947 .B rpm
948 ¤Ïɽ¼¨¤¹¤ë·¿¤ò´û¤ËÃΤäƤ¤¤ë¤Î¤Ç¡¢·¿»ØÄê¤Ï¾Êά¤µ¤ì¤ë¤Ù¤­¤Ç¤¢¤ë¡£
949 Âå¤ï¤ê¤Ë
950 .B {}
951 ¤Ç°Ï¤Þ¤ì¤¿¡¢É½¼¨¤µ¤ì¤ë¥Ø¥Ã¥À¡¼¤Î¥¿¥°Ì¾¤¬»ÈÍѤµ¤ì¤ë¡£
952 ¥¿¥°Ì¾¤ËÂçʸ»ú/¾®Ê¸»ú¤Î¶èÊ̤Ϥʤ¯¡¢¥¿¥°Ì¾¤ÎÀèƬ¤Î
953 .B RPMTAG_
954 Éôʬ¤â¾Êά¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
955 .PP
956 .\"O Alternate output formats may be requested by following
957 .\"O the tag with \fB:\fItypetag\fB\fR.
958 .\"O Currently, the following types are supported:
959 °Ê²¼¤Î
960 .BI : typetag
961 ¤òÉղä·¤¿¥¿¥°¤Ë¤è¤Ã¤Æ¡¢ÂåÂؤνÐÎϽñ¼°¤òÍ×µá¤Ç¤­¤ë¡£
962 ¸½ºß¡¢°Ê²¼¤Î¼ïÊ̤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë:
963 .TP
964 .\"O \fB:armor\fR
965 .B :armor
966 .\"O    
967 .\"O Wrap a public key in ASCII armor.
968 ¸ø³«¸°¤òASCIIʸ»ú¤Çɽ¼¨¤¹¤ë¡£
969 .\"TSEKINE PGP Åù¤Ç¤Î armor ¤Ã¤Æ¤É¤¦Ìõ¤¹¤Î¤¬¤¤¤¤¤ó¤Ç¤·¤ç¤¦?
970 .TP
971 .\"O \fB:base64\fR
972 .B :base64
973 .\"O Encode binary data using base64.
974 ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤ò base64 ¤ÇÉä¹æ²½¤¹¤ë¡£
975 .TP
976 .\"O \fB:date\fR
977 .B :date
978 .\"O Use strftime(3) "%c" format.
979 strftime(3)¤Î "%c" ½ñ¼°¤ò»È¤¦¡£
980 .TP
981 .\"O \fB:day\fR
982 .B :day
983 .\"O Use strftime(3) "%a %b %d %Y" format.
984 strftime(3)¤Î "%a %b %d %Y" ½ñ¼°¤ò»È¤¦¡£
985 .TP
986 .\"O \fB:depflags\fR
987 .B :depflags
988 .\"O Format dependency flags.
989 °Í¸¥Õ¥é¥°¤Çɽ¼¨¡£
990 .TP
991 .\"O \fB:fflags\fR
992 .B :fflags
993 .\"O Format file flags.
994 ¥Õ¥¡¥¤¥ë¥Õ¥é¥°¤Çɽ¼¨¡£
995 .TP
996 .\"O \fB:hex\fR
997 .B :hex
998 .\"O Format in hexadecimal.
999 16¿Ê¿ô¤Çɽ¼¨¡£
1000 .TP
1001 .\"O \fB:octal\fR
1002 .B :octal
1003 .\"O Format in octal.
1004 8¿Ê¿ô¤Çɽ¼¨¡£
1005 .TP
1006 .\"O \fB:perms\fR
1007 .B :perms
1008 .\"O Format file permissions.
1009 ¥Õ¥¡¥¤¥ë¤Îµö²Ä°À­¤Çɽ¼¨¡£
1010 .TP
1011 .\"O \fB:shescape\fR
1012 .B :shescape
1013 .\"O Escape single quotes for use in a script.
1014 ¥¹¥¯¥ê¥×¥ÈÆâ¤Ç»È¤¨¤ë¤è¤¦¤Ë¥·¥ó¥°¥ë¥¯¥©¡¼¥È(')¤Ç¥¨¥¹¥±¡¼¥×¤¹¤ë¡£
1015 .TP
1016 .\"O \fB:triggertype\fR
1017 .B :triggertype
1018 .\"O Display trigger suffix.
1019 ¥È¥ê¥¬¡¼¤Î¼ïÎà¤òɽ¼¨¡£
1020 .PP
1021 .\"O For example, to print only the names of the packages queried,
1022 .\"O you could use \fB%{NAME}\fR as the format string.
1023 Î㤨¤Ð¡¢¸¡º÷·ë²Ì¤Î¥Ñ¥Ã¥±¡¼¥¸Ì¾¤À¤±¤òɽ¼¨¤·¤¿¤±¤ì¤Ð¡¢½ñ¼°Ê¸»úÎó¤È¤·¤Æ
1024 .B %{NAME}
1025 ¤ò»È¤¨¤Ð¤è¤¤¡£
1026 .\"O To print the packages name and distribution information in
1027 .\"O two columns, you could use \fB%-30{NAME}%{DISTRIBUTION}\fR.
1028 2 ¥«¥é¥à¤Ç¥Ñ¥Ã¥±¡¼¥¸Ì¾¤È¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¾ðÊó¤òɽ¼¨¤·¤¿¤±¤ì¤Ð
1029 .B %-30{NAME}%{DISTRIBUTUIN}
1030 ¤ò»È¤¨¤Ð¤è¤¤¡£
1031 (ÌõÃí: Ã¼Ëö¤Ë¤è¤Ã¤Æ¤ÏËöÈø¤Ë \\n ¤¬É¬ÍפǤ¢¤ë)¡£
1032 .\"O \fBrpm\fR will print a list of all of the tags it knows about when it
1033 .\"O is invoked with the \fB--querytags\fR argument.
1034 °ú¿ô
1035 .B \-\-querytags
1036 ¤ò¤Ä¤±¤Æ
1037 .B rpm
1038 ¤ò¼Â¹Ô¤¹¤ì¤Ð¡¢»ÈÍѤǤ­¤ë¥¿¥°¤¹¤Ù¤Æ¤òɽ¼¨¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1039 .PP
1040 .\"O There are two subsets of options for querying: package selection,
1041 .\"O and information selection.
1042 ¸¡º÷¤Î¤¿¤á¤Î¥ª¥×¥·¥ç¥ó¤Ï2¼ïÎà¤Ëʬ¤±¤é¤ì¤ë¡£
1043 ¥Ñ¥Ã¥±¡¼¥¸¤ÎÁªÂò¤È¡¢(ÌõÃí: É½¼¨¤¹¤ë¤¿¤á¤Î)¾ðÊó¤ÎÁªÂò¤Ç¤¢¤ë¡£
1044 .\"O .SS "PACKAGE SELECTION OPTIONS:"
1045 .SSS "¥Ñ¥Ã¥±¡¼¥¸ÁªÂò¥ª¥×¥·¥ç¥ó:"
1046 .\"O .PP
1047 .TP
1048 .\"O \fB\fIPACKAGE_NAME\fB\fR
1049 .I PACKAGE_NAME
1050 .\"O Query installed package named \fIPACKAGE_NAME\fR.
1051 ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë
1052 .I PACKAGE_NAME
1053 ¤È¤¤¤¦Ì¾Á°¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1054 .TP
1055 .\"O \fB-a, --all\fR
1056 .BR \-a ", " \-\-all
1057 .\"O Query all installed packages.
1058 ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1059 .TP
1060 .\"O \fB-f, --file \fIFILE\fB\fR
1061 .BR \-f ", " \-\-file " \fIFILE"
1062 .\"O Query package owning \fIFILE\fR.
1063 .I FILE
1064 ¤ò½êÍ­¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1065 .TP
1066 .\"O \fB--fileid \fIMD5\fB\fR
1067 .BI "\-\-fileid " MD5
1068 .\"O Query package that contains a given file identifier, i.e. the
1069 .\"O \fIMD5\fR digest of the file contents.
1070 Í¿¤¨¤é¤ì¤¿¥Õ¥¡¥¤¥ë¼±Ê̻ҡ¢
1071 ¤¹¤Ê¤ï¤Á
1072 .I MD5
1073 ¥À¥¤¥¸¥§¥¹¥È¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤ò´Þ¤à¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1074 .TP
1075 .\"O \fB-g, --group \fIGROUP\fB\fR
1076 .BR \-g ", " \-\-group " \fIGROUP"
1077 .\"O Query packages with the group of \fIGROUP\fR.
1078 ¥°¥ë¡¼¥×¤¬
1079 .I GROUP
1080 ¤Ç¤¢¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1081 .TP
1082 .\"O \fB--hdrid \fISHA1\fB\fR
1083 .BI \-\-hdrid  " SHA1"
1084 .\"O Query package that contains a given header identifier, i.e. the
1085 .\"O \fISHA1\fR digest of the immutable header region.
1086 Í¿¤¨¤é¤ì¤¿¥Ø¥Ã¥À¡¼¼±Ê̻ҡ¢
1087 ¤¹¤Ê¤ï¤Á½ñ¤­´¹¤¨ÉÔ²Äǽ¤Ê¥Ø¥Ã¥ÀÎΰè¤Ë
1088 .I SHA1
1089 ¥À¥¤¥¸¥§¥¹¥È¤ò¤â¤Ä¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1090 .TP
1091 .\"O \fB-p, --package \fIPACKAGE_FILE\fB\fR
1092 .BR \-p ", " \-\-package " \fIPACKAGE_FILE"
1093 .\"O Query an (uninstalled) package \fIPACKAGE_FILE\fR.
1094 .\"O The \fIPACKAGE_FILE\fR may be specified
1095 .\"O as an \fBftp\fR or \fBhttp\fR style URL, in
1096 .\"O which case the package header will be downloaded and queried.
1097 (¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤)¥Ñ¥Ã¥±¡¼¥¸
1098 .I PACKAGE_FILE
1099 ¤ò¸¡º÷¤¹¤ë¡£
1100 .I PACKAGE_FILE
1101 ¤Ë¤Ï
1102 .B ftp
1103 ¤Þ¤¿¤Ï
1104 .B http
1105 ¤Î URL ·Á¼°¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¡¢
1106 ¤½¤Î¾ì¹ç¤Ë¤Ï¥Ñ¥Ã¥±¡¼¥¸¥Ø¥Ã¥À¡¼¤¬¥À¥¦¥ó¥í¡¼¥É¤µ¤ì¤Æ¸¡º÷¤µ¤ì¤ë¡£
1107 .\"O See \fBFTP/HTTP OPTIONS\fR for information on
1108 .\"O \fBrpm\fR's internal
1109 .\"O \fBftp\fR and
1110 .\"O \fBhttp\fR
1111 .\"O client support. The \fIPACKAGE_FILE\fR argument(s),
1112 .\"O if not a binary package, will be interpreted as an ASCII package
1113 .\"O manifest.  Comments are permitted, starting with a '#', and each
1114 .\"O line of a package manifest file may include white space seperated
1115 .\"O glob expressions, including URL's with remote glob expressions,
1116 .\"O that will be expanded to paths that are substituted in place of
1117 .\"O the package manifest as additional \fIPACKAGE_FILE\fR
1118 .\"O arguments to the query.
1119 .B ftp
1120 ¤È
1121 .B http
1122 ¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ë´Ø¤¹¤ë
1123 .B rpm
1124 ÆâÉô¤Ç¤Î¥µ¥Ý¡¼¥È¤Ë¤Ä¤¤¤Æ¤Ï
1125 .B "FTP/HTTP OPTIONS"
1126 ¤ò»²¾È¤Î¤³¤È¡£
1127 .I PACKAGE_FILE
1128 °ú¿ô(·²)¤¬¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Ê¤±¤ì¤Ð¡¢¤½¤ì¤¬ ASCII ·Á¼°¤Î
1129 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥ê¥¹¥È¤òɽ¤ï¤¹¤â¤Î¤È²ò¼á¤µ¤ì¤ë¡£
1130 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢'#' ¤Ç»Ï¤Þ¤ë¹Ô¤Ï¥³¥á¥ó¥È¤Ç¤¢¤ë¡£
1131 ³Æ¹Ô¤Ë¤Ï¶õÇò¤Ç¶èÀڤ俥ѥ¹Ì¾Å¸³«¼°¤¬»ØÄê²Äǽ¤Ç¡¢
1132 Ÿ³«¤µ¤ì¤¿¥Ñ¥¹¤Ï¡¢¸¡º÷¤¹¤ë
1133 .I PACKAGE_FILE
1134 °ú¿ô¤Ø¤ÎÄɲäȤ·¤ÆÃÖ´¹¤µ¤ì¤ë¡£
1135 ¥Ñ¥¹Ì¾Å¸³«¼°¤Ë¤Ï URL ¤Î¥ê¥â¡¼¥È¤Î¥Ñ¥¹Ì¾Å¸³«¤â»È¤¦¤³¤È¤¬¤Ç¤­¤ë¡£
1136 .\"TSEKINE ¤è¤¯¤ï¤«¤ê¤Þ¤»¤ó¡£¥Õ¥©¥í¡¼µá¤à
1137 .TP
1138 .\"O \fB--pkgid \fIMD5\fB\fR
1139 .BI \-\-pkgid " \fIMD5"
1140 .\"O Query package that contains a given package identifier, i.e. the
1141 .\"O \fIMD5\fR digest of the combined header and
1142 .\"O payload contents.
1143 Í¿¤¨¤é¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¼±Ê̻ҡ¢
1144 ¤¹¤Ê¤ï¤Á¥Ø¥Ã¥À¡¼¤ÈÆâÍÆʪ¤È¤ÎÁȤ߹ç¤ï¤»¤¬
1145 .I MD5
1146 ¥À¥¤¥¸¥§¥¹¥È¤ò¤â¤Ä¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1147 .TP
1148 .\"O \fB--querybynumber \fIHDRNUM\fB\fR
1149 .BI \-\-querybynumber " \fIHDRNUM"
1150 .\"O Query the \fIHDRNUM\fRth database entry
1151 .\"O directly; this is useful only for debugging.
1152 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î
1153 .I HDRNUM
1154 ÈÖÌܤΥ¨¥ó¥È¥ê¤òľÀܸ¡º÷¤¹¤ë¡£
1155 ¥Ç¥Ð¥Ã¥°¤Ë¤Î¤ßÍ­¸ú¤Ç¤¢¤ë¡£
1156 .TP
1157 .\"O \fB--specfile \fISPECFILE\fB\fR
1158 .BI \-\-specfile " \fISPECFILE"
1159 .\"O Parse and query \fISPECFILE\fR as if
1160 .\"O it were a package. Although not all the information (e.g. file lists)
1161 .\"O is available, this type of query permits rpm to be used to extract
1162 .\"O information from spec files without having to write a specfile
1163 .\"O parser.
1164 .I SPECFILE
1165 ¤ò¤½¤ì¤¬¥Ñ¥Ã¥±¡¼¥¸¤Ç¤¢¤ë¤«¤Î¤è¤¦¤Ë²òÀϤ·¡¢¸¡º÷¤¹¤ë¡£
1166 ¤¹¤Ù¤Æ¤Î¾ðÊó¤¬ÍøÍѤǤ­¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤(¤¿¤È¤¨¤Ð¥Õ¥¡¥¤¥ë°ìÍ÷)¤Ë¤â¤«¤«¤ï¤é¤º¡¢
1167 spec ¥Õ¥¡¥¤¥ë¤Î²òÀÏ´ï¤ò½ñ¤¯¤³¤È̵¤·¤Ë spec ¥Õ¥¡¥¤¥ë¤«¤é¾ðÊó¤ò¼è¤ê½Ð¤¹¤³¤È¤¬
1168 ¤³¤Î¼ï¤Î¸¡º÷¤Ç²Äǽ¤Ç¤¢¤ë¡£
1169 .TP
1170 .\"O \fB--tid \fITID\fB\fR
1171 .BI \-\-tid " \fITID"
1172 .\"O Query package(s) that have a given \fITID\fR
1173 .\"O transaction identifier. A unix time stamp is currently used as a
1174 .\"O transaction identifier. All package(s) installed or erased within
1175 .\"O a single transaction have a common identifier.
1176 Í¿¤¨¤é¤ì¤¿¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¼±ÊÌ»Ò
1177 .I TID
1178 ¤ò»ý¤Ä¥Ñ¥Ã¥±¡¼¥¸(·²)¤ò¸¡º÷¤¹¤ë¡£
1179 ¸½ºß¤Î¤È¤³¤í¡¢unix »þ´Ö¤¬¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¼±Ê̻ҤȤ·¤Æ»È¤ï¤ì¤Æ¤¤¤ë¡£
1180 °ì¤Ä¤Î¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¤Ç¥¤¥ó¥¹¥È¡¼¥ë¡¦ºï½ü¤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸(·²)¤Ï¡¢
1181 ¤¹¤Ù¤Æ¶¦Ä̤μ±Ê̻Ҥò»ý¤Ä¡£
1182 .TP
1183 .\"O \fB--triggeredby \fIPACKAGE_NAME\fB\fR
1184 .BI \-\-triggerdby " \fIPACKAGE_NAME"
1185 .\"O Query packages that are triggered by package(s)
1186 .\"O \fIPACKAGE_NAME\fR.
1187 ¥Ñ¥Ã¥±¡¼¥¸(·²)
1188 .I PACKAGE_NAME
1189 ¤Ë¤è¤Ã¤Æ¥È¥ê¥¬¡¼¤µ¤ì¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1190 .TP
1191 .\"O \fB--whatprovides \fICAPABILITY\fB\fR
1192 .BI \-\-whatprovides " \fICAPABILITY"
1193 .\"O Query all packages that provide the \fICAPABILITY\fR capability.
1194 .I CAPABILITY
1195 ǽÎϤòÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1196 .TP
1197 .\"O \fB--whatrequires \fICAPABILITY\fB\fR
1198 .BI \-\-whatrequires " \fICAPABILITY"
1199 .\"O Query all packages that requires \fICAPABILITY\fR for proper functioning.
1200 ŬÀڤ˵¡Ç½¤¹¤ë¤¿¤á¤Ë
1201 .I CAPABILITY
1202 ¤òɬÍפȤ¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1203 .\"O .SS "PACKAGE QUERY OPTIONS:"
1204 .SSS "¥Ñ¥Ã¥±¡¼¥¸¸¡º÷¥ª¥×¥·¥ç¥ó:"
1205 .\"O .PP
1206 .TP
1207 .\"O \fB--changelog\fR
1208 .B \-\-changelog
1209 .\"O Display change information for the package.
1210 ¥Ñ¥Ã¥±¡¼¥¸¤Î¹¹¿·¾ðÊó¤òɽ¼¨¤¹¤ë¡£
1211 .TP
1212 .\"O \fB-c, --configfiles\fR
1213 .BR \-c ", " \-\-configfiles
1214 .\"O List only configuration files (implies \fB-l\fR).
1215 ÀßÄê¥Õ¥¡¥¤¥ë¤Î¤ß¤òɽ¼¨¤¹¤ë
1216 .RB ( \-l
1217 ¤ò»ØÄꤷ¤¿¤â¤Î¤È¤ß¤Ê¤¹)¡£
1218 .TP
1219 .\"O \fB-d, --docfiles\fR
1220 .BR \-d ", " \-\-docfiles
1221 .\"O List only documentation files (implies \fB-l\fR).
1222 ʸ½ñ¥Õ¥¡¥¤¥ë¤Î¤ß¤òɽ¼¨¤¹¤ë
1223 .RB ( \-l
1224 ¤ò»ØÄꤷ¤¿¤â¤Î¤È¤ß¤Ê¤¹)¡£
1225 .TP
1226 .\"O \fB--dump\fR
1227 .B \-\-dump
1228 .\"O Dump file information as follows:
1229 °Ê²¼¤Î·Á¼°¤Ç¥Õ¥¡¥¤¥ë¾ðÊó¤ò¥À¥ó¥×¤¹¤ë¡£
1230 .sp
1231 .\"O .RS
1232 .\"O 
1233 .nf
1234 .\"O path size mtime md5sum mode owner group isconfig isdoc rdev symlink
1235 ¥Ñ¥¹ ¥µ¥¤¥º ½¤Àµ»þ¹ï md5¥À¥¤¥¸¥§¥¹¥È ¥â¡¼¥É \\
1236 ½êÍ­¼Ô ¥°¥ë¡¼¥× ÀßÄê¥Õ¥¡¥¤¥ë Ê¸½ñ¥Õ¥¡¥¤¥ë \\
1237 ¥ë¡¼¥È¥Ç¥Ð¥¤¥¹ ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯
1238 .\"O    
1239 .fi
1240 .\"O .RE
1241
1242 .\"O This option must be used with at least one of
1243 .\"O \fB-l\fR,
1244 .\"O \fB-c\fR,
1245 .\"O \fB-d\fR.
1246 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï
1247 .BR \-l ,
1248 .BR \-c ,
1249 .B \-d
1250 ¤Î¤¦¤Á¤Î¾¯¤Ê¤¯¤È¤â°ì¤Ä¤È¶¦¤Ë»ÈÍѤµ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1251 .TP
1252 .\"O \fB--filesbypkg\fR
1253 .B \-\-filesbypkg
1254 .\"O List all the files in each selected package.
1255 ÁªÂò¤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤´¤È¤Ë¥Õ¥¡¥¤¥ë¤òɽ¼¨¤¹¤ë¡£
1256 .TP
1257 .\"O \fB-i, --info\fR
1258 .BR \-i ", " \-\-info
1259 .\"O Display package information, including name, version, and description.
1260 .\"O This uses the \fB--queryformat\fR if one was specified.
1261 ̾Á°¡¢¥Ð¡¼¥¸¥ç¥ó¡¢ÀâÌÀ¤ò´Þ¤á¤¿¥Ñ¥Ã¥±¡¼¥¸¾ðÊó¤òɽ¼¨¤¹¤ë¡£
1262 ¤³¤ì¤Ï
1263 .B \-\-queryformat
1264 ¤òÆâÉô¤Ç»ÈÍѤ·¤Æ¤¤¤ë¡£
1265 .\"TSEKINE ¸À¤¤¤¿¤¤¤³¤È¤¬¤è¤¯Ê¬¤«¤ê¤Þ¤»¤ó¡£¼ÂºÝ¤Ï popt ¤Ç aliasing
1266 .\"TSEKINE ¤µ¤ì¤Æ¤ë¤Î¤Ç¡¢¤½¤Î¤³¤È¤¬¸À¤¤¤¿¤¤¤Î¤Ç¤·¤ç¤¦¤«?
1267 .TP
1268 .\"O \fB--last\fR
1269 .B \-\-last
1270 .\"O Orders the package listing by install time such that the latest
1271 .\"O packages are at the top.
1272 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë»þ¹ï½ç¤Ë¡¢
1273 ºÇ¿·¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬ÀèƬ¤Ë¤Ê¤ë¤è¤¦¤Ê½ç¤Çʤ٤롣
1274 .TP
1275 .\"O \fB-l, --list\fR
1276 .BR \-l ", " \-\-list
1277 .\"O List files in package.
1278 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤òɽ¼¨¤¹¤ë¡£
1279 .TP
1280 .\"O \fB--provides\fR
1281 .B \-\-provides
1282 .\"O List capabilities this package provides.
1283 ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬Ä󶡤¹¤ëǽÎϤòɽ¼¨¤¹¤ë¡£
1284 .TP
1285 .\"O \fB-R, --requires\fR
1286 .BR \-R ", " \-\-requires
1287 .\"O List packages on which this package depends.
1288 ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬°Í¸¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
1289 .TP
1290 .\"O \fB--scripts\fR
1291 .B \-\-scripts
1292 .\"O List the package specific scriptlet(s) that are used as part
1293 .\"O of the installation and uninstallation processes.
1294 ¥¤¥ó¥¹¥È¡¼¥ë¡¦¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤Î²áÄø¤Ç»ÈÍѤµ¤ì¤ë¡¢
1295 ¥Ñ¥Ã¥±¡¼¥¸¸ÇÍ­¤Î¥¹¥¯¥ê¥×¥È¤òɽ¼¨¤¹¤ë¡£
1296 .TP
1297 .\"O \fB-s, --state\fR
1298 .B \-s ", " \-\-state
1299 .\"O Display the \fIstates\fR of files in the package
1300 .\"O (implies \fB-l\fR).  The state of each file is one of
1301 .\"O \fInormal\fR,
1302 .\"O \fInot installed\fR, or
1303 .\"O \fIreplaced\fR.
1304 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î¥Õ¥¡¥¤¥ë¤Î
1305 .I ¾õÂÖ
1306 ¤òɽ¼¨¤¹¤ë
1307 .RB ( \-l
1308 ¤ò»ØÄꤷ¤¿¤â¤Î¤È¤ß¤Ê¤¹)¡£
1309 ³Æ¥Õ¥¡¥¤¥ë¤Î¾õÂÖ¤Ï
1310 .IR "normal(Àµ¾ï)" ,
1311 .IR "not installed(¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤)" ,
1312 .I "replaced(ÃÖ¤­´¹¤¨¤é¤ì¤¿)"
1313 ¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ë¡£
1314 .TP
1315 .\"O \fB--triggers, --triggerscripts\fR
1316 .BR \-\-triggers ", " \-\-triggerscripts
1317 .\"O Display the trigger scripts, if any, which are contained in
1318 .\"O the package.
1319 ¥Ñ¥Ã¥±¡¼¥¸¤Ë¥È¥ê¥¬¡¼¥¹¥¯¥ê¥×¥È¤¬´Þ¤Þ¤ì¤ì¤Ðɽ¼¨¤¹¤ë¡£
1320 .\"O .SS "VERIFY OPTIONS"
1321 .SS ¸¡ºº¥ª¥×¥·¥ç¥ó
1322 .\"O .PP
1323 .\"O The general form of an rpm verify command is 
1324 rpm ¤ò¸¡ºº¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
1325 .PP
1326 .\"O 
1327 .\"O \fBrpm\fR {\fB-V|--verify\fR} [\fBselect-options\fR] [\fBverify-options\fR]
1328 .BR rpm " {" \-V|\-\-verify "} [" select-options "] [" verify-options ]
1329 .\"O 
1330 .PP
1331 .\"O Verifying a package compares information about the installed files in
1332 .\"O the package with information about the files taken from the package
1333 .\"O metadata stored in the rpm database.  Among other things, verifying
1334 .\"O compares the size, MD5 sum, permissions, type, owner and group of
1335 .\"O each file.  Any discrepencies are displayed.
1336 ¥Ñ¥Ã¥±¡¼¥¸¤Î¸¡ºº¤Ç¤Ï¡¢
1337 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤È¡¢
1338 rpm ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤Î¥á¥¿¥Ç¡¼¥¿¤«¤éÆÀ¤é¤ì¤¿
1339 ¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤È¤òÈæ³Ó¤¹¤ë¡£
1340 ¤È¤ê¤ï¤±¡¢¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¡¢MD5 ¥Á¥§¥Ã¥¯¥µ¥à¡¢µö²Ä°À­¡¢¥¿¥¤¥×¡¢
1341 ½êÍ­¼Ô¡¢¥°¥ë¡¼¥×¤òÈæ³Ó¤¹¤ë¡£
1342 .\"O Files that were not installed from the package, for example,
1343 .\"O documentation files excluded on installation using the
1344 .\"O "\fB--excludedocs\fR" option,
1345 .\"O will be silently ignored.
1346 ¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ë
1347 .B \-\-excludedocs
1348 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤¿¤¿¤á¤Ë½ü³°¤µ¤ì¤¿Ê¸½ñ¥Õ¥¡¥¤¥ë¤Î¤è¤¦¤Ë¡¢
1349 ¥Ñ¥Ã¥±¡¼¥¸¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤¥Õ¥¡¥¤¥ë¤ÏÀŤ«¤Ë̵»ë¤µ¤ì¤ë¡£
1350 .PP
1351 .\"O The package selection options are the same as for package
1352 .\"O querying (including package manifest files as arguments).
1353 ¥Ñ¥Ã¥±¡¼¥¸ÁªÂò¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¸¡º÷¤Î¤¿¤á¤Î¤â¤Î¤È
1354 (¥Ñ¥Ã¥±¡¼¥¸¤Î¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤ò°ú¿ô¤Ë»ØÄê¤Ç¤­¤ë¤³¤È¤â´Þ¤á)
1355 °ì½ï¤Ç¤¢¤ë¡£
1356 .\"O Other options unique to verify mode are:
1357 ¤½¤Î¾¤Î¡¢¸¡ºº¥â¡¼¥É¸ÇÍ­¤Î¥ª¥×¥·¥ç¥ó¤Ï:
1358 .TP
1359 .\"O \fB--nodeps\fR
1360 .B \-\-nodeps
1361 .\"O Don't verify dependencies of packages.
1362 ¥Ñ¥Ã¥±¡¼¥¸¤Î°Í¸À­¤Ë¤Ä¤¤¤Æ¸¡ºº¤·¤Ê¤¤¡£
1363 .TP
1364 .\"O \fB--nodigest\fR
1365 .B \-\-nodigest
1366 .\"O Don't verify package or header digests when reading.
1367 Æɤ߹þ¤ß»þ¤Ë¥Ñ¥Ã¥±¡¼¥¸¤ä¥Ø¥Ã¥À¡¼¤Î¥À¥¤¥¸¥§¥¹¥ÈÃͤò¸¡ºº¤·¤Ê¤¤¡£
1368 .TP
1369 .\"O \fB--nofiles\fR
1370 .B \-\-nofiles
1371 .\"O Don't verify any attributes of package files.
1372 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î¥Õ¥¡¥¤¥ë¤Î¤¤¤«¤Ê¤ë°À­¤â¸¡ºº¤·¤Ê¤¤¡£
1373 .TP
1374 .\"O \fB--noscripts\fR
1375 .B \-\-noscripts
1376 .\"O Don't execute the \fB%verifyscript\fR scriptlet (if any).
1377 .B %verifyscript
1378 ¤¬¤â¤·Â¸ºß¤·¤Æ¤â¼Â¹Ô¤·¤Ê¤¤¡£
1379 .TP
1380 .\"O \fB--nosignature\fR
1381 .B \-\-nosignature
1382 .\"O Don't verify package or header signatures when reading.
1383 Æɤ߹þ¤ß»þ¤Ë¥Ñ¥Ã¥±¡¼¥¸¤ä¥Ø¥Ã¥À¡¼¤Î½ð̾¤ò¸¡ºº¤·¤Ê¤¤¡£
1384 .\"O .TP
1385 .\"O \fB--nolinkto\fR
1386 .\"O .TP
1387 .\"O \fB--nomd5\fR
1388 .\"O .TP
1389 .\"O \fB--nosize\fR
1390 .\"O .TP
1391 .\"O \fB--nouser\fR
1392 .\"O .TP
1393 .\"O \fB--nogroup\fR
1394 .\"O .TP
1395 .\"O \fB--nomtime\fR
1396 .\"O .TP
1397 .\"O \fB--nomode\fR
1398 .\"O .TP
1399 .\"O \fB--nordev\fR
1400 .TP
1401 .B \-\-nolinkto
1402 .PD 0
1403 .TP
1404 .B \-\-nomd5
1405 .TP
1406 .B \-\-nosize
1407 .TP
1408 .B \-\-nouser
1409 .TP
1410 .B \-\-nogroup
1411 .TP
1412 .B \-\-nomtime
1413 .TP
1414 .B \-\-nomode
1415 .TP
1416 .B \-\-nordev
1417 .PD
1418 .\"O Don't verify the corresponding file attribute.
1419 ¤½¤ì¤¾¤ì´ØÏ¢¤¹¤ë¥Õ¥¡¥¤¥ë°À­¤ò¸¡ºº¤·¤Ê¤¤¡£
1420 .PP
1421 .\"O The format of the output is a string of 8 characters, a possible
1422 .\"O attribute marker:
1423 .\"O 
1424 .\"O .nf
1425 .\"O \fBc\fR \fB%config\fR configuration file.
1426 .\"O \fBd\fR \fB%doc\fR documentation file.
1427 .\"O \fBg\fR \fB%ghost\fR file (i.e. the file contents are not included in the package payload).
1428 .\"O \fBl\fR \fB%license\fR license file.
1429 .\"O \fBr\fR \fB%readme\fR readme file.
1430 .\"O .fi
1431 .\"O 
1432 .\"O from the package header, followed by the file name.
1433 ½ÐÎϤηÁ¼°¤Ï 8 ¸Ä¤Îʸ»ú¤È°À­¥Þ¡¼¥¯¡¢¤½¤Î¸å¤í¤Ë¥Õ¥¡¥¤¥ë̾¤Ç¤¢¤ë¡£
1434 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ø¥Ã¥À¡¼¤«¤éÆÀ¤é¤ì¤ë°À­¥Þ¡¼¥¯¤Ï:
1435
1436 .PD 0
1437 .TP .2i
1438 .B c
1439 .B %config
1440 ÀßÄê¥Õ¥¡¥¤¥ë¡£
1441 .TP
1442 .B d
1443 .B %doc
1444 ʸ½ñ¥Õ¥¡¥¤¥ë¡£
1445 .TP
1446 .B g
1447 .B %ghost
1448 ¥Õ¥¡¥¤¥ë(¤¹¤Ê¤ï¤Á¡¢¥Ñ¥Ã¥±¡¼¥¸¤ÎÆâÍÆʪ¤È¤·¤Æ¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¥Õ¥¡¥¤¥ë)¡£
1449 .TP
1450 .B l
1451 .B %license
1452 ¥é¥¤¥»¥ó¥¹¥Õ¥¡¥¤¥ë¡£
1453 .TP
1454 .B r
1455 .B %readme
1456 readme ¥Õ¥¡¥¤¥ë¡£
1457 .PD
1458 .PP
1459 .\"O Each of the 8 characters denotes the result of a comparison of
1460 .\"O attribute(s) of the file to the value of those attribute(s) recorded
1461 ³Æ 8 ¸Ä¤Îʸ»ú¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î°À­¤È¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ëµ­Ï¿¤µ¤ì¤Æ¤¤¤ë¤½¤Î°À­¤Î
1462 ÃͤȤÎÈæ³Ó¤Î·ë²Ì¤ò°ÕÌ£¤·¤Æ¤¤¤ë¡£
1463 .\"O in the database.  A single
1464 .\"O "\fB.\fR" (period)
1465 .\"O means the test passed, while a single
1466 .\"O "\fB?\fR" (question mark)
1467 .\"O indicates the test could not be performed (e.g. file permissions
1468 .\"O prevent reading). Otherwise, the (mnemonically
1469 .\"O em\fBB\fRoldened) character denotes failure of
1470 .\"O the corresponding \fB--verify\fR test:
1471 °ì¤Ä¤Î
1472 .B "."
1473 (¥Ô¥ê¥ª¥É) ¤Ï¥Æ¥¹¥È¤òÄ̲ᤷ¤¿¤³¤È°ÕÌ£¤·¡¢°ì¤Ä¤Î
1474 .B "?"
1475 (¥¯¥¨¥¹¥Á¥ç¥ó¥Þ¡¼¥¯) ¤Ï¥Æ¥¹¥È¤¬¼Â»Ü¤µ¤ì¤Ê¤«¤Ã¤¿
1476 (¤¹¤Ê¤ï¤Á¡¢¥Õ¥¡¥¤¥ë¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ë¤è¤êÆɤ߹þ¤á¤Ê¤«¤Ã¤¿)
1477 ¤³¤È¤ò°ÕÌ£¤¹¤ë¡£¤Ç¤Ê¤«¤ì¤Ð¡¢
1478 (µ­²±¤ò½õ¤±¤ë¤¿¤á¤Ë¡¢¥Ü¡¼¥ë¥É²½
1479 .RB (em "B" oldened)
1480 ¤µ¤ì¤Æ¤¤¤ë)ʸ»ú¤Ï´ØÏ¢¤¹¤ë
1481 .B \-\-verify
1482 ¥Æ¥¹¥È¤Ë¼ºÇÔ¤·¤¿¤³¤È¤ò°ÕÌ£¤¹¤ë:
1483 .\"O 
1484 .\"O .nf
1485 .\"O \fBS\fR file \fBS\fRize differs
1486 .\"O \fBM\fR \fBM\fRode differs (includes permissions and file type)
1487 .\"O \fB5\fR MD\fB5\fR sum differs
1488 .\"O \fBD\fR \fBD\fRevice major/minor number mis-match
1489 .\"O \fBL\fR read\fBL\fRink(2) path mis-match
1490 .\"O \fBU\fR \fBU\fRser ownership differs
1491 .\"O \fBG\fR \fBG\fRroup ownership differs
1492 .\"O \fBT\fR m\fBT\fRime differs
1493 .\"O .fi
1494 .PP
1495 .PD 0
1496 .TP 0.2i
1497 .B S
1498 ¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º
1499 .RB ( S ize)
1500 ¤¬°Û¤Ê¤ë
1501 .TP
1502 .B M
1503 ¥â¡¼¥É
1504 .RB ( M ode;
1505 µö²Ä°À­¤È¥Õ¥¡¥¤¥ë¤Î¼ïÎà)
1506 ¤¬°Û¤Ê¤ë
1507 .TP
1508 .B 5
1509 .RB MD 5
1510 ¥Á¥§¥Ã¥¯¥µ¥à¤¬°Û¤Ê¤ë
1511 .TP
1512 .B D
1513 ¥Ç¥Ð¥¤¥¹
1514 .RB ( D evice)
1515 ¤Î¥á¥¸¥ã¡¼/¥Þ¥¤¥Ê¡¼Èֹ椬°ìÃפ·¤Ê¤¤
1516 .TP
1517 .B L
1518 .RB read L ink(2)
1519 ¤·¤¿¥Ñ¥¹¤¬°ìÃפ·¤Ê¤¤
1520 .TP
1521 .B U
1522 ½êÍ­¼Ô
1523 .RB ( U ser)
1524 ¤¬°Û¤Ê¤ë
1525 .TP
1526 .B G
1527 ¥°¥ë¡¼¥×
1528 .RB ( G roup)
1529 ¤¬°Û¤Ê¤ë
1530 .TP
1531 .B T
1532 ½¤Àµ»þ¹ï
1533 .RB (m T ime)
1534 ¤¬°Û¤Ê¤ë
1535 .PD
1536 .\"O 
1537 .\"O .SS "DIGITAL SIGNATURE AND DIGEST VERIFICATION"
1538 .SS ÅŻҽð̾¤È¥À¥¤¥¸¥§¥¹¥È¤Î¸¡ºº
1539 .\"O .PP
1540 .\"O The general forms of rpm digital signature commands are
1541 rpm ¤ÎÅŻҽð̾¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
1542 .PP
1543 .\"O 
1544 .\"O 
1545 .\"O \fBrpm\fR \fB--import\fR \fB\fIPUBKEY\fB\fR\fI ...\fR
1546 .BI "rpm \-\-import " "PUBKEY ..."
1547 .\"O 
1548
1549 .\"O \fBrpm\fR {\fB--checksig\fR} [\fB--nogpg\fR] [\fB--nopgp\fR] [\fB--nomd5\fR]
1550 .\"O     \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
1551 .BR rpm " {" \-K|\-\-checksig "} [" \-\-nogpg "] [" \-\-nopgp "] [" \-\-nomd5 "]"
1552 .br
1553 .I "    PACKAGE_FILE ..."
1554 .\"O 
1555 .PP
1556 .\"O The \fB--checksig\fR option checks all the digests and signatures contained in
1557 .\"O \fIPACKAGE_FILE\fR to ensure
1558 .\"O the integrity and origin of the package. Note that
1559 .\"O signatures are now verified whenever a package is read,
1560 .\"O and \fB--checksig\fR is useful to verify
1561 .\"O all of the digests and signatures associated with a package.
1562 .B \-\-checksig
1563 ¥ª¥×¥·¥ç¥ó¤Ï¡¢
1564 ¥Ñ¥Ã¥±¡¼¥¸¤Î´°Á´À­¤È½Ð½ê¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë
1565 .I PACKAGE_FILE
1566 ¤Ë´Þ¤Þ¤ì¤ë¤¹¤Ù¤Æ¤Î¥À¥¤¥¸¥§¥¹¥ÈÃͤȽð̾¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
1567 ¸½ºß¤Ç¤Ï¥Ñ¥Ã¥±¡¼¥¸¤¬Æɤ߹þ¤Þ¤ì¤¿¤È¤­¤Ï¤¤¤Ä¤Ç¤â½ð̾¤¬¸¡ºº¤µ¤ì¤ë¡£
1568 .B \-\-checksig
1569 ¤ÎÊý¤Ï¥Ñ¥Ã¥±¡¼¥¸¤ËÉտ魯¤ë¤¹¤Ù¤Æ¤Î¥À¥¤¥¸¥§¥¹¥ÈÃͤȽð̾¤ò
1570 ¸¡ºº¤¹¤ë¤Î¤ËÍ­¸ú¤Ç¤¢¤ë¡£
1571 .PP
1572 .\"O Digital signatures cannot be verified without a public key.
1573 .\"O An ascii armored public key can be added to the \fBrpm\fR database
1574 .\"O using \fB--import\fR. An imported public key is
1575 .\"O carried in a header, and key ring management is performed
1576 .\"O exactly like package management. For example, all currently imported
1577 .\"O public keys can be displayed by:
1578 ¸ø³«¸°¤¬¤Ê¤±¤ì¤ÐÅŻҽð̾¤Î¸¡ºº¤Ï¤Ç¤­¤Ê¤¤¡£
1579 .B \-\-import
1580 ¤ò»È¤¨¤Ð
1581 .B rpm
1582 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë ASCII ·Á¼°¤Ç¤Î¸ø³«¸°¤òÄɲäǤ­¤ë¡£
1583 ¼è¤ê¹þ¤Þ¤ì¤¿¸ø³«¸°¤Ï¤¢¤ë¥Ø¥Ã¥À¡¼¤Ø¤È±¿¤Ð¤ì¡¢
1584 ¥Ñ¥Ã¥±¡¼¥¸´ÉÍý¤Î¤è¤¦¤Ë¸·Ì©¤Ê¸°¥ê¥ó¥°´ÉÍý¤¬¼Â¹Ô¤µ¤ì¤ë¡£
1585 Îã¤È¤·¤Æ¡¢¤½¤Î»þÅÀ¤Ç¼è¤ê¹þ¤Þ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¸ø³«¸°¤Ï°Ê²¼¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ç
1586 ɽ¼¨¤Ç¤­¤ë¡£
1587 .PP
1588 .\"O \fBrpm -qa gpg-pubkey*\fR
1589 .nf
1590 .B "rpm \-qa gpg-pubkey*"
1591 .fi
1592 (ÌõÃí: Â¿¤¯¤Î¾ì¹ç "*" ¤Ï¥·¥§¥ë¤Ë¤è¤Ã¤Æ¥á¥¿Ê¸»ú¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¤Î¤Ç¡¢
1593 ¼ÂºÝ¤Ë¤Ï rpm \-qa "gpg-pubkey*" ¤Î¤è¤¦¤Ë¥¯¥©¡¼¥Æ¥£¥ó¥°¤¹¤ëɬÍפ¬¤¢¤ë)
1594 .PP
1595 .\"O Details about a specific public key, when imported, can be displayed
1596 .\"O by querying.  Here's information about the Red Hat GPG/DSA key:
1597 ¼è¤ê¹þ¤ó¤À¡¢ÆÃÄê¤Î¸ø³«¸°¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ï¸¡º÷¤Ë¤è¤Ã¤Æɽ¼¨¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1598 Red Hat ¤Î GPG/DSA ¸°¤Ë´Ø¤¹¤ë¾ðÊó¤Ï:
1599 .PP
1600 .\"O \fBrpm -qi gpg-pubkey-db42a60e\fR
1601 .B "rpm \-qi gpg-pubkey-db42a60e"
1602 .PP
1603 .\"O Finally, public keys can be erased after importing just like
1604 .\"O packages. Here's how to remove the Red Hat GPG/DSA key
1605 ºÇ¸å¤Ë¡¢¥Ñ¥Ã¥±¡¼¥¸¤Ç¤½¤¦¤Ç¤­¤ë¤è¤¦¤Ë¡¢¼è¤ê¹þ¤ó¤À¸ø³«¸°¤òºï½ü¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1606 °Ê²¼¤Ï Red Hat ¤Î GPG/DSA ¸°¤òºï½ü¤¹¤ë¡£
1607 .PP
1608 .\"O \fBrpm -e gpg-pubkey-db42a60e\fR
1609 .B "rpm \-e gpg-pubkey-db42a60e"
1610 .\"O .SS "SIGNING A PACKAGE"
1611 .SS ¥Ñ¥Ã¥±¡¼¥¸¤Ø¤Î½ð̾
1612 .\"O .PP
1613 .\"O 
1614 .\"O \fBrpm\fR \fB--addsign|--resign\fR \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
1615 .BR rpm " {" \-\-addsign|\-\-resign }
1616 .I PACKAGE_FILE ...
1617 .\"O 
1618 .PP
1619 .\"O Both of the \fB--addsign\fR and \fB--resign\fR
1620 .\"O options generate and insert new signatures for each package
1621 .\"O \fIPACKAGE_FILE\fR given, replacing any
1622 .\"O existing signatures. There are two options for historical reasons,
1623 .\"O there is no difference in behavior currently.
1624 ¥ª¥×¥·¥ç¥ó
1625 .B \-\-addsign
1626 ¤È
1627 .B \-\-resign
1628 ¤ÎξÊý¤È¤â¡¢Í¿¤¨¤é¤ì¤¿³Æ¥Ñ¥Ã¥±¡¼¥¸
1629 .I PACKAGE_FILE
1630 ¤ËÂФ¹¤ë¿·¤¿¤Ê½ð̾¤òÀ¸À®¡¦ÁÞÆþ¤·¡¢´û¤Ë¸ºß¤¹¤ë½ð̾¤¬¤¢¤ì¤ÐÃÖ¤­´¹¤¨¤ë¡£
1631 Îò»ËŪ¤ÊÍýͳ¤Ë¤è¤êÆó¤Ä¤Î¥ª¥×¥·¥ç¥ó¤¬Â¸ºß¤¹¤ë¤¬¡¢
1632 ¸½ºß¤Ç¤Ï¤½¤ÎÆ°ºî¤Ë°ã¤¤¤Ï¤Ê¤¤¡£
1633 .\"O .SS "USING GPG TO SIGN PACKAGES"
1634 .SS "¥Ñ¥Ã¥±¡¼¥¸¤Ø¤Î½ð̾¤Ë GPG ¤ò»ÈÍѤ¹¤ë"
1635 .\"O .PP
1636 .\"O In order to sign packages using GPG, \fBrpm\fR
1637 .\"O must be configured to run GPG and be able to find a key
1638 .\"O ring with the appropriate keys. By default,
1639 .\"O \fBrpm\fR uses the same conventions as GPG
1640 .\"O to find key rings, namely the \fB$GPGPATH\fR environment
1641 .\"O variable.  If your key rings are not located where GPG expects
1642 .\"O them to be, you will need to configure the macro
1643 .\"O \fB%_gpg_path\fR
1644 .\"O to be the location of the GPG key rings to use.
1645 GPG ¤ò»È¤Ã¤Æ¥Ñ¥Ã¥±¡¼¥¸¤Ë½ð̾¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
1646 .B rpm
1647 ¤¬ GPG ¤ò¼Â¹Ô¤¹¤ë¤è¤¦¤ËÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢¤Þ¤¿¡¢
1648 ŬÀڤʸ°¤Ç¸°¥ê¥ó¥°¤òõ¤¹¤³¤È¤¬¤Ç¤­¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1649 .B rpm
1650 ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢
1651 GPG ¤¬¸°¤Î´Ä¤òõ¤¹¤Î¤ÈƱ¤¸µ¬Â§¡¢¤¹¤Ê¤ï¤Á´Ä¶­ÊÑ¿ô
1652 .B $GPGPATH
1653 ¤ò»ÈÍѤ¹¤ë¡£
1654 GPG ¤¬´üÂÔ¤¹¤ë¾ì½ê¤Ë¸°¥ê¥ó¥°¤¬Ìµ¤¤¾ì¹ç¤Ë¤Ï¡¢
1655 »ÈÍѤ¹¤ë GPG ¸°¥ê¥ó¥°¤Î¾ì½ê¤ò
1656 .B %_gpg_path
1657 ¥Þ¥¯¥í¤ËÀßÄꤹ¤ëɬÍפ¬¤¢¤ë¡£
1658 .PP
1659 .\"O For compatibility with older versions of GPG, PGP, and rpm,
1660 .\"O only V3 OpenPGP signature packets should be configured.
1661 .\"O Either DSA or RSA verification algorithms can be used, but DSA
1662 .\"O is preferred.
1663 ²áµî¤Î¥Ð¡¼¥¸¥ç¥ó¤Î GPG, PGP, rpm ¤È¤Î¸ß´¹À­¤Î¤¿¤á¤Ë¡¢
1664 V3 OpenPGP ½ð̾¥Ñ¥±¥Ã¥È¤Î¤ß¤¬ÀßÄꤵ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1665 .\"TSEKINE ²¿¤ËÂФ·¤Æ configured ¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Î¤Ç¤·¤ç¤¦?
1666 DSA ¤È RSA ¤Î¸¡ºº¥¢¥ë¥´¥ê¥º¥à¤Î¤É¤Á¤é¤â»È¤¦¤³¤È¤¬¤Ç¤­¤ë¤¬¡¢
1667 DSA ¤ÎÊý¤¬¹¥¤Þ¤·¤¤¡£
1668 .PP
1669 .\"O If you want to be able to sign packages you create yourself, you
1670 .\"O also need to create your own public and secret key pair (see the
1671 .\"O GPG manual). You will also need to configure the \fBrpm\fR macros
1672 ºîÀ®¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Ë¼«Ê¬¼«¿È¤Ç½ð̾¤Ç¤­¤ë¤è¤¦¤Ë¤·¤¿¤±¤ì¤Ð¡¢
1673 ¸ø³«¸°¤ÈÈëÌ©¸°¤Î¥Ú¥¢¤òºîÀ®¤·¤Æ¤ª¤¯¤³¤È¤âɬÍפǤ¢¤ë
1674 (GPG ¤Î¥Þ¥Ë¥å¥¢¥ë¤ò¸«¤ë¤³¤È)¡£
1675 ¤Þ¤¿¡¢°Ê²¼¤Î
1676 .B rpm
1677 ¥Þ¥¯¥í¤òÀßÄꤹ¤ë¤³¤È¤âɬÍפǤ¢¤í¤¦¡£
1678 .TP
1679 \fB%_signature\fR
1680 .\"O The signature type.  Right now only gpg and pgp are supported.
1681 ½ð̾¤Î·Á¼°¡£
1682 ¸½ºß¤Î¤È¤³¤í gpg ¤È pgp ¤Î¤ß¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
1683 .TP
1684 \fB%_gpg_name\fR
1685 .\"O The name of the "user" whose key you wish to use to sign your packages.
1686 ¥Ñ¥Ã¥±¡¼¥¸¤Ë½ð̾¤¹¤ë¤Î¤Ë»ÈÍѤ·¤¿¤¤¸°¤Î¥æ¡¼¥¶Ì¾¡£
1687 .PP
1688 .\"O For example, to be able to use GPG to sign packages as the user
1689 .\"O \fI"John Doe <jdoe@foo.com>"\fR
1690 .\"O from the key rings located in \fI/etc/rpm/.gpg\fR
1691 .\"O using the executable \fI/usr/bin/gpg\fR you would include
1692 Î㤨¤Ð¡¢¼Â¹Ô¥Õ¥¡¥¤¥ë¤¬
1693 .I /usr/bin/gpg
1694 ¤Ç¡¢¸°¥ê¥ó¥°¤¬
1695 .I /etc/rpm/.gpg
1696 ¤Ë¤¢¤ê¡¢¤½¤ÎÃæ¤Î¥æ¡¼¥¶
1697 .I """John Doe <jdoe@foo.com>"""
1698 ¤È¤·¤Æ¥Ñ¥Ã¥±¡¼¥¸¤Ë GPG ¤ò»È¤Ã¤Æ½ð̾¤¹¤ë¾ì¹ç¤Ë¤Ï
1699 .PP
1700 .nf
1701 %_signature gpg
1702 %_gpg_path /etc/rpm/.gpg
1703 %_gpg_name John Doe <jdoe@foo.com>
1704 %_gpgbin /usr/bin/gpg
1705 .fi
1706 .PP
1707 .\"O in a macro configuration file. Use \fI/etc/rpm/macros\fR
1708 .\"O for per-system configuration and \fI~/.rpmmacros\fR
1709 .\"O for per-user configuration. 
1710 ¤ò¥Þ¥¯¥í¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ë´Þ¤á¤ì¤ÐÎɤ¤¡£
1711 ¥·¥¹¥Æ¥àÁ´ÂΤÎÀßÄê¤Ë¤Ï
1712 .I /etc/rpm/macros
1713 ¤ò¡¢¥æ¡¼¥¶¤´¤È¤ÎÀßÄê¤Ë¤Ï
1714 .I ~/.rpmmacros
1715 ¤ò»ÈÍѤ¹¤ë¡£
1716 .\"O .SS "REBUILD DATABASE OPTIONS"
1717 .SS ¥Ç¡¼¥¿¥Ù¡¼¥¹ºÆºîÀ®¥ª¥×¥·¥ç¥ó
1718 .\"O .PP
1719 .\"O The general form of an rpm rebuild database command is 
1720 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºÆºîÀ®¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
1721 .PP
1722 .\"O 
1723 .\"O \fBrpm\fR {\fB--initdb|--rebuilddb\fR} [\fB-v\fR] [\fB--dbpath \fIDIRECTORY\fB\fR] [\fB--root \fIDIRECTORY\fB\fR]
1724 .BR rpm " {" \-\-initdb|\-\-rebuilddb "} [" \-v "] [" "\-\-dbpath \fIDIRECTORY" ]
1725 .br
1726 .RB "    [" "\-\-root \fIDIRECTORY" ]
1727 .\"O 
1728 .PP
1729 .\"O Use \fB--initdb\fR to create a new database, use
1730 .\"O \fB--rebuilddb\fR to rebuild the database indices from
1731 .\"O the installed package headers.
1732 ¿·¤¿¤Ê¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºîÀ®¤¹¤ë¾ì¹ç¤Ë¤Ï
1733 .B \-\-initdb
1734 ¤ò»È¤¤¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ø¥Ã¥À¡¼¤«¤é
1735 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤òºÆºîÀ®¤¹¤ë¤Ë¤Ï
1736 .B \-\-rebuilddb
1737 ¤ò»ÈÍѤ¹¤ë¡£
1738 .SS "SHOWRC"
1739 .\"O .PP
1740 .\"O The command
1741 .\"O .PP
1742 .\"O \fBrpm\fR \fB--showrc\fR
1743 .\"O .PP
1744 .\"O shows the values \fBrpm\fR will use for all of the
1745 .\"O options are currently set in
1746 .\"O \fIrpmrc\fR and
1747 .\"O \fImacros\fR
1748 .\"O configuration file(s).
1749 ¥³¥Þ¥ó¥É
1750 .PP
1751 .B "rpm \-\-showrc"
1752 .PP
1753 ¤Ï¡¢
1754 .B rpm
1755 ¤¬»ÈÍѤ¹¤ë¤¹¤Ù¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ÎÃͤòɽ¼¨¤¹¤ë¡£
1756 Ãͤϥե¡¥¤¥ë
1757 .I rpmrc
1758 ¤È
1759 .I macros
1760 ¤ÇÀßÄꤵ¤ì¤ë¡£
1761 .\"O .SS "FTP/HTTP OPTIONS"
1762 .SS "FTP/HTTP ¥ª¥×¥·¥ç¥ó"
1763 .\"O .PP
1764 .\"O \fBrpm\fR can act as an FTP and/or HTTP client so
1765 .\"O that packages can be queried or installed from the internet.
1766 .\"O Package files for install, upgrade, and query operations may be
1767 .\"O specified as an
1768 .\"O \fBftp\fR or
1769 .\"O \fBhttp\fR
1770 .\"O style URL:  
1771 ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤«¤é¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤·¤¿¤ê¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë¡¢
1772 .B rpm
1773 ¤Ï FTP ¤È HTTP ¤Î¥¯¥é¥¤¥¢¥ó¥È¤È¤·¤ÆÆ°ºî¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1774 ¥¤¥ó¥¹¥È¡¼¥ë¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¡¢¸¡º÷¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤Ï
1775 °Ê²¼¤Î ftp ¤Þ¤¿¤Ï http ¥¹¥¿¥¤¥ë¤Î URL ¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1776 .PP
1777 ftp://USER:PASSWORD@HOST:PORT/path/to/package.rpm
1778 .PP
1779 .\"O If the \fB:PASSWORD\fR portion is omitted, the password will be
1780 .\"O prompted for (once per user/hostname pair). If both the user and
1781 .\"O password are omitted, anonymous \fBftp\fR is used.
1782 .\"O In all cases, passive (PASV) \fBftp\fR transfers are
1783 .\"O performed.
1784 ¤â¤·
1785 .B :PASSWORD
1786 ¤ÎÉôʬ¤¬¾Êά¤µ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬
1787 (¥æ¡¼¥¶/¥Û¥¹¥È̾¤ÎÁȹç¤ï¤»¤´¤È¤Ë)¿Ò¤Í¤é¤ì¤ë¡£
1788 ¥æ¡¼¥¶¤È¥Ñ¥¹¥ï¡¼¥É¤ÎξÊý¤¬¾Êά¤µ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢
1789 anonymous(ƿ̾)
1790 .B ftp
1791 ¤¬»ÈÍѤµ¤ì¤ë¡£¤¹¤Ù¤Æ¤Î¾ì¹ç¤Ë¤ª¤¤¤Æ
1792 ¥Ñ¥Ã¥·¥Ö (PASV)
1793 .B ftp
1794 žÁ÷¤¬ÍøÍѤµ¤ì¤ë¡£
1795 .PP
1796 .\"O \fBrpm\fR allows the following options to be used with
1797 .\"O ftp URLs:
1798 ftp URL ¤Ë¤ª¤¤¤Æ¡¢
1799 .B rpm
1800 ¤Ç¤Ï¼¡¤Î¥ª¥×¥·¥ç¥ó¤¬²Äǽ¤Ç¤¢¤ë¡£
1801 .TP
1802 .\"O \fB--ftpproxy \fIHOST\fB\fR
1803 .BI \-\-ftpproxy " HOST"
1804 .\"O The host \fIHOST\fR will be used as a proxy server
1805 .\"O for all ftp transfers, which allows users to ftp through firewall
1806 .\"O machines which use proxy systems. This option may also be specified
1807 .\"O by configuring the macro \fB%_ftpproxy\fR.
1808 ¥×¥í¥­¥·¤òÍѤ¤¤¿¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤òÄ̤·¤Æ¥æ¡¼¥¶¤¬ ftp ¤Ç¤­¤ë¤è¤¦¤Ë¡¢
1809 ¤¹¤Ù¤Æ¤Î ftp Å¾Á÷¤Ë¥Û¥¹¥È
1810 .I HOST
1811 ¤Ï¥×¥í¥­¥·¥µ¡¼¥Ð¡¼¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¡£
1812 ¥Þ¥¯¥í
1813 .B %_ftpproxy
1814 ¤ÎÀßÄê¤Ç¤â¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1815 .TP
1816 .\"O \fB--ftpport \fIHOST\fB\fR
1817 .BI \-\-ftpport " PORT"
1818 .\"TSEKINE Â¿Ê¬¡¢¸¶Ê¸¤ÎÊý¤¬´Ö°ã¤Ã¤Æ¤ë
1819 .\"O The TCP \fIPORT\fR number to use for
1820 .\"O the ftp connection on the proxy ftp server instead of the default
1821 .\"O port. This option may also be specified by configuring the macro
1822 .\"O \fB%_ftpport\fR.
1823 ¥Ç¥Õ¥©¥ë¥È¤Î¥Ý¡¼¥È¤ÎÂå¤ï¤ê¤Ë¡¢¥×¥í¥­¥· ftp ¥µ¡¼¥Ð¤Î ftp Àܳ¤Ë»ÈÍѤ¹¤ë
1824 TCP
1825 .I PORT
1826 (¥Ý¡¼¥È)Èֹ档
1827 ¥Þ¥¯¥í
1828 .B %_ftpport
1829 ¤ÎÀßÄê¤Ç¤â¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1830 .PP
1831 .\"O \fBrpm\fR allows the following options to be used with
1832 .\"O \fBhttp\fR URLs:
1833 .B http
1834 URL ¤Ë¤ª¤¤¤Æ¡¢
1835 .B rpm
1836 ¤Ç¤Ï¼¡¤Î¥ª¥×¥·¥ç¥ó¤¬²Äǽ¤Ç¤¢¤ë¡£
1837 .TP
1838 .\"O \fB--httpproxy \fIHOST\fB\fR
1839 .BI \-\-httpproxy " HOST"
1840 .\"O The host \fIHOST\fR will be used as
1841 .\"O a proxy server for all \fBhttp\fR transfers. This
1842 .\"O option may also be specified by configuring the macro
1843 .\"O \fB%_httpproxy\fR.
1844 ¤¹¤Ù¤Æ¤Î http Å¾Á÷¤Ë¥Û¥¹¥È
1845 .I HOST
1846 ¤Ï¥×¥í¥­¥·¥µ¡¼¥Ð¡¼¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¡£
1847 ¥Þ¥¯¥í
1848 .B %_httpproxy
1849 ¤ÎÀßÄê¤Ç¤â¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1850 .TP
1851 .\"O \fB--httpport \fIPORT\fB\fR
1852 .BI \-\-httpport " PORT"
1853 .\"O The TCP \fIPORT\fR number to use for the
1854 .\"O \fBhttp\fR connection on the proxy http server instead
1855 .\"O of the default port. This option may also be specified by configuring
1856 .\"O the macro \fB%_httpport\fR.
1857 ¥Ç¥Õ¥©¥ë¥È¤Î¥Ý¡¼¥È¤ÎÂå¤ï¤ê¤Ë¡¢http ¥×¥í¥­¥·¥µ¡¼¥Ð¤ÎÀܳ¤Ç»ÈÍѤ¹¤ë
1858 TCP
1859 .B PORT
1860 (¥Ý¡¼¥È)Èֹ档
1861 .\"O .SH "LEGACY ISSUES"
1862 .SH ²áµî¤Î°ä»º
1863 .\"O .SS "Executing rpmbuild"
1864 .SS "rpmbuild ¤Î¼Â¹Ô"
1865 .\"O .PP
1866 .\"O The build modes of rpm are now resident in the
1867 .\"O \fI/usr/bin/rpmbuild\fR
1868 .\"O executable. Although legacy compatibility provided by the popt aliases
1869 .\"O below has been adequate, the compatibility is not perfect; hence build
1870 .\"O mode compatibility through popt aliases is being removed from rpm.
1871 rpm ¤Î¥Ó¥ë¥É¥â¡¼¥É¤Ï¡¢¸½ºß¤Ç¤Ï
1872 .I /usr/bin/rpmbuild
1873 ¤Ë´Þ¤Þ¤ì¤ë¡£
1874 ²áµî¤È¤Î¸ß´¹À­¤Ï°Ê²¼¤Î popt ¤Ë¤è¤ë¥¨¥¤¥ê¥¢¥¹¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¡¢
1875 ¤½¤ì¤Ï¤Þ¤º¤Þ¤º¤Ç¤Ï¤¢¤ë¤¬´°Á´¤Ç¤Ï¤Ê¤¤¡£
1876 ¤è¤Ã¤Æ popt ¤Î¥¨¥¤¥ê¥¢¥¹¤ò»È¤Ã¤¿¥Ó¥ë¥É¥â¡¼¥É¤Î¸ß´¹À­¤Ï¡¢
1877 rpm ¤«¤é¼è¤ê½ü¤«¤ì¤Ä¤Ä¤¢¤ë¡£
1878 .\"O Install the \fBrpmbuild\fR package, and see
1879 .\"O \fBrpmbuild\fR(8) for documentation of all the
1880 .\"O \fBrpm\fR build modes previously documented here in
1881 .\"O \fBrpm\fR(8).
1882 °ÊÁ°¤Î
1883 .BR rpm (8)
1884 ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤¿
1885 .B rpm
1886 ¥Ó¥ë¥É¥â¡¼¥É¤Ë¤Ä¤¤¤Æ¤Î¤¹¤Ù¤Æ¤Îʸ½ñ¤Ï¡¢
1887 .B rpmbuld
1888 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·
1889 .BR rpmbuild (8)
1890 ¤ò»²¾È¤¹¤ë¤³¤È¡£
1891 .PP
1892 .\"O Add the following lines to \fI/etc/popt\fR
1893 .\"O if you wish to continue invoking \fBrpmbuild\fR from
1894 .\"O the \fBrpm\fR command line:
1895 ¤³¤ì¤«¤é¤â
1896 .B rpm
1897 ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é
1898 .B rpmbuild
1899 ¤ò¸Æ¤Ó½Ð¤·¤¿¤±¤ì¤Ð¡¢°Ê²¼¤Î¹Ô¤ò
1900 .I /etc/popt
1901 ¤Ë²Ã¤¨¤ì¤Ð¤è¤¤¡£
1902 .PP
1903 .nf
1904 .\"O rpm     exec --bp               rpmb -bp
1905 .\"O rpm     exec --bc               rpmb -bc
1906 .\"O rpm     exec --bi               rpmb -bi
1907 .\"O rpm     exec --bl               rpmb -bl
1908 .\"O rpm     exec --ba               rpmb -ba
1909 .\"O rpm     exec --bb               rpmb -bb
1910 .\"O rpm     exec --bs               rpmb -bs 
1911 .\"O rpm     exec --tp               rpmb -tp 
1912 .\"O rpm     exec --tc               rpmb -tc 
1913 .\"O rpm     exec --ti               rpmb -ti 
1914 .\"O rpm     exec --tl               rpmb -tl 
1915 .\"O rpm     exec --ta               rpmb -ta
1916 .\"O rpm     exec --tb               rpmb -tb
1917 .\"O rpm     exec --ts               rpmb -ts 
1918 .\"O rpm     exec --rebuild          rpmb --rebuild
1919 .\"O rpm     exec --recompile        rpmb --recompile
1920 .\"O rpm     exec --clean            rpmb --clean
1921 .\"O rpm     exec --rmsource         rpmb --rmsource
1922 .\"O rpm     exec --rmspec           rpmb --rmspec
1923 .\"O rpm     exec --target           rpmb --target
1924 .\"O rpm     exec --short-circuit    rpmb --short-circuit
1925 rpm     exec \-\-bp               rpmb \-bp
1926 rpm     exec \-\-bc               rpmb \-bc
1927 rpm     exec \-\-bi               rpmb \-bi
1928 rpm     exec \-\-bl               rpmb \-bl
1929 rpm     exec \-\-ba               rpmb \-ba
1930 rpm     exec \-\-bb               rpmb \-bb
1931 rpm     exec \-\-bs               rpmb \-bs 
1932 rpm     exec \-\-tp               rpmb \-tp 
1933 rpm     exec \-\-tc               rpmb \-tc 
1934 rpm     exec \-\-ti               rpmb \-ti 
1935 rpm     exec \-\-tl               rpmb \-tl 
1936 rpm     exec \-\-ta               rpmb \-ta
1937 rpm     exec \-\-tb               rpmb \-tb
1938 rpm     exec \-\-ts               rpmb \-ts 
1939 rpm     exec \-\-rebuild          rpmb \-\-rebuild
1940 rpm     exec \-\-recompile        rpmb \-\-recompile
1941 rpm     exec \-\-clean            rpmb \-\-clean
1942 rpm     exec \-\-rmsource         rpmb \-\-rmsource
1943 rpm     exec \-\-rmspec           rpmb \-\-rmspec
1944 rpm     exec \-\-target           rpmb \-\-target
1945 rpm     exec \-\-short\-circuit    rpmb \-\-short\-circuit
1946 .fi
1947 .\"O .SH "FILES"
1948 .SH ¥Õ¥¡¥¤¥ë
1949 .\"O .SS "rpmrc Configuration"
1950 .SS "rpmrc ÀßÄê"
1951 .PP
1952 .nf
1953 \fI/usr/lib/rpm/rpmrc\fR
1954 \fI/usr/lib/rpm/redhat/rpmrc\fR
1955 \fI/etc/rpmrc\fR
1956 \fI~/.rpmrc\fR
1957 .fi
1958 .\"O .SS "Macro Configuration"
1959 .SS ¥Þ¥¯¥íÀßÄê
1960 .\"O .PP
1961 .nf
1962 \fI/usr/lib/rpm/macros\fR
1963 \fI/usr/lib/rpm/redhat/macros\fR
1964 \fI/etc/rpm/macros\fR
1965 \fI~/.rpmmacros\fR
1966 .fi
1967 .\"O .SS "Database"
1968 .SS ¥Ç¡¼¥¿¥Ù¡¼¥¹
1969 .\"O .PP
1970 .nf
1971 \fI/var/lib/rpm/Basenames\fR
1972 \fI/var/lib/rpm/Conflictname\fR
1973 \fI/var/lib/rpm/Dirnames\fR
1974 \fI/var/lib/rpm/Filemd5s\fR
1975 \fI/var/lib/rpm/Group\fR
1976 \fI/var/lib/rpm/Installtid\fR
1977 \fI/var/lib/rpm/Name\fR
1978 \fI/var/lib/rpm/Packages\fR
1979 \fI/var/lib/rpm/Providename\fR
1980 \fI/var/lib/rpm/Provideversion\fR
1981 \fI/var/lib/rpm/Pubkeys\fR
1982 \fI/var/lib/rpm/Removed\fR
1983 \fI/var/lib/rpm/Requirename\fR
1984 \fI/var/lib/rpm/Requireversion\fR
1985 \fI/var/lib/rpm/Sha1header\fR
1986 \fI/var/lib/rpm/Sigmd5\fR
1987 \fI/var/lib/rpm/Triggername\fR
1988 .fi
1989 .\"O .SS "Temporaray"
1990 .\"O TSEKINE: Temporary ¤Î typo
1991 .SS °ì»þ¥Õ¥¡¥¤¥ë
1992 .\"O .PP
1993 \fI/var/tmp/rpm*\fR
1994 .\"O .SH "SEE ALSO"
1995 .SH ´ØÏ¢¹àÌÜ
1996 .\"O 
1997 .\"O .nf
1998 .\"O \fBpopt\fR(3),
1999 .\"O \fBrpm2cpio\fR(8),
2000 .\"O \fBrpmbuild\fR(8),
2001 .\"O .fi
2002 .BR popt (3),
2003 .BR rpm2cpio (8),
2004 .BR rpmbuild (8),
2005 .\"O 
2006 .\"O \fBhttp://www.rpm.org/ <URL:http://www.rpm.org/>
2007 .\"O \fR
2008 .nf
2009 .UR http://www.rpm.org/
2010 .B http://www.rpm.org/
2011 .UE
2012 .fi
2013 .\"O .SH "AUTHORS"
2014 .SH Ãø¼Ô
2015 .\"O 
2016 .nf
2017 Marc Ewing <marc@redhat.com>
2018 Jeff Johnson <jbj@redhat.com>
2019 Erik Troan <ewt@redhat.com>
2020 .fi