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"
32 rpmcache \- RPM パッケージのヘッダ情報をキャッシュする
34 \fBrpmcache\fR [ \fB\fIPACKAGE_NAME\fB\fR\fI ...\fR ]
37 はファイルツリーを歩きまわり(リモートの\fBFTP\fRかもしれない)、
39 の式を使ってパスをフィルタリングし、rpm パッケージのヘッダを読み込む。
40 最新の(すなわち同じパッケージ名のものに対し、
41 パッケージのエポック・バージョン・リリースを比較し、
42 それが同じであればビルド日付を使って比較した)パッケージのヘッダーが
43 他のものと重複しなければ、rpm データベースにキャッシュされる。
44 不明な依存性を解消するパッケージの場所を提案するために、rpm データベースの
53 の使用方法のメッセージ(訳注: "rpmcache \-\-help")を参照のこと。
55 検索対象のファイルツリーの場所は rpm マクロを使って設定される。
56 最終的な場所は、独立した 5 つの要素を結合したものである。
58 を設定するのに使用されるマクロ名を以下に示す。
59 下記の表示順と同じ順番で各要素が結合されて、
60 検索されるファイルツリーの場所が生成される。
64 検索されるファイルツリーのパス(または URL)の先頭部分。
70 \fB%_bhpath\fR のサブディレクトリーにマッチする文字列(または
76 \fB%_bhcoll\fR のサブディレクトリーにマッチする文字列(または
79 Red Hat ビルドシステム内でのいずれかの特定のパッケージ名にマッチするよ
85 ほぼ確実に、Red Hat 以外の人間が使用することはないだろう。
88 "version-release" レベル。
89 \fB%_bhN\fR のサブディレクトリーにマッチする文字列(または
95 \fB%_bhVR\fR のサブディレクトリーにマッチする文字列(または
99 キャッシュデータベースの場所もまた、以下のマクロを使用して設定される。
102 キャッシュデータベースの場所。デフォルトは
103 .IR /var/spool/up2date/cache 。
105 キャッシュデータベースのフォーマットは rpm データベースのものと等しく、
109 例えば、パッケージのインストールに必要な依存性を満たすパッケージを
110 提案するためにキャッシュデータベースを利用するには、以下の設定が
117 依存性を解決する提案のために使用されるデータベースの場所。
118 .SS Red Hat beehive ツリーのための(最低限の)設定例
119 訳注: beehive は多分、Red Hat 内部の何らかの名前。
122 %_cache_dbpath /var/spool/up2date/cache
123 %_solve_dbpath %{_cache_dbpath}
124 %_bhpath file://localhost/mnt/redhat/beehive/comps/dist
126 %_bhN @(basesystem|bash|filesystem|glibc-common|glibc|ldconfig|libtermcap|mktemp|setup|termcap)
128 %_bhA @(i[3456]86|noarch)
130 .SS Red Hat の FTP ツリーのための(最小)設定例
132 %_cache_dbpath /var/spool/up2date/cache
133 %_solve_dbpath %{_cache_dbpath}
134 %_bhpath ftp://localhost/mnt/dist
135 %_bhcoll @(7.3|7.2|7.1|7.0|6.2|6.1|6.0|5.2|5.1|5.0)
138 %_bhA @(i[3456]86|noarch)
141 rpm-devel パッケージに対するバグ報告や改善要求は、bugzilla
142 .UR http://bugzilla.redhat.com/
143 http://bugzilla.redhat.com/
149 .UR http://www.rpm.org/
150 .B http://www.rpm.org/
153 Jeff Johnson <jbj@redhat.com>