OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / rpm / draft / man8 / rpmcache.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: RFE            ²þÁ±Í׵ᠠ      (Request For Enhancement)
29 .\"
30 .TH "RPMCACHE" "8" "05 July 2002" "Red Hat, Inc." "Red Hat Linux"
31 .\"O .SH NAME
32 .SH Ì¾Á°
33 .\"O rpmcache \- Cache RPM Package Headers
34 rpmcache \- RPM ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ø¥Ã¥À¾ðÊó¤ò¥­¥ã¥Ã¥·¥å¤¹¤ë
35 .\"O .SH SYNOPSIS
36 .SH ½ñ¼°
37 .\"O .PP
38 .\"O 
39 .\"O 
40 \fBrpmcache\fR [ \fB\fIPACKAGE_NAME\fB\fR\fI ...\fR ]
41 .\"O 
42 .\"O .SH "DESCRIPTION"
43 .SH ÀâÌÀ
44 .\"O .PP
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.
52 .B rpmcache
53 ¤Ï¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤òÊ⤭¤Þ¤ï¤ê(¥ê¥â¡¼¥È¤Î\fBFTP\fR¤«¤â¤·¤ì¤Ê¤¤)¡¢
54 .BR glob (7)
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 ¥­¥ã¥Ã¥·¥å¤òÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
64 .PP
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.
67 .B rpmcache
68 ¸ÇÍ­¤Î¥ª¥×¥·¥ç¥ó¤Ï¤Ê¤¯¡¢
69 .B rpm
70 ´ØÏ¢¤Î¥Ä¡¼¥ë¤Ç¶¦Ä̤Υª¥×¥·¥ç¥ó¤À¤±¤Ç¤¢¤ë¡£
71 ¸½»þÅÀ¤Ç²¿¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¤«¤Ë¤Ä¤¤¤Æ¤Ï¡¢
72 .B rpmcache
73 ¤Î»ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸(ÌõÃí: "rpmcache \-\-help")¤ò»²¾È¤Î¤³¤È¡£
74 .PP
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 ¤Ä¤ÎÍ×ÁǤò·ë¹ç¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£
82 .B rpmcache
83 ¤òÀßÄꤹ¤ë¤Î¤Ë»ÈÍѤµ¤ì¤ë¥Þ¥¯¥í̾¤ò°Ê²¼¤Ë¼¨¤¹¡£
84 ²¼µ­¤Îɽ¼¨½ç¤ÈƱ¤¸½çÈ֤dzÆÍ×ÁǤ¬·ë¹ç¤µ¤ì¤Æ¡¢
85 ¸¡º÷¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤Î¾ì½ê¤¬À¸À®¤µ¤ì¤ë¡£
86 .\"O .PP
87 .TP
88 \fB%_bhpath\fR
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.
92 "path"¥ì¥Ù¥ë¡£
93 ¸¡º÷¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤Î¥Ñ¥¹(¤Þ¤¿¤Ï URL)¤ÎÀèƬÉôʬ¡£
94 .BR glob (7)
95 ¤Î¼°¤Ï¤³¤³¤Ç¤Ï»È¤¨¤Ê¤¤¡£
96 .TP
97 \fB%_bhcoll\fR
98 .\"O The "collection" level contains a string (or
99 .\"O \fBglob\fR(7) expression) to match sub-directories of
100 .\"O \fB%_bhpath\fR.
101 "collection" ¥ì¥Ù¥ë¡£
102 \fB%_bhpath\fR ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ëʸ»úÎó(¤Þ¤¿¤Ï
103 .BR glob (7)
104 ¼°)¡£
105 .TP
106 \fB%_bhN\fR
107 .\"O The "name" level contains a string (or
108 .\"O \fBglob\fR(7) expression) to match sub-directories of
109 .\"O \fB%_bhcoll\fR.
110 "name" ¥ì¥Ù¥ë¡£
111 \fB%_bhcoll\fR ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ëʸ»úÎó(¤Þ¤¿¤Ï
112 .BR glob (7)
113 ¼°)¡£
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 ¥Ó¥ë¥É¥·¥¹¥Æ¥àÆâ¤Ç¤Î¤¤¤º¤ì¤«¤ÎÆÃÄê¤Î¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Ë¥Þ¥Ã¥Á¤¹¤ë¤è
120 ¤¦¤Ê
121 .BR glob (7)
122 ¼°¤ò¹½À®¤¹¤ë¤¿¤á¤Ë
123 .I PACKAGE_NAME
124 °ú¿ô¤¬»ÈÍѤµ¤ì¤ë¡£
125 ¤Û¤Ü³Î¼Â¤Ë¡¢Red Hat °Ê³°¤Î¿Í´Ö¤¬»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ê¤¤¤À¤í¤¦¡£
126 .TP
127 \fB%_bhVR\fR
128 .\"O The "version-release" level contains a string (or
129 .\"O \fBglob\fR(7) expression) to match sub-directories of
130 .\"O \fB%_bhN\fR.
131 "version-release" ¥ì¥Ù¥ë¡£
132 \fB%_bhN\fR ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ëʸ»úÎó(¤Þ¤¿¤Ï
133 .BR glob (7)
134 ¼°)¡£
135 .TP
136 \fB%_bhA\fR
137 .\"O The "arch" level contains a string (or
138 .\"O \fBglob\fR(7) expression) to match sub-directories of
139 .\"O \fB%_bhVR\fR.
140 "arch" ¥ì¥Ù¥ë¡£
141 \fB%_bhVR\fR ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ëʸ»úÎó(¤Þ¤¿¤Ï
142 .BR glob (7)
143 ¼°)¡£
144 .PP
145 .\"O The location of the cache database is also configured using
146 .\"O an rpm macro:
147 ¥­¥ã¥Ã¥·¥å¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ì½ê¤â¤Þ¤¿¡¢°Ê²¼¤Î¥Þ¥¯¥í¤ò»ÈÍѤ·¤ÆÀßÄꤵ¤ì¤ë¡£
148 .TP
149 \fB%_cache_dbpath\fR
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 ¡£
154 .PP
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 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¤â¤Î¤ÈÅù¤·¤¯¡¢
163 ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î
164 .B rpm
165 ¤«¤éÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
166 Î㤨¤Ð¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ËɬÍפʰ͸À­¤òËþ¤¿¤¹¥Ñ¥Ã¥±¡¼¥¸¤ò
167 Äó°Æ¤¹¤ë¤¿¤á¤Ë¥­¥ã¥Ã¥·¥å¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÍøÍѤ¹¤ë¤Ë¤Ï¡¢°Ê²¼¤ÎÀßÄ꤬
168 .I /etc/rpm/macros
169 ¤Þ¤¿¤Ï
170 .I ~/.rpmmacros
171 ¤ËɬÍפǤ¢¤ë¡£
172 .TP
173 \fB%_solve_dbpath\fR
174 .\"O The location of the database that is used to provide
175 .\"O suggested dependency resolutions.
176 °Í¸À­¤ò²ò·è¤¹¤ëÄó°Æ¤Î¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ì½ê¡£
177 .\"O .PP
178 .\"O .SS "Example (minimal) configuration for a Red Hat beehive tree:"
179 .SS Red Hat beehive ¥Ä¥ê¡¼¤Î¤¿¤á¤Î(ºÇÄã¸Â¤Î)ÀßÄêÎã
180 ÌõÃí: beehive ¤Ï¿ʬ¡¢Red Hat ÆâÉô¤Î²¿¤é¤«¤Î̾Á°¡£
181 .PP
182 .nf
183 %_cache_dbpath  /var/spool/up2date/cache
184 %_solve_dbpath  %{_cache_dbpath}
185 %_bhpath        file://localhost/mnt/redhat/beehive/comps/dist
186 %_bhcoll        7.3
187 %_bhN           @(basesystem|bash|filesystem|glibc-common|glibc|ldconfig|libtermcap|mktemp|setup|termcap)
188 %_bhVR          *
189 %_bhA           @(i[3456]86|noarch)
190 .fi
191 .\"O .SS "Example (minimal) configuration for a Red Hat FTP tree:"
192 .SS Red Hat ¤Î FTP ¥Ä¥ê¡¼¤Î¤¿¤á¤Î(ºÇ¾®)ÀßÄêÎã
193 .\"O .PP
194 .nf
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)
199 %_bhN           @(%{_arch})
200 %_bhVR          *
201 %_bhA           @(i[3456]86|noarch)
202 .fi
203 .\"O .SH "BUGS"
204 .SH ¥Ð¥°
205 .\"O .PP
206 .\"O Yup. Please file bug reports and RFE's against the rpm-devel package
207 .\"O using bugzilla:
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/
212 .UE
213 ¤ò»È¤Ã¤ÆÍߤ·¤¤¡£
214 .\"O .SH "SEE ALSO"
215 .SH ´ØÏ¢¹àÌÜ
216 .\"O 
217 .\"O \fBrpm\fR(8),
218 .\"O \fBglob\fR(7),
219 .BR rpm (8),
220 .BR glob (7),
221 .\"O 
222 .\"O \fB http://www.rpm.org/ <URL:http://www.rpm.org/>
223 .\"O \fR
224 .UR http://www.rpm.org/
225 .B http://www.rpm.org/
226 .UE
227 .\"O .SH "AUTHORS"
228 .SH Ãø¼Ô
229 .\"O 
230 Jeff Johnson <jbj@redhat.com>