| APT-CONFIG(8) | APT | APT-CONFIG(8) |
名前¶
apt-config - APT 設定取得プログラム
概要¶
apt-config [--empty] [--format '%f "%v";%n'] [-o=設定文字列] [-c=設定ファイル] {shell | dump | {-v | --version} | {-h | --help}}
説明¶
apt-config は、APT スイートの様々な所で一貫した設定を行うために使用する、内部プログラムです。スクリプトアプリケーションで使いやすい方法で、メイン設定ファイル /etc/apt/apt.conf にアクセスします。
-h オプションや --help オプションを除き、以下に挙げるコマンドが必要です。
shell
OPTS="-f" RES=`apt-config shell OPTS MyApp::options` eval $RES
設定項目は /[fdbi] を後ろに付けられます。f はファイル名を、d はディレクトリを、b は true か false を、i は整数を返します。返り値ごとに内部で正規化と検証を行います。
dump
オプション¶
ここで設定オプションとして説明したコマンドラインオプションは、 すべて設定ファイルを使用して設定できます。 設定ファイルに書いた真偽値をとるオプションは -f-,--no-f, -f=no などのようにして上書きできます。
--empty
--format '%f "%v";%n'
-h, --help
-v, --version
--audit
-c, --config-file
-o, --option
--cli-version
Version tracks are presented as follows: The version 3.2 has equivalent versions 0.32, 1.22, and 2.12, implementing new features for their specified major versions.
A special case is the X.9 version pattern: A version like 2.9 is followed by 3.0, but 2.10 follows directly on 2.8; given that we use odd version numbers as development series (2.9 is the 3.0 development series).
This feature has been introduced in APT 3.1.10, and replaces the binary-specific configuration. You may use the APT::Version to similar effect on older binaries, for example, use -o APT::Version=2 to make apt(8) behave like the 2.x series.
The default value is the current APT version for apt(8) and 0.(10 * major + minor) for the classic commands. The 0.X series is soft-deprecated and the other commands will roll over to the 2.x series in the future.
--no-color, --color
関連項目¶
診断メッセージ¶
apt-config は正常終了時に 0 を返します。エラー時には十進の 100 を返します。
バグ¶
APT バグページ[1] をご覧ください。 APT のバグを報告する場合は、 /usr/share/doc/debian/bug-reporting.txt や reportbug(1) コマンドをご覧ください。
翻訳¶
倉澤 望 <nabetaro@debian.or.jp> (2003-2006,2009-2012), Takuma Yamada <tyamada@takumayamada.com> (2016), Debian JP Documentation ML <debian-doc@debian.or.jp>
この翻訳文書には未訳部分が含まれている可能性があることに 注意してください。 翻訳がオリジナルに追従できていない場合、 内容を失わないようにこのようにしています。
著者¶
Gunthorpe Jason[FAMILY Given]
[FAMILY Given]
注記¶
- 1.
- APT バグページ
| 30 11 月 2013 | APT 3.1.11 |