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>
28 .\"WORD: RFE ²þÁ±Í×µá (Request For Enhancement)
30 .TH "RPMCACHE" "8" "05 July 2002" "Red Hat, Inc." "Red Hat Linux"
33 .\"O rpmcache \- Cache RPM Package Headers
34 rpmcache \- RPM ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ø¥Ã¥À¾ðÊó¤ò¥¥ã¥Ã¥·¥å¤¹¤ë
40 \fBrpmcache\fR [ \fB\fIPACKAGE_NAME\fB\fR\fI ...\fR ]
42 .\"O .SH "DESCRIPTION"
45 .\"O \fBrpmcache\fR walks a file tree, possibly remotely using
46 .\"O \fBFTP\fR, filtering paths using
47 .\"O \fBglob\fR(7) expressions, reading
48 .\"O rpm package headers. The latest (i.e. comparing
49 .\"O package epoch/version/release for identical package
50 .\"O names and using the build time as a tie breaker) package
51 .\"O headers, if they are unique, are cached in an rpm database.
53 ¤Ï¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤òÊ⤤ޤï¤ê(¥ê¥â¡¼¥È¤Î\fBFTP\fR¤«¤â¤·¤ì¤Ê¤¤)¡¢
55 ¤Î¼°¤ò»È¤Ã¤Æ¥Ñ¥¹¤ò¥Õ¥£¥ë¥¿¥ê¥ó¥°¤·¡¢rpm ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ø¥Ã¥À¤òÆɤ߹þ¤à¡£
56 ºÇ¿·¤Î(¤¹¤Ê¤ï¤ÁƱ¤¸¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Î¤â¤Î¤ËÂФ·¡¢
57 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¨¥Ý¥Ã¥¯¡¦¥Ð¡¼¥¸¥ç¥ó¡¦¥ê¥ê¡¼¥¹¤òÈæ³Ó¤·¡¢
58 ¤½¤ì¤¬Æ±¤¸¤Ç¤¢¤ì¤Ð¥Ó¥ë¥ÉÆüÉÕ¤ò»È¤Ã¤ÆÈæ³Ó¤·¤¿)¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ø¥Ã¥À¡¼¤¬
59 ¾¤Î¤â¤Î¤È½ÅÊ£¤·¤Ê¤±¤ì¤Ð¡¢rpm ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¥¥ã¥Ã¥·¥å¤µ¤ì¤ë¡£
60 .\"O The rpm database cache can be used to provide suggested
61 .\"O paths to packages that resolve unknown dependencies.
62 ÉÔÌÀ¤Ê°Í¸À¤ò²ò¾Ã¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Î¾ì½ê¤òÄó°Æ¤¹¤ë¤¿¤á¤Ë¡¢rpm ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î
63 ¥¥ã¥Ã¥·¥å¤òÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
65 .\"O There are no \fBrpmcache\fR specific options, only common \fBrpm\fR options.
66 .\"O See the \fBrpmcache\fR usage message for what is currently implemented.
68 ¸ÇͤΥª¥×¥·¥ç¥ó¤Ï¤Ê¤¯¡¢
70 ´ØÏ¢¤Î¥Ä¡¼¥ë¤Ç¶¦Ä̤Υª¥×¥·¥ç¥ó¤À¤±¤Ç¤¢¤ë¡£
71 ¸½»þÅÀ¤Ç²¿¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¤«¤Ë¤Ä¤¤¤Æ¤Ï¡¢
73 ¤Î»ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸(ÌõÃí: "rpmcache \-\-help")¤ò»²¾È¤Î¤³¤È¡£
75 .\"O The file tree path to be searched is configured using rpm
76 .\"O macros. The final path is the concatentaion of 5 individual
77 .\"O elements. Here are the macro names used to configure \fBrpmcache\fR, in
78 .\"O the same order that they will be concatenated to build the
79 .\"O file tree path that will be walked:
80 ¸¡º÷ÂоݤΥե¡¥¤¥ë¥Ä¥ê¡¼¤Î¾ì½ê¤Ï rpm ¥Þ¥¯¥í¤ò»È¤Ã¤ÆÀßÄꤵ¤ì¤ë¡£
81 ºÇ½ªÅª¤Ê¾ì½ê¤Ï¡¢ÆÈΩ¤·¤¿ 5 ¤Ä¤ÎÍ×ÁǤò·ë¹ç¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£
83 ¤òÀßÄꤹ¤ë¤Î¤Ë»ÈÍѤµ¤ì¤ë¥Þ¥¯¥í̾¤ò°Ê²¼¤Ë¼¨¤¹¡£
84 ²¼µ¤Îɽ¼¨½ç¤ÈƱ¤¸½çÈ֤dzÆÍ×ÁǤ¬·ë¹ç¤µ¤ì¤Æ¡¢
85 ¸¡º÷¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤Î¾ì½ê¤¬À¸À®¤µ¤ì¤ë¡£
89 .\"O The "path" level contains the leading part of the file tree path
90 .\"O (or URL) for the file tree to be walked.
91 .\"O No \fBglob\fR(7) expressions, here, please.
93 ¸¡º÷¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤Î¥Ñ¥¹(¤Þ¤¿¤Ï URL)¤ÎÀèƬÉôʬ¡£
95 ¤Î¼°¤Ï¤³¤³¤Ç¤Ï»È¤¨¤Ê¤¤¡£
98 .\"O The "collection" level contains a string (or
99 .\"O \fBglob\fR(7) expression) to match sub-directories of
101 "collection" ¥ì¥Ù¥ë¡£
102 \fB%_bhpath\fR ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ëʸ»úÎó(¤Þ¤¿¤Ï
107 .\"O The "name" level contains a string (or
108 .\"O \fBglob\fR(7) expression) to match sub-directories of
111 \fB%_bhcoll\fR ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ëʸ»úÎó(¤Þ¤¿¤Ï
114 .\"O The \fIPACKAGE_NAME\fR
115 .\"O arguments are used to construct a \fBglob\fR(7)
116 .\"O expression that will match any of specific package names within
117 .\"O the Red Hat build system, and are almost certainly not of use to
118 .\"O anyone outside of Red Hat.
119 Red Hat ¥Ó¥ë¥É¥·¥¹¥Æ¥àÆâ¤Ç¤Î¤¤¤º¤ì¤«¤ÎÆÃÄê¤Î¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Ë¥Þ¥Ã¥Á¤¹¤ë¤è
125 ¤Û¤Ü³Î¼Â¤Ë¡¢Red Hat °Ê³°¤Î¿Í´Ö¤¬»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ê¤¤¤À¤í¤¦¡£
128 .\"O The "version-release" level contains a string (or
129 .\"O \fBglob\fR(7) expression) to match sub-directories of
131 "version-release" ¥ì¥Ù¥ë¡£
132 \fB%_bhN\fR ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ëʸ»úÎó(¤Þ¤¿¤Ï
137 .\"O The "arch" level contains a string (or
138 .\"O \fBglob\fR(7) expression) to match sub-directories of
141 \fB%_bhVR\fR ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ëʸ»úÎó(¤Þ¤¿¤Ï
145 .\"O The location of the cache database is also configured using
147 ¥¥ã¥Ã¥·¥å¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ì½ê¤â¤Þ¤¿¡¢°Ê²¼¤Î¥Þ¥¯¥í¤ò»ÈÍѤ·¤ÆÀßÄꤵ¤ì¤ë¡£
150 .\"O The location of the cache database. The default value is
151 .\"O \fI/var/spool/up2date/cache\fR.
152 ¥¥ã¥Ã¥·¥å¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ì½ê¡£¥Ç¥Õ¥©¥ë¥È¤Ï
153 .IR /var/spool/up2date/cache ¡£
155 .\"O The cache database is identical in format to an rpm database,
156 .\"O and can be used with \fBrpm\fR from the command line. For example,
157 .\"O to use the cache database to provide suggestions for packages
158 .\"O that provide dependencies needed by a package install, the following
159 .\"O macro should be configured in either
160 .\"O \fI/etc/rpm/macros\fR or
161 .\"O \fI~/.rpmmacros\fR:
162 ¥¥ã¥Ã¥·¥å¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï rpm ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¤â¤Î¤ÈÅù¤·¤¯¡¢
165 ¤«¤éÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
166 Î㤨¤Ð¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ËɬÍפʰ͸À¤òËþ¤¿¤¹¥Ñ¥Ã¥±¡¼¥¸¤ò
167 Äó°Æ¤¹¤ë¤¿¤á¤Ë¥¥ã¥Ã¥·¥å¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÍøÍѤ¹¤ë¤Ë¤Ï¡¢°Ê²¼¤ÎÀßÄ꤬
174 .\"O The location of the database that is used to provide
175 .\"O suggested dependency resolutions.
176 °Í¸À¤ò²ò·è¤¹¤ëÄó°Æ¤Î¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ì½ê¡£
178 .\"O .SS "Example (minimal) configuration for a Red Hat beehive tree:"
179 .SS Red Hat beehive ¥Ä¥ê¡¼¤Î¤¿¤á¤Î(ºÇÄã¸Â¤Î)ÀßÄêÎã
180 ÌõÃí: beehive ¤Ï¿ʬ¡¢Red Hat ÆâÉô¤Î²¿¤é¤«¤Î̾Á°¡£
183 %_cache_dbpath /var/spool/up2date/cache
184 %_solve_dbpath %{_cache_dbpath}
185 %_bhpath file://localhost/mnt/redhat/beehive/comps/dist
187 %_bhN @(basesystem|bash|filesystem|glibc-common|glibc|ldconfig|libtermcap|mktemp|setup|termcap)
189 %_bhA @(i[3456]86|noarch)
191 .\"O .SS "Example (minimal) configuration for a Red Hat FTP tree:"
192 .SS Red Hat ¤Î FTP ¥Ä¥ê¡¼¤Î¤¿¤á¤Î(ºÇ¾®)ÀßÄêÎã
195 %_cache_dbpath /var/spool/up2date/cache
196 %_solve_dbpath %{_cache_dbpath}
197 %_bhpath ftp://localhost/mnt/dist
198 %_bhcoll @(7.3|7.2|7.1|7.0|6.2|6.1|6.0|5.2|5.1|5.0)
201 %_bhA @(i[3456]86|noarch)
206 .\"O Yup. Please file bug reports and RFE's against the rpm-devel package
208 .\"O http://bugzilla.redhat.com/ <URL:http://bugzilla.redhat.com/>
209 rpm-devel ¥Ñ¥Ã¥±¡¼¥¸¤ËÂФ¹¤ë¥Ð¥°Êó¹ð¤ä²þÁ±Í×µá¤Ï¡¢bugzilla
210 .UR http://bugzilla.redhat.com/
211 http://bugzilla.redhat.com/
222 .\"O \fB http://www.rpm.org/ <URL:http://www.rpm.org/>
224 .UR http://www.rpm.org/
225 .B http://www.rpm.org/
230 Jeff Johnson <jbj@redhat.com>