~ubuntu-branches/debian/experimental/apt/experimental

« back to all changes in this revision

Viewing changes to doc/ja/apt-config.ja.8

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-02-18 22:07:23 UTC
  • mfrom: (9.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100218220723-zb7zdh6fmsmp30tr
Tags: 0.7.26~exp2
fix crash when LANGUAGE is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: apt-config
 
3
.\"    Author: Jason Gunthorpe
 
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
 
5
.\"      Date: 29
 
6
February 2004
 
7
.\"    Manual: APT
 
8
.\"    Source: Linux
 
9
.\"  Language: English
 
10
.\"
 
11
.TH "APT\-CONFIG" "8" "29 February 2004" "Linux" "APT"
 
12
.\" -----------------------------------------------------------------
 
13
.\" * Define some portability stuff
 
14
.\" -----------------------------------------------------------------
 
15
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
16
.\" http://bugs.debian.org/507673
 
17
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
 
18
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
19
.ie \n(.g .ds Aq \(aq
 
20
.el       .ds Aq '
 
21
.\" -----------------------------------------------------------------
 
22
.\" * set default formatting
 
23
.\" -----------------------------------------------------------------
 
24
.\" disable hyphenation
 
25
.nh
 
26
.\" disable justification (adjust text to left margin only)
 
27
.ad l
 
28
.\" -----------------------------------------------------------------
 
29
.\" * MAIN CONTENT STARTS HERE *
 
30
.\" -----------------------------------------------------------------
 
31
.SH "NAME"
 
32
apt-config \- APT 設定取得プログラム
 
33
.SH "SYNOPSIS"
 
34
.HP \w'\fBapt\-config\fR\ 'u
 
35
\fBapt\-config\fR [\fB\-hv\fR] [\fB\-o=\fR\fB\fIconfig\ string\fR\fR] [\fB\-c=\fR\fB\fIfile\fR\fR] {[shell] | [dump]}
 
36
.SH "説明"
 
37
.PP
 
38
\fBapt\-config\fR
 
39
は、APT スイートの様々な所で一貫した設定を行うために使用する、内部ツールです。スクリプトアプリケーションで使いやすい方法で、メイン設定ファイル
 
40
/etc/apt/apt\&.conf
 
41
にアクセスします。
 
42
.PP
 
43
\fB\-h\fR
 
44
オプションや
 
45
\fB\-\-help\fR
 
46
オプションを除き、以下に挙げるコマンドが必要です。
 
47
.PP
 
48
shell
 
49
.RS 4
 
50
shell は、シェルスクリプトから設定情報にアクセスするのに使用します。引数として、まずシェル変数、次に取得したい設定値をペアで与えます。出力として、現在の値ごとにシェル代入コマンドの一覧を表示します。シェルスクリプト内では、以下のようにしてください。
 
51
.sp
 
52
.if n \{\
 
53
.RS 4
 
54
.\}
 
55
.nf
 
56
OPTS="\-f"
 
57
RES=`apt\-config shell OPTS MyApp::options`
 
58
eval $RES
 
59
.fi
 
60
.if n \{\
 
61
.RE
 
62
.\}
 
63
これは、MyApp::options の値をシェル環境変数 $OPTS にセットします。デフォルト値は
 
64
\fB\-f\fR
 
65
となります。
 
66
.sp
 
67
設定項目は /[fdbi] を後ろに付けられます。f はファイル名を、d はディレクトリを、b は true か false を、i は整数を返します。返り値ごとに内部で正規化と検証を行います。
 
68
.RE
 
69
.PP
 
70
dump
 
71
.RS 4
 
72
設定箇所の内容を表示するだけです。
 
73
.RE
 
74
.SH "オプション"
 
75
.PP
 
76
ここで設定オプションとして説明したコマンドラインオプションは、 すべて設定ファイルを使用して設定できます。 設定ファイルに書いた真偽値をとるオプションは
 
77
\fB\-f\-\fR,\fB\-\-no\-f\fR,
 
78
\fB\-f=no\fR
 
79
などのようにして上書きできます。
 
80
.PP
 
81
\fB\-h\fR, \fB\-\-help\fR
 
82
.RS 4
 
83
使い方の短い要約を表示します。
 
84
.RE
 
85
.PP
 
86
\fB\-v\fR, \fB\-\-version\fR
 
87
.RS 4
 
88
プログラムのバージョンを表示します。
 
89
.RE
 
90
.PP
 
91
\fB\-c\fR, \fB\-\-config\-file\fR
 
92
.RS 4
 
93
設定ファイル。 使用する設定ファイルを指定します。 この設定ファイルが読めない場合はデフォルトの設定ファイルを読み込みます。 文法については
 
94
\fBapt.conf\fR(5)
 
95
を参照してください。
 
96
.RE
 
97
.PP
 
98
\fB\-o\fR, \fB\-\-option\fR
 
99
.RS 4
 
100
設定オプションのセット。任意の設定オプションをセットします。 文法は
 
101
\fB\-o Foo::Bar=bar\fR
 
102
となります。 異なるオプションを設定するため、\fB\-o\fR
 
103
 
104
\fB\-\-option\fR
 
105
は、 複数回使用できます。
 
106
.RE
 
107
.SH "関連項目"
 
108
.PP
 
109
\fBapt.conf\fR(5)
 
110
.SH "診断メッセージ"
 
111
.PP
 
112
\fBapt\-config\fR
 
113
は正常終了時に 0 を返します。エラー時には十進の 100 を返します。
 
114
.SH "バグ"
 
115
.PP
 
116
\m[blue]\fBAPT バグページ\fR\m[]\&\s-2\u[1]\d\s+2
 
117
をご覧ください。 APT のバグを報告する場合は、
 
118
/usr/share/doc/debian/bug\-reporting\&.txt
 
119
 
120
\fBreportbug\fR(1)
 
121
コマンドをご覧ください。
 
122
.SH "訳者"
 
123
.PP
 
124
倉澤 望
 
125
nabetaro@debian\&.or\&.jp
 
126
(2003\-2006,2009), Debian JP Documentation ML
 
127
debian\-doc@debian\&.or\&.jp
 
128
.PP
 
129
Note that this translated document may contain untranslated parts\&. This is done on purpose, to avoid losing content when the translation is lagging behind the original content\&.
 
130
.SH "AUTHORS"
 
131
.PP
 
132
\fBJason Gunthorpe\fR
 
133
.RS 4
 
134
.RE
 
135
.PP
 
136
\fBAPT team\fR
 
137
.RS 4
 
138
.RE
 
139
.SH "NOTES"
 
140
.IP " 1." 4
 
141
APT バグページ
 
142
.RS 4
 
143
\%http://bugs.debian.org/src:apt
 
144
.RE