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>.
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.
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.
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,
22 .\" Japanese Version Copyright (C) 2003 System Design and Research
23 .\" Institute Co.,Ltd. All rights reserved.
25 .\" Translated 14 March 2003 by
26 .\" System Design and Research Institute Co.,Ltd. <info@sdri.co.jp>
29 .\"WORD: upgrade ¥¢¥Ã¥×¥°¥ì¡¼¥É
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 ¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë
45 .TH "RPM" "8" "09 June 2002" "Red Hat, Inc." "Red Hat Linux"
48 .\"O rpm \- RPM Package Manager
49 rpm \- RPM ¥Ñ¥Ã¥±¡¼¥¸¥Þ¥Í¡¼¥¸¥ã
52 .\"O .SS "QUERYING AND VERIFYING PACKAGES:"
53 .SS ¥Ñ¥Ã¥±¡¼¥¸¤Î¸¡º÷¤È¸¡ºº:
57 .\"O \fBrpm\fR {\fB-q|--query\fR} [\fBselect-options\fR] [\fBquery-options\fR]
58 .BR rpm " {" \-q|\-\-query "} [" select-options "] [" query-options ]
62 .\"O \fBrpm\fR {\fB-V|--verify\fR} [\fBselect-options\fR] [\fBverify-options\fR]
63 .BR rpm " {" \-V|\-\-verify "} [" select-options "] [" verify-options ]
67 .\"O \fBrpm\fR \fB--import\fR \fB\fIPUBKEY\fB\fR\fI ...\fR
68 .BI "rpm \-\-import " "PUBKEY ..."
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 "]"
76 .I " PACKAGE_FILE" ...
78 .\"O .SS "INSTALLING, UPGRADING, AND REMOVING PACKAGES:"
79 .SS ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¦¥¢¥Ã¥×¥°¥ì¡¼¥É¡¦ºï½ü:
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 ]
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 ]
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 ]
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 ]
105 .RB " [" \-\-notriggers "] [" \-\-repackage "] [" \-\-test ]
108 .\"O .SS "MISCELLANEOUS:"
113 .\"O \fBrpm\fR {\fB--initdb|--rebuilddb\fR}
114 .BR rpm " {" \-\-initdb|\-\-rebuilddb }
118 .\"O \fBrpm\fR {\fB--addsign|--resign\fR} \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
119 .BR rpm " {" \-\-addsign|\-\-resign }
124 .\"O \fBrpm\fR {\fB--querytags|--showrc\fR}
125 .BR rpm " {" \-\-querytags|\-\-showrc }
129 .\"O \fBrpm\fR {\fB--setperms|--setugids\fR} \fB\fIPACKAGE_NAME\fB\fR\fI ...\fR
130 .BR rpm " {" \-\-setperms|\-\-setugids }
133 .\"O .SS "select-options"
134 .SS select-options(ÁªÂò¥ª¥×¥·¥ç¥ó)
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]
144 .RB [ \-a , \-\-all ]
145 .RB [ \-f , \-\-file " " "\fIFILE" ]
147 .RB [ \-g , \-\-group " " "\fIGROUP" ]
148 .RB [ \-p , \-\-package " " "\fIPACKAGE_FILE" ]
150 .RB [ \-\-fileid " " "\fIMD5" ]
151 .RB [ \-\-hdrid " " "\fISHA1" ]
152 .RB [ \-\-pkgid " " "\fIMD5" ]
153 .RB [ \-\-tid " " "\fITID" ]
155 .RB [ \-\-querybynumber " " "\fIHDRNUM" ]
156 .RB [ \-\-triggerdby " " "\fIPACKAGE_NAME" ]
158 .RB [ \-\-whatprovies " " "\fICAPABILITY" ]
159 .RB [ \-\-whatrequires " " "\fICAPABILITY" ]
161 .\"O .SS "query-options"
162 .SS query-options(¸¡º÷¥ª¥×¥·¥ç¥ó)
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 ]
176 .RB [ \-\-filesbypkg ]
177 .RB [ \-i , \-\-info ]
179 .RB [ \-l , \-\-list ]
182 .RB [ \-\-qf , \-\-queryformat " " "\fIQUERYFMT" ]
183 .RB [ \-R , \-\-requires ]
186 .RB [ \-s , \-\-state ]
187 .RB [ \-\-triggers , \-\-triggerscripts ]
189 .\"O .SS "verify-options"
190 .SS verify-options(¸¡ºº¥ª¥×¥·¥ç¥ó)
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]
200 .RB [ \-\-noscripts ]
203 .RB [ \-\-nosignature ]
214 .\"O .SS "install-options"
215 .SS install-options(¥¤¥ó¥¹¥È¡¼¥ë¥ª¥×¥·¥ç¥ó)
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]
232 .RB [ \-\-excludepath " " "\fIOLDPATH" ]
234 .RB [ \-\-excludedocs ]
236 .RB [ \-h , \-\-hash ]
237 .RB [ \-\-ignoresize ]
239 .RB [ \-\-ignorearch ]
241 .RB [ \-\-includedocs ]
246 .RB [ \-\-nosignature ]
247 .RB [ \-\-nosuggest ]
250 .RB [ \-\-noscripts ]
251 .RB [ \-\-notriggers ]
253 .RB [ \-\-oldpackage ]
255 .RB [ \-\-prefix " " "\fINEWPATH" ]
257 .RB [ \-\-relocate " " "\fIOLDPATH" = "\fINEWPATH" ]
258 .RB [ \-\-repackage ]
260 .RB [ \-\-replacefiles ]
261 .RB [ \-\-replacepkgs ]
264 .\"O .SH "DESCRIPTION"
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.
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.
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
290 ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿¤á¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò¥«¥×¥»¥ë²½¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¥Ð¥¤¥Ê¥ê
291 ¥Ñ¥Ã¥±¡¼¥¸¤È¡¢¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤òÀ¸À®¤¹¤ë¤Î¤ËɬÍפʥ쥷¥Ô¤È¥½¡¼¥¹¥³¡¼¥É
292 ¤«¤é¤Ê¤ë¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤Ç¤¢¤ë¡£
294 .\"O One of the following basic modes must be selected:
295 °Ê²¼¤Î´ðËܥ⡼¥É¤Î¤¤¤º¤ì¤«¤¬ÁªÂò¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤:
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,
304 .\"O \fBAdd Signature\fR,
305 .\"O \fBSet Owners/Groups\fR,
306 .\"O \fBShow Querytags\fR, and
307 .\"O \fBShow Configuration\fR.
311 \fB¥¤¥ó¥¹¥È¡¼¥ë/¥¢¥Ã¥×¥°¥ì¡¼¥É/¹¹¿·\fR¡¢
312 \fB¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë\fR¡¢
313 \fB¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½é´ü²½\fR¡¢
314 \fB¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎºÆºîÀ®\fR¡¢
317 \fB½êͼÔ/¥°¥ë¡¼¥×¤ÎÀßÄê\fR¡¢
318 \fB¸¡º÷¥¿¥°¤Îɽ¼¨\fR¡¢
320 .\"O .SS "GENERAL OPTIONS"
323 .\"O These options can be used in all the different modes.
324 ¼¡¤Î¥ª¥×¥·¥ç¥ó¤Ï¤¹¤Ù¤Æ¤Î¥â¡¼¥É¤Ç»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
326 .\"O \fB-?, --help\fR
327 .BR \-? ", " \-\-help
328 .\"O Print a longer usage message then normal.
329 »È¤¤Êý¤òÄ̾ï¤Î¤â¤Î¤è¤ê¤âŤ¯É½¼¨¤¹¤ë¡£
333 .\"O Print a single line containing the version number of \fBrpm\fR
337 ¤Î¥Ð¡¼¥¸¥ç¥óÈֹ椫¤é¤Ê¤ë 1 ¹Ô¤òɽ¼¨¤¹¤ë¡£
341 .\"O Print as little as possible - normally only error messages will
343 ¤Ç¤¤ë¤À¤±¾¯¤Ê¤¯É½¼¨¤¹¤ë¡£
344 Ä̾ï¤Ï¡¢¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤À¤±¤¬É½¼¨¤µ¤ì¤ë¡£
348 .\"O Print verbose information - normally routine progress messages will be
350 ¤è¤ê¿¤¯¤Î¾ðÊó¤òɽ¼¨¤¹¤ë¡£
351 Ä̾ï¤Ï¡¢¥ë¡¼¥Á¥ó¤Î¿ÊĽ¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¡£
355 .\"O Print lots of ugly debugging information.
356 Âô»³¤Î±ø¤¤¥Ç¥Ð¥Ã¥°¾ðÊó¤òɽ¼¨¤¹¤ë¡£
358 .\"O \fB--rcfile \fIFILELIST\fB\fR
359 .BI "\-\-rcfile " FILELIST
360 .\"O Each of the files in the colon separated
362 .\"O is read sequentially by \fBrpm\fR for configuration
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 ¥³¥í¥ó(`:')¤Ç¶èÀÚ¤é¤ì¤¿
370 ¤Î³Æ¥Õ¥¡¥¤¥ë¤Ï¡¢ÀßÄê¾ðÊó¤È¤·¤Æ
372 ¤Ë¤è¤Ã¤Æ½çÈÖ¤ËÆɤ߹þ¤Þ¤ì¤ë¡£
375 .IR /usr/lib/rpm/rpmrc : /usr/lib/rpm/redhat/rpmrc : ~/.rpmrc
378 .\"O \fB--pipe \fICMD\fB\fR
380 .\"O Pipes the output of \fBrpm\fR to the command \fICMD\fR.
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 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Ñ¥¹¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Î
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
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 ¤¹¤Ù¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ËÂФ·¡¢
408 ¤ò¥ë¡¼¥È¤È¤·¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò»È¤¦¡£
410 °Í¸À¤Î¥Á¥§¥Ã¥¯¤È¤¹¤Ù¤Æ¤Î¥¹¥¯¥ê¥×¥È(·²)
411 (Î㤨¤Ð¡¢¥Ñ¥Ã¥±¡¼¥¸¥¤¥ó¥¹¥È¡¼¥ë»þ¤Î
413 ¤ä¡¢¥Ñ¥Ã¥±¡¼¥¸¥Ó¥ë¥É»þ¤Î
417 ¤Ë chroot(2) ¤·¤¿¸å¤Ç¡¢
419 Æâ¤Ë¤¢¤ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤¬»ÈÍѤµ¤ì¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£
420 .\"O .SS "INSTALL AND UPGRADE OPTIONS"
421 .SS ¥¤¥ó¥¹¥È¡¼¥ë¤È¥¢¥Ã¥×¥°¥ì¡¼¥É¤Î¥ª¥×¥·¥ç¥ó
423 .\"O The general form of an rpm install command is
424 rpm ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
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 ]
432 .\"O This installs a new package.
433 ¤³¤ì¤Ï¿·¤·¤¤¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
436 .\"O The general form of an rpm upgrade command is
437 ¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
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 ]
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 ºï½ü¤µ¤ì¤ë¤³¤È¤ò½ü¤±¤Ð¡¢¥¤¥ó¥¹¥È¡¼¥ë¤ÈƱ¤¸¤Ç¤¢¤ë¡£
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 ]
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
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
471 ¤³¤ì¤Ï°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¡¢¸½ºß¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ß
472 ¥Ñ¥Ã¥±¡¼¥¸¤ò¹¹¿·¤¹¤ë¡£
479 ¤Î URL ¤ò»ØÄꤹ¤ë¤³¤È¤¬²Äǽ¤Ç¡¢¤½¤Î¾ì¹ç¤Ë¤Ï¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÁ°¤Ë
486 ¤Î¥µ¥Ý¡¼¥È¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
487 .B FTP/HTTP ¥ª¥×¥·¥ç¥ó
493 .\"O Add suggested packages to the transaction set when needed.
494 »ØÄꤵ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò¡¢É¬Íפ¬¤¢¤ì¤Ð¥È¥é¥ó¥¶¥ó¥¯¥·¥ç¥ó¤Ë²Ã¤¨¤ë¡£
496 .\"O \fB--allfiles\fR
498 .\"O Installs or upgrades all the missingok files in the package,
499 .\"O regardless if they exist.
500 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î missingok ¥Õ¥¡¥¤¥ë¤ò¡¢Â¸ºß¤¹¤ë/¤·¤Ê¤¤¤Ë¤«¤«¤ï¤é¤º
501 ¥¤¥ó¥¹¥È¡¼¥ë¤Þ¤¿¤Ï¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¡£
503 .\"O \fB--badreloc\fR
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).
509 ¤È°ì½ï¤Ë»È¤ï¤ì¤ë¤È¡¢¥Ñ¥Ã¥±¡¼¥¸ºÆÇÛÃ֤Υҥó¥È(·²)¤ÎÃæ¤Ë¤½¤Î
511 ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¯¤Æ¤â¡¢¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¥Ñ¥¹¤ÎºÆÇÛÃÖ¤òµö²Ä¤¹¤ë¡£
513 .\"O \fB--excludepath \fIOLDPATH\fB\fR
514 .BI "\-\-excludepath " OLDPATH
515 .\"O Don't install files whose name begins with
519 ¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤¤¡£
521 .\"O \fB--excludedocs\fR
523 .\"O Don't install any files which are marked as documentation
524 .\"O (which includes man pages and texinfo documents).
525 (man ¥Ú¡¼¥¸¡¢tenxinfo ʸ½ñ¤ò´Þ¤á¤¿)ʸ½ñ¤Ç¤¢¤ë¤È¥Þ¡¼¥¯ÉÕ¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤ò
531 .\"O \fB--replacepkgs\fR,
532 .\"O \fB--replacefiles\fR, and
533 .\"O \fB--oldpackage\fR.
534 .BR \-\-replacepkgs ", " \-\-replacefiles ", " \-\-oldpackage
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¸Ä¤Î¥Ï¥Ã¥·¥å¥Þ¡¼¥¯("#")
544 ¤È°ì½ï¤Ë»È¤¨¤Ð¡¢¤è¤ê¤è¤¤É½¼¨¤¬ÆÀ¤é¤ì¤ë¡£
546 .\"O \fB--ignoresize\fR
548 .\"O Don't check mount file systems for sufficient disk space before
549 .\"O installing this package.
550 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÁ°¤Ë¡¢¥Ç¥£¥¹¥¯¤Ë½½Ê¬¤Ê¶õ¤¤¬¤¢¤ë¤«¤Î
551 ¥Á¥§¥Ã¥¯¤ò¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ËÂФ·¤Æ¹Ô¤ï¤Ê¤¤¡£
553 .\"O \fB--ignorearch\fR
555 .\"O Allow installation or upgrading even if the architectures
556 .\"O of the binary package and host don't match.
557 ¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤Î¥¢¡¼¥¥Æ¥¯¥Á¥ã¤È¡¢¤½¤Î¥Û¥¹¥È¤Î¥¢¡¼¥¥Æ¥¯¥Á¥ã¤¬
558 °ìÃפ·¤Ê¤¯¤Æ¤â¡¢¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò¹Ô¤¦¡£
560 .\"O \fB--ignoreos\fR
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 ¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò¹Ô¤¦¡£
567 .\"O \fB--includedocs\fR
568 .\"O Install documentation files. This is the default behavior.
570 ʸ½ñ¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤Ç¤¢¤ë¡£
574 .\"O Update only the database, not the filesystem.
575 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤À¤±¤ò¹¹¿·¤·¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¹¹¿·¤·¤Ê¤¤¡£
577 .\"O \fB--nodigest\fR
579 .\"O Don't verify package or header digests when reading.
580 Æɤ߹þ¤ß»þ¤Ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ø¥Ã¥À¤Î¥À¥¤¥¸¥§¥¹¥È¤ò¸¡ºº¤·¤Ê¤¤¡£
582 .\"O \fB--nosignature\fR
584 .\"O Don't verify package or header signatures when reading.
585 Æɤ߹þ¤ß»þ¤Ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ø¥Ã¥À¤Î½ð̾¤ò¸¡ºº¤·¤Ê¤¤¡£
589 .\"O Don't do a dependency check before installing or upgrading
591 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥Ã¥×¥°¥ì¡¼¥É¤ÎÁ°¤Ë¡¢°Í¸À¤Î¥Á¥§¥Ã¥¯¤ò¤·¤Ê¤¤¡£
593 .\"O \fB--nosuggest\fR
595 .\"O Don't suggest package(s) that provide a missing dependency.
596 ÉÔÌÀ¤Ê°Í¸À¤ò²ò¾Ã¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸(·²)¤òÄó°Æ¤·¤Ê¤¤¡£
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 Ä̾ï¤Ï°Í¸À¤òËþ¤¿¤¹¤¿¤á¤Ë¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥ê¥¹¥È¤ÏʤÓÂؤ¨¤é¤ì¤ë¡£
605 .\"O \fB--noscripts\fR
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
628 ¤½¤ì¤¾¤ìƱ¤¸Ì¾Á°¤ò»ý¤Ã¤¿¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Ê¤¤¡£
635 .\"O \fB--nopostun\fR
636 .B "\-\-nopre \-\-nopost \-\-nopreun \-\-nopostun"
638 .\"O and turns off the execution of the corresponding
641 .\"O \fB%preun\fR, and
649 ¥¹¥¯¥ê¥×¥È(·²)¤ò¼Â¹Ô¤·¤Ê¤¤¡£
651 .\"O \fB--notriggers\fR
653 .\"O \fB--notriggerin\fR
655 .\"O \fB--notriggerun\fR
657 .\"O \fB--notriggerpostun\fR
666 .B \-\-notriggerpostun
668 .\"O Don't execute any trigger scriptlet of the named type.
669 »ØÄꤵ¤ì¤¿¼ïÎà¤Î¥È¥ê¥¬¡¼¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Ê¤¤¡£
670 .\"O The \fB--notriggers\fR option is equivalent to
672 .\"O \fB--notriggerin\fR
673 .\"O \fB--notriggerun\fR
674 .\"O \fB--notriggerpostun\fR
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
684 .B "\-\-notriggerin \-\-notriggerun \-\-notriggerpostun"
690 ¥¹¥¯¥ê¥×¥È(·²)¤ò¼Â¹Ô¤·¤Ê¤¤¡£
692 .\"O \fB--oldpackage\fR
694 .\"O Allow an upgrade to replace a newer package with an older one.
695 ¿·¤·¤¤¥Ñ¥Ã¥±¡¼¥¸¤ò¤½¤ì¤è¤ê¸Å¤¤¥Ñ¥Ã¥±¡¼¥¸¤Ç¥¢¥Ã¥×¥°¥ì¡¼¥É¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ë¡£
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
702 ¥Ñ¥Ã¥±¡¼¥¸¥¢¡¼¥«¥¤¥Ö¤«¤é¥Õ¥¡¥¤¥ë¤¬¼è¤ê½Ð¤µ¤ì¤ë¤Ë¤Ä¤ì¤Æ¡¢
706 ¤¬Â¾¤Î¥Ä¡¼¥ë¤«¤é¼Â¹Ô¤µ¤ì¤ë¤Î¤òÍưפˤ¹¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤ë¡£
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 ¥¤¥ó¥¹¥È¡¼¥ë¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹¤ò¡¢
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
726 ºÆÇÛÃÖ²Äǽ¤Ê¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤Ë¤ª¤¤¤Æ¡¢¥Ñ¥Ã¥±¡¼¥¸¤ÎºÆÇÛÃÖ¥Ò¥ó¥È(·²)¤Ë¤¢¤ë
728 ¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹¤È
731 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Ç¡¢Ê£¿ô¤Î
733 ¤¬ºÆÇÛÃÖ¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Î¤Ê¤é¡¢
734 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò·«¤êÊÖ¤·»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£
736 .\"O \fB--repackage\fR
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 ¤Ë¤è¤Ã¤Æ̾ÉÕ¤±¤é¤ì¡¢¥Þ¥¯¥í
751 ÌõÃí: /usr/lib/rpm/macros ¤Ç¤Ï /var/spool/repackage ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë)
752 ¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤ËºîÀ®¤µ¤ì¤ë¡£
754 .\"O \fB--replacefiles\fR
756 .\"O Install the packages even if they replace files from other,
757 .\"O already installed, packages.
758 ´û¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿Â¾¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î¥Õ¥¡¥¤¥ë¤òÃÖ¤´¹¤¨¤Æ¤·¤Þ¤¦¾ì¹ç¤Ç¤â¡¢
759 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
761 .\"O \fB--replacepkgs\fR
763 .\"O Install the packages even if some of them are already installed
765 »ØÄꤵ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¤¦¤Á¤Î¤¤¤¯¤Ä¤«¤¬¥·¥¹¥Æ¥à¤Ë´û¤Ë¥¤¥ó¥¹¥È¡¼¥ë
766 ¤µ¤ì¤Æ¤¤¤Æ¤â¡¢¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
770 .\"O Do not install the package, simply check for and report
771 .\"O potential conflicts.
772 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤»¤º¡¢Ã±¤Ë¥Á¥§¥Ã¥¯¤È¡¢
773 ÀøºßŪ¤Ê¾×ÆͤÎÊó¹ð¤ò¹Ô¤¦¡£
774 .\"O .SS "ERASE OPTIONS"
777 .\"O The general form of an rpm erase command is
778 rpm ¤òºï½ü¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
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 ]
784 .RB " [" \-\-notriggers "] [" \-\-repackage "] [" \-\-test ]
785 .I "PACKAGE_NAME ..."
788 .\"O The following options may also be used:
789 °Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤǤ¤ë:
791 .\"O \fB--allmatches\fR
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.
798 ¤Ë°ìÃפ¹¤ë¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¥Ñ¥Ã¥±¡¼¥¸¤òºï½ü¤¹¤ë¡£
802 .\"O Don't check dependencies before uninstalling the packages.
803 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÁ°¤Ë°Í¸À¤Î¥Á¥§¥Ã¥¯¤ò¤·¤Ê¤¤¡£
805 .\"O \fB--noscripts\fR
809 .\"O \fB--nopostun\fR
818 .\"O Don't execute the scriptlet of the same name.
819 .\"O The \fB--noscripts\fR option during package erase is
821 ¤½¤ì¤¾¤ìƱ¤¸Ì¾Á°¤ò»ý¤Ã¤¿¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Ê¤¤¡£
826 .\"O \fB--nopostun\fR
827 .B "\-\-nopreun \-\-nopostun"
829 .\"O and turns off the execution of the corresponding
830 .\"O \fB%preun\fR, and
837 ¥¹¥¯¥ê¥×¥È(·²)¤ò¼Â¹Ô¤·¤Ê¤¤¡£
839 .\"O \fB--notriggers\fR
841 .\"O \fB--notriggerun\fR
843 .\"O \fB--notriggerpostun\fR
850 .B \-\-notriggerpostun
852 .\"O Don't execute any trigger scriptlet of the named type.
853 »ØÄꤵ¤ì¤¿¼ïÎà¤Î¥È¥ê¥¬¡¼¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Ê¤¤¡£
854 .\"O The \fB--notriggers\fR option is equivalent to
856 .\"O \fB--notriggerun\fR
857 .\"O \fB--notriggerpostun\fR
859 .\"O and turns off execution of the corresponding
860 .\"O \fB%triggerun\fR, and
861 .\"O \fB%triggerpostun\fR
867 .B "\-\-notriggerun \-\-notriggerpostun"
873 ¥¹¥¯¥ê¥×¥È(·²)¤ò¼Â¹Ô¤·¤Ê¤¤¡£
875 .\"O \fB--repackage\fR
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 ¤Ë¤è¤Ã¤Æ̾ÉÕ¤±¤é¤ì¡¢¥Þ¥¯¥í
890 ÌõÃí: /usr/lib/rpm/macros ¤Ç¤Ï /var/spool/repackage ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë)
891 ¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤ËºîÀ®¤µ¤ì¤ë¡£
895 .\"O Don't really uninstall anything, just go through the motions.
896 .\"O Useful in conjunction with the \fB-vv\fR option
898 ¼ÂºÝ¤Ë¤Ï²¿¤â¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤»¤ºµóÆ°¤À¤±¤ò¸«¤»¤ë¡£
901 ¤È¶¦¤Ë»È¤¨¤Ð¥Ç¥Ð¥Ã¥°¤Ë͸ú¤Ç¤¢¤ë¡£
902 .\"TSEKINE ¤³¤³¤ÎÌõ¤¬¤Ä¤é¤¤¤Ç¤¹
903 .\"O .SS "QUERY OPTIONS"
906 .\"O The general form of an rpm query command is
907 rpm ¸¡º÷¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
910 .\"O \fBrpm\fR {\fB-q|--query\fR} [\fBselect-options\fR] [\fBquery-options\fR]
911 .BR rpm " {" \-q|\-\-query "} [" select-options "] [" query-options ]
914 .\"O You may specify the format that package information should be
915 .\"O printed in. To do this, you use the
917 .\"O \fB--qf|--queryformat\fR \fB\fIQUERYFMT\fB\fR
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 ɽ¼¨¤µ¤ì¤ë¥Ñ¥Ã¥±¡¼¥¸¾ðÊó¤Î½ñ¼°¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£
929 .BI "\-\-qf|\-\-queryformat " QUERYFMT
934 ¤¬½ñ¼°Ê¸»úÎó¤Ç¤¢¤ë¡£¸¡º÷¤Î½ñ¼°¤Ï¡¢É¸½àŪ¤Ê
936 ¤Î½ñ¼°¤Î½¤Àµ¤Ç¤¢¤ë¡£½ñ¼°¤ÏÀÅŪ¤Êʸ»úÎó
937 (²þ¹Ô¡¦¥¿¥Ö¡¦¤½¤Î¾¤ÎÆüìʸ»ú¤Î¡¢C ¸À¸ì¤Îɸ½àŪ¤Êʸ»ú¥¨¥¹¥±¡¼¥×¤ò´Þ¤à)¤È¡¢
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
948 ¤Ïɽ¼¨¤¹¤ë·¿¤ò´û¤ËÃΤäƤ¤¤ë¤Î¤Ç¡¢·¿»ØÄê¤Ï¾Êά¤µ¤ì¤ë¤Ù¤¤Ç¤¢¤ë¡£
951 ¤Ç°Ï¤Þ¤ì¤¿¡¢É½¼¨¤µ¤ì¤ë¥Ø¥Ã¥À¡¼¤Î¥¿¥°Ì¾¤¬»ÈÍѤµ¤ì¤ë¡£
952 ¥¿¥°Ì¾¤ËÂçʸ»ú/¾®Ê¸»ú¤Î¶èÊ̤Ϥʤ¯¡¢¥¿¥°Ì¾¤ÎÀèƬ¤Î
954 Éôʬ¤â¾Êά¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
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:
961 ¤òÉղä·¤¿¥¿¥°¤Ë¤è¤Ã¤Æ¡¢ÂåÂؤνÐÎϽñ¼°¤òÍ×µá¤Ç¤¤ë¡£
962 ¸½ºß¡¢°Ê²¼¤Î¼ïÊ̤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë:
967 .\"O Wrap a public key in ASCII armor.
968 ¸ø³«¸°¤òASCIIʸ»ú¤Çɽ¼¨¤¹¤ë¡£
969 .\"TSEKINE PGP Åù¤Ç¤Î armor ¤Ã¤Æ¤É¤¦Ìõ¤¹¤Î¤¬¤¤¤¤¤ó¤Ç¤·¤ç¤¦?
973 .\"O Encode binary data using base64.
974 ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤ò base64 ¤ÇÉä¹æ²½¤¹¤ë¡£
978 .\"O Use strftime(3) "%c" format.
979 strftime(3)¤Î "%c" ½ñ¼°¤ò»È¤¦¡£
983 .\"O Use strftime(3) "%a %b %d %Y" format.
984 strftime(3)¤Î "%a %b %d %Y" ½ñ¼°¤ò»È¤¦¡£
988 .\"O Format dependency flags.
993 .\"O Format file flags.
994 ¥Õ¥¡¥¤¥ë¥Õ¥é¥°¤Çɽ¼¨¡£
998 .\"O Format in hexadecimal.
1003 .\"O Format in octal.
1008 .\"O Format file permissions.
1009 ¥Õ¥¡¥¤¥ë¤Îµö²Ä°À¤Çɽ¼¨¡£
1011 .\"O \fB:shescape\fR
1013 .\"O Escape single quotes for use in a script.
1014 ¥¹¥¯¥ê¥×¥ÈÆâ¤Ç»È¤¨¤ë¤è¤¦¤Ë¥·¥ó¥°¥ë¥¯¥©¡¼¥È(')¤Ç¥¨¥¹¥±¡¼¥×¤¹¤ë¡£
1016 .\"O \fB:triggertype\fR
1018 .\"O Display trigger suffix.
1019 ¥È¥ê¥¬¡¼¤Î¼ïÎà¤òɽ¼¨¡£
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 Î㤨¤Ð¡¢¸¡º÷·ë²Ì¤Î¥Ñ¥Ã¥±¡¼¥¸Ì¾¤À¤±¤òɽ¼¨¤·¤¿¤±¤ì¤Ð¡¢½ñ¼°Ê¸»úÎó¤È¤·¤Æ
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}
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.
1038 ¤ò¼Â¹Ô¤¹¤ì¤Ð¡¢»ÈÍѤǤ¤ë¥¿¥°¤¹¤Ù¤Æ¤òɽ¼¨¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
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 "¥Ñ¥Ã¥±¡¼¥¸ÁªÂò¥ª¥×¥·¥ç¥ó:"
1048 .\"O \fB\fIPACKAGE_NAME\fB\fR
1050 .\"O Query installed package named \fIPACKAGE_NAME\fR.
1051 ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë
1053 ¤È¤¤¤¦Ì¾Á°¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1055 .\"O \fB-a, --all\fR
1056 .BR \-a ", " \-\-all
1057 .\"O Query all installed packages.
1058 ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1060 .\"O \fB-f, --file \fIFILE\fB\fR
1061 .BR \-f ", " \-\-file " \fIFILE"
1062 .\"O Query package owning \fIFILE\fR.
1064 ¤ò½êͤ¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
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 Í¿¤¨¤é¤ì¤¿¥Õ¥¡¥¤¥ë¼±Ê̻ҡ¢
1073 ¥À¥¤¥¸¥§¥¹¥È¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤ò´Þ¤à¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1075 .\"O \fB-g, --group \fIGROUP\fB\fR
1076 .BR \-g ", " \-\-group " \fIGROUP"
1077 .\"O Query packages with the group of \fIGROUP\fR.
1080 ¤Ç¤¢¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
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 ¤¹¤Ê¤ï¤Á½ñ¤´¹¤¨ÉÔ²Äǽ¤Ê¥Ø¥Ã¥ÀÎΰè¤Ë
1089 ¥À¥¤¥¸¥§¥¹¥È¤ò¤â¤Ä¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
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 (¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤)¥Ñ¥Ã¥±¡¼¥¸
1105 ¤Î URL ·Á¼°¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¡¢
1106 ¤½¤Î¾ì¹ç¤Ë¤Ï¥Ñ¥Ã¥±¡¼¥¸¥Ø¥Ã¥À¡¼¤¬¥À¥¦¥ó¥í¡¼¥É¤µ¤ì¤Æ¸¡º÷¤µ¤ì¤ë¡£
1107 .\"O See \fBFTP/HTTP OPTIONS\fR for information on
1108 .\"O \fBrpm\fR's internal
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.
1122 ¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ë´Ø¤¹¤ë
1124 ÆâÉô¤Ç¤Î¥µ¥Ý¡¼¥È¤Ë¤Ä¤¤¤Æ¤Ï
1125 .B "FTP/HTTP OPTIONS"
1128 °ú¿ô(·²)¤¬¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Ê¤±¤ì¤Ð¡¢¤½¤ì¤¬ ASCII ·Á¼°¤Î
1129 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥ê¥¹¥È¤òɽ¤ï¤¹¤â¤Î¤È²ò¼á¤µ¤ì¤ë¡£
1130 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢'#' ¤Ç»Ï¤Þ¤ë¹Ô¤Ï¥³¥á¥ó¥È¤Ç¤¢¤ë¡£
1131 ³Æ¹Ô¤Ë¤Ï¶õÇò¤Ç¶èÀڤ俥ѥ¹Ì¾Å¸³«¼°¤¬»ØÄê²Äǽ¤Ç¡¢
1132 Ÿ³«¤µ¤ì¤¿¥Ñ¥¹¤Ï¡¢¸¡º÷¤¹¤ë
1134 °ú¿ô¤Ø¤ÎÄɲäȤ·¤ÆÃÖ´¹¤µ¤ì¤ë¡£
1135 ¥Ñ¥¹Ì¾Å¸³«¼°¤Ë¤Ï URL ¤Î¥ê¥â¡¼¥È¤Î¥Ñ¥¹Ì¾Å¸³«¤â»È¤¦¤³¤È¤¬¤Ç¤¤ë¡£
1136 .\"TSEKINE ¤è¤¯¤ï¤«¤ê¤Þ¤»¤ó¡£¥Õ¥©¥í¡¼µá¤à
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 ¤¹¤Ê¤ï¤Á¥Ø¥Ã¥À¡¼¤ÈÆâÍÆʪ¤È¤ÎÁȤ߹ç¤ï¤»¤¬
1146 ¥À¥¤¥¸¥§¥¹¥È¤ò¤â¤Ä¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
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.
1154 ÈÖÌܤΥ¨¥ó¥È¥ê¤òľÀܸ¡º÷¤¹¤ë¡£
1155 ¥Ç¥Ð¥Ã¥°¤Ë¤Î¤ß͸ú¤Ç¤¢¤ë¡£
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
1165 ¤ò¤½¤ì¤¬¥Ñ¥Ã¥±¡¼¥¸¤Ç¤¢¤ë¤«¤Î¤è¤¦¤Ë²òÀϤ·¡¢¸¡º÷¤¹¤ë¡£
1166 ¤¹¤Ù¤Æ¤Î¾ðÊó¤¬ÍøÍѤǤ¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤(¤¿¤È¤¨¤Ð¥Õ¥¡¥¤¥ë°ìÍ÷)¤Ë¤â¤«¤«¤ï¤é¤º¡¢
1167 spec ¥Õ¥¡¥¤¥ë¤Î²òÀÏ´ï¤ò½ñ¤¯¤³¤È̵¤·¤Ë spec ¥Õ¥¡¥¤¥ë¤«¤é¾ðÊó¤ò¼è¤ê½Ð¤¹¤³¤È¤¬
1168 ¤³¤Î¼ï¤Î¸¡º÷¤Ç²Äǽ¤Ç¤¢¤ë¡£
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 Í¿¤¨¤é¤ì¤¿¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¼±ÊÌ»Ò
1178 ¤ò»ý¤Ä¥Ñ¥Ã¥±¡¼¥¸(·²)¤ò¸¡º÷¤¹¤ë¡£
1179 ¸½ºß¤Î¤È¤³¤í¡¢unix »þ´Ö¤¬¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¼±Ê̻ҤȤ·¤Æ»È¤ï¤ì¤Æ¤¤¤ë¡£
1180 °ì¤Ä¤Î¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¤Ç¥¤¥ó¥¹¥È¡¼¥ë¡¦ºï½ü¤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸(·²)¤Ï¡¢
1181 ¤¹¤Ù¤Æ¶¦Ä̤μ±Ê̻Ҥò»ý¤Ä¡£
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.
1189 ¤Ë¤è¤Ã¤Æ¥È¥ê¥¬¡¼¤µ¤ì¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1191 .\"O \fB--whatprovides \fICAPABILITY\fB\fR
1192 .BI \-\-whatprovides " \fICAPABILITY"
1193 .\"O Query all packages that provide the \fICAPABILITY\fR capability.
1195 ǽÎϤòÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1197 .\"O \fB--whatrequires \fICAPABILITY\fB\fR
1198 .BI \-\-whatrequires " \fICAPABILITY"
1199 .\"O Query all packages that requires \fICAPABILITY\fR for proper functioning.
1200 ŬÀڤ˵¡Ç½¤¹¤ë¤¿¤á¤Ë
1202 ¤òɬÍפȤ¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤¹¤ë¡£
1203 .\"O .SS "PACKAGE QUERY OPTIONS:"
1204 .SSS "¥Ñ¥Ã¥±¡¼¥¸¸¡º÷¥ª¥×¥·¥ç¥ó:"
1207 .\"O \fB--changelog\fR
1209 .\"O Display change information for the package.
1210 ¥Ñ¥Ã¥±¡¼¥¸¤Î¹¹¿·¾ðÊó¤òɽ¼¨¤¹¤ë¡£
1212 .\"O \fB-c, --configfiles\fR
1213 .BR \-c ", " \-\-configfiles
1214 .\"O List only configuration files (implies \fB-l\fR).
1215 ÀßÄê¥Õ¥¡¥¤¥ë¤Î¤ß¤òɽ¼¨¤¹¤ë
1217 ¤ò»ØÄꤷ¤¿¤â¤Î¤È¤ß¤Ê¤¹)¡£
1219 .\"O \fB-d, --docfiles\fR
1220 .BR \-d ", " \-\-docfiles
1221 .\"O List only documentation files (implies \fB-l\fR).
1222 ʸ½ñ¥Õ¥¡¥¤¥ë¤Î¤ß¤òɽ¼¨¤¹¤ë
1224 ¤ò»ØÄꤷ¤¿¤â¤Î¤È¤ß¤Ê¤¹)¡£
1228 .\"O Dump file information as follows:
1229 °Ê²¼¤Î·Á¼°¤Ç¥Õ¥¡¥¤¥ë¾ðÊó¤ò¥À¥ó¥×¤¹¤ë¡£
1234 .\"O path size mtime md5sum mode owner group isconfig isdoc rdev symlink
1235 ¥Ñ¥¹ ¥µ¥¤¥º ½¤Àµ»þ¹ï md5¥À¥¤¥¸¥§¥¹¥È ¥â¡¼¥É \\
1236 ½êÍ¼Ô ¥°¥ë¡¼¥× ÀßÄê¥Õ¥¡¥¤¥ë ʸ½ñ¥Õ¥¡¥¤¥ë \\
1237 ¥ë¡¼¥È¥Ç¥Ð¥¤¥¹ ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯
1242 .\"O This option must be used with at least one of
1250 ¤Î¤¦¤Á¤Î¾¯¤Ê¤¯¤È¤â°ì¤Ä¤È¶¦¤Ë»ÈÍѤµ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1252 .\"O \fB--filesbypkg\fR
1254 .\"O List all the files in each selected package.
1255 ÁªÂò¤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤´¤È¤Ë¥Õ¥¡¥¤¥ë¤òɽ¼¨¤¹¤ë¡£
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 ̾Á°¡¢¥Ð¡¼¥¸¥ç¥ó¡¢ÀâÌÀ¤ò´Þ¤á¤¿¥Ñ¥Ã¥±¡¼¥¸¾ðÊó¤òɽ¼¨¤¹¤ë¡£
1264 ¤òÆâÉô¤Ç»ÈÍѤ·¤Æ¤¤¤ë¡£
1265 .\"TSEKINE ¸À¤¤¤¿¤¤¤³¤È¤¬¤è¤¯Ê¬¤«¤ê¤Þ¤»¤ó¡£¼ÂºÝ¤Ï popt ¤Ç aliasing
1266 .\"TSEKINE ¤µ¤ì¤Æ¤ë¤Î¤Ç¡¢¤½¤Î¤³¤È¤¬¸À¤¤¤¿¤¤¤Î¤Ç¤·¤ç¤¦¤«?
1270 .\"O Orders the package listing by install time such that the latest
1271 .\"O packages are at the top.
1272 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë»þ¹ï½ç¤Ë¡¢
1273 ºÇ¿·¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬ÀèƬ¤Ë¤Ê¤ë¤è¤¦¤Ê½ç¤Çʤ٤롣
1275 .\"O \fB-l, --list\fR
1276 .BR \-l ", " \-\-list
1277 .\"O List files in package.
1278 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤òɽ¼¨¤¹¤ë¡£
1280 .\"O \fB--provides\fR
1282 .\"O List capabilities this package provides.
1283 ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬Ä󶡤¹¤ëǽÎϤòɽ¼¨¤¹¤ë¡£
1285 .\"O \fB-R, --requires\fR
1286 .BR \-R ", " \-\-requires
1287 .\"O List packages on which this package depends.
1288 ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬°Í¸¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
1290 .\"O \fB--scripts\fR
1292 .\"O List the package specific scriptlet(s) that are used as part
1293 .\"O of the installation and uninstallation processes.
1294 ¥¤¥ó¥¹¥È¡¼¥ë¡¦¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤Î²áÄø¤Ç»ÈÍѤµ¤ì¤ë¡¢
1295 ¥Ñ¥Ã¥±¡¼¥¸¸ÇͤΥ¹¥¯¥ê¥×¥È¤òɽ¼¨¤¹¤ë¡£
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
1302 .\"O \fInot installed\fR, or
1303 .\"O \fIreplaced\fR.
1304 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î¥Õ¥¡¥¤¥ë¤Î
1308 ¤ò»ØÄꤷ¤¿¤â¤Î¤È¤ß¤Ê¤¹)¡£
1310 .IR "normal(Àµ¾ï)" ,
1311 .IR "not installed(¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤)" ,
1312 .I "replaced(ÃÖ¤´¹¤¨¤é¤ì¤¿)"
1315 .\"O \fB--triggers, --triggerscripts\fR
1316 .BR \-\-triggers ", " \-\-triggerscripts
1317 .\"O Display the trigger scripts, if any, which are contained in
1319 ¥Ñ¥Ã¥±¡¼¥¸¤Ë¥È¥ê¥¬¡¼¥¹¥¯¥ê¥×¥È¤¬´Þ¤Þ¤ì¤ì¤Ðɽ¼¨¤¹¤ë¡£
1320 .\"O .SS "VERIFY OPTIONS"
1323 .\"O The general form of an rpm verify command is
1324 rpm ¤ò¸¡ºº¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
1327 .\"O \fBrpm\fR {\fB-V|--verify\fR} [\fBselect-options\fR] [\fBverify-options\fR]
1328 .BR rpm " {" \-V|\-\-verify "} [" select-options "] [" verify-options ]
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.
1348 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤¿¤¿¤á¤Ë½ü³°¤µ¤ì¤¿Ê¸½ñ¥Õ¥¡¥¤¥ë¤Î¤è¤¦¤Ë¡¢
1349 ¥Ñ¥Ã¥±¡¼¥¸¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤¥Õ¥¡¥¤¥ë¤ÏÀŤ«¤Ë̵»ë¤µ¤ì¤ë¡£
1351 .\"O The package selection options are the same as for package
1352 .\"O querying (including package manifest files as arguments).
1353 ¥Ñ¥Ã¥±¡¼¥¸ÁªÂò¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¸¡º÷¤Î¤¿¤á¤Î¤â¤Î¤È
1354 (¥Ñ¥Ã¥±¡¼¥¸¤Î¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤ò°ú¿ô¤Ë»ØÄê¤Ç¤¤ë¤³¤È¤â´Þ¤á)
1356 .\"O Other options unique to verify mode are:
1357 ¤½¤Î¾¤Î¡¢¸¡ºº¥â¡¼¥É¸ÇͤΥª¥×¥·¥ç¥ó¤Ï:
1361 .\"O Don't verify dependencies of packages.
1362 ¥Ñ¥Ã¥±¡¼¥¸¤Î°Í¸À¤Ë¤Ä¤¤¤Æ¸¡ºº¤·¤Ê¤¤¡£
1364 .\"O \fB--nodigest\fR
1366 .\"O Don't verify package or header digests when reading.
1367 Æɤ߹þ¤ß»þ¤Ë¥Ñ¥Ã¥±¡¼¥¸¤ä¥Ø¥Ã¥À¡¼¤Î¥À¥¤¥¸¥§¥¹¥ÈÃͤò¸¡ºº¤·¤Ê¤¤¡£
1369 .\"O \fB--nofiles\fR
1371 .\"O Don't verify any attributes of package files.
1372 ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î¥Õ¥¡¥¤¥ë¤Î¤¤¤«¤Ê¤ë°À¤â¸¡ºº¤·¤Ê¤¤¡£
1374 .\"O \fB--noscripts\fR
1376 .\"O Don't execute the \fB%verifyscript\fR scriptlet (if any).
1378 ¤¬¤â¤·Â¸ºß¤·¤Æ¤â¼Â¹Ô¤·¤Ê¤¤¡£
1380 .\"O \fB--nosignature\fR
1382 .\"O Don't verify package or header signatures when reading.
1383 Æɤ߹þ¤ß»þ¤Ë¥Ñ¥Ã¥±¡¼¥¸¤ä¥Ø¥Ã¥À¡¼¤Î½ð̾¤ò¸¡ºº¤·¤Ê¤¤¡£
1385 .\"O \fB--nolinkto\fR
1393 .\"O \fB--nogroup\fR
1395 .\"O \fB--nomtime\fR
1418 .\"O Don't verify the corresponding file attribute.
1419 ¤½¤ì¤¾¤ì´ØÏ¢¤¹¤ë¥Õ¥¡¥¤¥ë°À¤ò¸¡ºº¤·¤Ê¤¤¡£
1421 .\"O The format of the output is a string of 8 characters, a possible
1422 .\"O attribute marker:
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.
1432 .\"O from the package header, followed by the file name.
1433 ½ÐÎϤηÁ¼°¤Ï 8 ¸Ä¤Îʸ»ú¤È°À¥Þ¡¼¥¯¡¢¤½¤Î¸å¤í¤Ë¥Õ¥¡¥¤¥ë̾¤Ç¤¢¤ë¡£
1434 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ø¥Ã¥À¡¼¤«¤éÆÀ¤é¤ì¤ë°À¥Þ¡¼¥¯¤Ï:
1448 ¥Õ¥¡¥¤¥ë(¤¹¤Ê¤ï¤Á¡¢¥Ñ¥Ã¥±¡¼¥¸¤ÎÆâÍÆʪ¤È¤·¤Æ¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¥Õ¥¡¥¤¥ë)¡£
1452 ¥é¥¤¥»¥ó¥¹¥Õ¥¡¥¤¥ë¡£
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:
1473 (¥Ô¥ê¥ª¥É) ¤Ï¥Æ¥¹¥È¤òÄ̲ᤷ¤¿¤³¤È°ÕÌ£¤·¡¢°ì¤Ä¤Î
1475 (¥¯¥¨¥¹¥Á¥ç¥ó¥Þ¡¼¥¯) ¤Ï¥Æ¥¹¥È¤¬¼Â»Ü¤µ¤ì¤Ê¤«¤Ã¤¿
1476 (¤¹¤Ê¤ï¤Á¡¢¥Õ¥¡¥¤¥ë¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ë¤è¤êÆɤ߹þ¤á¤Ê¤«¤Ã¤¿)
1477 ¤³¤È¤ò°ÕÌ£¤¹¤ë¡£¤Ç¤Ê¤«¤ì¤Ð¡¢
1478 (µ²±¤ò½õ¤±¤ë¤¿¤á¤Ë¡¢¥Ü¡¼¥ë¥É²½
1479 .RB (em "B" oldened)
1480 ¤µ¤ì¤Æ¤¤¤ë)ʸ»ú¤Ï´ØÏ¢¤¹¤ë
1482 ¥Æ¥¹¥È¤Ë¼ºÇÔ¤·¤¿¤³¤È¤ò°ÕÌ£¤¹¤ë:
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
1505 µö²Ä°À¤È¥Õ¥¡¥¤¥ë¤Î¼ïÎà)
1510 ¥Á¥§¥Ã¥¯¥µ¥à¤¬°Û¤Ê¤ë
1515 ¤Î¥á¥¸¥ã¡¼/¥Þ¥¤¥Ê¡¼Èֹ椬°ìÃפ·¤Ê¤¤
1519 ¤·¤¿¥Ñ¥¹¤¬°ìÃפ·¤Ê¤¤
1537 .\"O .SS "DIGITAL SIGNATURE AND DIGEST VERIFICATION"
1538 .SS ÅŻҽð̾¤È¥À¥¤¥¸¥§¥¹¥È¤Î¸¡ºº
1540 .\"O The general forms of rpm digital signature commands are
1541 rpm ¤ÎÅŻҽð̾¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
1545 .\"O \fBrpm\fR \fB--import\fR \fB\fIPUBKEY\fB\fR\fI ...\fR
1546 .BI "rpm \-\-import " "PUBKEY ..."
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 "]"
1553 .I " PACKAGE_FILE ..."
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.
1564 ¥Ñ¥Ã¥±¡¼¥¸¤Î´°Á´À¤È½Ð½ê¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë
1566 ¤Ë´Þ¤Þ¤ì¤ë¤¹¤Ù¤Æ¤Î¥À¥¤¥¸¥§¥¹¥ÈÃͤȽð̾¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
1567 ¸½ºß¤Ç¤Ï¥Ñ¥Ã¥±¡¼¥¸¤¬Æɤ߹þ¤Þ¤ì¤¿¤È¤¤Ï¤¤¤Ä¤Ç¤â½ð̾¤¬¸¡ºº¤µ¤ì¤ë¡£
1569 ¤ÎÊý¤Ï¥Ñ¥Ã¥±¡¼¥¸¤ËÉտ魯¤ë¤¹¤Ù¤Æ¤Î¥À¥¤¥¸¥§¥¹¥ÈÃͤȽð̾¤ò
1570 ¸¡ºº¤¹¤ë¤Î¤Ë͸ú¤Ç¤¢¤ë¡£
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 ¸ø³«¸°¤¬¤Ê¤±¤ì¤ÐÅŻҽð̾¤Î¸¡ºº¤Ï¤Ç¤¤Ê¤¤¡£
1582 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë ASCII ·Á¼°¤Ç¤Î¸ø³«¸°¤òÄɲäǤ¤ë¡£
1583 ¼è¤ê¹þ¤Þ¤ì¤¿¸ø³«¸°¤Ï¤¢¤ë¥Ø¥Ã¥À¡¼¤Ø¤È±¿¤Ð¤ì¡¢
1584 ¥Ñ¥Ã¥±¡¼¥¸´ÉÍý¤Î¤è¤¦¤Ë¸·Ì©¤Ê¸°¥ê¥ó¥°´ÉÍý¤¬¼Â¹Ô¤µ¤ì¤ë¡£
1585 Îã¤È¤·¤Æ¡¢¤½¤Î»þÅÀ¤Ç¼è¤ê¹þ¤Þ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¸ø³«¸°¤Ï°Ê²¼¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ç
1588 .\"O \fBrpm -qa gpg-pubkey*\fR
1590 .B "rpm \-qa gpg-pubkey*"
1592 (ÌõÃí: ¿¤¯¤Î¾ì¹ç "*" ¤Ï¥·¥§¥ë¤Ë¤è¤Ã¤Æ¥á¥¿Ê¸»ú¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¤Î¤Ç¡¢
1593 ¼ÂºÝ¤Ë¤Ï rpm \-qa "gpg-pubkey*" ¤Î¤è¤¦¤Ë¥¯¥©¡¼¥Æ¥£¥ó¥°¤¹¤ëɬÍפ¬¤¢¤ë)
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 ¸°¤Ë´Ø¤¹¤ë¾ðÊó¤Ï:
1600 .\"O \fBrpm -qi gpg-pubkey-db42a60e\fR
1601 .B "rpm \-qi gpg-pubkey-db42a60e"
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 ¸°¤òºï½ü¤¹¤ë¡£
1608 .\"O \fBrpm -e gpg-pubkey-db42a60e\fR
1609 .B "rpm \-e gpg-pubkey-db42a60e"
1610 .\"O .SS "SIGNING A PACKAGE"
1611 .SS ¥Ñ¥Ã¥±¡¼¥¸¤Ø¤Î½ð̾
1614 .\"O \fBrpm\fR \fB--addsign|--resign\fR \fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
1615 .BR rpm " {" \-\-addsign|\-\-resign }
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.
1628 ¤ÎξÊý¤È¤â¡¢Í¿¤¨¤é¤ì¤¿³Æ¥Ñ¥Ã¥±¡¼¥¸
1630 ¤ËÂФ¹¤ë¿·¤¿¤Ê½ð̾¤òÀ¸À®¡¦ÁÞÆþ¤·¡¢´û¤Ë¸ºß¤¹¤ë½ð̾¤¬¤¢¤ì¤ÐÃÖ¤´¹¤¨¤ë¡£
1631 Îò»ËŪ¤ÊÍýͳ¤Ë¤è¤êÆó¤Ä¤Î¥ª¥×¥·¥ç¥ó¤¬Â¸ºß¤¹¤ë¤¬¡¢
1632 ¸½ºß¤Ç¤Ï¤½¤ÎÆ°ºî¤Ë°ã¤¤¤Ï¤Ê¤¤¡£
1633 .\"O .SS "USING GPG TO SIGN PACKAGES"
1634 .SS "¥Ñ¥Ã¥±¡¼¥¸¤Ø¤Î½ð̾¤Ë GPG ¤ò»ÈÍѤ¹¤ë"
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 ¤ò»È¤Ã¤Æ¥Ñ¥Ã¥±¡¼¥¸¤Ë½ð̾¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
1647 ¤¬ GPG ¤ò¼Â¹Ô¤¹¤ë¤è¤¦¤ËÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢¤Þ¤¿¡¢
1648 ŬÀڤʸ°¤Ç¸°¥ê¥ó¥°¤òõ¤¹¤³¤È¤¬¤Ç¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1651 GPG ¤¬¸°¤Î´Ä¤òõ¤¹¤Î¤ÈƱ¤¸µ¬Â§¡¢¤¹¤Ê¤ï¤Á´Ä¶ÊÑ¿ô
1654 GPG ¤¬´üÂÔ¤¹¤ë¾ì½ê¤Ë¸°¥ê¥ó¥°¤¬Ìµ¤¤¾ì¹ç¤Ë¤Ï¡¢
1655 »ÈÍѤ¹¤ë GPG ¸°¥ê¥ó¥°¤Î¾ì½ê¤ò
1657 ¥Þ¥¯¥í¤ËÀßÄꤹ¤ëɬÍפ¬¤¢¤ë¡£
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
1663 ²áµî¤Î¥Ð¡¼¥¸¥ç¥ó¤Î GPG, PGP, rpm ¤È¤Î¸ß´¹À¤Î¤¿¤á¤Ë¡¢
1664 V3 OpenPGP ½ð̾¥Ñ¥±¥Ã¥È¤Î¤ß¤¬ÀßÄꤵ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1665 .\"TSEKINE ²¿¤ËÂФ·¤Æ configured ¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Î¤Ç¤·¤ç¤¦?
1666 DSA ¤È RSA ¤Î¸¡ºº¥¢¥ë¥´¥ê¥º¥à¤Î¤É¤Á¤é¤â»È¤¦¤³¤È¤¬¤Ç¤¤ë¤¬¡¢
1667 DSA ¤ÎÊý¤¬¹¥¤Þ¤·¤¤¡£
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 ¤Î¥Þ¥Ë¥å¥¢¥ë¤ò¸«¤ë¤³¤È)¡£
1677 ¥Þ¥¯¥í¤òÀßÄꤹ¤ë¤³¤È¤âɬÍפǤ¢¤í¤¦¡£
1680 .\"O The signature type. Right now only gpg and pgp are supported.
1682 ¸½ºß¤Î¤È¤³¤í gpg ¤È pgp ¤Î¤ß¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
1685 .\"O The name of the "user" whose key you wish to use to sign your packages.
1686 ¥Ñ¥Ã¥±¡¼¥¸¤Ë½ð̾¤¹¤ë¤Î¤Ë»ÈÍѤ·¤¿¤¤¸°¤Î¥æ¡¼¥¶Ì¾¡£
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 Î㤨¤Ð¡¢¼Â¹Ô¥Õ¥¡¥¤¥ë¤¬
1696 ¤Ë¤¢¤ê¡¢¤½¤ÎÃæ¤Î¥æ¡¼¥¶
1697 .I """John Doe <jdoe@foo.com>"""
1698 ¤È¤·¤Æ¥Ñ¥Ã¥±¡¼¥¸¤Ë GPG ¤ò»È¤Ã¤Æ½ð̾¤¹¤ë¾ì¹ç¤Ë¤Ï
1702 %_gpg_path /etc/rpm/.gpg
1703 %_gpg_name John Doe <jdoe@foo.com>
1704 %_gpgbin /usr/bin/gpg
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 ¥·¥¹¥Æ¥àÁ´ÂΤÎÀßÄê¤Ë¤Ï
1713 ¤ò¡¢¥æ¡¼¥¶¤´¤È¤ÎÀßÄê¤Ë¤Ï
1716 .\"O .SS "REBUILD DATABASE OPTIONS"
1717 .SS ¥Ç¡¼¥¿¥Ù¡¼¥¹ºÆºîÀ®¥ª¥×¥·¥ç¥ó
1719 .\"O The general form of an rpm rebuild database command is
1720 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºÆºîÀ®¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï:
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" ]
1726 .RB " [" "\-\-root \fIDIRECTORY" ]
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 ¿·¤¿¤Ê¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºîÀ®¤¹¤ë¾ì¹ç¤Ë¤Ï
1734 ¤ò»È¤¤¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ø¥Ã¥À¡¼¤«¤é
1735 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤òºÆºîÀ®¤¹¤ë¤Ë¤Ï
1742 .\"O \fBrpm\fR \fB--showrc\fR
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
1748 .\"O configuration file(s).
1755 ¤¬»ÈÍѤ¹¤ë¤¹¤Ù¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ÎÃͤòɽ¼¨¤¹¤ë¡£
1761 .\"O .SS "FTP/HTTP OPTIONS"
1762 .SS "FTP/HTTP ¥ª¥×¥·¥ç¥ó"
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
1771 ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤«¤é¥Ñ¥Ã¥±¡¼¥¸¤ò¸¡º÷¤·¤¿¤ê¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë¡¢
1773 ¤Ï FTP ¤È HTTP ¤Î¥¯¥é¥¤¥¢¥ó¥È¤È¤·¤ÆÆ°ºî¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
1774 ¥¤¥ó¥¹¥È¡¼¥ë¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¡¢¸¡º÷¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤Ï
1775 °Ê²¼¤Î ftp ¤Þ¤¿¤Ï http ¥¹¥¿¥¤¥ë¤Î URL ¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£
1777 ftp://USER:PASSWORD@HOST:PORT/path/to/package.rpm
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
1786 ¤ÎÉôʬ¤¬¾Êά¤µ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬
1787 (¥æ¡¼¥¶/¥Û¥¹¥È̾¤ÎÁȹç¤ï¤»¤´¤È¤Ë)¿Ò¤Í¤é¤ì¤ë¡£
1788 ¥æ¡¼¥¶¤È¥Ñ¥¹¥ï¡¼¥É¤ÎξÊý¤¬¾Êά¤µ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢
1791 ¤¬»ÈÍѤµ¤ì¤ë¡£¤¹¤Ù¤Æ¤Î¾ì¹ç¤Ë¤ª¤¤¤Æ
1796 .\"O \fBrpm\fR allows the following options to be used with
1800 ¤Ç¤Ï¼¡¤Î¥ª¥×¥·¥ç¥ó¤¬²Äǽ¤Ç¤¢¤ë¡£
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 žÁ÷¤Ë¥Û¥¹¥È
1811 ¤Ï¥×¥í¥¥·¥µ¡¼¥Ð¡¼¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¡£
1814 ¤ÎÀßÄê¤Ç¤â¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£
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 Àܳ¤Ë»ÈÍѤ¹¤ë
1829 ¤ÎÀßÄê¤Ç¤â¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£
1831 .\"O \fBrpm\fR allows the following options to be used with
1832 .\"O \fBhttp\fR URLs:
1836 ¤Ç¤Ï¼¡¤Î¥ª¥×¥·¥ç¥ó¤¬²Äǽ¤Ç¤¢¤ë¡£
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 žÁ÷¤Ë¥Û¥¹¥È
1846 ¤Ï¥×¥í¥¥·¥µ¡¼¥Ð¡¼¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¡£
1849 ¤ÎÀßÄê¤Ç¤â¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£
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 ¥×¥í¥¥·¥µ¡¼¥Ð¤ÎÀܳ¤Ç»ÈÍѤ¹¤ë
1861 .\"O .SH "LEGACY ISSUES"
1863 .\"O .SS "Executing rpmbuild"
1864 .SS "rpmbuild ¤Î¼Â¹Ô"
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
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
1886 ¥Ó¥ë¥É¥â¡¼¥É¤Ë¤Ä¤¤¤Æ¤Î¤¹¤Ù¤Æ¤Îʸ½ñ¤Ï¡¢
1888 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·
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:
1897 ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é
1899 ¤ò¸Æ¤Ó½Ð¤·¤¿¤±¤ì¤Ð¡¢°Ê²¼¤Î¹Ô¤ò
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
1949 .\"O .SS "rpmrc Configuration"
1953 \fI/usr/lib/rpm/rpmrc\fR
1954 \fI/usr/lib/rpm/redhat/rpmrc\fR
1958 .\"O .SS "Macro Configuration"
1962 \fI/usr/lib/rpm/macros\fR
1963 \fI/usr/lib/rpm/redhat/macros\fR
1964 \fI/etc/rpm/macros\fR
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
1989 .\"O .SS "Temporaray"
1990 .\"O TSEKINE: Temporary ¤Î typo
1999 .\"O \fBrpm2cpio\fR(8),
2000 .\"O \fBrpmbuild\fR(8),
2006 .\"O \fBhttp://www.rpm.org/ <URL:http://www.rpm.org/>
2009 .UR http://www.rpm.org/
2010 .B http://www.rpm.org/
2017 Marc Ewing <marc@redhat.com>
2018 Jeff Johnson <jbj@redhat.com>
2019 Erik Troan <ewt@redhat.com>