.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2, or (at your option) .\" any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, .\" USA. .\" .\" Japanese Version Copyright (C) 2003 System Design and Research .\" Institute Co.,Ltd. All rights reserved. .\" .\" Translated 14 March 2003 by .\" System Design and Research Institute Co.,Ltd. .\" .\"WORD: RFE 改善要求 (Request For Enhancement) .\" .TH "RPMCACHE" "8" "05 July 2002" "Red Hat, Inc." "Red Hat Linux" .\"O .SH NAME .SH 名前 .\"O rpmcache \- Cache RPM Package Headers rpmcache \- RPM パッケージのヘッダ情報をキャッシュする .\"O .SH SYNOPSIS .SH 書式 .\"O .PP .\"O .\"O \fBrpmcache\fR [ \fB\fIPACKAGE_NAME\fB\fR\fI ...\fR ] .\"O .\"O .SH "DESCRIPTION" .SH 説明 .\"O .PP .\"O \fBrpmcache\fR walks a file tree, possibly remotely using .\"O \fBFTP\fR, filtering paths using .\"O \fBglob\fR(7) expressions, reading .\"O rpm package headers. The latest (i.e. comparing .\"O package epoch/version/release for identical package .\"O names and using the build time as a tie breaker) package .\"O headers, if they are unique, are cached in an rpm database. .B rpmcache はファイルツリーを歩きまわり(リモートの\fBFTP\fRかもしれない)、 .BR glob (7) の式を使ってパスをフィルタリングし、rpm パッケージのヘッダを読み込む。 最新の(すなわち同じパッケージ名のものに対し、 パッケージのエポック・バージョン・リリースを比較し、 それが同じであればビルド日付を使って比較した)パッケージのヘッダーが 他のものと重複しなければ、rpm データベースにキャッシュされる。 .\"O The rpm database cache can be used to provide suggested .\"O paths to packages that resolve unknown dependencies. 不明な依存性を解消するパッケージの場所を提案するために、rpm データベースの キャッシュを利用することができる。 .PP .\"O There are no \fBrpmcache\fR specific options, only common \fBrpm\fR options. .\"O See the \fBrpmcache\fR usage message for what is currently implemented. .B rpmcache 固有のオプションはなく、 .B rpm 関連のツールで共通のオプションだけである。 現時点で何が実装されているかについては、 .B rpmcache の使用方法のメッセージ(訳注: "rpmcache \-\-help")を参照のこと。 .PP .\"O The file tree path to be searched is configured using rpm .\"O macros. The final path is the concatentaion of 5 individual .\"O elements. Here are the macro names used to configure \fBrpmcache\fR, in .\"O the same order that they will be concatenated to build the .\"O file tree path that will be walked: 検索対象のファイルツリーの場所は rpm マクロを使って設定される。 最終的な場所は、独立した 5 つの要素を結合したものである。 .B rpmcache を設定するのに使用されるマクロ名を以下に示す。 下記の表示順と同じ順番で各要素が結合されて、 検索されるファイルツリーの場所が生成される。 .\"O .PP .TP \fB%_bhpath\fR .\"O The "path" level contains the leading part of the file tree path .\"O (or URL) for the file tree to be walked. .\"O No \fBglob\fR(7) expressions, here, please. "path"レベル。 検索されるファイルツリーのパス(または URL)の先頭部分。 .BR glob (7) の式はここでは使えない。 .TP \fB%_bhcoll\fR .\"O The "collection" level contains a string (or .\"O \fBglob\fR(7) expression) to match sub-directories of .\"O \fB%_bhpath\fR. "collection" レベル。 \fB%_bhpath\fR のサブディレクトリーにマッチする文字列(または .BR glob (7) 式)。 .TP \fB%_bhN\fR .\"O The "name" level contains a string (or .\"O \fBglob\fR(7) expression) to match sub-directories of .\"O \fB%_bhcoll\fR. "name" レベル。 \fB%_bhcoll\fR のサブディレクトリーにマッチする文字列(または .BR glob (7) 式)。 .\"O The \fIPACKAGE_NAME\fR .\"O arguments are used to construct a \fBglob\fR(7) .\"O expression that will match any of specific package names within .\"O the Red Hat build system, and are almost certainly not of use to .\"O anyone outside of Red Hat. Red Hat ビルドシステム内でのいずれかの特定のパッケージ名にマッチするよ うな .BR glob (7) 式を構成するために .I PACKAGE_NAME 引数が使用される。 ほぼ確実に、Red Hat 以外の人間が使用することはないだろう。 .TP \fB%_bhVR\fR .\"O The "version-release" level contains a string (or .\"O \fBglob\fR(7) expression) to match sub-directories of .\"O \fB%_bhN\fR. "version-release" レベル。 \fB%_bhN\fR のサブディレクトリーにマッチする文字列(または .BR glob (7) 式)。 .TP \fB%_bhA\fR .\"O The "arch" level contains a string (or .\"O \fBglob\fR(7) expression) to match sub-directories of .\"O \fB%_bhVR\fR. "arch" レベル。 \fB%_bhVR\fR のサブディレクトリーにマッチする文字列(または .BR glob (7) 式)。 .PP .\"O The location of the cache database is also configured using .\"O an rpm macro: キャッシュデータベースの場所もまた、以下のマクロを使用して設定される。 .TP \fB%_cache_dbpath\fR .\"O The location of the cache database. The default value is .\"O \fI/var/spool/up2date/cache\fR. キャッシュデータベースの場所。デフォルトは .IR /var/spool/up2date/cache 。 .PP .\"O The cache database is identical in format to an rpm database, .\"O and can be used with \fBrpm\fR from the command line. For example, .\"O to use the cache database to provide suggestions for packages .\"O that provide dependencies needed by a package install, the following .\"O macro should be configured in either .\"O \fI/etc/rpm/macros\fR or .\"O \fI~/.rpmmacros\fR: キャッシュデータベースのフォーマットは rpm データベースのものと等しく、 コマンドラインの .B rpm から利用することができる。 例えば、パッケージのインストールに必要な依存性を満たすパッケージを 提案するためにキャッシュデータベースを利用するには、以下の設定が .I /etc/rpm/macros または .I ~/.rpmmacros に必要である。 .TP \fB%_solve_dbpath\fR .\"O The location of the database that is used to provide .\"O suggested dependency resolutions. 依存性を解決する提案のために使用されるデータベースの場所。 .\"O .PP .\"O .SS "Example (minimal) configuration for a Red Hat beehive tree:" .SS Red Hat beehive ツリーのための(最低限の)設定例 訳注: beehive は多分、Red Hat 内部の何らかの名前。 .PP .nf %_cache_dbpath /var/spool/up2date/cache %_solve_dbpath %{_cache_dbpath} %_bhpath file://localhost/mnt/redhat/beehive/comps/dist %_bhcoll 7.3 %_bhN @(basesystem|bash|filesystem|glibc-common|glibc|ldconfig|libtermcap|mktemp|setup|termcap) %_bhVR * %_bhA @(i[3456]86|noarch) .fi .\"O .SS "Example (minimal) configuration for a Red Hat FTP tree:" .SS Red Hat の FTP ツリーのための(最小)設定例 .\"O .PP .nf %_cache_dbpath /var/spool/up2date/cache %_solve_dbpath %{_cache_dbpath} %_bhpath ftp://localhost/mnt/dist %_bhcoll @(7.3|7.2|7.1|7.0|6.2|6.1|6.0|5.2|5.1|5.0) %_bhN @(%{_arch}) %_bhVR * %_bhA @(i[3456]86|noarch) .fi .\"O .SH "BUGS" .SH バグ .\"O .PP .\"O Yup. Please file bug reports and RFE's against the rpm-devel package .\"O using bugzilla: .\"O http://bugzilla.redhat.com/ rpm-devel パッケージに対するバグ報告や改善要求は、bugzilla .UR http://bugzilla.redhat.com/ http://bugzilla.redhat.com/ .UE を使って欲しい。 .\"O .SH "SEE ALSO" .SH 関連項目 .\"O .\"O \fBrpm\fR(8), .\"O \fBglob\fR(7), .BR rpm (8), .BR glob (7), .\"O .\"O \fB http://www.rpm.org/ .\"O \fR .UR http://www.rpm.org/ .B http://www.rpm.org/ .UE .\"O .SH "AUTHORS" .SH 著者 .\"O Jeff Johnson