1 # Translation of apt package man pages
2 # Copyright (C) 2003-2012 Debian Japanese List <debian-japanese@lists.debian.org>
3 # This file is distributed under the same license as the apt package.
6 # KURASAWA Nozomu, 2003-2006, 2009-2012.
7 # Takuma Yamada <tyamada@takumayamada.com>, 2016.
11 "Project-Id-Version: apt-doc 1.0.6\n"
12 "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
13 "POT-Creation-Date: 2016-06-11 17:24+0200\n"
14 "PO-Revision-Date: 2016-03-23 09:39+0900\n"
15 "Last-Translator: Takuma Yamada <tyamada@takumayamada.com>\n"
16 "Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "Plural-Forms: nplurals=1; plural=0;\n"
22 "X-Generator: Gtranslator 2.91.6\n"
28 "<!ENTITY apt-author.team \"\n"
30 " <othername>APT team</othername>\n"
31 " <contrib></contrib>\n"
35 "<!ENTITY apt-author.team \"\n"
37 " <othername>APT チーム</othername>\n"
38 " <contrib></contrib>\n"
46 "<!ENTITY apt-qapage \"\n"
48 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
52 "<!ENTITY apt-qapage \"\n"
54 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA ページ</ulink>\n"
62 "<!-- Boiler plate Bug reporting section -->\n"
63 "<!ENTITY manbugs \"\n"
64 " <refsect1><title>Bugs</title>\n"
65 " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
66 " If you wish to report a bug in APT, please see\n"
67 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
68 " &reportbug; command.\n"
73 "<!-- Boiler plate Bug reporting section -->\n"
74 "<!ENTITY manbugs \"\n"
75 " <refsect1><title>バグ</title>\n"
76 " <para><ulink url='http://bugs.debian.org/src:apt'>APT バグページ</ulink> をご覧ください。 \n"
78 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> や\n"
79 " &reportbug; コマンドをご覧ください。\n"
88 "<!-- Boiler plate Author section -->\n"
89 "<!ENTITY manauthor \"\n"
90 " <refsect1><title>Author</title>\n"
91 " <para>APT was written by the APT team <email>apt@packages.debian.org</email>.\n"
96 "<!-- Boiler plate Author section -->\n"
97 "<!ENTITY manauthor \"\n"
98 " <refsect1><title>著者</title>\n"
99 " <para>APT は APT チーム <email>apt@packages.debian.org</email> によって書かれました。\n"
108 "<!-- Should be used within the option section of the text to\n"
109 " put in the blurb about -h, -v, -c and -o -->\n"
110 "<!ENTITY apt-commonoptions \"\n"
111 " <varlistentry><term><option>-h</option></term>\n"
112 " <term><option>--help</option></term>\n"
113 " <listitem><para>Show a short usage summary.\n"
118 "<!-- Should be used within the option section of the text to\n"
119 " put in the blurb about -h, -v, -c and -o -->\n"
120 "<!ENTITY apt-commonoptions \"\n"
121 " <varlistentry><term><option>-h</option></term>\n"
122 " <term><option>--help</option></term>\n"
123 " <listitem><para>使い方の短い要約を表示します。\n"
133 " <term><option>-v</option></term>\n"
134 " <term><option>--version</option></term>\n"
135 " <listitem><para>Show the program version.\n"
141 " <term><option>-v</option></term>\n"
142 " <term><option>--version</option></term>\n"
143 " <listitem><para>プログラムのバージョンを表示します。\n"
153 " <term><option>-c</option></term>\n"
154 " <term><option>--config-file</option></term>\n"
155 " <listitem><para>Configuration File; Specify a configuration file to use. \n"
156 " The program will read the default configuration file and then this \n"
157 " configuration file. If configuration settings need to be set before the\n"
158 " default configuration files are parsed specify a file with the <envar>APT_CONFIG</envar>\n"
159 " environment variable. See &apt-conf; for syntax information.\n"
165 " <term><option>-c</option></term>\n"
166 " <term><option>--config-file</option></term>\n"
167 " <listitem><para>設定ファイル。 使用する設定ファイルを指定します。\n"
168 " このプログラムは、デフォルト設定ファイルを読んでから、この設定ファイルを読みます。\n"
169 " この設定をデフォルト設定ファイルよりも前に読む必要がある場合、\n"
170 " <envar>APT_CONFIG</envar> 環境変数に指定してください。構文については &apt-conf; をご覧ください。\n"
180 " <term><option>-o</option></term>\n"
181 " <term><option>--option</option></term>\n"
182 " <listitem><para>Set a Configuration Option; This will set an arbitrary\n"
183 " configuration option. The syntax is <option>-o Foo::Bar=bar</option>.\n"
184 " <option>-o</option> and <option>--option</option> can be used multiple\n"
185 " times to set different options.\n"
192 " <term><option>-o</option></term>\n"
193 " <term><option>--option</option></term>\n"
194 " <listitem><para>設定オプションのセット。任意の設定オプションをセットします。\n"
195 " 構文 <option>-o Foo::Bar=bar</option> となります。\n"
196 " 異なるオプションを設定するため、<option>-o</option> と <option>--option</option> は、\n"
207 "<!-- Should be used within the option section of the text to\n"
208 " put in the blurb about -h, -v, -c and -o -->\n"
209 "<!ENTITY apt-cmdblurb \"\n"
210 " <para>All command line options may be set using the configuration file, the\n"
211 " descriptions indicate the configuration option to set. For boolean\n"
212 " options you can override the config file by using something like \n"
213 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
214 " or several other variations.\n"
218 "<!-- Should be used within the option section of the text to\n"
219 " put in the blurb about -h, -v, -c and -o -->\n"
220 "<!ENTITY apt-cmdblurb \"\n"
221 " <para>ここで設定オプションとして説明したコマンドラインオプションは、\n"
222 " すべて設定ファイルを使用して設定できます。\n"
223 " 設定ファイルに書いた真偽値をとるオプションは\n"
224 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
225 " などのようにして上書きできます。\n"
234 "<!ENTITY file-aptconf \"\n"
235 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
236 " <listitem><para>APT configuration file.\n"
237 " Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem>\n"
240 "<!ENTITY file-aptconf \"\n"
241 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
242 " <listitem><para>APT 設定ファイル。\n"
243 " 設定項目: <literal>Dir::Etc::Main</literal></para></listitem>\n"
250 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
251 " <listitem><para>APT configuration file fragments.\n"
252 " Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
256 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
257 " <listitem><para>APT 設定ファイル断片。\n"
258 " 設定項目: <literal>Dir::Etc::Parts</literal></para></listitem>\n"
266 "<!ENTITY file-cachearchives \"\n"
267 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
268 " <listitem><para>Storage area for retrieved package files.\n"
269 " Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
272 "<!ENTITY file-cachearchives \"\n"
273 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
274 " <listitem><para>取得済みパッケージファイル格納エリア。\n"
275 " 設定項目: <literal>Dir::Cache::Archives</literal></para></listitem>\n"
282 " <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
283 " <listitem><para>Storage area for package files in transit.\n"
284 " Configuration Item: <literal>Dir::Cache::Archives</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>\n"
288 " <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
289 " <listitem><para>取得中パッケージファイル格納エリア。\n"
290 " 設定項目: <literal>Dir::Cache::Archives</literal> (暗黙で <filename>partial</filename> を追加)</para></listitem>\n"
298 "<!ENTITY file-preferences \"\n"
299 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
300 " <listitem><para>Version preferences file.\n"
301 " This is where you would specify "pinning",\n"
302 " i.e. a preference to get certain packages\n"
303 " from a separate source\n"
304 " or from a different version of a distribution.\n"
305 " Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
308 "<!ENTITY file-preferences \"\n"
309 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
310 " <listitem><para>バージョンプリファレンスファイル。\n"
311 " ここに "pin"の設定を行います。\n"
312 " つまり、別々の取得元や異なるディストリビューションのバージョンの、\n"
313 " どこからパッケージを取得するかを設定します。\n"
314 " 設定項目: <literal>Dir::Etc::Preferences</literal></para></listitem>\n"
321 " <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
322 " <listitem><para>File fragments for the version preferences.\n"
323 " Configuration Item: <literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
327 " <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
328 " <listitem><para>バージョンプリファレンスファイル断片。\n"
329 " 設定項目: <literal>Dir::Etc::PreferencesParts</literal></para></listitem>\n"
337 "<!ENTITY file-sourceslist \"\n"
338 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
339 " <listitem><para>Locations to fetch packages from.\n"
340 " Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
343 "<!ENTITY file-sourceslist \"\n"
344 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
345 " <listitem><para>パッケージ取得元の場所。\n"
346 " 設定項目: <literal>Dir::Etc::SourceList</literal></para></listitem>\n"
353 " <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
354 " <listitem><para>File fragments for locations to fetch packages from.\n"
355 " Configuration Item: <literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
359 " <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
360 " <listitem><para>パッケージ取得元の場所のファイル断片\n"
361 " 設定項目: <literal>Dir::Etc::SourceParts</literal></para></listitem>\n"
369 "<!ENTITY file-statelists \"\n"
370 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
371 " <listitem><para>Storage area for state information for each package resource specified in\n"
373 " Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem>\n"
376 "<!ENTITY file-statelists \"\n"
377 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
378 " <listitem><para>&sources-list; に指定した、パッケージリソースごとの状態情報格納エリア。\n"
379 " 設定項目: <literal>Dir::State::Lists</literal></para></listitem>\n"
386 " <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
387 " <listitem><para>Storage area for state information in transit.\n"
388 " Configuration Item: <literal>Dir::State::Lists</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>\n"
392 " <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
393 " <listitem><para>取得中状態情報格納エリア。\n"
394 " 設定項目: <literal>Dir::State::Lists</literal> (暗黙で <filename>partial</filename> を追加)</para></listitem>\n"
402 "<!ENTITY file-trustedgpg \"\n"
403 " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
404 " <listitem><para>Keyring of local trusted keys, new keys will be added here.\n"
405 " Configuration Item: <literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
408 "<!ENTITY file-trustedgpg \"\n"
409 " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
410 " <listitem><para>ローカルで信頼済みキーのキーリング、新規キーはここに追加します。\n"
411 " 設定項目: <literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
418 " <varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
419 " <listitem><para>File fragments for the trusted keys, additional keyrings can\n"
420 " be stored here (by other packages or the administrator).\n"
421 " Configuration Item <literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
425 " <varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
426 " <listitem><para>信頼済みキーのファイル断片、追加キーリングは (他のパッケージや管理者により) ここに格納します。\n"
427 " 設定項目: <literal>Dir::Etc::TrustedParts</literal></para></listitem>\n"
435 "<!ENTITY file-extended_states \"\n"
436 " <varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
437 " <listitem><para>Status list of auto-installed packages.\n"
438 " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
439 " </para></listitem>\n"
443 "<!ENTITY file-extended_states \"\n"
444 " <varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
445 " <listitem><para>自動インストールされたパッケージの状態一覧です。\n"
446 " 設定項目: <literal>Dir::State::extended_states</literal>\n"
447 " </para></listitem>\n"
455 "<!-- TRANSLATOR: This is the section header for the following paragraphs - comparable\n"
456 " to the other headers like NAME and DESCRIPTION and should therefore be uppercase. -->\n"
457 "<!ENTITY translation-title \"TRANSLATION\">\n"
459 "<!-- TRANSLATOR: This is the section header for the following paragraphs - comparable\n"
460 " to the other headers like NAME and DESCRIPTION and should therefore be uppercase. -->\n"
461 "<!ENTITY translation-title \"翻訳\">\n"
467 "<!-- TRANSLATOR: This is a placeholder. You should write here who has contributed\n"
468 " to the translation in the past, who is responsible now and maybe further information\n"
469 " specially related to your translation. -->\n"
470 "<!ENTITY translation-holder \"\n"
471 " The english translation was done by John Doe <email>john@doe.org</email> in 2009,\n"
472 " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together with the\n"
473 " Debian Dummy l10n Team <email>debian-l10n-dummy@lists.debian.org</email>.\n"
476 "<!-- TRANSLATOR: This is a placeholder. You should write here who has contributed\n"
477 " to the translation in the past, who is responsible now and maybe further information\n"
478 " specially related to your translation. -->\n"
479 "<!ENTITY translation-holder \"\n"
480 " 倉澤 望 <email>nabetaro@debian.or.jp</email> (2003-2006,2009-2012),\n"
481 " Takuma Yamada <email>tyamada@takumayamada.com</email> (2016),\n"
482 " Debian JP Documentation ML <email>debian-doc@debian.or.jp</email>\n"
489 "<!-- TRANSLATOR: As a translation is allowed to have 20% of untranslated/fuzzy strings\n"
490 " in a shipped manpage newer/modified paragraphs will maybe appear in english in\n"
491 " the generated manpage. This sentence is therefore here to tell the reader that this\n"
492 " is not a mistake by the translator - obviously the target is that at least for stable\n"
493 " releases this sentence is not needed. :) -->\n"
494 "<!ENTITY translation-english \"\n"
495 " Note that this translated document may contain untranslated parts.\n"
496 " This is done on purpose, to avoid losing content when the\n"
497 " translation is lagging behind the original content.\n"
500 "<!-- TRANSLATOR: As a translation is allowed to have 20% of untranslated/fuzzy strings\n"
501 " in a shipped manpage newer/modified paragraphs will maybe appear in english in\n"
502 " the generated manpage. This sentence is therefore here to tell the reader that this\n"
503 " is not a mistake by the translator - obviously the target is that at least for stable\n"
504 " releases this sentence is not needed. :) -->\n"
505 "<!ENTITY translation-english \"\n"
506 " この翻訳文書には未訳部分が含まれている可能性があることに\n"
508 " 翻訳がオリジナルに追従できていない場合、\n"
509 " 内容を失わないようにこのようにしています。\n"
515 "<!-- TRANSLATOR: used as in -o=config_string e.g. -o=Debug::"
516 "pkgProblemResolver=1 --> <!ENTITY synopsis-config-string \"config_string\">"
518 "<!-- TRANSLATOR: used as in -o=config_string e.g. -o=Debug::"
519 "pkgProblemResolver=1 --> <!ENTITY synopsis-config-string \"設定文字列\">"
524 "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
525 "synopsis-config-file \"config_file\">"
527 "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
528 "synopsis-config-file \"設定ファイル\">"
533 "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release e.g. -"
534 "t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
535 "\"target_release\">"
537 "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release e.g. -"
538 "t=squeeze apt/experimental --> <!ENTITY synopsis-target-release \"対象リリー"
544 "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
545 "synopsis-architecture \"architecture\">"
547 "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
548 "synopsis-architecture \"アーキテクチャ\">"
553 "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
554 "--> <!ENTITY synopsis-pkg \"pkg\">"
556 "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
557 "--> <!ENTITY synopsis-pkg \"パッケージ\">"
562 "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> <!"
563 "ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
565 "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> <!"
566 "ENTITY synopsis-pkg-ver-number \"パッケージバージョン番号\">"
571 "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
572 "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
574 "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
575 "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
580 "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
581 "awesome --> <!ENTITY synopsis-regex \"regex\">"
583 "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
584 "awesome --> <!ENTITY synopsis-regex \"正規表現\">"
589 "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom -"
590 "d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
592 "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom -"
593 "d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"CDROMマウントポイント\">"
598 "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory e.g. "
599 "apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
600 "\"temporary_directory\">"
602 "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory e.g. "
603 "apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory \"一時ディレ"
609 "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
610 "synopsis-filename \"filename\">"
612 "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
613 "synopsis-filename \"ファイル名\">"
618 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
619 "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
621 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
622 "packages path override-file pathprefix --> <!ENTITY synopsis-path \"パス\">"
627 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
628 "packages path override-file pathprefix --> <!ENTITY synopsis-override "
631 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
632 "packages path override-file pathprefix --> <!ENTITY synopsis-override "
638 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
639 "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
642 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
643 "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
649 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
650 "generate section --> <!ENTITY synopsis-section \"section\">"
652 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
653 "generate section --> <!ENTITY synopsis-section \"セクション\">"
658 "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
659 "473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
661 "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
662 "473041FA --> <!ENTITY synopsis-keyid \"キーID\">"
664 #. type: Content of: <refentry><refmeta><manvolnum>
665 #: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
666 #: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml
670 #. type: Content of: <refentry><refmeta><refmiscinfo>
671 #: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
672 #: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml apt.conf.5.xml
673 #: apt_preferences.5.xml sources.list.5.xml apt-extracttemplates.1.xml
674 #: apt-sortpkgs.1.xml apt-ftparchive.1.xml
678 #. type: Content of: <refentry><refnamediv><refpurpose>
680 msgid "command-line interface"
681 msgstr "コマンドラインインターフェイス"
683 #. type: Content of: <refentry><refsect1><title>
684 #: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
685 #: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml apt.conf.5.xml
686 #: apt_preferences.5.xml sources.list.5.xml apt-extracttemplates.1.xml
687 #: apt-sortpkgs.1.xml apt-ftparchive.1.xml
691 #. type: Content of: <refentry><refsect1><para>
694 "<command>apt</command> provides a high-level commandline interface for the "
695 "package management system. It is intended as an end user interface and "
696 "enables some options better suited for interactive usage by default compared "
697 "to more specialized APT tools like &apt-get; and &apt-cache;."
699 "<command>apt</command> は、パッケージ管理システム用の高レベルのコマンドライン"
700 "インターフェースを提供します。エンドユーザインターフェースとして設計されてい"
701 "ます。また &apt-get; や &apt-cache; のような専用の APT ツールと比べて、デフォ"
702 "ルトでインタラクティブな使用に適したいくつかのオプションが有効になっていま"
705 #. type: Content of: <refentry><refsect1><para>
708 "Much like <command>apt</command> itself, its manpage is intended as an end "
709 "user interface and as such only mentions the most used commands and options "
710 "partly to not duplicate information in multiple places and partly to avoid "
711 "overwhelming readers with a cornucopia of options and details."
713 "<command>apt</command> 自身と同じように、man ページはエンドユーザインター"
714 "フェースとして意図されています。さらに、一部のオプションや詳細の豊富さで読者"
715 "を圧倒することを避けるため、複数の場所で部分的に情報を複製しないよう、最も使"
716 "用されるコマンドとオプションを言及するように意図されています。"
718 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
723 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
726 "<option>update</option> is used to download package information from all "
727 "configured sources. Other commands operate on this data to e.g. perform "
728 "package upgrades or search in and display details about all packages "
729 "available for installation."
731 "<option>update</option> は、設定されたすべての取得元からパッケージ情報をダウ"
732 "ンロードするために使用されます。ほかのコマンドは、このデータを操作します。例"
733 "えば、パッケージのアップグレードを実行したり、中を検索したり、インストール可"
734 "能なすべてのパッケージに関する詳細情報を表示します。"
736 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
739 "<option>upgrade</option> is used to install available upgrades of all "
740 "packages currently installed on the system from the sources configured via "
741 "&sources-list;. New packages will be installed if required to statisfy "
742 "dependencies, but existing packages will never be removed. If an upgrade for "
743 "a package requires the remove of an installed package the upgrade for this "
744 "package isn't performed."
746 "<option>upgrade</option> は、&sources-list; で設定された取得元からシステムに"
747 "現在インストール済みのすべてのパッケージで利用可能なアップグレードをインス"
748 "トールするために使用されます。依存関係を満たすために必要な場合は新しいパッ"
749 "ケージがインストールされますが、既存のパッケージが削除されることはありませ"
750 "ん。パッケージのアップグレードにインストール済みパッケージの削除が必要な場"
751 "合、そのパッケージのアップグレードは行われません。"
753 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
756 "<literal>full-upgrade</literal> performs the function of upgrade but will "
757 "remove currently installed packages if this is needed to upgrade the system "
760 "<literal>full-upgrade</literal> はアップグレードの機能を実行しますが、システ"
761 "ム全体をアップグレードするために必要とされる場合には、現在インストール済みの"
764 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
769 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
772 "Performs the requested action on one or more packages specified via ®ex;, "
773 "&glob; or exact match. The requested action can be overridden for specific "
774 "packages by append a plus (+) to the package name to install this package or "
775 "a minus (-) to remove it."
777 "®ex;、&glob; または 完全な一致で指定された 1 つ以上のパッケージに対して要"
778 "求された処理を実行します。要求された処理は、特定のパッケージに対してパッケー"
779 "ジ名にプラス (+) を追加してパッケージのインストールを、マイナス (-) を追加し"
780 "てパッケージの削除を上書きすることができます。"
782 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
785 "A specific version of a package can be selected for installation by "
786 "following the package name with an equals (=) and the version of the package "
787 "to select. Alternatively the version from a specific release can be selected "
788 "by following the package name with a forward slash (/) and codename (&debian-"
789 "stable-codename;, &debian-testing-codename;, sid …) or suite name (stable, "
790 "testing, unstable). This will also select versions from this release for "
791 "dependencies of this package if needed to satisfy the request."
793 "パッケージ名にイコール (=) とパッケージのバージョンを続けることで、選択した"
794 "バージョンのパッケージをインストールすることができます。代わりに、パッケージ"
795 "名にスラッシュ (/) およびコード名 (&debian-stable-codename;、&debian-testing-"
796 "codename;、sid …) またはスイート名 (stable、testing、unstable) を続けること"
797 "で、特定のリリースのバージョンをインストールすることができます。また、必要な"
798 "場合には、パッケージの依存関係を満たすリリースからバージョンを選択します。"
800 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
803 "Removing a package removes all packaged data, but leaves usually small "
804 "(modified) user configuration files behind, in case the remove was an "
805 "accident. Just issuing an installation request for the accidentally removed "
806 "package will restore its function as before in that case. On the other hand "
807 "you can get rid of these leftovers by calling <command>purge</command> even "
808 "on already removed packages. Note that this does not affect any data or "
809 "configuration stored in your home directory."
811 "パッケージの削除はパッケージの全データを削除しますが、削除の事故に備えて、通"
812 "常は隠れている小さな (修正された) ユーザ設定ファイルを残します。問題が発生し"
813 "たときは、誤って削除したパッケージのインストール要求を発行すると、以前のよう"
814 "にその機能を復元します。一方、<command>purge</command> を呼び出すことで、すで"
815 "に削除したパッケージの残されたデータを削除することができます。これはあなたの"
816 "ホームディレクトリに保存しているデータや設定には影響を与えないことに注意して"
819 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
822 "<literal>autoremove</literal> is used to remove packages that were "
823 "automatically installed to satisfy dependencies for other packages and are "
824 "now no longer needed as dependencies changed or the package(s) needing them "
825 "were removed in the meantime."
827 "<literal>autoremove</literal> は、ほかのパッケージの依存関係を満たすために自"
828 "動的にインストールされた後に、依存関係の変更あるいは必要としていたパッケージ"
829 "が削除されたことでもう必要なくなったパッケージの削除に使用することができま"
832 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
835 "You should check that the list does not include applications you have grown "
836 "to like even though they were once installed just as a dependency of another "
837 "package. You can mark such a package as manually installed by using &apt-"
838 "mark;. Packages which you have installed explicitly via <command>install</"
839 "command> are also never proposed for automatic removal."
841 "別のパッケージの依存関係のため一度インストールされたなどで増えたアプリケー"
842 "ションがリストに含まれていないことを確認する必要があります。&apt-mark; を使っ"
843 "て、手動でパッケージをインストール済にマークすることができます。"
844 "<command>install</command> 経由で明示的にインストールしたパッケージは、自動削"
845 "除のために提案されることはありません。"
847 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
849 msgid "(&apt-cache;)"
850 msgstr "(&apt-cache;)"
852 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
855 "<option>search</option> can be used to search for the given ®ex; term(s) "
856 "in the list of available packages and display matches. This can e.g. be "
857 "useful if you are looking for packages having a specific feature. If you "
858 "are looking for a package including a specific file try &apt-file;."
860 "<option>search</option> は、利用可能なパッケージのリストを指定した ®ex; 条"
861 "件で検索してマッチした結果を表示するために使用することができます。これは、例"
862 "えば特定の機能をもつパッケージを探している場合に有用です。特定のファイルを含"
863 "むパッケージを探しているのなら、&apt-file; を試してください。"
865 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
868 "Show information about the given package(s) including its dependencies, "
869 "installation and download size, sources the package is available from, the "
870 "description of the packages content and much more. It can e.g. be helpful to "
871 "look at this information before allowing &apt; to remove a package or while "
872 "searching for new packages to install."
874 "指定されたパッケージに関する情報を表示します。依存関係、インストールおよびダ"
875 "ウンロードサイズ、パッケージが入手可能な取得元、パッケージの内容の説明などを"
876 "含みます。例えば &apt; にパッケージの削除をさせる前や、インストールする新しい"
877 "パッケージを検索するときに、この情報を見て参考にすることができます。"
879 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
881 msgid "(work-in-progress)"
884 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
887 "<option>list</option> is somewhat similar to <command>dpkg-query --list</"
888 "command> in that it can display a list of packages satisfying certain "
889 "criteria. It supports &glob; patterns for matching package names as well as "
890 "options to list installed (<option>--installed</option>), upgradeable "
891 "(<option>--upgradeable</option>) or all available (<option>--all-versions</"
894 "<option>list</option> は、一定の基準を満たすパッケージのリストを表示すること"
895 "ができるという点で、<command>dpkg-query --list</command> に似ています。インス"
896 "トール済 (<option>--installed</option>)、アップグレード可能 (<option>--"
897 "upgradeable</option>) または利用可能なすべてのバージョン (<option>--all-"
898 "versions</option>) の一覧オプションでも、パッケージ名をマッチさせる &glob; パ"
901 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
904 "<literal>edit-sources</literal> lets you edit your &sources-list; files in "
905 "your preferred texteditor while also providing basic sanity checks."
907 "<literal>edit-sources</literal> は、お好みのテキストエディタで &sources-"
908 "list; ファイルを編集することができます。また、基本的な健全性チェックを提供し"
911 #. type: Content of: <refentry><refsect1><title>
913 msgid "Script Usage and Differences from Other APT Tools"
914 msgstr "スクリプトの使い方およびほかの APT ツールとの違い"
916 #. type: Content of: <refentry><refsect1><para>
919 "The &apt; commandline is designed as an end-user tool and it may change "
920 "behavior between versions. While it tries not to break backward "
921 "compatibility this is not guaranteed either if a change seems beneficial for "
924 "&apt; コマンドラインはエンドユーザ向けツールとして設計されています。動作は"
925 "バージョン間で変更される可能性があります。後方互換性を損なうことのないように"
926 "は努めますが、変更がインタラクティブな使用に有益と思われる場合には、その保証"
929 #. type: Content of: <refentry><refsect1><para>
932 "All features of &apt; are available in dedicated APT tools like &apt-get; "
933 "and &apt-cache; as well. &apt; just changes the default value of some "
934 "options (see &apt-conf; and specifically the Binary scope). So you should "
935 "prefer using these commands (potentially with some additional options "
936 "enabled) in your scripts as they keep backward compatibility as much as "
939 "&apt; のすべての機能は、&apt-get; や &apt-cache; など専用の APT ツールで利用"
940 "可能です。&apt; は、単にいくつかのオプションのデフォルト値を変更します (&apt-"
941 "conf; の特にバイナリ範囲を参照)。可能な限り下位互換性を保つように、スクリプト"
942 "では (潜在的に有効になっているいくつかの追加オプションをつけて) コマンドを使"
945 #. type: Content of: <refentry><refsect1><title>
946 #: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
947 #: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml apt.conf.5.xml
948 #: apt_preferences.5.xml sources.list.5.xml apt-extracttemplates.1.xml
949 #: apt-sortpkgs.1.xml apt-ftparchive.1.xml
953 #. type: Content of: <refentry><refsect1><para>
956 "&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
957 "User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
959 "&apt-get;、&apt-cache;、&sources-list;、&apt-conf;、&apt-config;、"
960 "&guidesdir; にある APT ユーザガイド、&apt-preferences;、APT Howto."
962 #. type: Content of: <refentry><refsect1><title>
963 #: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-mark.8.xml apt-cdrom.8.xml
964 #: apt-config.8.xml apt-extracttemplates.1.xml apt-sortpkgs.1.xml
965 #: apt-ftparchive.1.xml
969 #. type: Content of: <refentry><refsect1><para>
972 "<command>apt</command> returns zero on normal operation, decimal 100 on "
975 "<command>apt</command> は正常終了時に 0 を返します。エラー時には十進の 100 を"
978 #. type: Content of: <refentry><refnamediv><refpurpose>
980 msgid "APT package handling utility -- command-line interface"
981 msgstr "APT パッケージ操作ユーティリティ -- コマンドラインインターフェース"
983 #. type: Content of: <refentry><refsect1><para>
986 "<command>apt-get</command> is the command-line tool for handling packages, "
987 "and may be considered the user's \"back-end\" to other tools using the APT "
988 "library. Several \"front-end\" interfaces exist, such as &aptitude;, "
989 "&synaptic; and &wajig;."
991 "<command>apt-get</command> は、パッケージを操作するコマンドラインツールで、"
992 "APT ライブラリを用いる他のツールのユーザ側「バックエンド」といえるものです。"
993 "「フロントエンド」インターフェースには、&aptitude;, &synaptic;, &wajig; など"
996 #. type: Content of: <refentry><refsect1><para>
997 #: apt-get.8.xml apt-cache.8.xml apt-cdrom.8.xml apt-config.8.xml
998 #: apt-ftparchive.1.xml
1000 "Unless the <option>-h</option>, or <option>--help</option> option is given, "
1001 "one of the commands below must be present."
1003 "<option>-h</option> オプションや <option>--help</option> オプションを除き、以"
1006 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1009 "<literal>update</literal> is used to resynchronize the package index files "
1010 "from their sources. The indexes of available packages are fetched from the "
1011 "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
1012 "example, when using a Debian archive, this command retrieves and scans the "
1013 "<filename>Packages.gz</filename> files, so that information about new and "
1014 "updated packages is available. An <literal>update</literal> should always be "
1015 "performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
1016 "literal>. Please be aware that the overall progress meter will be incorrect "
1017 "as the size of the package files cannot be known in advance."
1019 "<literal>update</literal>は、取得元からパッケージインデックスファイルの再同期"
1020 "を行うのに使用します。利用可能なパッケージのインデックスは、<filename>/etc/"
1021 "apt/sources.list</filename> に記述した場所から取得します。例えば Debian アー"
1022 "カイブを利用する際、このコマンドが <filename>Packages.gz</filename> ファイル"
1023 "を検索することで、新規または更新されたパッケージの情報が利用可能となります。"
1024 "<literal>update</literal> は、<literal>upgrade</literal> や <literal>dist-"
1025 "upgrade</literal> を行う前に常に実行してください。前もってパッケージファイル"
1026 "のサイズを知ることができないため、全体の進捗メータは正しく表示されません。"
1028 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1031 "<literal>upgrade</literal> is used to install the newest versions of all "
1032 "packages currently installed on the system from the sources enumerated in "
1033 "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
1034 "with new versions available are retrieved and upgraded; under no "
1035 "circumstances are currently installed packages removed, or packages not "
1036 "already installed retrieved and installed. New versions of currently "
1037 "installed packages that cannot be upgraded without changing the install "
1038 "status of another package will be left at their current version. An "
1039 "<literal>update</literal> must be performed first so that <command>apt-get</"
1040 "command> knows that new versions of packages are available."
1042 "<literal>upgrade</literal> は、現在システムにインストールされている全パッケー"
1043 "ジの最新バージョンを、<filename>/etc/apt/sources.list</filename> に列挙した取"
1044 "得元からインストールするのに使用します。現在インストール中のパッケージに新し"
1045 "いバージョンがあれば更新しますが、いかなる時も現在インストール中のパッケージ"
1046 "の削除は行いませんし、インストールしていないパッケー所の取得・インストールは"
1047 "行いません。対象のパッケージが、他のパッケージのインストール状態を変更せずに"
1048 "更新できない場合は、現在のバージョンのままとなります。最初に "
1049 "<literal>update</literal> を実行しておき、<command>apt-get</command> にパッ"
1050 "ケージの新しいバージョンがあることを知らせる必要があります。"
1052 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1055 "<literal>dist-upgrade</literal> in addition to performing the function of "
1056 "<literal>upgrade</literal>, also intelligently handles changing dependencies "
1057 "with new versions of packages; <command>apt-get</command> has a \"smart\" "
1058 "conflict resolution system, and it will attempt to upgrade the most "
1059 "important packages at the expense of less important ones if necessary. The "
1060 "<literal>dist-upgrade</literal> command may therefore remove some packages. "
1061 "The <filename>/etc/apt/sources.list</filename> file contains a list of "
1062 "locations from which to retrieve desired package files. See also &apt-"
1063 "preferences; for a mechanism for overriding the general settings for "
1064 "individual packages."
1066 "<literal>dist-upgrade</literal> は、<literal>upgrade</literal> の機能に加え、"
1067 "新バージョンのパッケージに対する依存関係の変更を知的に操作します。"
1068 "<command>apt-get</command> は「洗練された」競合解決システムを持ち、必要とあら"
1069 "ば比較的重要でないパッケージを犠牲にして、最重要パッケージの更新を試みます。"
1070 "そのため <literal>dist-upgrade</literal> は、いくつかのパッケージを削除する可"
1071 "能性があります。<filename>/etc/apt/sources.list</filename> ファイルには、必要"
1072 "なパッケージファイルを検索する場所のリストが含まれています。特定のパッケージ"
1073 "向けに、一般的な設定を上書きする機構については、&apt-preferences; をご覧くだ"
1076 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1079 "<literal>dselect-upgrade</literal> is used in conjunction with the "
1080 "traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
1081 "literal> follows the changes made by &dselect; to the <literal>Status</"
1082 "literal> field of available packages, and performs the actions necessary to "
1083 "realize that state (for instance, the removal of old and the installation of "
1086 "<literal>dselect-upgrade</literal> は、伝統的な Debian GNU/Linux パッケージ管"
1087 "理フロントエンドの &dselect; と共に使用されます。<literal>dselect-upgrade</"
1088 "literal> は、&dselect; で作られた利用可能パッケージの<literal>Status</"
1089 "literal> フィールドの変更を追跡し、その状態を反映させるのに必要なアクションを"
1090 "実行します。(例えば、古いパッケージの削除や新しいパッケージのインストールな"
1093 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1096 "<literal>install</literal> is followed by one or more packages desired for "
1097 "installation or upgrading. Each package is a package name, not a fully "
1098 "qualified filename (for instance, in a Debian system, <package>apt-utils</"
1099 "package> would be the argument provided, not <filename>apt-utils_&apt-"
1100 "product-version;_amd64.deb</filename>). All packages required by the "
1101 "package(s) specified for installation will also be retrieved and installed. "
1102 "The <filename>/etc/apt/sources.list</filename> file is used to locate the "
1103 "desired packages. If a hyphen is appended to the package name (with no "
1104 "intervening space), the identified package will be removed if it is "
1105 "installed. Similarly a plus sign can be used to designate a package to "
1106 "install. These latter features may be used to override decisions made by apt-"
1107 "get's conflict resolution system."
1109 "<literal>install</literal> の後には、インストールや更新したいパッケージを 1 "
1110 "つ以上指定します。指定するパッケージは、完全なファイル名ではなくパッケージ名"
1111 "です (例えば Debian システムでは、<filename>apt-utils_&apt-product-version;"
1112 "_amd64.deb</filename> ではなく <package>apt-utils</package> を引数として与え"
1113 "ます)。インストールするよう指定したすべてのパッケージに対し、依存パッケージも"
1114 "含めて取得・インストールを行います。<filename>/etc/apt/sources.list</"
1115 "filename> ファイルを、要求するパッケージの場所を特定するのに使用します。パッ"
1116 "ケージ名の後ろに (空白を含まず) ハイフンが追加されている場合、そのパッケージ"
1117 "がインストールされていれば削除します。同様に、インストールするパッケージを明"
1118 "示するのにプラス記号も使用できます。この記号は apt-get の競合解決システムの判"
1119 "断を上書きするのに利用される可能性があります。"
1121 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1124 "A specific version of a package can be selected for installation by "
1125 "following the package name with an equals and the version of the package to "
1126 "select. This will cause that version to be located and selected for install. "
1127 "Alternatively a specific distribution can be selected by following the "
1128 "package name with a slash and the version of the distribution or the Archive "
1129 "name (stable, testing, unstable)."
1131 "パッケージにイコール記号とバージョンを続けることで、選択したバージョンのパッ"
1132 "ケージをインストールすることができます。つまり、指定のバージョンのパッケージ"
1133 "をインストールするように選択する、ということです。別の方法としては、ディスト"
1134 "リビューションを特定するのに、パッケージ名に続けて、スラッシュとディストリ"
1135 "ビューションのバージョンやアーカイブ名 (stable, testing, unstable) を記述でき"
1138 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1141 "Both of the version selection mechanisms can downgrade packages and must be "
1144 "バージョン選択機構はダウングレードにも使用できるため、注意して使用しなければ"
1147 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1150 "This is also the target to use if you want to upgrade one or more already-"
1151 "installed packages without upgrading every package you have on your system. "
1152 "Unlike the \"upgrade\" target, which installs the newest version of all "
1153 "currently installed packages, \"install\" will install the newest version of "
1154 "only the package(s) specified. Simply provide the name of the package(s) "
1155 "you wish to upgrade, and if a newer version is available, it (and its "
1156 "dependencies, as described above) will be downloaded and installed."
1158 "システムにインストール済みのパッケージを、すべてアップグレードするのではな"
1159 "く、いくつかのパッケージをアップグレードする場合にも、このターゲットを使用で"
1160 "きます。現在インストールされているパッケージすべての最新版をインストールする "
1161 "\"upgrade\" ターゲットと異なり、\"install\" は指定したパッケージの最新版のみ"
1162 "をインストールします。単純にアップグレードしたいパッケージ名を指定してくださ"
1163 "い。より新しいバージョンが利用できる場合、そのパッケージ (と前述の依存関係に"
1164 "あるパッケージ) をダウンロード・インストールします。"
1166 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1169 "Finally, the &apt-preferences; mechanism allows you to create an alternative "
1170 "installation policy for individual packages."
1172 "最後に、&apt-preferences; 機構により、特定のパッケージに対するインストールポ"
1175 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1178 "If no package matches the given expression and the expression contains one "
1179 "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
1180 "it is applied to all package names in the database. Any matches are then "
1181 "installed (or removed). Note that matching is done by substring so 'lo.*' "
1182 "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
1183 "expression with a '^' or '$' character, or create a more specific regular "
1186 "構文に '.', '?', '*' を含み、パッケージ名がマッチしなかった場合、POSIX 正規表"
1187 "現であると見なし、データベース内の全パッケージ名に対して適用します。マッチし"
1188 "たパッケージすべてがインストール(もしくは削除)されます。'lo.*' のような文字列"
1189 "は、'how-lo' や 'lowest' にマッチすることに注意してください。そうしたくなけれ"
1190 "ば、'^' や '$' を付けるか、もっと詳しい正規表現を指定してください。"
1192 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1195 "<literal>remove</literal> is identical to <literal>install</literal> except "
1196 "that packages are removed instead of installed. Note that removing a package "
1197 "leaves its configuration files on the system. If a plus sign is appended to "
1198 "the package name (with no intervening space), the identified package will be "
1199 "installed instead of removed."
1201 "<literal>remove</literal> は、パッケージが削除されることを除き、"
1202 "<literal>install</literal> と同様です。削除されたパッケージの設定ファイルは、"
1203 "システムに残ったままになることに注意してください。プラス記号がパッケージ名に "
1204 "(間に空白を含まずに) 付加されると、識別されたパッケージを、削除ではなくインス"
1207 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1210 "<literal>purge</literal> is identical to <literal>remove</literal> except "
1211 "that packages are removed and purged (any configuration files are deleted "
1214 "パッケージが削除かつ完全削除 (すべての設定ファイルも削除) されるのを除き、"
1215 "<literal>purge</literal> は <literal>remove</literal> と同じです。"
1217 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1220 "<literal>source</literal> causes <command>apt-get</command> to fetch source "
1221 "packages. APT will examine the available packages to decide which source "
1222 "package to fetch. It will then find and download into the current directory "
1223 "the newest available version of that source package while respecting the "
1224 "default release, set with the option <literal>APT::Default-Release</"
1225 "literal>, the <option>-t</option> option or per package with the "
1226 "<literal>pkg/release</literal> syntax, if possible."
1228 "<literal>source</literal> は、<command>apt-get</command> にソースパッケージを"
1229 "取得させます。APT はどのソースパッケージを取得するか決めるため、利用可能な"
1230 "パッケージを検査します。その後、デフォルトリリースから最新の利用可能なソース"
1231 "パッケージを見つけ、カレントディレクトリへダウンロードします。デフォルトリ"
1232 "リースは、可能であれば、<literal>APT::Default-Release</literal> オプション、"
1233 "<option>-t</option> オプション、パッケージごとの <literal>pkg/release</"
1234 "literal> 構文で指定します。"
1236 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1239 "Source packages are tracked separately from binary packages via <literal>deb-"
1240 "src</literal> lines in the &sources-list; file. This means that you will "
1241 "need to add such a line for each repository you want to get sources from; "
1242 "otherwise you will probably get either the wrong (too old/too new) source "
1243 "versions or none at all."
1245 "ソースパッケージは、&sources-list; ファイルの <literal>deb-src</literal> 行に"
1246 "より、バイナリパッケージと分けて管理されます。つまり、ソースを取得したいリポ"
1247 "ジトリを、それぞれ追加する必要があるということです。こうしないと、誤った (古"
1248 "すぎ・新しすぎな) ソースバージョンを取得したり、何も取得できなくなります。"
1250 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1253 "If the <option>--compile</option> option is specified then the package will "
1254 "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
1255 "the architecture as defined by the <command>--host-architecture</command> "
1256 "option. If <option>--download-only</option> is specified then the source "
1257 "package will not be unpacked."
1259 "<option>--compile</option> オプションを指定すると、<command>dpkg-"
1260 "buildpackage</command> を用いて、<command>--host-architecture</command> オプ"
1261 "ションで定義したアーキテクチャのバイナリ .deb パッケージをコンパイルします。"
1262 "<option>--download-only</option> を指定すると、ソースパッケージを展開しませ"
1265 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1268 "A specific source version can be retrieved by postfixing the source name "
1269 "with an equals and then the version to fetch, similar to the mechanism used "
1270 "for the package files. This enables exact matching of the source package "
1271 "name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
1274 "パッケージと同様に、ソース名の後ろにイコールと取得したいバージョンを置くと、"
1275 "指定したバージョンのソースを取得できます。<literal>APT::Get::Only-Source</"
1276 "literal> オプションが暗黙のうちに有効になっているため、ソースパッケージ名と"
1277 "バージョンに厳密に一致させています。"
1279 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1282 "Note that source packages are not installed and tracked in the "
1283 "<command>dpkg</command> database like binary packages; they are simply "
1284 "downloaded to the current directory, like source tarballs."
1286 "ソースパッケージはインストールされず、バイナリパッケージのように "
1287 "<command>dpkg</command> データベースで管理されないことに注意してください。"
1288 "ソースの tarball のように、単にカレントディレクトリにダウンロードします。"
1290 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1293 "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
1294 "attempt to satisfy the build dependencies for a source package. By default "
1295 "the dependencies are satisfied to build the package natively. If desired a "
1296 "host-architecture can be specified with the <option>--host-architecture</"
1297 "option> option instead."
1299 "<literal>build-dep</literal> は、ソースパッケージの構築依存関係を満たすよう"
1300 "に、パッケージのインストール・削除を行います。デフォルトでは、パッケージをネ"
1301 "イティブに構築する依存関係を満たします。お望みなら、<option>--host-"
1302 "architecture</option> オプションにより、別のホストアーキテクチャを指定できま"
1305 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1308 "<literal>check</literal> is a diagnostic tool; it updates the package cache "
1309 "and checks for broken dependencies."
1311 "<literal>check</literal> は、パッケージキャッシュの更新や壊れた依存関係を"
1314 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1317 "<literal>download</literal> will download the given binary package into the "
1318 "current directory."
1320 "<literal>download</literal> は、与えたバイナリパッケージを、カレントディレク"
1323 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1326 "<literal>clean</literal> clears out the local repository of retrieved "
1327 "package files. It removes everything but the lock file from "
1328 "<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
1329 "partial/</filename>."
1331 "<literal>clean</literal> は、取得したパッケージのローカルリポジトリを掃除しま"
1332 "す。<filename>&cachedir;/archives/</filename> と <filename>&cachedir;/"
1333 "archives/partial/</filename> からロックファイル以外すべて削除します。"
1335 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1340 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1342 msgid "alias since 1.1)"
1345 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1348 "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
1349 "local repository of retrieved package files. The difference is that it only "
1350 "removes package files that can no longer be downloaded, and are largely "
1351 "useless. This allows a cache to be maintained over a long period without it "
1352 "growing out of control. The configuration option <literal>APT::Clean-"
1353 "Installed</literal> will prevent installed packages from being erased if it "
1356 "<literal>clean</literal> のように、<literal>autoclean</literal> は取得した"
1357 "パッケージのローカルリポジトリを掃除します。違いは、もうダウンロードされるこ"
1358 "とがないパッケージファイルや、ほとんど不要なパッケージファイルのみを削除する"
1359 "ことです。このため、キャッシュは、制御不能になるほど成長することなく、長期に"
1360 "わたって維持することができます。設定オプション <literal>APT::Clean-"
1361 "Installed</literal> に off をセットしていれば、インストール済みのパッケージ"
1362 "ファイルが削除されるのを防ぐことができます。"
1364 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1367 "<literal>autoremove</literal> is used to remove packages that were "
1368 "automatically installed to satisfy dependencies for other packages and are "
1369 "now no longer needed."
1371 "<literal>autoremove</literal> は、他のパッケージの依存関係を満たすために自動"
1372 "的にインストールされ、もう必要なくなったパッケージを削除するのに使用します。"
1374 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1377 "<literal>changelog</literal> tries to download the changelog of a package "
1378 "and displays it through <command>sensible-pager</command>. By default it "
1379 "displays the changelog for the version that is installed. However, you can "
1380 "specify the same options as for the <option>install</option> command."
1382 "<literal>changelog</literal> は、パッケージの changelog をダウンロードし、"
1383 "<command>sensible-pager</command> で表示します。デフォルトでは、インストール"
1384 "されているバージョンの changelog を表示します。しかし、<option>install</"
1385 "option> コマンドと同じオプションを指定することができます。"
1387 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1391 #| "Displays by default a deb822 formatted listing of information about all "
1392 #| "data files (aka index targets) <command>apt-get update</command> would "
1393 #| "download. Supports a <option>--format</option> option to modify the "
1394 #| "output format as well as accepts lines of the default output to filter "
1395 #| "the records by. The command is mainly used as an interface for external "
1396 #| "tools working with APT to get information as well as filenames for "
1397 #| "downloaded files so they can use them as well instead of downloading them "
1398 #| "again on their own. Detailed documentation is omitted here and can "
1399 #| "instead be found in the source tree in <literal><filename>doc/acquire-"
1400 #| "additional-files.txt</filename></literal>."
1402 "Displays by default a deb822 formatted listing of information about all data "
1403 "files (aka index targets) <command>apt-get update</command> would download. "
1404 "Supports a <option>--format</option> option to modify the output format as "
1405 "well as accepts lines of the default output to filter the records by. The "
1406 "command is mainly used as an interface for external tools working with APT "
1407 "to get information as well as filenames for downloaded files so they can use "
1408 "them as well instead of downloading them again on their own. Detailed "
1409 "documentation is omitted here and can instead be found in the file &apt-"
1410 "acquire-additional-files; shipped by the <package>apt-doc</package> package."
1412 "デフォルトでは <command>apt-get update</command> でダウンロードすることができ"
1413 "るすべてのデータファイル (別名インデックスターゲット) に関する情報の deb822 "
1414 "形式のリストを表示します。出力形式を変更する、またレコードをフィルタするデ"
1415 "フォルト出力の行を受け付けるための <option>--format</option> オプションをサ"
1416 "ポートします。コマンドは主に、ダウンロードしたファイルの情報やファイル名を取"
1417 "得するために、APT を扱う外部ツール用のインターフェースとして使用されます。そ"
1418 "して、外部ツールが自身で再度ダウンロードする代わりに使用することができます。"
1419 "詳細なドキュメントはここでは省略しますが、代わりに <literal><filename>doc/"
1420 "acquire-additional-files.txt</filename></literal> 中のソースツリーで見つける"
1423 #. type: Content of: <refentry><refsect1><title>
1424 #: apt-get.8.xml apt-cache.8.xml apt-config.8.xml apt-extracttemplates.1.xml
1425 #: apt-sortpkgs.1.xml apt-ftparchive.1.xml
1429 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1432 "Do not consider recommended packages as a dependency for installing. "
1433 "Configuration Item: <literal>APT::Install-Recommends</literal>."
1435 "「推奨」パッケージをインストールする依存関係と見なしません。設定項目: "
1436 "<literal>APT::Install-Recommends</literal>"
1438 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1441 "Consider suggested packages as a dependency for installing. Configuration "
1442 "Item: <literal>APT::Install-Suggests</literal>."
1444 "「提案」パッケージをインストールする依存関係と見なします。設定項目: "
1445 "<literal>APT::Install-Suggests</literal>"
1447 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1450 "Download only; package files are only retrieved, not unpacked or installed. "
1451 "Configuration Item: <literal>APT::Get::Download-Only</literal>."
1453 "ダウンロードのみ - パッケージファイルの取得のみを行い、展開・インストールを行"
1454 "いません。設定項目: <literal>APT::Get::Download-Only</literal>"
1456 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1459 "Fix; attempt to correct a system with broken dependencies in place. This "
1460 "option, when used with install/remove, can omit any packages to permit APT "
1461 "to deduce a likely solution. If packages are specified, these have to "
1462 "completely correct the problem. The option is sometimes necessary when "
1463 "running APT for the first time; APT itself does not allow broken package "
1464 "dependencies to exist on a system. It is possible that a system's dependency "
1465 "structure can be so corrupt as to require manual intervention (which usually "
1466 "means using <command>dpkg --remove</command> to eliminate some of the "
1467 "offending packages). Use of this option together with <option>-m</option> "
1468 "may produce an error in some situations. Configuration Item: <literal>APT::"
1469 "Get::Fix-Broken</literal>."
1471 "修復 - 依存関係が壊れたシステムの修正を試みます。このオプションを install や "
1472 "remove と一緒に使うときは、APT が解決法を推測するので、パッケージを指定しなく"
1473 "てもかまいません。どのパッケージを指定しても、完全に問題を解決します。APT 自"
1474 "体は、システムに存在する破損したパッケージ依存関係を許すことができないので、"
1475 "初めて APT を実行する場合、このオプションが必要になることがあります。システム"
1476 "の依存関係構造にかなり問題がある場合は、手動で修正するよう要求することもあり"
1477 "ます。(通常は、問題のあるパッケージを取り除くのに <command>dpkg --remove</"
1478 "command> を使用します) このオプションを <option>-m</option> オプションと同時"
1479 "に使用すると、エラーになる状況があるかもしれません。設定項目: <literal>APT::"
1480 "Get::Fix-Broken</literal>"
1482 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1485 "Ignore missing packages; if packages cannot be retrieved or fail the "
1486 "integrity check after retrieval (corrupted package files), hold back those "
1487 "packages and handle the result. Use of this option together with <option>-f</"
1488 "option> may produce an error in some situations. If a package is selected "
1489 "for installation (particularly if it is mentioned on the command line) and "
1490 "it could not be downloaded then it will be silently held back. "
1491 "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
1493 "欠落パッケージの無視 - パッケージが取得できなかったり、(パッケージの破損で) "
1494 "取得した後の整合性チェックに失敗した場合、そのパッケージの処理を保留し最後ま"
1495 "で処理を続けます。このオプションを <option>-f</option> オプションと同時に使用"
1496 "すると、エラーになる状況があるかもしれません。パッケージをインストールするよ"
1497 "う選択している (特にコマンドラインでの操作する) 場合や、ダウンロードできな"
1498 "かった場合に、なにも表示せず保留することになります。設定項目: <literal>APT::"
1499 "Get::Fix-Missing</literal>"
1501 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1504 "Disables downloading of packages. This is best used with <option>--ignore-"
1505 "missing</option> to force APT to use only the .debs it has already "
1506 "downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
1508 "パッケージのダウンロードを無効にします。これはすでにダウンロードした .deb に"
1509 "対してのみ APT を行う場合に、<option>--ignore-missing</option> と併せて使うの"
1510 "がよいでしょう。設定項目: <literal>APT::Get::Download</literal>"
1512 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1515 "Quiet; produces output suitable for logging, omitting progress indicators. "
1516 "More q's will produce more quiet up to a maximum of 2. You can also use "
1517 "<option>-q=#</option> to set the quiet level, overriding the configuration "
1518 "file. Note that quiet level 2 implies <option>-y</option>; you should never "
1519 "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
1520 "may decide to do something you did not expect. Configuration Item: "
1521 "<literal>quiet</literal>."
1523 "静粛 - 進捗表示を省略し、ログをとるのに便利な出力を行います。最大 2 つまで q "
1524 "を重ねることでより静粛にできます。また、<option>-q=#</option> のように静粛レ"
1525 "ベルを指定して、設定ファイルを上書きすることもできます。静粛レベル 2 は "
1526 "<option>-y</option> を含んでいることに注意してください。APT が意図しない決定"
1527 "を行うかもしれないので -d, --print-uris, -s のような操作を行わないオプション"
1528 "をつけずに -qq を使用するべきではありません。設定項目: <literal>quiet</"
1531 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1534 "No action; perform a simulation of events that would occur based on the "
1535 "current system state but do not actually change the system. Locking will be "
1536 "disabled (<option>Debug::NoLocking</option>) so the system state could "
1537 "change while <command>apt-get</command> is running. Simulations can also be "
1538 "executed by non-root users which might not have read access to all apt "
1539 "configuration distorting the simulation. A notice expressing this warning "
1540 "is also shown by default for non-root users (<option>APT::Get::Show-User-"
1541 "Simulation-Note</option>). Configuration Item: <literal>APT::Get::Simulate</"
1544 "何もしない - 現在のシステム状態に基づいて起こるイベントのシミュレーションを行"
1545 "い、実際にはシステムを変更しません。ロックは無効になる (<option>Debug::"
1546 "NoLocking</option>) ので、<command>apt-get</command> 実行中にシステムの状態が"
1547 "変化する可能性があります。シミュレーションは root 以外のユーザが実行できます"
1548 "が、シミュレーションを歪めるすべての apt 設定への読み取りアクセス権を持ってい"
1549 "ない可能性があります。この警告を表す通知は、root 以外のユーザではデフォルトで"
1550 "表示されます (<option>APT::Get::Show-User-Simulation-Note</option>)。設定項"
1551 "目: <literal>APT::Get::Simulate</literal>"
1553 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1556 "Simulated runs print out a series of lines, each representing a "
1557 "<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
1558 "remove (<literal>Remv</literal>) or unpack (<literal>Inst</literal>). "
1559 "Square brackets indicate broken packages, and empty square brackets indicate "
1560 "breaks that are of no consequence (rare)."
1562 "シミュレートの結果、<command>dpkg</command> の動作を表す一連の行のそれぞれ"
1563 "に、設定 (<literal>Conf</literal>)、削除 (<literal>Remv</literal>)、展開 "
1564 "(<literal>Inst</literal>) を表示します。角カッコは壊れたパッケージを表し、(ま"
1565 "れに) 空の角カッコは大した問題ではないことを表します。"
1567 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1570 "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
1571 "non-interactively. If an undesirable situation, such as changing a held "
1572 "package, trying to install a unauthenticated package or removing an "
1573 "essential package occurs then <literal>apt-get</literal> will abort. "
1574 "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
1576 "プロンプトへの自動承諾 - すべてのプロンプトに自動的に \"yes\" と答え、非対話"
1577 "的に実行します。保留したパッケージの状態を変更したり、必須パッケージを削除す"
1578 "るような不適切な状況の場合、<literal>apt-get</literal> は処理を中断します。設"
1579 "定項目: <literal>APT::Get::Assume-Yes</literal>"
1581 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1584 "Automatic \"no\" to all prompts. Configuration Item: <literal>APT::Get::"
1585 "Assume-No</literal>."
1587 "全ての質問に、自動的に \"no\" と答えます。設定項目: <literal>APT::Get::"
1588 "Assume-No</literal>"
1590 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1594 #| "Show upgraded packages; print out a list of all packages that are to be "
1595 #| "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
1597 "Do not show a list of all packages that are to be upgraded. Configuration "
1598 "Item: <literal>APT::Get::Show-Upgraded</literal>."
1600 "更新パッケージ表示 - 更新される全パッケージを一覧表示します。設定項目: "
1601 "<literal>APT::Get::Show-Upgraded</literal>"
1603 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1606 "Show full versions for upgraded and installed packages. Configuration Item: "
1607 "<literal>APT::Get::Show-Versions</literal>."
1609 "更新・インストールするパッケージのバージョンをすべて表示します。設定項目: "
1610 "<literal>APT::Get::Show-Versions</literal>"
1612 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1615 "This option controls the architecture packages are built for by <command>apt-"
1616 "get source --compile</command> and how cross-builddependencies are "
1617 "satisfied. By default is it not set which means that the host architecture "
1618 "is the same as the build architecture (which is defined by <literal>APT::"
1619 "Architecture</literal>). Configuration Item: <literal>APT::Get::Host-"
1620 "Architecture</literal>."
1622 "このオプションは、<command>apt-get source --compile</command> で構築するパッ"
1623 "ケージのアーキテクチャや、どのようにクロス依存関係を解決するかを制御します。"
1624 "デフォルトでは未定義で、これはホストアーキテクチャは、(<literal>APT::"
1625 "Architecture</literal> で定義した) ビルドアーキテクチャと同じという意味になり"
1626 "ます。設定項目: <literal>APT::Get::Host-Architecture</literal>。"
1628 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1631 "This option controls the activated build profiles for which a source package "
1632 "is built by <command>apt-get source --compile</command> and how build "
1633 "dependencies are satisfied. By default no build profile is active. More "
1634 "than one build profile can be activated at a time by concatenating them with "
1635 "a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
1637 "このオプションは、<command>apt-get source --compile</command> でパッケージを"
1638 "ビルドする際に有効化するビルドプロファイルや、どのようにクロス依存関係を解決"
1639 "するかを制御します。デフォルトでは有効化するビルドプロファイルはありません。"
1640 "コンマで連結することで複数のビルドプロファイルを有効化できます。設定項目: "
1641 "<literal>APT::Get::Host-Architecture</literal>"
1643 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1646 "Compile source packages after downloading them. Configuration Item: "
1647 "<literal>APT::Get::Compile</literal>."
1649 "ソースパッケージをダウンロード後、コンパイルします。設定項目: <literal>APT::"
1650 "Get::Compile</literal>"
1652 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1655 "Ignore package holds; this causes <command>apt-get</command> to ignore a "
1656 "hold placed on a package. This may be useful in conjunction with "
1657 "<literal>dist-upgrade</literal> to override a large number of undesired "
1658 "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
1660 "保留パッケージの無視 - パッケージの保留指示を無視して <command>apt-get</"
1661 "command> を行います。<literal>dist-upgrade</literal> と共に使用し、パッケージ"
1662 "を大量に、保留解除するのに便利です。設定項目: <literal>APT::Ignore-Hold</"
1665 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1668 "Allow installing new packages when used in conjunction with "
1669 "<literal>upgrade</literal>. This is useful if the update of a installed "
1670 "package requires new dependencies to be installed. Instead of holding the "
1671 "package back <literal>upgrade</literal> will upgrade the package and install "
1672 "the new dependencies. Note that <literal>upgrade</literal> with this option "
1673 "will never remove packages, only allow adding new ones. Configuration Item: "
1674 "<literal>APT::Get::Upgrade-Allow-New</literal>."
1676 "<literal>upgrade</literal> と併せて使った場合に新しいパッケージのインストール"
1677 "を許可します。これは新しい依存をインストールするために既にインストールされて"
1678 "いるパッケージを更新する必要がある場合に有用です。パッケージを保留する代わり"
1679 "に <literal>upgrade</literal> がパッケージをアップグレードして新しい依存をイ"
1680 "ンストールします。このオプションと併せて使った場合、<literal>upgrade</"
1681 "literal> がパッケージを削除することはなく、新規追加を許可するだけであることに"
1682 "注意してください。設定項目: <literal>APT::Get::Upgrade-Allow-New</literal>"
1684 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1687 "Do not upgrade packages; when used in conjunction with <literal>install</"
1688 "literal>, <literal>no-upgrade</literal> will prevent packages on the command "
1689 "line from being upgraded if they are already installed. Configuration Item: "
1690 "<literal>APT::Get::Upgrade</literal>."
1692 "パッケージ更新なし - <literal>install</literal> と同時に使用すると、"
1693 "<literal>no-upgrade</literal> は、コマンドラインで指定したパッケージが、すで"
1694 "にインストールしてある場合に更新を行いません。設定項目: <literal>APT::Get::"
1697 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1700 "Do not install new packages; when used in conjunction with <literal>install</"
1701 "literal>, <literal>only-upgrade</literal> will install upgrades for already "
1702 "installed packages only and ignore requests to install new packages. "
1703 "Configuration Item: <literal>APT::Get::Only-Upgrade</literal>."
1705 "新規パッケージインストールなし - <literal>install</literal> と同時に使用する"
1706 "と、<literal>only-upgrade</literal> は、すでにインストールされているパッケー"
1707 "ジのみをアップグレードし、新しいパッケージのインストール要求を無視します。設"
1708 "定項目: <literal>APT::Get::Only-Upgrade</literal>"
1710 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1713 "This is a dangerous option that will cause apt to continue without prompting "
1714 "if it is doing downgrades. It should not be used except in very special "
1715 "situations. Using it can potentially destroy your system! Configuration "
1716 "Item: <literal>APT::Get::allow-downgrades</literal>. Introduced in APT 1.1."
1718 "ダウングレードを行う場合でも、確認なしで実行してしまう危険なオプションです。"
1719 "よほどの状況でなければ、使うべきではありません。このオプションを使うと、シス"
1720 "テムを破壊しかねません! 設定項目: <literal>APT::Get::allow-downgrades</"
1721 "literal>。APT 1.1 で導入されました。"
1723 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1726 "Force yes; this is a dangerous option that will cause apt to continue "
1727 "without prompting if it is removing essentials. It should not be used except "
1728 "in very special situations. Using it can potentially destroy your system! "
1729 "Configuration Item: <literal>APT::Get::allow-remove-essential</literal>. "
1730 "Introduced in APT 1.1."
1732 "強制承諾 - 必要不可欠なものを削除する場合でも、確認なしで実行してしまう危険な"
1733 "オプションです。よほどの状況でなければ、使うべきではありません。"
1734 "<literal>force-yes</literal> を使うと、システムを破壊しかねません! 設定項目: "
1735 "<literal>APT::Get::allow-remove-essential</literal>。APT 1.1 で導入されまし"
1738 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1741 "Force yes; this is a dangerous option that will cause apt to continue "
1742 "without prompting if it is changing held packages. It should not be used "
1743 "except in very special situations. Using it can potentially destroy your "
1744 "system! Configuration Item: <literal>APT::Get::allow-change-held-packages</"
1745 "literal>. Introduced in APT 1.1."
1747 "強制承諾 - 保持されたパッケージを変更する場合でも、確認なしで実行してしまう危"
1748 "険なオプションです。よほどの状況でなければ、使うべきではありません。このオプ"
1749 "ションを使うと、システムを破壊しかねません! 設定項目: <literal>APT::Get::"
1750 "allow-change-held-packages</literal>。APT 1.1 で導入されました。"
1752 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1755 "Force yes; this is a dangerous option that will cause apt to continue "
1756 "without prompting if it is doing something potentially harmful. It should "
1757 "not be used except in very special situations. Using <literal>force-yes</"
1758 "literal> can potentially destroy your system! Configuration Item: "
1759 "<literal>APT::Get::force-yes</literal>. This is deprecated and replaced by "
1760 "<option>--allow-downgrades</option>, <option>--allow-remove-essential</"
1761 "option>, <option>--allow-change-held-packages</option> in 1.1."
1763 "強制承諾 - 何か損傷を与えかねない動作をしようとした場合でも、確認なしで実行し"
1764 "てしまう危険なオプションです。よほどの状況でなければ、使うべきではありませ"
1765 "ん。<literal>force-yes</literal> を使うと、システムを破壊しかねません! 設定項"
1766 "目: <literal>APT::Get::force-yes</literal>。これは非推奨で、1.1 で<option>--"
1767 "allow-downgrades</option>, <option>--allow-remove-essential</option>, "
1768 "<option>--allow-change-held-packages</option> に置き換えられました。"
1770 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1773 "Instead of fetching the files to install their URIs are printed. Each URI "
1774 "will have the path, the destination file name, the size and the expected MD5 "
1775 "hash. Note that the file name to write to will not always match the file "
1776 "name on the remote site! This also works with the <literal>source</literal> "
1777 "and <literal>update</literal> commands. When used with the <literal>update</"
1778 "literal> command the MD5 and size are not included, and it is up to the user "
1779 "to decompress any compressed files. Configuration Item: <literal>APT::Get::"
1780 "Print-URIs</literal>."
1782 "インストールするファイルを取得する代わりに、その URI を表示します。URI には、"
1783 "パス、対象ファイル名、ファイルサイズ、予測される MD5 ハッシュが含まれていま"
1784 "す。出力したファイル名が、常にリモートサイトのファイル名と一致するわけではな"
1785 "い、ということに注意してください! これは <literal>source</literal> コマンド、"
1786 "<literal>update</literal> コマンドでも動作します。<literal>update</literal> "
1787 "で使用したときには、MD5 やファイルサイズを含みません。このとき、圧縮ファイル"
1788 "の展開はユーザの責任において行ってください。設定項目: <literal>APT::Get::"
1789 "Print-URIs</literal>"
1791 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1794 "Use purge instead of remove for anything that would be removed. An asterisk "
1795 "(\"*\") will be displayed next to packages which are scheduled to be purged. "
1796 "<option>remove --purge</option> is equivalent to the <option>purge</option> "
1797 "command. Configuration Item: <literal>APT::Get::Purge</literal>."
1799 "削除する際、「削除」ではなく「完全削除」を行います。「完全削除」を行うと指示"
1800 "したパッケージ名の後には、アスタリスク (\"*\") が付きます。<option>remove --"
1801 "purge</option> は <option>purge</option> コマンドと等価です。 設定項目: "
1802 "<literal>APT::Get::Purge</literal>"
1804 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1807 "Re-install packages that are already installed and at the newest version. "
1808 "Configuration Item: <literal>APT::Get::ReInstall</literal>."
1810 "すでに最新版がインストールされていても、パッケージを再インストールします。設"
1811 "定項目: <literal>APT::Get::ReInstall</literal>"
1813 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1816 "This option is on by default; use <literal>--no-list-cleanup</literal> to "
1817 "turn it off. When it is on, <command>apt-get</command> will automatically "
1818 "manage the contents of <filename>&statedir;/lists</filename> to ensure that "
1819 "obsolete files are erased. The only reason to turn it off is if you "
1820 "frequently change your sources list. Configuration Item: <literal>APT::Get::"
1821 "List-Cleanup</literal>."
1823 "この機能はデフォルトで ON になっています。OFF にするには <literal>--no-list-"
1824 "cleanup</literal> としてください。ON の場合、<command>apt-get</command> は古"
1825 "くなったファイルを確実に消去するため、自動的に <filename>&statedir;/lists</"
1826 "filename> の中身を管理します。これを OFF にするのは、取得元リストを頻繁に変更"
1827 "する時ぐらいでしょう。設定項目: <literal>APT::Get::List-Cleanup</literal>"
1829 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1832 "This option controls the default input to the policy engine; it creates a "
1833 "default pin at priority 990 using the specified release string. This "
1834 "overrides the general settings in <filename>/etc/apt/preferences</"
1835 "filename>. Specifically pinned packages are not affected by the value of "
1836 "this option. In short, this option lets you have simple control over which "
1837 "distribution packages will be retrieved from. Some common examples might be "
1838 "<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
1839 "option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
1840 "also the &apt-preferences; manual page."
1842 "このオプションは、ポリシーエンジンへのデフォルト入力を制御します。また、指定"
1843 "されたリリース文字列を使用し、デフォルト pin を優先度 990 で作成します。これ"
1844 "は、<filename>/etc/apt/preferences</filename> にある一般設定を上書きします。"
1845 "pin で留めるのを明示されたパッケージには、このオプションの値は影響を与えませ"
1846 "ん。つまりこのオプションで、どの配布パッケージを取得するかを簡単に管理しま"
1847 "す。一般的な例としては、<option>-t '2.1*'</option>, <option>-t unstable</"
1848 "option>, <option>-t sid</option> のようになります。設定項目: <literal>APT::"
1849 "Default-Release</literal>。&apt-preferences; のマニュアルページも参照してくだ"
1852 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1855 "Only perform operations that are 'trivial'. Logically this can be considered "
1856 "related to <option>--assume-yes</option>; where <option>--assume-yes</"
1857 "option> will answer yes to any prompt, <option>--trivial-only</option> will "
1858 "answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
1860 "「重要でない」操作のみを行います。これは論理的に <option>--assume-yes</"
1861 "option> の仲間と見なせます。<option>--assume-yes</option> は質問にすべて yes "
1862 "と答えますが、<option>--trivial-only</option> はすべて no と答えます。設定項"
1863 "目: <literal>APT::Get::Trivial-Only</literal>"
1865 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1868 "If any packages are to be removed apt-get immediately aborts without "
1869 "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
1871 "パッケージが削除される状況になったとき、プロンプトを表示せず中断します。設定"
1872 "項目: <literal>APT::Get::Remove</literal>"
1874 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1877 "If the command is either <literal>install</literal> or <literal>remove</"
1878 "literal>, then this option acts like running the <literal>autoremove</"
1879 "literal> command, removing unused dependency packages. Configuration Item: "
1880 "<literal>APT::Get::AutomaticRemove</literal>."
1882 "コマンドが <literal>install</literal> か <literal>remove</literal> である場"
1883 "合、このオプションは使用していない依存しているパッケージを削除し、"
1884 "<literal>autoremove</literal> コマンドのように動作します。設定項目: "
1885 "<literal>APT::Get::AutomaticRemove</literal>"
1887 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1890 "Only has meaning for the <literal>source</literal> and <literal>build-dep</"
1891 "literal> commands. Indicates that the given source names are not to be "
1892 "mapped through the binary table. This means that if this option is "
1893 "specified, these commands will only accept source package names as "
1894 "arguments, rather than accepting binary package names and looking up the "
1895 "corresponding source package. Configuration Item: <literal>APT::Get::Only-"
1898 "<literal>source</literal> コマンドと <literal>build-dep</literal> コマンドで"
1899 "のみ意味があります。指定されたソース名がバイナリテーブルにマップされないよう"
1900 "にします。これは、このオプションを指定すると、バイナリパッケージ名を受け付け"
1901 "て対応するソースパッケージを探すのではなく、引数にソースパッケージ名しか受け"
1902 "付けなくなる、ということです。設定項目: <literal>APT::Get::Only-Source</"
1905 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1908 "Download only the diff, dsc, or tar file of a source archive. Configuration "
1909 "Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
1910 "literal>, and <literal>APT::Get::Tar-Only</literal>."
1912 "ソースアーカイブの diff ファイルや dsc ファイル、tar ファイルのダウンロードの"
1913 "みを行います。設定項目: <literal>APT::Get::Diff-Only</literal>, "
1914 "<literal>APT::Get::Dsc-Only</literal>, <literal>APT::Get::Tar-Only</literal>"
1916 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1919 "Only process architecture-dependent build-dependencies. Configuration Item: "
1920 "<literal>APT::Get::Arch-Only</literal>."
1922 "構築依存関係の解決を、アーキテクチャに依存したもののみ行います。設定項目: "
1923 "<literal>APT::Get::Arch-Only</literal>"
1925 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1928 "Ignore if packages can't be authenticated and don't prompt about it. This "
1929 "can be useful while working with local repositories, but is a huge security "
1930 "risk if data authenticity isn't ensured in another way by the user itself. "
1931 "The usage of the <option>Trusted</option> option for &sources-list; entries "
1932 "should usually be preferred over this global override. Configuration Item: "
1933 "<literal>APT::Get::AllowUnauthenticated</literal>."
1935 "パッケージが認証できない場合は無視してください。プロンプトは表示されません。"
1936 "ローカルリポジトリでの作業中には有用ですが、ユーザ自身が別の方法でデータの信"
1937 "憑性を確保していない場合は、セキュリティ上の重大なリスクになります。&sources-"
1938 "list; エントリ用の <option>Trusted</option> オプションの使用は、通常グローバ"
1939 "ルオーバーライドよりも優先されるはずです。設定項目: <literal>APT::Get::"
1940 "AllowUnauthenticated</literal>"
1942 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1945 "Forbid the update command to acquire unverifiable data from configured "
1946 "sources. Apt will fail at the update command for repositories without valid "
1947 "cryptographically signatures. Configuration Item: <literal>Acquire::"
1948 "AllowInsecureRepositories</literal>."
1950 "設定された取得元から検証できないデータを取得する update コマンドを禁止しま"
1951 "す。apt は、有効な暗号で署名のないリポジトリ用の update コマンドで失敗しま"
1952 "す。設定項目: <literal>Acquire::AllowInsecureRepositories</literal>"
1954 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1957 "Show user friendly progress information in the terminal window when packages "
1958 "are installed, upgraded or removed. For a machine parsable version of this "
1959 "data see README.progress-reporting in the apt doc directory. Configuration "
1960 "Item: <literal>Dpkg::Progress</literal> and <literal>Dpkg::Progress-Fancy</"
1963 "パッケージのインストール、アップグレード、削除時にユーザにとってわかりやすい"
1964 "形で進捗情報をターミナルウィンドウ内に表示します。このデータの機械的に解析で"
1965 "きるバージョンについては apt の doc ディレクトリにある README.progress-"
1966 "reporting を見てください。設定項目: <literal>Dpkg::Progress</literal>、 "
1967 "<literal>Dpkg::Progress-Fancy</literal>"
1969 #. type: Content of: <refentry><refsect1><title>
1970 #: apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml apt.conf.5.xml
1971 #: apt_preferences.5.xml
1975 #. type: Content of: <refentry><refsect1><para>
1978 "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
1979 "&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
1982 "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
1983 "&apt-secure;, &guidesdir; にある APT ユーザガイド, &apt-preferences;, APT "
1986 #. type: Content of: <refentry><refsect1><para>
1989 "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
1992 "<command>apt-get</command> は正常終了時に 0 を返します。エラー時には十進の "
1995 #. type: Content of: <refentry><refnamediv><refpurpose>
1997 msgid "query the APT cache"
1998 msgstr "APT キャッシュへの問い合わせ"
2000 #. type: Content of: <refentry><refsect1><para>
2003 "<command>apt-cache</command> performs a variety of operations on APT's "
2004 "package cache. <command>apt-cache</command> does not manipulate the state of "
2005 "the system but does provide operations to search and generate interesting "
2006 "output from the package metadata. The metadata is acquired and updated via "
2007 "the 'update' command of e.g. <command>apt-get</command>, so that it can be "
2008 "outdated if the last update is too long ago, but in exchange <command>apt-"
2009 "cache</command> works independently of the availability of the configured "
2010 "sources (e.g. offline)."
2012 "<command>apt-cache</command> は APT のパッケージキャッシュに対して、さまざま"
2013 "な操作を行います。<command>apt-cache</command> は、システム状態の操作は行いま"
2014 "せんが、パッケージのメタデータを検索したり、興味深い出力を生成するといった操"
2015 "作を提供します。メタデータは、例えば <command>apt-get</command> の 'update' "
2016 "コマンドで取得して更新します。そのため、最後の更新が古すぎる場合は、時代遅れ"
2017 "です。ただし、引き換えに <command>apt-cache</command> は、設定された取得元の"
2018 "可用性とは独立して動作します (例えばオフライン)。"
2020 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2023 "<literal>gencaches</literal> creates APT's package cache. This is done "
2024 "implicitly by all commands needing this cache if it is missing or outdated."
2026 "<literal>gencaches</literal> は APT のパッケージキャッシュを作成します。この"
2027 "キャッシュが見つからない、または古くなっている場合、キャッシュを必要とするす"
2028 "べてのコマンドによって、暗黙で実行されます。"
2030 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
2032 msgid "&synopsis-pkg;"
2033 msgstr "&synopsis-pkg;"
2035 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2038 "<literal>showpkg</literal> displays information about the packages listed on "
2039 "the command line. Remaining arguments are package names. The available "
2040 "versions and reverse dependencies of each package listed are listed, as well "
2041 "as forward dependencies for each version. Forward (normal) dependencies are "
2042 "those packages upon which the package in question depends; reverse "
2043 "dependencies are those packages that depend upon the package in question. "
2044 "Thus, forward dependencies must be satisfied for a package, but reverse "
2045 "dependencies need not be. For instance, <command>apt-cache showpkg "
2046 "libreadline2</command> would produce output similar to the following:"
2048 "<literal>showpkg</literal> は、コマンドライン上に列挙したパッケージの情報を表"
2049 "示します。後に続く引数はパッケージ名となります。各パッケージについて、有効な"
2050 "バージョンと被依存関係を列挙し、さらにその各バージョンについて依存関係を表示"
2051 "します。(通常の) 依存関係とは、対象のパッケージが依存しているパッケージを指し"
2052 "ます。また、被依存関係とは、対象のパッケージに依存しているパッケージを指しま"
2053 "す。従って、パッケージの依存関係は満たさなければなりませんが、被依存関係は満"
2054 "たす必要はありません。実例として、以下に <command>apt-cache showpkg "
2055 "libreadline2</command> の出力を掲げます。"
2057 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
2061 "Package: libreadline2\n"
2062 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
2063 "Reverse Depends: \n"
2064 " libreadlineg2,libreadline2\n"
2065 " libreadline2-altdev,libreadline2\n"
2067 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
2070 "Reverse Provides: \n"
2072 "Package: libreadline2\n"
2073 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
2074 "Reverse Depends: \n"
2075 " libreadlineg2,libreadline2\n"
2076 " libreadline2-altdev,libreadline2\n"
2078 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
2081 "Reverse Provides: \n"
2083 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2086 "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
2087 "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
2088 "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
2089 "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
2090 "installed; libreadlineg2 and libreadline2-altdev do not have to be "
2091 "installed. For the specific meaning of the remainder of the output it is "
2092 "best to consult the apt source code."
2094 "つまり、libreadline2 の version 2.1-12 は、libc5 と ncurses3.0 に依存してい"
2095 "て、libreadline2 が動作するには、これらをインストールする必要があるということ"
2096 "が判ります。一方、libreadlineg2 と libreadline2-altdev は libreadline2 に依存"
2097 "しています。libreadline2 をインストールするためには、libc5, ncurses3.0, ldso "
2098 "をすべてインストールしなければなりませんが、libreadlineg2 と libreadline2-"
2099 "altdev はインストールする必要はありません。出力の残りの部分の意味については、"
2100 "apt のソースコードを調べるのが最良でしょう。"
2102 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2105 "<literal>stats</literal> displays some statistics about the cache. No "
2106 "further arguments are expected. Statistics reported are:"
2108 "<literal>stats</literal> はキャッシュについての統計情報を表示します。それ以"
2109 "上、引数は必要ありません。以下の統計情報を表示します。"
2111 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2114 "<literal>Total package names</literal> is the number of package names found "
2117 "<literal>パッケージ名総数</literal>は、キャッシュに存在するパッケージ数を表し"
2120 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2123 "<literal>Normal packages</literal> is the number of regular, ordinary "
2124 "package names; these are packages that bear a one-to-one correspondence "
2125 "between their names and the names used by other packages for them in "
2126 "dependencies. The majority of packages fall into this category."
2128 "<literal>通常パッケージ</literal>は、公式の普通のパッケージ数を表します。これ"
2129 "は、他のパッケージの依存関係で使用された名称で、それが一対一に対応するパッ"
2130 "ケージです。大多数のパッケージはこのカテゴリに入ります。"
2132 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2135 "<literal>Pure virtual packages</literal> is the number of packages that "
2136 "exist only as a virtual package name; that is, packages only \"provide\" the "
2137 "virtual package name, and no package actually uses the name. For instance, "
2138 "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
2139 "several packages provide \"mail-transport-agent\", but there is no package "
2140 "named \"mail-transport-agent\"."
2142 "<literal>純粋仮想パッケージ</literal>は、仮想パッケージ名としてのみ存在する"
2143 "パッケージ (仮想パッケージ名のみを「提供」し、実際にはいかなるパッケージもそ"
2144 "の名称を持たない) の数を表します。例えば、Debian システムでは \"mail-"
2145 "transport-agent\" は純粋仮想パッケージです。\"mail-transport-agent\" を提供す"
2146 "るパッケージはいくつもありますが、\"mail-transport-agent\" という名前のパッ"
2149 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2152 "<literal>Single virtual packages</literal> is the number of packages with "
2153 "only one package providing a particular virtual package. For example, in the "
2154 "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
2155 "package, xless, provides \"X11-text-viewer\"."
2157 "<literal>単一仮想パッケージ</literal>は、特定の仮想パッケージ名を提供するパッ"
2158 "ケージが、ただ一つの場合の数を表します。例えば、Debian システムでは、\"X11-"
2159 "text-viewer\" は仮想パッケージですが、\"X11-text-viewer\" を提供するパッケー"
2160 "ジは、xless パッケージのみということです。"
2162 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2165 "<literal>Mixed virtual packages</literal> is the number of packages that "
2166 "either provide a particular virtual package or have the virtual package name "
2167 "as the package name. For instance, in the Debian system, \"debconf\" is both "
2168 "an actual package, and provided by the debconf-tiny package."
2170 "<literal>複合仮想パッケージ</literal>は、その仮想パッケージ名を提供するパッ"
2171 "ケージが複数あるか、またパッケージ名と同じ仮想パッケージ名を持つパッケージの"
2172 "数を表します。例えば、Debian システムでは、\"debconf\" は実際のパッケージ名で"
2173 "もありますが、debconf-tiny によって提供もされています。"
2175 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2178 "<literal>Missing</literal> is the number of package names that were "
2179 "referenced in a dependency but were not provided by any package. Missing "
2180 "packages may be an evidence if a full distribution is not accessed, or if a "
2181 "package (real or virtual) has been dropped from the distribution. Usually "
2182 "they are referenced from Conflicts or Breaks statements."
2184 "<literal>欠落</literal>は、依存関係中には存在するのに、どのパッケージにも提供"
2185 "されていないパッケージ名の数を表します。欠落パッケージは、全ディストリビュー"
2186 "ションにアクセスできていないか、(実ないし仮想) パッケージがディストリビュー"
2187 "ションからはずされたという兆候かもしれません。通常、構文が競合や破損するとこ"
2190 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2193 "<literal>Total distinct</literal> versions is the number of package versions "
2194 "found in the cache. If more than one distribution is being accessed (for "
2195 "instance, \"stable\" and \"unstable\"), this value can be considerably "
2196 "larger than the number of total package names."
2198 "<literal>個別バージョン総数</literal>は、キャッシュに存在するパッケージのバー"
2199 "ジョンの数を表します。もし複数のディストリビューション (例えば \"stable\" と "
2200 "\"unstable\") にアクセスする場合、この値はパッケージ名総数よりもかなり大きい"
2203 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2206 "<literal>Total dependencies</literal> is the number of dependency "
2207 "relationships claimed by all of the packages in the cache."
2209 "<literal>依存関係総数</literal>は、キャッシュにあるすべてのパッケージで要求さ"
2212 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2215 "<literal>showsrc</literal> displays all the source package records that "
2216 "match the given package names. All versions are shown, as well as all "
2217 "records that declare the name to be a binary package. Use <option>--only-"
2218 "source</option> to display only source package names."
2220 "<literal>showsrc</literal> は、指定したパッケージ名に一致するソースパッケージ"
2221 "を、すべて表示します。バイナリパッケージになるときの名称を宣言したレコードと"
2222 "ともに、すべてのバージョンについて表示します。ソースパッケージ名だけを表示す"
2223 "るには、<option>--only-source</option> を使用してください。"
2225 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2228 "<literal>dump</literal> shows a short listing of every package in the cache. "
2229 "It is primarily for debugging."
2231 "<literal>dump</literal> は、キャッシュ内のパッケージそれぞれについて、短い一"
2232 "覧を表示します。主にデバッグ用です。"
2234 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2237 "<literal>dumpavail</literal> prints out an available list to stdout. This is "
2238 "suitable for use with &dpkg; and is used by the &dselect; method."
2240 "<literal>dumpavail</literal> は、標準出力に利用可能なものの一覧を出力しま"
2241 "す。 &dpkg; と共に使用すると便利ですし、&dselect; でも使用されます。"
2243 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2246 "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
2249 "<literal>unmet</literal> は、パッケージキャッシュ内にある、不適当な依存関係の"
2252 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2255 "<literal>show</literal> performs a function similar to <command>dpkg --print-"
2256 "avail</command>; it displays the package records for the named packages."
2258 "<literal>show</literal> は、<command>dpkg --print-avail</command> と同様の機"
2259 "能を実行します。これは、指定したパッケージのパッケージレコードの表示です。"
2261 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
2263 msgid "&synopsis-regex;"
2264 msgstr "&synopsis-regex;"
2266 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2269 "<literal>search</literal> performs a full text search on all available "
2270 "package lists for the POSIX regex pattern given, see ®ex;. It searches "
2271 "the package names and the descriptions for an occurrence of the regular "
2272 "expression and prints out the package name and the short description, "
2273 "including virtual package names. If <option>--full</option> is given then "
2274 "output identical to <literal>show</literal> is produced for each matched "
2275 "package, and if <option>--names-only</option> is given then the long "
2276 "description is not searched, only the package name and provided packages are."
2278 "<literal>search</literal> は、与えられた POSIX の正規表現 (®ex; を参照) に"
2279 "より、すべての利用可能なパッケージに対して全文検索を行います。パッケージ名と"
2280 "説明に対して正規表現で検索を行い、パッケージ名 (仮想パッケージ名を含む) と短"
2281 "い説明文を表示します。<option>--full</option> が与えられた場合、マッチした"
2282 "パッケージに対し <literal>show</literal> と同じ情報を出力します。<option>--"
2283 "names-only</option> が与えられた場合は、長い説明文に対して検索を行わず、パッ"
2284 "ケージ名と提供されたパッケージのみ対象とします。"
2286 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2289 "Separate arguments can be used to specify multiple search patterns that are "
2291 msgstr "空白で区切った引数で、複数の検索パターンの and をとることができます。"
2293 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2296 "<literal>depends</literal> shows a listing of each dependency a package has "
2297 "and all the possible other packages that can fulfill that dependency."
2299 "<literal>depends</literal> は、パッケージが持っている依存関係と、その依存関係"
2300 "を満たす他のパッケージの一覧を表示します。"
2302 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2305 "<literal>rdepends</literal> shows a listing of each reverse dependency a "
2308 "<literal>rdepends</literal> は、パッケージが持つ被依存関係を一覧表示します。"
2310 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2312 msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
2313 msgstr "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
2315 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2318 "This command prints the name of each package APT knows. The optional "
2319 "argument is a prefix match to filter the name list. The output is suitable "
2320 "for use in a shell tab complete function and the output is generated "
2321 "extremely quickly. This command is best used with the <option>--generate</"
2324 "このコマンドは、APT が知っている各パッケージの名前を表示します。オプション引"
2325 "数は、名前一覧から先頭一致で抽出します。この出力はシェルのタブによる補完機能"
2326 "で使いやすく、また非常に高速に生成されます。このコマンドは <option>--"
2327 "generate</option> オプションと共に使用すると非常に便利です。"
2329 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2332 "Note that a package which APT knows of is not necessarily available to "
2333 "download, installable or installed, e.g. virtual packages are also listed in "
2334 "the generated list."
2336 "APT が知っているパッケージは、ダウンロード可能、インストール可能、インストー"
2337 "ル済みである必要がないことに注意してください。つまり、仮想パッケージも生成し"
2340 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2343 "<literal>dotty</literal> takes a list of packages on the command line and "
2344 "generates output suitable for use by dotty from the <ulink url=\"http://www."
2345 "research.att.com/sw/tools/graphviz/\">GraphViz</ulink> package. The result "
2346 "will be a set of nodes and edges representing the relationships between the "
2347 "packages. By default the given packages will trace out all dependent "
2348 "packages; this can produce a very large graph. To limit the output to only "
2349 "the packages listed on the command line, set the <literal>APT::Cache::"
2350 "GivenOnly</literal> option."
2352 "<literal>dotty</literal> は、コマンドライン上のパッケージ名から、<ulink url="
2353 "\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> パッケー"
2354 "ジの dotty コマンドで利用するのに便利な出力を生成します。結果はパッケージの関"
2355 "係を表わす、ノード・エッジのセットで表現されます。デフォルトでは、すべての依"
2356 "存パッケージをトレースするので、非常に大きい図が得られます。コマンドラインに"
2357 "列挙したパッケージだけを出力するように制限するには、<literal>APT::Cache::"
2358 "GivenOnly</literal> をセットしてください。"
2360 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2363 "The resulting nodes will have several shapes; normal packages are boxes, "
2364 "pure virtual packages are triangles, mixed virtual packages are diamonds, "
2365 "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
2366 "packages), blue lines are pre-depends, green lines are conflicts."
2368 "結果のノードは数種の形状をとります。通常パッケージは四角、純粋仮想パッケージ"
2369 "は三角、複合仮想パッケージは菱形、欠落パッケージは六角形で表します。オレンジ"
2370 "の四角は再帰が終了した「リーフパッケージ」、青い線は先行依存、緑の線は競合を"
2373 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2375 msgid "Caution, dotty cannot graph larger sets of packages."
2376 msgstr "注意) dotty は、パッケージのより大きなセットのグラフは描けません。"
2378 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2381 "The same as <literal>dotty</literal>, only for xvcg from the <ulink url="
2382 "\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG tool</ulink>."
2384 "<literal>dotty</literal> と同様ですが、<ulink url=\"http://rw4.cs.uni-sb.de/"
2385 "users/sander/html/gsvcg1.html\">VCG tool</ulink> の xvcg 専用です。"
2387 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2389 msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
2390 msgstr "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
2392 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2395 "<literal>policy</literal> is meant to help debug issues relating to the "
2396 "preferences file. With no arguments it will print out the priorities of each "
2397 "source. Otherwise it prints out detailed information about the priority "
2398 "selection of the named package."
2400 "<literal>policy</literal> は、プリファレンスファイル関係の問題について、デ"
2401 "バッグを支援します。引数を指定しなかった場合、取得元ごとの優先順位を表示しま"
2402 "す。一方、パッケージ名を指定した場合、優先順の詳細情報を表示します。"
2404 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2407 "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
2408 "to mimic the output format and a subset of the functionality of the Debian "
2409 "archive management tool, <literal>madison</literal>. It displays available "
2410 "versions of a package in a tabular format. Unlike the original "
2411 "<literal>madison</literal>, it can only display information for the "
2412 "architecture for which APT has retrieved package lists (<literal>APT::"
2413 "Architecture</literal>)."
2415 "<literal>apt-cache</literal> の <literal>madison</literal> コマンドは、"
2416 "Debian アーカイブ管理ツール <literal>madison</literal> の機能のサブセットで、"
2417 "出力フォーマットを真似ようとします。パッケージの利用可能バージョンを表形式で"
2418 "表示します。オリジナルの <literal>madison</literal> と違い、APT がパッケージ"
2419 "一覧を検索したアーキテクチャ (<literal>APT::Architecture</literal>) の情報を"
2422 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2425 "Select the file to store the package cache. The package cache is the primary "
2426 "cache used by all operations. Configuration Item: <literal>Dir::Cache::"
2427 "pkgcache</literal>."
2429 "パッケージキャッシュを格納するファイルを選択します。パッケージキャッシュは、"
2430 "すべての操作で使用される一次キャッシュです。設定項目: <literal>Dir::Cache::"
2431 "pkgcache</literal>"
2433 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2436 "Select the file to store the source cache. The source is used only by "
2437 "<literal>gencaches</literal> and it stores a parsed version of the package "
2438 "information from remote sources. When building the package cache the source "
2439 "cache is used to avoid reparsing all of the package files. Configuration "
2440 "Item: <literal>Dir::Cache::srcpkgcache</literal>."
2442 "ソースキャッシュを格納するファイルを選択します。このソースキャッシュは "
2443 "<literal>gencaches</literal> でのみ使用され、ここに解析された取得元のパッケー"
2444 "ジ情報が格納されています。パッケージキャッシュを構築する際に、全パッケージ"
2445 "ファイルの再解析を避けるために、ソースキャッシュが使われます。設定項目: "
2446 "<literal>Dir::Cache::srcpkgcache</literal>"
2448 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2451 "Quiet; produces output suitable for logging, omitting progress indicators. "
2452 "More q's will produce more quietness up to a maximum of 2. You can also use "
2453 "<option>-q=#</option> to set the quietness level, overriding the "
2454 "configuration file. Configuration Item: <literal>quiet</literal>."
2456 "静粛 - 進捗表示を省略し、ログをとるのに便利な出力を行います。最大 2 つまで q "
2457 "を重ねることでさらに静粛にできます。また、<option>-q=#</option> のように静粛"
2458 "レベルを指定して、設定ファイルを上書きすることもできます。設定項目: "
2459 "<literal>quiet</literal>"
2461 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2464 "Print only important dependencies; for use with <literal>unmet</literal> and "
2465 "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
2466 "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
2468 "「重要」依存関係のみ表示 - <literal>unmet</literal> や <literal>depends</"
2469 "literal> と共に使用し、「依存」関係と「先行依存」関係のみを表示します。設定項"
2470 "目: <literal>APT::Cache::Important</literal>"
2472 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2475 "Per default the <command>depends</command> and <command>rdepends</command> "
2476 "print all dependencies. This can be tweaked with these flags which will omit "
2477 "the specified dependency type. Configuration Item: <literal>APT::Cache::"
2478 "Show<replaceable>DependencyType</replaceable></literal> e.g. <literal>APT::"
2479 "Cache::ShowRecommends</literal>."
2481 "デフォルトでは <command>depends</command> や <command>rdepends</command> は全"
2482 "依存関係を出力します。この挙動を、ここに挙げたフラグで指定した依存関係を省略"
2483 "できます。設定項目: <literal>APT::Cache::Show<replaceable>依存関係タイプ</"
2484 "replaceable></literal> 例: <literal>APT::Cache::ShowRecommends</literal>"
2486 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2489 "Per default <command>depends</command> and <command>rdepends</command> print "
2490 "only dependencies explicitly expressed in the metadata. With this flag it "
2491 "will also show dependencies implicitly added based on the encountered data. "
2492 "A <literal>Conflicts: foo</literal> e.g. expresses implicitly that this "
2493 "package also conflicts with the package foo from any other architecture. "
2494 "Configuration Item: <literal>APT::Cache::ShowImplicit</literal>."
2496 "デフォルトでは <command>depends</command> や <command>rdepends</command> はメ"
2497 "タデータ中に明示的に表現された依存関係のみを出力します。このフラグを指定する"
2498 "と、遭遇したデータにもとづいて追加の依存関係を表示します。"
2499 "<literal>Conflicts: foo</literal> は、例えば、このパッケージがほかのアーキテ"
2500 "クチャからのパッケージ foo と競合していることを暗黙的に表現しています。設定項"
2501 "目: <literal>APT::Cache::ShowImplicit</literal>"
2503 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2506 "Print full package records when searching. Configuration Item: "
2507 "<literal>APT::Cache::ShowFull</literal>."
2509 "search 時に全パッケージレコードを表示します。設定項目: <literal>APT::Cache::"
2510 "ShowFull</literal>"
2512 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2515 "Print full records for all available versions. This is the default; to turn "
2516 "it off, use <option>--no-all-versions</option>. If <option>--no-all-"
2517 "versions</option> is specified, only the candidate version will be displayed "
2518 "(the one which would be selected for installation). This option is only "
2519 "applicable to the <literal>show</literal> command. Configuration Item: "
2520 "<literal>APT::Cache::AllVersions</literal>."
2522 "全利用可能バージョンのレコード全体を表示します。これはデフォルトの動作で、無"
2523 "効にするには <option>--no-all-versions</option> を使用してください。"
2524 "<option>--no-all-versions</option> を指定すると、候補バージョン (インストール"
2525 "の際に選択されるもの) だけ表示します。このオプションは、<literal>show</"
2526 "literal> コマンドでのみ適用できます。設定項目: <literal>APT::Cache::"
2527 "AllVersions</literal>"
2529 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2532 "Perform automatic package cache regeneration, rather than use the cache as "
2533 "it is. This is the default; to turn it off, use <option>--no-generate</"
2534 "option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
2536 "そのままキャッシュを使用するのではなく、自動的にパッケージキャッシュを再生成"
2537 "します。これはデフォルトの動作で、無効にするには <option>--no-generate</"
2538 "option> を使用してください。設定項目: <literal>APT::Cache::Generate</literal>"
2540 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2543 "Only search on the package and provided package names, not the long "
2544 "descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>."
2546 "長い説明文ではなく、パッケージおよび提供されたパッケージ名のみ検索します。設"
2547 "定項目: <literal>APT::Cache::NamesOnly</literal>"
2549 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2552 "Make <literal>pkgnames</literal> print all names, including virtual packages "
2553 "and missing dependencies. Configuration Item: <literal>APT::Cache::"
2554 "AllNames</literal>."
2556 "<literal>pkgnames</literal> で、仮想パッケージや欠落依存関係を含めた全名称を"
2557 "表示します。設定項目: <literal>APT::Cache::AllNames</literal>"
2559 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2562 "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
2563 "that all packages mentioned are printed once. Configuration Item: "
2564 "<literal>APT::Cache::RecurseDepends</literal>."
2566 "<literal>depends</literal> や <literal>rdepends</literal> で、指定した全パッ"
2567 "ケージを再帰的に一度に表示します。設定項目: <literal>APT::Cache::"
2568 "RecurseDepends</literal>"
2570 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2573 "Limit the output of <literal>depends</literal> and <literal>rdepends</"
2574 "literal> to packages which are currently installed. Configuration Item: "
2575 "<literal>APT::Cache::Installed</literal>."
2577 "<literal>depends</literal> や <literal>rdepends</literal> の出力を、現在イン"
2578 "ストールされているパッケージに限定します。設定項目: <literal>APT::Cache::"
2579 "Installed</literal>"
2581 #. type: Content of: <refentry><refsect1><para>
2583 msgid "&apt-conf;, &sources-list;, &apt-get;"
2584 msgstr "&apt-conf;, &sources-list;, &apt-get;"
2586 #. type: Content of: <refentry><refsect1><para>
2589 "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
2592 "<command>apt-cache</command> は正常終了時に 0 を返します。エラー時には十進の "
2595 #. type: Content of: <refentry><refnamediv><refpurpose>
2597 msgid "APT key management utility"
2598 msgstr "APT キー管理ユーティリティ"
2600 #. type: Content of: <refentry><refsect1><para>
2603 "<command>apt-key</command> is used to manage the list of keys used by apt to "
2604 "authenticate packages. Packages which have been authenticated using these "
2605 "keys will be considered trusted."
2607 "<command>apt-key</command> は、apt が パッケージを認証するのに使用するキーの"
2608 "一覧を管理するのに使用します。このキーで認証されたパッケージは、信頼するに足"
2611 #. type: Content of: <refentry><refsect1><title>
2616 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2619 "Add a new key to the list of trusted keys. The key is read from the "
2620 "filename given with the parameter &synopsis-param-filename; or if the "
2621 "filename is <literal>-</literal> from standard input."
2623 "信頼キーのリストに新しいキーを追加します。このキーを &synopsis-param-"
2624 "filename; パラメータに与えたファイル名から読み込みますが、ファイル名を "
2625 "<literal>-</literal> とすると、標準入力から読み込みます。"
2627 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2630 "It is critical that keys added manually via <command>apt-key</command> are "
2631 "verified to belong to the owner of the repositories they claim to be for "
2632 "otherwise the &apt-secure; infrastructure is completely undermined."
2634 "<command>apt-key</command> を使用して手動で追加されたキーは、リポジトリの所有"
2635 "者に所属していることが確認されていることが重要です。そうでなければ、&apt-"
2636 "secure; インフラが完全に損なわれます。"
2638 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2640 msgid "Remove a key from the list of trusted keys."
2641 msgstr "信頼キー一覧からキーを削除します。"
2643 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2645 msgid "Output the key &synopsis-param-keyid; to standard output."
2646 msgstr "キー &synopsis-param-keyid; を標準出力に出力します。"
2648 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2650 msgid "Output all trusted keys to standard output."
2651 msgstr "信頼するキーをすべて標準出力に出力します。"
2653 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2655 msgid "List trusted keys."
2656 msgstr "信頼キーを一覧表示します。"
2658 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2660 msgid "List fingerprints of trusted keys."
2661 msgstr "信頼キーのフィンガープリントを一覧表示します。"
2663 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2666 "Pass advanced options to gpg. With <command>adv --recv-key</command> you can "
2667 "e.g. download key from keyservers directly into the the trusted set of keys. "
2668 "Note that there are <emphasis>no</emphasis> checks performed, so it is easy "
2669 "to completely undermine the &apt-secure; infrastructure if used without care."
2671 "gpg に高度なオプションを渡します。<command>adv --recv-key</command> を使用し"
2672 "て、例えば、キーサーバーから信頼されたキーに直接キーをダウンロードすることが"
2673 "できます。チェックが<emphasis>行われない</emphasis>ことに注意してください。注"
2674 "意せず使用するなら、容易に &apt-secure; インフラを完全に傷つけます。"
2676 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2679 "Update the local keyring with the archive keyring and remove from the local "
2680 "keyring the archive keys which are no longer valid. The archive keyring is "
2681 "shipped in the <literal>archive-keyring</literal> package of your "
2682 "distribution, e.g. the &keyring-package; package in &keyring-distro;."
2684 "ローカルキーリングをアーカイブキーリングで更新し、もう有効でなくなったアーカ"
2685 "イブキーをローカルキーリングから削除します。アーカイブキーリングは、使用中の"
2686 "ディストリビューションにある <literal>archive-keyring</literal> パッケージ "
2687 "(例えば &keyring-distro; では &keyring-package; パッケージ) で提供されていま"
2690 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2693 "Perform an update working similarly to the <command>update</command> command "
2694 "above, but get the archive keyring from a URI instead and validate it "
2695 "against a master key. This requires an installed &wget; and an APT build "
2696 "configured to have a server to fetch from and a master keyring to validate. "
2697 "APT in Debian does not support this command, relying on <command>update</"
2698 "command> instead, but Ubuntu's APT does."
2700 "上記の <command>update</command> コマンドと同様に更新しますが、アーカイブキー"
2701 "リングを URI から取得し、マスターキーを用いて検証します。これには &wget; のイ"
2702 "ンストールと、 APT のビルドに取得するサーバと検証するマスターキーリングが設定"
2703 "されていることが必要です。Debian での APT はこのコマンドをサポートしていませ"
2704 "ん。代わりに <command>update</command> を使用してください。Ubuntu の APT では"
2707 #. type: Content of: <refentry><refsect1><title>
2708 #: apt-key.8.xml apt-mark.8.xml apt-cdrom.8.xml
2712 #. type: Content of: <refentry><refsect1><para>
2715 "Note that options need to be defined before the commands described in the "
2718 "前節で説明したコマンドの前に、このオプションを定義する必要があることに注意し"
2721 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2724 "With this option it is possible to specify a particular keyring file the "
2725 "command should operate on. The default is that a command is executed on the "
2726 "<filename>trusted.gpg</filename> file as well as on all parts in the "
2727 "<filename>trusted.gpg.d</filename> directory, though <filename>trusted.gpg</"
2728 "filename> is the primary keyring which means that e.g. new keys are added to "
2731 "このオプションでは、コマンドが操作するべき特定のキーリングファイルを指定でき"
2732 "ます。デフォルトでは、<filename>trusted.gpg</filename> と <filename>trusted."
2733 "gpg.d</filename> ディレクトリにあるすべてのファイルを用いて、コマンドが動作し"
2734 "ます。とはいえ、<filename>trusted.gpg</filename> がプライマリキーリングになり"
2735 "ます。つまり新しいキーはこのファイルに追加されます。"
2737 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2739 msgid "<filename>/etc/apt/trustdb.gpg</filename>"
2740 msgstr "<filename>/etc/apt/trustdb.gpg</filename>"
2742 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2744 msgid "Local trust database of archive keys."
2745 msgstr "アーカイブキーのローカル信頼データベースです。"
2747 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2749 msgid "&keyring-filename;"
2750 msgstr "&keyring-filename;"
2752 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2754 msgid "Keyring of &keyring-distro; archive trusted keys."
2755 msgstr "&keyring-distro; アーカイブ信頼キーのキーリングです。"
2757 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2759 msgid "&keyring-removed-filename;"
2760 msgstr "&keyring-removed-filename;"
2762 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2764 msgid "Keyring of &keyring-distro; archive removed trusted keys."
2765 msgstr "削除された &keyring-distro; アーカイブ信頼キーのキーリングです。"
2767 #. type: Content of: <refentry><refsect1><para>
2769 msgid "&apt-get;, &apt-secure;"
2770 msgstr "&apt-get;, &apt-secure;"
2772 #. type: Content of: <refentry><refnamediv><refpurpose>
2774 msgid "show, set and unset various settings for a package"
2775 msgstr "パッケージの各種設定の表示、設定、設定解除"
2777 #. type: Content of: <refentry><refsect1><para>
2780 "<command>apt-mark</command> can be used as a unified front-end to set "
2781 "various settings for a package, such as marking a package as being "
2782 "automatically/manually installed or changing <command>dpkg</command> "
2783 "selections such as hold, install, deinstall and purge which are respected e."
2784 "g. by <command>apt-get dselect-upgrade</command> or <command>aptitude</"
2787 "統合フロントエンドとして使用することができます。例えば、パッケージを自動/手動"
2788 "インストール済みとマークしたり、<command>dpkg</command> の選択を保留、インス"
2789 "トール、削除や完全削除に変更できます。例えば <command>apt-get dselect-"
2790 "upgrade</command> や <command>aptitude</command> によりリスペクトされていま"
2793 #. type: Content of: <refentry><refsect1><title>
2795 msgid "Automatically and Manually Installed Packages"
2796 msgstr "自動および手動インストール済みパッケージ"
2798 #. type: Content of: <refentry><refsect1><para>
2801 "When you request that a package is installed, and as a result other packages "
2802 "are installed to satisfy its dependencies, the dependencies are marked as "
2803 "being automatically installed, while the package you installed explicitly is "
2804 "marked as manually installed. Once an automatically installed package is no "
2805 "longer depended on by any manually installed package it is considered no "
2806 "longer needed and e.g. <command>apt-get</command> or <command>aptitude</"
2807 "command> will at least suggest removing them."
2809 "パッケージをインストールすると要求し、その結果、別のパッケージが依存関係を満"
2810 "たすためにインストールされた場合、依存関係に自動インストール済みとマークされ"
2811 "ます。いったん自動的にインストールされたパッケージは、手動でインストールした"
2812 "パッケージに依存されなくなると、そのパッケージは、例えば <command>apt-get</"
2813 "command> や <command>aptitude</command> により削除が提案されます。"
2815 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2818 "<literal>auto</literal> is used to mark a package as being automatically "
2819 "installed, which will cause the package to be removed when no more manually "
2820 "installed packages depend on this package."
2822 "<literal>auto</literal> は、パッケージを自動インストール済みとマークします。"
2823 "このパッケージに依存する手動でインストールされたパッケージがなくなると、この"
2826 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2829 "<literal>manual</literal> is used to mark a package as being manually "
2830 "installed, which will prevent the package from being automatically removed "
2831 "if no other packages depend on it."
2833 "<literal>manual</literal> は、パッケージを手動インストール済みとマークしま"
2834 "す。このパッケージに依存するほかのパッケージがなくなっても、このパッケージを"
2837 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2840 "<literal>showauto</literal> is used to print a list of automatically "
2841 "installed packages with each package on a new line. All automatically "
2842 "installed packages will be listed if no package is given. If packages are "
2843 "given only those which are automatically installed will be shown."
2845 "<literal>showauto</literal> は、自動的にインストールされたパッケージを、パッ"
2846 "ケージごとに改行して表示します。パッケージを与えなければ、自動的にインストー"
2847 "ルされたパッケージをすべて一覧表示します。パッケージを与えた場合は、そのパッ"
2848 "ケージが自動的にインストールされている場合にのみ、表示します。"
2850 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2853 "<literal>showmanual</literal> can be used in the same way as "
2854 "<literal>showauto</literal> except that it will print a list of manually "
2855 "installed packages instead."
2857 "<literal>showmanual</literal> は <literal>showauto</literal> と同様に使用でき"
2858 "ますが、手動でインストールされたパッケージの一覧を表示します。"
2860 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2863 "Read/Write package stats from the filename given with the parameter "
2864 "&synopsis-param-filename; instead of from the default location, which is "
2865 "<filename>extended_status</filename> in the directory defined by the "
2866 "Configuration Item: <literal>Dir::State</literal>."
2868 "デフォルトの場所 (設定項目: <literal>Dir::State</literal> で定義したディレク"
2869 "トリの <filename>extended_status</filename>) ではなく、パラメータ &synopsis-"
2870 "param-filename; からパッケージの状態を読み書きします。"
2872 #. type: Content of: <refentry><refsect1><title>
2874 msgid "Prevent Changes for a Package"
2875 msgstr "パッケージの変更を防ぐ"
2877 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2880 "<literal>hold</literal> is used to mark a package as held back, which will "
2881 "prevent the package from being automatically installed, upgraded or removed."
2883 "<literal>hold</literal> は、パッケージを保留としてマークします。パッケージを"
2884 "自動的なインストール、アップグレード、削除から防ぎます。"
2886 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2889 "<literal>unhold</literal> is used to cancel a previously set hold on a "
2890 "package to allow all actions again."
2892 "<literal>unhold</literal> は、以前保留したパッケージを、また操作できるよう"
2895 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2898 "<literal>showhold</literal> is used to print a list of packages on hold in "
2899 "the same way as for the other show commands."
2901 "<literal>showhold</literal> は、他の show コマンドと同様に、保留されている"
2904 #. type: Content of: <refentry><refsect1><title>
2906 msgid "Schedule Packages for Install, Remove and Purge"
2907 msgstr "パッケージのインストール、削除、完全削除をスケジュールする"
2909 #. type: Content of: <refentry><refsect1><para>
2912 "Some front-ends like <command>apt-get dselect-upgrade</command> can be used "
2913 "to apply previously scheduled changes to the install state of packages. Such "
2914 "changes can be scheduled with the <option>install</option>, <option>remove</"
2915 "option> (also known as <option>deinstall</option>) and <option>purge</"
2916 "option> commands. Packages with a specific selection can be displayed with "
2917 "<option>showinstall</option>, <option>showremove</option> and "
2918 "<option>showpurge</option> respectively. More information about these so "
2919 "called dpkg selections can be found in &dpkg;."
2921 "<command>apt-get dselect-upgrade</command> のようないくつかのフロントエンド"
2922 "は、パッケージのインストール状態の事前のスケジュール変更を適用するために使用"
2923 "することができます。このような変更は、<option>install</option>、"
2924 "<option>remove</option> (<option>deinstall</option> としても知られています) "
2925 "および <option>purge</option> オプションでスケジュールすることができます。特"
2926 "定のパッケージの選択は、それぞれ <option>showinstall</option>、"
2927 "<option>showremove</option> および <option>showpurge</option> で表示すること"
2928 "ができます。dpkg 選択とも呼ぶこれらの詳細については、dpkg で見つけることがで"
2931 #. type: Content of: <refentry><refsect1><para>
2934 "<command>apt-mark</command> returns zero on normal operation, non-zero on "
2937 "<command>apt-mark</command> は正常終了時に 0 を返します。エラー時には 0 以外"
2940 #. type: Content of: <refentry><refnamediv><refpurpose>
2942 msgid "Archive authentication support for APT"
2943 msgstr "APT アーカイブ認証サポート"
2945 #. type: Content of: <refentry><refsect1><para>
2948 "Starting with version 0.6, <command>APT</command> contains code that does "
2949 "signature checking of the Release file for all repositories. This ensures "
2950 "that data like packages in the archive can't be modified by people who have "
2951 "no access to the Release file signing key."
2953 "バージョン 0.6 より、<command>apt</command> 全リポジトリに対する Release ファ"
2954 "イルの署名チェックコードが含まれています。これにより、アーカイブのパッケージ"
2955 "のようなデータが、Release ファイル署名キーにアクセスできない人によって変更さ"
2958 #. type: Content of: <refentry><refsect1><para>
2961 "If an archive has an unsigned Release file or no Release file at all current "
2962 "APT versions will raise a warning in <command>update</command> operations "
2963 "and front-ends like <command>apt-get</command> will require explicit "
2964 "confirmation if an installation request includes a package from such an "
2965 "unauthenticated archive."
2967 "アーカイブに署名されていない Release ファイルがあるか、または Release ファイ"
2968 "ルがまったくない場合は、現在の APT バージョンは <command>update</command> 操"
2969 "作中に警告を発生させます。また、インストール要求に認証されていないアーカイブ"
2970 "からのパッケージが含まれる場合は、<command>apt-get</command> のようなフロント"
2973 #. type: Content of: <refentry><refsect1><para>
2976 "In the future APT will refuse to work with unauthenticated repositories by "
2977 "default until support for them is removed entirely. Users have the option to "
2978 "opt-in to this behavior already by setting the configuration option "
2979 "<option>Acquire::AllowInsecureRepositories</option> to <literal>false</"
2982 "将来的には、リポジトリ認証サポートが完全に削除されるまで、APT はデフォルトで"
2983 "認証されていないリポジトリでの動作を拒否するでしょう。設定オプション "
2984 "<option>Acquire::AllowInsecureRepositories</option> を <literal>false</"
2985 "literal> に設定することで、ユーザはこのような動作にするオプトインするオプショ"
2988 #. type: Content of: <refentry><refsect1><para>
2991 "Note: All APT-based package management front-ends like &apt-get;, &aptitude; "
2992 "and &synaptic; support this authentication feature, so this manpage uses "
2993 "<literal>APT</literal> to refer to them all for simplicity only."
2995 "&apt-get;, &aptitude;, &synaptic; といったパッケージフロントエンドは、この新"
2998 #. type: Content of: <refentry><refsect1><title>
3000 msgid "Trusted Repositories"
3003 #. type: Content of: <refentry><refsect1><para>
3006 "The chain of trust from an APT archive to the end user is made up of several "
3007 "steps. <command>apt-secure</command> is the last step in this chain; "
3008 "trusting an archive does not mean that you trust its packages not to contain "
3009 "malicious code, but means that you trust the archive maintainer. It's the "
3010 "archive maintainer's responsibility to ensure that the archive's integrity "
3013 "apt アーカイブからエンドユーザまでの信頼の輪は、いくつかのステップで構成され"
3014 "ています。<command>apt-secure</command> は、この輪の最後のステップで、「アー"
3015 "カイブを信頼する」ということは、パッケージに悪意のあるコードが含まれていない"
3016 "ことを信頼するということではなく、アーカイブメンテナを信頼するということを意"
3017 "味します。これは、アーカイブの完全性が保たれていることを保証するのは、アーカ"
3018 "イブメンテナの責任だということです。"
3020 #. type: Content of: <refentry><refsect1><para>
3023 "apt-secure does not review signatures at a package level. If you require "
3024 "tools to do this you should look at <command>debsig-verify</command> and "
3025 "<command>debsign</command> (provided in the debsig-verify and devscripts "
3026 "packages respectively)."
3028 "apt-secure はパッケージレベルの署名検証は行いません。そのようなツールが必要な"
3029 "場合は、<command>debsig-verify</command> や <command>debsign</command> "
3030 "(debsig-verify パッケージと devscripts パッケージでそれぞれ提供されています) "
3033 #. type: Content of: <refentry><refsect1><para>
3036 "The chain of trust in Debian starts (e.g.) when a maintainer uploads a new "
3037 "package or a new version of a package to the Debian archive. In order to "
3038 "become effective, this upload needs to be signed by a key contained in one "
3039 "of the Debian package maintainer keyrings (available in the debian-keyring "
3040 "package). Maintainers' keys are signed by other maintainers following pre-"
3041 "established procedures to ensure the identity of the key holder. Similar "
3042 "procedures exist in all Debian-based distributions."
3044 "Debian における信頼の輪は、(例えば) 新しいパッケージやパッケージの新バージョ"
3045 "ンを、メンテナが Debian アーカイブにアップロードすることから始まります。これ"
3046 "が有効になるには、アップロードの際に、Debian メンテナキーリング (debian-"
3047 "keyring パッケージに収録) にあるメンテナのキーで署名する必要があります。メン"
3048 "テナのキーは、キーの所有者の ID を確保するため、事前に確立した手続きの後で、"
3049 "他のメンテナに署名されています。同様の手順は、すべての Debian ベースのディス"
3052 #. type: Content of: <refentry><refsect1><para>
3055 "Once the uploaded package is verified and included in the archive, the "
3056 "maintainer signature is stripped off, and checksums of the package are "
3057 "computed and put in the Packages file. The checksums of all of the Packages "
3058 "files are then computed and put into the Release file. The Release file is "
3059 "then signed by the archive key for this &keyring-distro; release, and "
3060 "distributed alongside the packages and the Packages files on &keyring-"
3061 "distro; mirrors. The keys are in the &keyring-distro; archive keyring "
3062 "available in the &keyring-package; package."
3064 "アップロードされたパッケージが検証されてアーカイブに格納されると、メンテナの"
3065 "署名を取り外し、パッケージのチェックサムを計算して、Packages ファイルに格納し"
3066 "ます。その後、全 Packages ファイルのチェックサムを計算して、Release ファイル"
3067 "に格納します。Release ファイルは、その &keyring-distro; リリースのアーカイブ"
3068 "キーで署名され、&keyring-distro; ミラーサイトでパッケージや Packages ファイル"
3069 "とともに配布されます。このキーは、<package>debian-archive-keyring</package> "
3070 "パッケージに収録されている、&keyring-distro; アーカイブキーリングに含まれま"
3073 #. type: Content of: <refentry><refsect1><para>
3076 "End users can check the signature of the Release file, extract a checksum of "
3077 "a package from it and compare it with the checksum of the package they "
3078 "downloaded by hand - or rely on APT doing this automatically."
3080 "エンドユーザは誰でも、Release ファイルの署名をチェックし、パッケージのチェッ"
3081 "クサムを抽出して、手でダウンロードしたパッケージのチェックサムと比較できま"
3082 "す。また、APT が自動的に行うのに任せることもできます。"
3084 #. type: Content of: <refentry><refsect1><para>
3087 "Notice that this is distinct from checking signatures on a per package "
3088 "basis. It is designed to prevent two possible attacks:"
3090 "以上は、パッケージごとの署名チェックとは違うことに注意してください。以下のよ"
3091 "うに考えられる 2 種類の攻撃を防ぐよう設計されています。"
3093 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
3096 "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
3097 "checking, malicious agents can introduce themselves into the package "
3098 "download process and provide malicious software either by controlling a "
3099 "network element (router, switch, etc.) or by redirecting traffic to a rogue "
3100 "server (through ARP or DNS spoofing attacks)."
3102 "<literal>ネットワーク中間者攻撃</literal>。署名をチェックしないと、悪意ある"
3103 "エージェントがパッケージダウンロードプロセスに割り込んだり、ネットワーク構成"
3104 "要素 (ルータ、スイッチなど) の制御や、悪漢サーバへのネットワークトラフィック"
3105 "のリダイレクトなど (ARP スプーフィング攻撃や DNS スプーフィング攻撃) で、悪意"
3106 "あるソフトウェアを掴まされたりします。"
3108 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
3111 "<literal>Mirror network compromise</literal>. Without signature checking, a "
3112 "malicious agent can compromise a mirror host and modify the files in it to "
3113 "propagate malicious software to all users downloading packages from that "
3116 "<literal>ミラーネットワーク感染</literal>。署名をチェックしないと、悪意ある"
3117 "エージェントがミラーホストに感染し、このホストからダウンロードしたユーザすべ"
3118 "てに、悪意あるソフトウェアが伝播するようにファイルを変更できます。"
3120 #. type: Content of: <refentry><refsect1><para>
3123 "However, it does not defend against a compromise of the master server itself "
3124 "(which signs the packages) or against a compromise of the key used to sign "
3125 "the Release files. In any case, this mechanism can complement a per-package "
3128 "しかしこれは、(パッケージに署名する) マスターサーバ自体の侵害や、Release ファ"
3129 "イルに署名するのに使用したキーの漏洩を防げません。いずれにせよ、この機構は"
3130 "パッケージごとの署名を補完することができます。"
3132 #. type: Content of: <refentry><refsect1><title>
3134 msgid "User Configuration"
3137 #. type: Content of: <refentry><refsect1><para>
3140 "<command>apt-key</command> is the program that manages the list of keys used "
3141 "by APT to trust repositories. It can be used to add or remove keys as well "
3142 "as list the trusted keys. Limiting which key(s) are able to sign which "
3143 "archive is possible via the <option>Signed-By</option> in &sources-list;."
3145 "<command>apt-key</command> は、リポジトリを信頼するために APT が使用するキー"
3146 "リストを管理するプログラムです。信頼されたキーのリストにキーを追加または削除"
3147 "するために使用することができます。キーが署名することができるアーカイブは、"
3148 "&sources-list; 中の <option>Signed-By</option> を介して制限可能です。"
3150 #. type: Content of: <refentry><refsect1><para>
3153 "Note that a default installation already contains all keys to securely "
3154 "acquire packages from the default repositories, so fiddling with "
3155 "<command>apt-key</command> is only needed if third-party repositories are "
3158 "デフォルトのインストールでは、すでにデフォルトのリポジトリからセキュアにパッ"
3159 "ケージを取得するためにすべてのキーが含まれていることに注意してください。その"
3160 "ため、サードパーティのリポジトリを追加している場合は <command>apt-key</"
3161 "command> で操作する必要があります。"
3163 #. type: Content of: <refentry><refsect1><para>
3166 "In order to add a new key you need to first download it (you should make "
3167 "sure you are using a trusted communication channel when retrieving it), add "
3168 "it with <command>apt-key</command> and then run <command>apt-get update</"
3169 "command> so that apt can download and verify the <filename>InRelease</"
3170 "filename> or <filename>Release.gpg</filename> files from the archives you "
3173 "新しいキーを追加するためには、まずキーをダウンロードする必要があります (取得"
3174 "する際には、信頼できる通信チャネルを使用するよう、特に留意してください)。取得"
3175 "したキーを、<command>apt-key</command> で追加し、<command>apt-get update</"
3176 "command> を実行してください。以上により、apt は設定済みのアーカイブから、"
3177 "<filename>InRelease</filename> ファイルや <filename>Release.gpg</filename> "
3178 "ファイルをダウンロード・検証できるようになります。"
3180 #. type: Content of: <refentry><refsect1><title>
3182 msgid "Archive Configuration"
3185 #. type: Content of: <refentry><refsect1><para>
3188 "If you want to provide archive signatures in an archive under your "
3189 "maintenance you have to:"
3191 "あなたがメンテナンスしているアーカイブで、アーカイブ署名を提供したい場合、以"
3194 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
3197 "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
3198 "already. You can do this by running <command>apt-ftparchive release</"
3199 "command> (provided in apt-utils)."
3201 "既に存在しているのでなければ、<emphasis>最上位 Release ファイルを作成してくだ"
3202 "さい</emphasis>。<command>apt-ftparchive release</command> (apt-utils で提"
3205 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
3208 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg --"
3209 "clearsign -o InRelease Release</command> and <command>gpg -abs -o Release."
3210 "gpg Release</command>."
3212 "<emphasis>署名</emphasis>します。<command>gpg --clearsign -o InRelease "
3213 "Release</command> や <command>gpg -abs -o Release.gpg Release</command> を実"
3216 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
3219 "<emphasis>Publish the key fingerprint</emphasis>, so that your users will "
3220 "know what key they need to import in order to authenticate the files in the "
3221 "archive. It is best to ship your key in its own keyring package like "
3222 "&keyring-distro; does with &keyring-package; to be able to distribute "
3223 "updates and key transitions automatically later."
3225 "<emphasis>キーのフィンガープリントを公開</emphasis>します。これにより、ユーザ"
3226 "は、アーカイブ内のファイルを認証するためにインポートする必要があるキーを知る"
3227 "でしょう。これは、ディストリビューションのアップデートとキーの更新を後で自動"
3228 "的に行うことができる &keyring-package; を実行する &keyring-distro; のような独"
3229 "自のキーリングパッケージで鍵を公開するのが最善です。"
3231 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
3234 "<emphasis>Provide instructions on how to add your archive and key</"
3235 "emphasis>. If your users can't acquire your key securely the chain of trust "
3236 "described above is broken. How you can help users add your key depends on "
3237 "your archive and target audience ranging from having your keyring package "
3238 "included in another archive users already have configured (like the default "
3239 "repositories of their distribution) to leveraging the web of trust."
3241 "<emphasis>アーカイブとキーを追加する方法について説明します</emphasis>。ユーザ"
3242 "がセキュアにキーを取得できない場合は、上述の信頼の輪が壊れています。ユーザの"
3243 "キー追加を助けることができる方法は、アーカイブとすでに信頼のウェブを活用する"
3244 "ように (ディストリビューションのデフォルトのリポジトリのように) 設定している"
3245 "別のアーカイブユーザに含まれたあなたのキーリングパッケージを持つまでは、アー"
3248 #. type: Content of: <refentry><refsect1><para>
3251 "Whenever the contents of the archive change (new packages are added or "
3252 "removed) the archive maintainer has to follow the first two steps outlined "
3255 "アーカイブの内容に変化がある場合 (新しいパッケージの追加や削除)、アーカイブメ"
3256 "ンテナは前述の最初の 2 ステップに従わなければなりません。"
3258 #. type: Content of: <refentry><refsect1><para>
3261 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
3262 "&debsign;, &debsig-verify;, &gpg;"
3264 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
3265 "&debsign;, &debsig-verify;, &gpg;"
3267 #. type: Content of: <refentry><refsect1><para>
3270 "For more background information you might want to review the <ulink url="
3271 "\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
3272 "Security Infrastructure</ulink> chapter of the Securing Debian Manual (also "
3273 "available in the harden-doc package) and the <ulink url=\"http://www."
3274 "cryptnet.net/fdp/crypto/strong_distro.html\" >Strong Distribution HOWTO</"
3275 "ulink> by V. Alex Brennen."
3277 "詳細な背景情報を検証するのなら、Securing Debian Manual (harden-doc パッケージ"
3278 "にも収録) の <ulink url=\"http://www.debian.org/doc/manuals/securing-debian-"
3279 "howto/ch7\">Debian Security Infrastructure</ulink> 章や、V. Alex Brennen によ"
3280 "る <ulink url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" "
3281 ">Strong Distribution HOWTO</ulink> をご覧ください。"
3283 #. type: Content of: <refentry><refsect1><title>
3285 msgid "Manpage Authors"
3288 #. type: Content of: <refentry><refsect1><para>
3291 "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
3292 "Jones, Colin Walters, Florian Weimer and Michael Vogt."
3294 "このマニュアルページは Javier Fernández-Sanguino Peña, Isaac Jones, Colin "
3295 "Walters, Florian Weimer, Michael Vogt の作業を元にしています。"
3297 #. type: Content of: <refentry><refnamediv><refpurpose>
3299 msgid "APT CD-ROM management utility"
3300 msgstr "APT CD-ROM 管理ユーティリティ"
3302 #. type: Content of: <refentry><refsect1><para>
3305 "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
3306 "available sources. <command>apt-cdrom</command> takes care of determining "
3307 "the structure of the disc as well as correcting for several possible mis-"
3308 "burns and verifying the index files."
3310 "<command>apt-cdrom</command> は利用可能な取得元として、APT のリストに新しい "
3311 "CD-ROM を追加するのに使用します。<command>apt-cdrom</command> は、ディスクの"
3312 "構造を測定します。また、焼き損じを可能な限り補正し、インデックスファイルの確"
3315 #. type: Content of: <refentry><refsect1><para>
3318 "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
3319 "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
3320 "must be inserted and scanned separately to account for possible mis-burns."
3322 "APT システムに手作業で CD を追加するのは難しいため、<command>apt-cdrom</"
3323 "command> が必要になります。その上、複数の CD のディスクを 1 枚づつ、焼き損じ"
3324 "を補正できるか評価しなければなりません。"
3326 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3329 "<literal>add</literal> is used to add a new disc to the source list. It will "
3330 "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
3331 "to scan it and copy the index files. If the disc does not have a proper "
3332 "<filename>.disk</filename> directory you will be prompted for a descriptive "
3335 "<literal>add</literal> は、新しいディスクを取得元リストに追加します。CD-ROM "
3336 "デバイスのアンマウントやディスク挿入のプロンプト表示の後に、ディスクのスキャ"
3337 "ンとインデックスファイルのコピーを行います。ディスクに正しい <filename>."
3338 "disk</filename> ディレクトリが存在しない場合、タイトルを入力するよう促しま"
3341 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3344 "APT uses a CD-ROM ID to track which disc is currently in the drive and "
3345 "maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
3348 "APT は、現在ドライブにあるディスクのトラックから取得した、CD-ROM ID を使用し"
3349 "ます。またその ID を、<filename>&statedir;/cdroms.list</filename> 内のデータ"
3352 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3355 "A debugging tool to report the identity of the current disc as well as the "
3358 "格納されているファイル名と現在のディスクが同一かどうかをレポートする、デバッ"
3361 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3364 "Do not try to auto-detect the CD-ROM path. Usually combined with the "
3365 "<option>--cdrom</option> option. Configuration Item: <literal>Acquire::"
3366 "cdrom::AutoDetect</literal>."
3368 "CD-ROM パスの自動検出を試行しません。通常、<option>--cdrom</option> オプショ"
3369 "ンと組み合わせて使います。設定項目: <literal>Acquire::cdrom::AutoDetect</"
3372 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3375 "Mount point; specify the location to mount the CD-ROM. This mount point must "
3376 "be listed in <filename>/etc/fstab</filename> and properly configured. "
3377 "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
3379 "マウントポイント - CD-ROM をマウントする場所を指定します。このマウントポイン"
3380 "トは、<filename>/etc/fstab</filename> に正しく設定されている必要があります。"
3381 "設定項目: <literal>Acquire::cdrom::mount</literal>"
3383 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3386 "Rename a disc; change the label of a disc or override the disc's given "
3387 "label. This option will cause <command>apt-cdrom</command> to prompt for a "
3388 "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
3390 "ディスクの名前変更 - ディスクのラベル変更や、指定したラベルでのラベルの上書き"
3391 "を行います。このオプションにより、<command>apt-cdrom</command> が新しいラベル"
3392 "を入力するよう促します。設定項目: <literal>APT::CDROM::Rename</literal>"
3394 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3397 "No mounting; prevent <command>apt-cdrom</command> from mounting and "
3398 "unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
3399 "NoMount</literal>."
3401 "マウントなし - <command>apt-cdrom</command> が、マウントポイントにマウント・"
3402 "アンマウントしないようにします。設定項目: <literal>APT::CDROM::NoMount</"
3405 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3408 "Fast Copy; Assume the package files are valid and do not check every "
3409 "package. This option should be used only if <command>apt-cdrom</command> has "
3410 "been run on this disc before and did not detect any errors. Configuration "
3411 "Item: <literal>APT::CDROM::Fast</literal>."
3413 "高速コピー - パッケージファイルが妥当であると仮定し、チェックを全く行いませ"
3414 "ん。このオプションは、このディスクで以前 <command>apt-cdrom</command> を行っ"
3415 "ており、エラーを検出しなかった場合のみ使用すべきです。設定項目: "
3416 "<literal>APT::CDROM::Fast</literal>"
3418 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3421 "Thorough Package Scan; This option may be needed with some old Debian "
3422 "1.1/1.2 discs that have Package files in strange places. It takes much "
3423 "longer to scan the CD but will pick them all up."
3425 "完全パッケージスキャン - 古い Debian 1.1/1.2 のディスクは、パッケージファイル"
3426 "が違う場所にあるため、このオプションを使う必要があるかもしれません。CD をス"
3427 "キャンするのに非常に時間がかかりますが、全パッケージファイルを抽出することが"
3430 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3433 "No Changes; Do not change the &sources-list; file and do not write index "
3434 "files. Everything is still checked however. Configuration Item: "
3435 "<literal>APT::CDROM::NoAct</literal>."
3437 "変更なし - &sources-list; ファイルの変更や、インデックスファイルの書き込みを"
3438 "行いません。とはいえ、すべてのチェックは行います。設定項目: <literal>APT::"
3439 "CDROM::NoAct</literal>"
3441 #. type: Content of: <refentry><refsect1><para>
3443 msgid "&apt-conf;, &apt-get;, &sources-list;"
3444 msgstr "&apt-conf;, &apt-get;, &sources-list;"
3446 #. type: Content of: <refentry><refsect1><para>
3449 "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
3452 "<command>apt-cdrom</command> は正常終了時に 0 を返します。エラー時には十進の "
3455 #. type: Content of: <refentry><refnamediv><refpurpose>
3457 msgid "APT Configuration Query program"
3458 msgstr "APT 設定取得プログラム"
3460 #. type: Content of: <refentry><refsect1><para>
3463 "<command>apt-config</command> is an internal program used by various "
3464 "portions of the APT suite to provide consistent configurability. It accesses "
3465 "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
3466 "manner that is easy to use for scripted applications."
3468 "<command>apt-config</command> は、APT スイートの様々な所で一貫した設定を行う"
3469 "ために使用する、内部プログラムです。スクリプトアプリケーションで使いやすい方"
3470 "法で、メイン設定ファイル <filename>/etc/apt/apt.conf</filename> にアクセスし"
3473 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3476 "shell is used to access the configuration information from a shell script. "
3477 "It is given pairs of arguments, the first being a shell variable and the "
3478 "second the configuration value to query. As output it lists shell assignment "
3479 "commands for each value present. In a shell script it should be used as "
3482 "shell は、シェルスクリプトから設定情報にアクセスするのに使用します。引数とし"
3483 "て、まずシェル変数、次に取得したい設定値をペアで与えます。出力として、現在の"
3484 "値ごとのシェル代入コマンドを列挙します。シェルスクリプト内では、以下のように"
3487 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
3492 "RES=`apt-config shell OPTS MyApp::options`\n"
3496 "RES=`apt-config shell OPTS MyApp::options`\n"
3499 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3502 "This will set the shell environment variable $OPTS to the value of MyApp::"
3503 "options with a default of <option>-f</option>."
3505 "これは、MyApp::options の値をシェル環境変数 $OPTS にセットします。デフォルト"
3506 "値は <option>-f</option> となります。"
3508 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3511 "The configuration item may be postfixed with a /[fdbi]. f returns file "
3512 "names, d returns directories, b returns true or false and i returns an "
3513 "integer. Each of the returns is normalized and verified internally."
3515 "設定項目は /[fdbi] を後ろに付けられます。f はファイル名を、d はディレクトリ"
3516 "を、b は true か false を、i は整数を返します。返り値ごとに内部で正規化と検証"
3519 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3521 msgid "Just show the contents of the configuration space."
3522 msgstr "設定箇所の内容を表示するだけです。"
3524 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3527 "Include options which have an empty value. This is the default, so use --no-"
3528 "empty to remove them from the output."
3530 "値が空のオプションを含めます。これはデフォルトですので、出力から取り除くには "
3531 "--no-empty としてください。"
3533 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
3535 msgid "%f "%v";%n"
3536 msgstr "%f "%v";%n"
3538 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3541 "Defines the output of each config option. %t will be replaced with "
3542 "its individual name, %f with its full hierarchical name and %v "
3543 "with its value. Use uppercase letters and special characters in the value "
3544 "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
3545 "as defined by RFC822. Additionally %n will be replaced by a newline, "
3546 "and %N by a tab. A % can be printed by using %%."
3548 "各設定オプションの出力を定義します。%t はオプション名に、%f は"
3549 "完全オプション名に、%v はオプションの値に置換されます。大文字や特殊文"
3550 "字を使用する値は、安全を保証するために、RFC822 で定義されている quoted-"
3551 "string でエンコードされることになります。さらに、%n は改行に、%"
3552 "N はタブ文字になります。% を出力するには、%% としてくだ"
3555 #. type: Content of: <refentry><refsect1><para>
3556 #: apt-config.8.xml apt-extracttemplates.1.xml apt-sortpkgs.1.xml
3557 #: apt-ftparchive.1.xml
3561 #. type: Content of: <refentry><refsect1><para>
3564 "<command>apt-config</command> returns zero on normal operation, decimal 100 "
3567 "<command>apt-config</command> は正常終了時に 0 を返します。エラー時には十進"
3570 #. type: Content of: <refentry><refentryinfo><author><contrib>
3572 msgid "Initial documentation of Debug::*."
3573 msgstr "Debug::* に関する最初のドキュメント"
3575 #. type: Content of: <refentry><refentryinfo><author><email>
3577 msgid "dburrows@debian.org"
3578 msgstr "dburrows@debian.org"
3580 #. type: Content of: <refentry><refmeta><manvolnum>
3581 #: apt.conf.5.xml apt_preferences.5.xml sources.list.5.xml
3585 #. type: Content of: <refentry><refnamediv><refpurpose>
3587 msgid "Configuration file for APT"
3588 msgstr "APT の設定ファイル"
3590 #. type: Content of: <refentry><refsect1><para>
3593 "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
3594 "by all the tools in the APT suite of tools, though it is by no means the "
3595 "only place options can be set. The suite also shares a common command line "
3596 "parser to provide a uniform environment."
3598 "<filename>/etc/apt/apt.conf</filename> は、APT スイートの全ツールで使用するメ"
3599 "イン設定ファイルです。しかし、間違いなくオプションを設定しておくだけの場所な"
3600 "どではありません。そのため、APT スイートは統一環境を提供するため、共通のコマ"
3603 #. type: Content of: <refentry><refsect1><orderedlist><para>
3606 "When an APT tool starts up it will read the configuration files in the "
3608 msgstr "APT ツールの起動時に、設定ファイルを以下の順番で読み込みます。"
3610 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3613 "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
3615 msgstr "<envar>APT_CONFIG</envar> 環境変数で指定したファイル (存在する場合)"
3617 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3620 "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
3621 "order which have either no or \"<literal>conf</literal>\" as filename "
3622 "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
3623 "and period (.) characters. Otherwise APT will print a notice that it has "
3624 "ignored a file, unless that file matches a pattern in the <literal>Dir::"
3625 "Ignore-Files-Silently</literal> configuration list - in which case it will "
3626 "be silently ignored."
3628 "<literal>Dir::Etc::Parts</literal> にあるすべてのファイルを英数字の昇順になり"
3629 "ます。ファイル名には拡張子がないか、\"<literal>conf</literal>\" となってお"
3630 "り、英数字、ハイフン (-)、アンダースコア (_)、ピリオド (.) で構成されていま"
3631 "す。そうでなければ、<literal>Dir::Ignore-Files-Silently</literal> 設定リスト"
3632 "のパターンに一致するもの以外に対して、ファイルを無視するという注意を APT が出"
3633 "力します。一致する場合は黙って無視します。"
3635 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3638 "the main configuration file specified by <literal>Dir::Etc::main</literal>"
3639 msgstr "<literal>Dir::Etc::Main</literal> で指定される、メイン設定ファイル"
3641 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3644 "all options set in the binary specific configuration subtree are moved into "
3645 "the root of the tree."
3647 "バイナリ固有の設定サブツリーに設定されたすべてのオプションは、ツリーのルート"
3650 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3653 "the command line options are applied to override the configuration "
3654 "directives or to load even more configuration files."
3656 "コマンドラインオプションにより、設定ディレクティブの上書きや設定ファイルの追"
3659 #. type: Content of: <refentry><refsect1><title>
3664 #. type: Content of: <refentry><refsect1><para>
3667 "The configuration file is organized in a tree with options organized into "
3668 "functional groups. Option specification is given with a double colon "
3669 "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
3670 "within the APT tool group, for the Get tool. Options do not inherit from "
3671 "their parent groups."
3673 "設定ファイルは、機能グループごとに系統立てられたオプションを木構造で表しま"
3674 "す。オプションの指定は、2 つのコロンで区切ります。例えば <literal>APT::Get::"
3675 "Assume-Yes</literal> は、APT ツールグループの Get ツール用オプションです。オ"
3676 "プションは、親グループからは継承しません。"
3678 #. type: Content of: <refentry><refsect1><para>
3681 "Syntactically the configuration language is modeled after what the ISC tools "
3682 "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
3683 "treated as comments (ignored), as well as all text between <literal>/*</"
3684 "literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
3685 "of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The "
3686 "quotation marks and trailing semicolon are required. The value must be on "
3687 "one line, and there is no kind of string concatenation. Values must not "
3688 "include backslashes or extra quotation marks. Option names are made up of "
3689 "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
3690 "opened with curly braces, like this:"
3692 "設定言語の構文は、bind や dhcp のような ISC ツールをモデルにしています。"
3693 "<literal>//</literal> で始まる行はコメントとして扱われます (無視)。同様に C/C"
3694 "++ のコメントのような <literal>/*</literal> と <literal>*/</literal> の間もコ"
3695 "メントとして扱います。いずれの行も、<literal>APT::Get::Assume-Yes \"true\";</"
3696 "literal> のような形式です。引用符と行末のセミコロンは必須です。値は1行でなけ"
3697 "ればならず、文字列結合はありません。値の中にバックスラッシュや余計な引用符が"
3698 "あってはいけません。オプション名は、英数字と \"/-:._+\" が使用できます。以下"
3699 "のように波カッコを使うと、新しいスコープを開くことができます。"
3701 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
3707 " Assume-Yes \"true\";\n"
3708 " Fix-Broken \"true\";\n"
3714 " Assume-Yes \"true\";\n"
3715 " Fix-Broken \"true\";\n"
3719 #. type: Content of: <refentry><refsect1><para>
3722 "with newlines placed to make it more readable. Lists can be created by "
3723 "opening a scope and including a single string enclosed in quotes followed by "
3724 "a semicolon. Multiple entries can be included, separated by a semicolon."
3726 "また適宜改行することで、より読みやすくなります。リストは、開いたスコープ、"
3727 "クォートで囲まれた 1 単語、そしてセミコロンと続けることで作成できます。セミコ"
3728 "ロンで区切って、複数のエントリを表せます。"
3730 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
3733 msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
3734 msgstr "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
3736 #. type: Content of: <refentry><refsect1><para>
3739 "In general the sample configuration file &configureindex; is a good guide "
3740 "for how it should look."
3742 "&configureindex; は一般的な設定ファイルのサンプルです。どのように設定するか参"
3745 #. type: Content of: <refentry><refsect1><para>
3748 "Case is not significant in names of configuration items, so in the previous "
3749 "example you could use <literal>dpkg::pre-install-pkgs</literal>."
3751 "設定項目の名前にある文字の大小は、重要ではありません。そのため、前述の例を "
3752 "<literal>dpkg::pre-install-pkgs</literal> とすることもできます。"
3754 #. type: Content of: <refentry><refsect1><para>
3757 "Names for the configuration items are optional if a list is defined as can "
3758 "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
3759 "you don't specify a name a new entry will simply add a new option to the "
3760 "list. If you specify a name you can override the option in the same way as "
3761 "any other option by reassigning a new value to the option."
3763 "前述した <literal>DPkg::Pre-Install-Pkgs</literal> の例で見られるように、リス"
3764 "トを定義した場合、設定項目名はオプションになります。名前を指定しない場合、新"
3765 "しいエントリは、単純に新しいオプションをリストに追加します。名前を指定して同"
3766 "様にすると、あらゆる他の選択肢をオプションに再割り当てし、オプションを上書き"
3769 #. type: Content of: <refentry><refsect1><para>
3772 "Two special commands are defined: <literal>#include</literal> (which is "
3773 "deprecated and not supported by alternative implementations) and "
3774 "<literal>#clear</literal>. <literal>#include</literal> will include the "
3775 "given file, unless the filename ends in a slash, in which case the whole "
3776 "directory is included. <literal>#clear</literal> is used to erase a part of "
3777 "the configuration tree. The specified element and all its descendants are "
3778 "erased. (Note that these lines also need to end with a semicolon.)"
3780 "<literal>#include</literal> (これは廃止予定でサポートしない他の実装もありま"
3781 "す) と <literal>#clear</literal> の 2 つの特別なコマンドがあります。"
3782 "<literal>#include</literal> は指定したファイルを取り込みます。ファイル名がス"
3783 "ラッシュで終わった場合には、そのディレクトリをすべて取り込みます。"
3784 "<literal>#clear</literal> は、設定ツリーの一部を削除するのに使用します。指定"
3785 "した要素と、それ以下の要素を削除します (これらの行も、セミコロンで終わる必要"
3788 #. type: Content of: <refentry><refsect1><para>
3791 "The <literal>#clear</literal> command is the only way to delete a list or a "
3792 "complete scope. Reopening a scope (or using the syntax described below with "
3793 "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
3794 "previously written entries. Options can only be overridden by addressing a "
3795 "new value to them - lists and scopes can't be overridden, only cleared."
3797 "<literal>#clear</literal> コマンドは、リストや完全なスコープを削除する唯一の"
3798 "方法です。スコープの再オープン (や後述する <literal>::</literal> スタイル)"
3799 "は、それまで書いたエントリを<emphasis>上書きしません</emphasis>。オプションで"
3800 "は新しい値を与えて上書きするしかありませんが、リストやスコープは上書きできま"
3803 #. type: Content of: <refentry><refsect1><para>
3806 "All of the APT tools take an -o option which allows an arbitrary "
3807 "configuration directive to be specified on the command line. The syntax is a "
3808 "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
3809 "followed by an equals sign then the new value of the option. To append a new "
3810 "element to a list, add a trailing <literal>::</literal> to the name of the "
3811 "list. (As you might suspect, the scope syntax can't be used on the command "
3814 "すべての APT ツールでは、コマンドラインで任意の設定ディレクティブを指定でき"
3815 "る -o オプションが使用できます。構文は、完全なオプション名 (例: "
3816 "<literal>APT::Get::Assume-Yes</literal>) に続き等号、その後オプションの新しい"
3817 "値となります。リスト名に続き <literal>::</literal> を加えることで、リストを追"
3818 "加できます (疑問に思われたように、スコープ構文はコマンドラインで使用できませ"
3821 #. type: Content of: <refentry><refsect1><para>
3824 "Note that appending items to a list using <literal>::</literal> only works "
3825 "for one item per line, and that you should not use it in combination with "
3826 "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
3827 "syntaxes together will trigger a bug which some users unfortunately depend "
3828 "on: an option with the unusual name \"<literal>::</literal>\" which acts "
3829 "like every other option with a name. This introduces many problems; for one "
3830 "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
3831 "syntax in the hope of appending to a list will achieve the opposite, as only "
3832 "the last assignment for this option \"<literal>::</literal>\" will be used. "
3833 "Future versions of APT will raise errors and stop working if they encounter "
3834 "this misuse, so please correct such statements now while APT doesn't "
3835 "explicitly complain about them."
3837 "<literal>::</literal> を用いたリストへの項目追加は、1 行で 1 項目の場合にのみ"
3838 "使用でき、スコープ構文と組み合わせるべきではないことに注意してください (ス"
3839 "コープ構文には暗黙で <literal>::</literal> が追加されます)。両方の構文を同時"
3840 "に使用すると、「他のオプションと同様に名前と共に動作する、通常ではありえない"
3841 "名前 \"<literal>::</literal>\" のオプションである」といった、(残念なことに) "
3842 "複数のユーザに渡るバグの引き金になります。たくさんの問題の中には、リストに追"
3843 "加しようと<emphasis>誤った</emphasis>構文で複数行書いたユーザが、このオプショ"
3844 "ン \"<literal>::</literal>\" を最後に割り当てようとして、正反対の結果を得ると"
3845 "いうことも含まれます。APT の次期バージョンでは、この誤用を検出すると、動作を"
3846 "停止しエラーを上げるようになります。そのため、APT がこの件で明白にエラーを吐"
3847 "かない限りは、自分でそのような構文を修正してください。"
3849 #. type: Content of: <refentry><refsect1><title>
3851 msgid "The APT Group"
3854 #. type: Content of: <refentry><refsect1><para>
3857 "This group of options controls general APT behavior as well as holding the "
3858 "options for all of the tools."
3860 "このオプショングループは、ツール全体に影響のある、一般的な APT の振る舞いを制"
3863 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3866 "System Architecture; sets the architecture to use when fetching files and "
3867 "parsing package lists. The internal default is the architecture apt was "
3870 "システムアーキテクチャ - ファイルを取得したり、パッケージリストを解析するとき"
3871 "に使用するアーキテクチャをセットします。内部でのデフォルトは、apt をコンパイ"
3874 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3877 "All Architectures the system supports. For instance, CPUs implementing the "
3878 "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
3879 "instruction set are also able to execute binaries compiled for the "
3880 "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
3881 "is used when fetching files and parsing package lists. The initial default "
3882 "is always the system's native architecture (<literal>APT::Architecture</"
3883 "literal>), and foreign architectures are added to the default list when they "
3884 "are registered via <command>dpkg --add-architecture</command>."
3886 "システムがサポートする、すべてのアーキテクチャです。例えば、<literal>amd64</"
3887 "literal> (<literal>x86-64</literal> とも呼ばれます) 命令セットを実装した CPU "
3888 "は、<literal>i386</literal> (<literal>x86</literal>) 命令セット用にコンパイル"
3889 "されたバイナリも実行できます。このリストは、ファイルを取得しパッケージリスト"
3890 "を解析する際に利用されます。初期のデフォルト値は、常にシステムのネイティブ"
3891 "アーキテクチャ (<literal>APT::Architecture</literal>) です。<command>dpkg --"
3892 "add-architecture</command> を用いて、外部アーキテクチャをデフォルトリストに追"
3895 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3898 "This scope defines which compression formats are supported, how compression "
3899 "and decompression can be performed if support for this format isn't built "
3900 "into apt directly and a cost-value indicating how costly it is to compress "
3901 "something in this format. As an example the following configuration stanza "
3902 "would allow apt to download and uncompress as well as create and store files "
3903 "with the low-cost <literal>.reversed</literal> file extension which it will "
3904 "pass to the command <command>rev</command> without additional commandline "
3905 "parameters for compression and uncompression:"
3908 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><informalexample><programlisting>
3912 "APT::Compressor::rev {\n"
3914 "\tExtension \".reversed\";\n"
3915 "\tBinary \"rev\";\n"
3916 "\tCompressArg {};\n"
3917 "\tUncompressArg {};\n"
3922 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3925 "List of all build profiles enabled for build-dependency resolution, without "
3926 "the \"<literal>profile.</literal>\" namespace prefix. By default this list "
3927 "is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by &dpkg-"
3928 "buildpackage; overrides the list notation."
3930 "構築依存の解決にあたって有効になっているビルドプロファイルを名前空間の"
3931 "「<literal>profile.</literal>」接頭辞を取り除いたもの全ての一覧です。デフォル"
3932 "トではこの一覧は空です。&dpkg-buildpackage; で利用される "
3933 "<envar>DEB_BUILD_PROFILES</envar> はこの一覧よりも優先されます。"
3935 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3938 "Default release to install packages from if more than one version is "
3939 "available. Contains release name, codename or release version. Examples: "
3940 "'stable', 'testing', 'unstable', '&debian-stable-codename;', '&debian-"
3941 "testing-codename;', '4.0', '5.0*'. See also &apt-preferences;."
3943 "ひとつ以上のバージョンがある場合に、パッケージをインストールを行うデフォルト"
3944 "リリースです。リリース名や、コード名、リリースバージョンがあります。例えば "
3945 "'stable', 'testing', 'unstable', '&debian-stable-codename;', '&debian-"
3946 "testing-codename;', '4.0', '5.0*' となります。&apt-preferences; も参照してく"
3949 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3952 "Ignore held packages; this global option causes the problem resolver to "
3953 "ignore held packages in its decision making."
3955 "保留パッケージの無視 - このグローバルオプションは、問題解決器に保留と指定した"
3958 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3961 "Defaults to on. When turned on the autoclean feature will remove any "
3962 "packages which can no longer be downloaded from the cache. If turned off "
3963 "then packages that are locally installed are also excluded from cleaning - "
3964 "but note that APT provides no direct means to reinstall them."
3966 "デフォルトで有効です。on の時、autoclean 機能は、ダウンロードできなくなった"
3967 "パッケージを、すべてキャッシュから削除します。off の場合、ローカルにインス"
3968 "トールされているパッケージは、削除対象から外します。しかし、 APT はキャッシュ"
3969 "から削除したパッケージの再インストール方法を、直接提供するわけではないことに"
3972 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3975 "Defaults to on, which will cause APT to install essential and important "
3976 "packages as soon as possible in an install/upgrade operation, in order to "
3977 "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
3978 "treats an important package in the same way as an extra package: between the "
3979 "unpacking of the package A and its configuration there can be many other "
3980 "unpack or configuration calls for other unrelated packages B, C etc. If "
3981 "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
3982 "scripts generate an error), this results in a system state in which package "
3983 "A is unpacked but unconfigured - so any package depending on A is now no "
3984 "longer guaranteed to work, as its dependency on A is no longer satisfied."
3986 "デフォルトは on です。&dpkg; の呼び出し失敗の影響を最小限にするため、インス"
3987 "トール・更新操作の中で、APT は不可欠パッケージや重要パッケージを、可能な限り"
3988 "早くインストールするようになります。このオプションを無効にすると、以下のよう"
3989 "に、重要パッケージを特別パッケージと同様に扱うようになります。パッケージ A の"
3990 "展開とその設定の間に、パッケージ B や C などの関係ない、たくさんの他のパッ"
3991 "ケージの展開と設定が行えます。&dpkg; の呼び出しに失敗した場合 (例: パッケー"
3992 "ジ B のメンテナスクリプトでエラー発生)、システムの状態は、パッケージ A は展開"
3993 "したが未設定になります。そのため、A に依存したパッケージの動作が保証されなく"
3994 "なり、A への依存関係は、もう満たせません。"
3996 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3999 "The immediate configuration marker is also applied in the potentially "
4000 "problematic case of circular dependencies, since a dependency with the "
4001 "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
4002 "to recognise a situation in which it is unable to perform immediate "
4003 "configuration, abort, and suggest to the user that the option should be "
4004 "temporarily deactivated in order to allow the operation to proceed. Note "
4005 "the use of the word \"theory\" here; in the real world this problem has "
4006 "rarely been encountered, in non-stable distribution versions, and was caused "
4007 "by wrong dependencies of the package in question or by a system in an "
4008 "already broken state; so you should not blindly disable this option, as the "
4009 "scenario mentioned above is not the only problem it can help to prevent in "
4012 "即時 (immediate) フラグは事前依存関係と等価なため、即時設定マーカも潜在的に、"
4013 "循環依存関係の問題に対して適用されます。理論上 APT は、即時設定不能と認識し、"
4014 "中断し、操作を継続するためにこのオプションを一時的に無効にするよう提案できま"
4015 "す。ここで言う「理論上」という言葉に注意してください。現実世界では、安定版で"
4016 "はないバージョンでも、この問題にはほとんど遭遇していませんし、問題のパッケー"
4017 "ジの依存関係が誤っているか、システムの状態がすでに破損している場合に発生して"
4018 "いました。そのため、盲目的にこのオプションを無効にするべきではありません。前"
4019 "述のシナリオを解決する方法の、1つにしかすぎないのです。"
4021 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4024 "Before a big operation like <literal>dist-upgrade</literal> is run with this "
4025 "option disabled you should try to explicitly <literal>install</literal> the "
4026 "package APT is unable to configure immediately; but please make sure you "
4027 "also report your problem to your distribution and to the APT team with the "
4028 "buglink below, so they can work on improving or correcting the upgrade "
4031 "このオプションを無効にして <literal>dist-upgrade</literal> のような大きな操作"
4032 "を実行する前に、パッケージに <literal>install</literal> を明示して、即時設定"
4033 "が行われないようにするべきです。ですが、動作の改善とアップグレードプロセスの"
4034 "修正のため、以下のバグリンクから、問題をディストリビューションと APT チームに"
4037 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4040 "Never enable this option unless you <emphasis>really</emphasis> know what "
4041 "you are doing. It permits APT to temporarily remove an essential package to "
4042 "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
4043 "essential packages. <emphasis>Such a loop should never exist and is a grave "
4044 "bug</emphasis>. This option will work if the essential packages are not "
4045 "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
4046 "<command>dpkg</command>, <command>dash</command> or anything that those "
4047 "packages depend on."
4049 "何をしようとしているのか<emphasis>本当に</emphasis>判っているのでなければ、絶"
4050 "対にこのオプションを有効にしないでください。不可欠 (essential) パッケージ同士"
4051 "で、競合 (Conflicts) /競合や競合/事前依存 (Pre-Depend) のループに落ち込んだと"
4052 "きに、不可欠パッケージを一時的に削除してループを抜けられるようにします。"
4053 "<emphasis>そんなループはあり得ないはずで、あるとすれば重大なバグです。</"
4054 "emphasis>このオプションは、<command>tar</command>, <command>gzip</command>, "
4055 "<command>libc</command>, <command>dpkg</command>, <command>dash</command> と"
4056 "それらが依存しているパッケージ以外の不可欠パッケージで動作します。"
4058 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4061 "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
4062 "the available information. <literal>Cache-Start</literal> acts as a hint of "
4063 "the size the cache will grow to, and is therefore the amount of memory APT "
4064 "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
4065 "that this amount of space needs to be available for APT; otherwise it will "
4066 "likely fail ungracefully, so for memory restricted devices this value should "
4067 "be lowered while on systems with a lot of configured sources it should be "
4068 "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
4069 "of 1048576 (~1 MB) how much the cache size will be increased in the event "
4070 "the space defined by <literal>Cache-Start</literal> is not enough. This "
4071 "value will be applied again and again until either the cache is big enough "
4072 "to store all information or the size of the cache reaches the <literal>Cache-"
4073 "Limit</literal>. The default of <literal>Cache-Limit</literal> is 0 which "
4074 "stands for no limit. If <literal>Cache-Grow</literal> is set to 0 the "
4075 "automatic growth of the cache is disabled."
4077 "APT は、バージョン 0.7.26 から、利用できる情報を格納するため、サイズ可変なメ"
4078 "モリマップキャッシュファイルを使用します。<literal>Cache-Start</literal> は、"
4079 "キャッシュサイズが増大していくヒントとして動作し、従って APT が起動時に要求す"
4080 "るメモリ量です。デフォルト値は、20971520 バイト (~20 MB) です。この領域の量"
4081 "が、APT に利用可能になっている必要があることに注意してください。そうでなけれ"
4082 "ば、無様に失敗することになります。そのため、メモリに制限のあるデバイスで、た"
4083 "くさんのソースが設定され、それが増加していくシステムでは、この値をより低くし"
4084 "ておくべきです。<literal>Cache-Grow</literal> は、<literal>Cache-Start</"
4085 "literal> が足りなくなったという領域定義イベントにより、どの程度キャッシュサイ"
4086 "ズを増加させるかを、バイト数で定義します。デフォルトは 1048576 (~1 MB) です。"
4087 "この値は全情報を格納できる量になるか、<literal>Cache-Limit</literal> に達する"
4088 "まで、繰り返し適用されます。<literal>Cache-Limit</literal> のデフォルトは 0 "
4089 "で、無制限です。<literal>Cache-Grow</literal> に 0 をセットすると、キャッシュ"
4092 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4094 msgid "Defines which packages are considered essential build dependencies."
4095 msgstr "構築依存関係で不可欠なパッケージを定義します。"
4097 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4100 "The Get subsection controls the &apt-get; tool; please see its documentation "
4101 "for more information about the options here."
4103 "Get サブセクションは &apt-get; ツールを制御します。このオプションの詳細は "
4104 "&apt-get; の文書を参照してください。"
4106 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4109 "The Cache subsection controls the &apt-cache; tool; please see its "
4110 "documentation for more information about the options here."
4112 "Cache サブセクションは &apt-cache; ツールを制御します。このオプションの詳細"
4113 "は &apt-cache; の文書を参照してください。"
4115 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4118 "The CDROM subsection controls the &apt-cdrom; tool; please see its "
4119 "documentation for more information about the options here."
4121 "CDROM サブセクションは &apt-cdrom; ツールを制御します。このオプションの詳細"
4122 "は &apt-cdrom; の文書を参照してください。"
4124 #. type: Content of: <refentry><refsect1><title>
4126 msgid "The Acquire Group"
4127 msgstr "Acquire グループ"
4129 #. type: Content of: <refentry><refsect1><para>
4132 "The <literal>Acquire</literal> group of options controls the download of "
4133 "packages as well as the various \"acquire methods\" responsible for the "
4134 "download itself (see also &sources-list;)."
4136 "オプションの <literal>Acquire</literal> グループは、パッケージのダウンロード"
4137 "やダウンロードに関して責任を持つ、様々な「取得 (acquire) 方法」 を制御します "
4138 "(&sources-list; も参照)。"
4140 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4143 "Security related option defaulting to true, as giving a Release file's "
4144 "validation an expiration date prevents replay attacks over a long timescale, "
4145 "and can also for example help users to identify mirrors that are no longer "
4146 "updated - but the feature depends on the correctness of the clock on the "
4147 "user system. Archive maintainers are encouraged to create Release files with "
4148 "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
4149 "value is desired the <literal>Max-ValidTime</literal> option below can be "
4150 "used. The <option>Check-Valid-Until</option> option of &sources-list; "
4151 "entries should be preferred to disable the check selectively instead of "
4152 "using this global override."
4154 "セキュリティ関連のオプションで、デフォルトは true です。Release ファイルの有"
4155 "効期限検証により、長期間のリプレイ攻撃を防ぎます。さらに、例えばユーザが、も"
4156 "う更新されないミラーサイトを識別するのを支援します。しかしこの機能は、ユーザ"
4157 "のシステム時計が正確であることに依存しています。アーカイブメンテナは、"
4158 "<literal>Valid-Until</literal> ヘッダがある Release ファイルを作成するよう推"
4159 "奨されていますが、このヘッダを付与しない、またはより厳密な値が必要な場合、以"
4160 "下の <literal>Max-ValidTime</literal> オプションを使用できます。&sources-"
4161 "list; エントリの <option>Check-Valid-Until</option> オプションは、グローバル"
4162 "オーバーライドを使う代わりに選択的にチェックを無効にすることが好ましいです。"
4164 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4167 "Maximum time (in seconds) after its creation (as indicated by the "
4168 "<literal>Date</literal> header) that the <filename>Release</filename> file "
4169 "should be considered valid. If the Release file itself includes a "
4170 "<literal>Valid-Until</literal> header the earlier date of the two is used as "
4171 "the expiration date. The default value is <literal>0</literal> which stands "
4172 "for \"valid forever\". Archive specific settings can be made by appending "
4173 "the label of the archive to the option name. Preferably, the same can be "
4174 "achieved for specific &sources-list; entries by using the <option>Valid-"
4175 "Until-Max</option> option there."
4177 "<filename>Release</filename> ファイルを作成してから (<literal>Date</literal> "
4178 "ヘッダ)、有効であるとみなせる最大時間 (秒数) です。Release ファイル自体に "
4179 "<literal>Valid-Until</literal> ヘッダがある場合、その 2 つのうち、より早い日"
4180 "付が有効期間として使用されます。デフォルト値は <literal>0</literal> で「無期"
4181 "限」を表します。オプション名にアーカイブのラベルを付与することで、アーカイブ"
4182 "固有の設定を作成できます。または、<option>Valid-Until-Max</option> オプション"
4183 "を使用して特定の &sources-list; エントリで同じことを達成できます。"
4185 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4188 "Minimum time (in seconds) after its creation (as indicated by the "
4189 "<literal>Date</literal> header) that the <filename>Release</filename> file "
4190 "should be considered valid. Use this if you need to use a seldom updated "
4191 "(local) mirror of a more frequently updated archive with a <literal>Valid-"
4192 "Until</literal> header instead of completely disabling the expiration date "
4193 "checking. Archive specific settings can and should be used by appending the "
4194 "label of the archive to the option name. Preferably, the same can be "
4195 "achieved for specific &sources-list; entries by using the <option>Valid-"
4196 "Until-Min</option> option there."
4198 "<filename>Release</filename> ファイルを作成してから (<literal>Date</literal> "
4199 "ヘッダ)、有効であるとみなせる最小時間 (秒数) です。<literal>Valid-Until</"
4200 "literal> がある頻繁に更新されるアーカイブの、ほとんど更新されない (ローカル) "
4201 "ミラーを使用する場合に、完全に有効期限チェックを無効にする代わりに使用してく"
4202 "ださい。オプション名にアーカイブのラベルを付与することで、アーカイブ固有の設"
4203 "定を作成できます。または、<option>Valid-Until-Min</option> オプションを使用し"
4204 "て特定の &sources-list; エントリで同じことを達成できます。"
4206 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4209 "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
4210 "<filename>Packages</filename> files) instead of downloading whole ones. True "
4211 "by default. Preferably, this can be set for specific &sources-list; entries "
4212 "or index files by using the <option>PDiffs</option> option there."
4214 "(<filename>Packages</filename> のような) インデックス全体をダウンロードするの"
4215 "ではなく、<literal>PDiffs</literal> と呼ばれる差分をダウンロードしようとしま"
4216 "す。デフォルトでは True です。または、<option>PDiffs</option> オプションを使"
4217 "用して特定の &sources-list; エントリまたはインデックスファイルでこれを設定で"
4220 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4223 "Two sub-options to limit the use of PDiffs are also available: "
4224 "<literal>FileLimit</literal> can be used to specify a maximum number of "
4225 "PDiff files should be downloaded to update a file. <literal>SizeLimit</"
4226 "literal> on the other hand is the maximum percentage of the size of all "
4227 "patches compared to the size of the targeted file. If one of these limits is "
4228 "exceeded the complete file is downloaded instead of the patches."
4230 "PDiffs の使用を制限するふたつのサブオプションがあります。<literal>FileLimit</"
4231 "literal> では、ファイルを更新するのに、PDiff ファイルをダウンロードできる最大"
4232 "数を指定します。一方、<literal>SizeLimit</literal> は、対象ファイルのサイズに"
4233 "対して、全パッチサイズの最大パーセンテージを指定します。どちらの制限を超えて"
4234 "も、パッチをダウンロードする代わりに、完全なファイルをダウンロードします。"
4236 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4239 "Try to download indexes via an URI constructed from a hashsum of the "
4240 "expected file rather than downloaded via a well-known stable filename. True "
4241 "by default, but automatically disabled if the source indicates no support "
4242 "for it. Usage can be forced with the special value \"force\". Preferably, "
4243 "this can be set for specific &sources-list; entries or index files by using "
4244 "the <option>By-Hash</option> option there."
4246 "(<filename>Packages</filename> のような) インデックス全体をダウンロードするの"
4247 "ではなく、<literal>PDiffs</literal> と呼ばれる差分をダウンロードしようとしま"
4248 "す。デフォルトでは True です。または、<option>By-Hash</option> オプションを使"
4249 "用して特定の &sources-list; エントリまたはインデックスファイルでこれを設定で"
4252 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4255 "Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
4256 "literal> or <literal>access</literal> which determines how APT parallelizes "
4257 "outgoing connections. <literal>host</literal> means that one connection per "
4258 "target host will be opened, <literal>access</literal> means that one "
4259 "connection per URI type will be opened."
4261 "キューモード - <literal>Queue-Mode</literal> は、APT がどのように並列接続を行"
4262 "うか、<literal>host</literal> か <literal>access</literal> で指定できます。"
4263 "<literal>host</literal> は、ターゲットホストごとに 1 接続を開きます。"
4264 "<literal>access</literal> は、URI タイプごとに 1 接続を開きます。"
4266 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4269 "Number of retries to perform. If this is non-zero APT will retry failed "
4270 "files the given number of times."
4272 "リトライの回数を設定します。0 でない場合、APT は失敗したファイルに対して、与"
4273 "えられた回数だけリトライを行います。"
4275 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4278 "Use symlinks for source archives. If set to true then source archives will "
4279 "be symlinked when possible instead of copying. True is the default."
4281 "ソースアーカイブのシンボリックリンクを使用します。true がセットされていると"
4282 "き、可能ならコピーの代わりにシンボリックリンクを張ります。true がデフォルトで"
4285 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4288 "<literal>http::Proxy</literal> sets the default proxy to use for HTTP URIs. "
4289 "It is in the standard form of <literal>http://[[user][:pass]@]host[:port]/</"
4290 "literal>. Per host proxies can also be specified by using the form "
4291 "<literal>http::Proxy::<host></literal> with the special keyword "
4292 "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
4293 "settings is specified, <envar>http_proxy</envar> environment variable will "
4296 "<literal>http::Proxy</literal> には、HTTP URI で使用するデフォルトプロキシを"
4297 "設定します。<literal>http://[[user][:pass]@]host[:port]/</literal> という標準"
4298 "形で表します。ホストごとのプロキシを、<literal>http::Proxy::<host></"
4299 "literal> という形で指定できます。この時、プロキシを使用しないという意味の特殊"
4300 "キーワード <literal>DIRECT</literal> も使用できます。上記の設定をなにも指定し"
4301 "ないと、環境変数 <envar>http_proxy</envar> を使用します。"
4303 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4306 "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
4307 "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
4308 "response under any circumstances. <literal>Max-Age</literal> sets the "
4309 "allowed maximum age (in seconds) of an index file in the cache of the "
4310 "proxy. <literal>No-Store</literal> specifies that the proxy should not "
4311 "store the requested archive files in its cache, which can be used to prevent "
4312 "the proxy from polluting its cache with (big) .deb files."
4314 "HTTP/1.1 準拠のプロキシキャッシュの制御について 3 種類の設定があります。"
4315 "<literal>No-Cache</literal> はプロキシに対して、いかなる時もキャッシュを使用"
4316 "しないと伝えます。<literal>Max-Age</literal> は、プロキシのキャッシュにあるイ"
4317 "ンデックスファイルの最大利用期間 (秒) を設定します。<literal>No-Store</"
4318 "literal> は、リクエストしたアーカイブファイルを、プロキシがキャッシュに格納し"
4319 "ないように指定します。これにより (大きな) .deb ファイルでプロキシのキャッシュ"
4322 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4325 "The option <literal>timeout</literal> sets the timeout timer used by the "
4326 "method; this value applies to the connection as well as the data timeout."
4328 "<literal>timeout</literal> オプションは、この方法でのタイムアウトまでの時間を"
4329 "設定します。これには、接続のタイムアウトとデータのタイムアウトが含まれていま"
4332 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4335 "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
4336 "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial e."
4337 "g. on high-latency connections. It specifies how many requests are sent in a "
4338 "pipeline. APT tries to detect and workaround misbehaving webservers and "
4339 "proxies at runtime, but if you know that yours does not conform to the "
4340 "HTTP/1.1 specification pipelining can be disabled by setting the value to 0. "
4341 "It is enabled by default with the value 10."
4343 "<literal>Acquire::http::Pipeline-Depth</literal> の設定は、例えばレイテンシの"
4344 "高い接続で有益な HTTP パイプライン (RFC 2616 8.1.2.2 節) を有効にするのに使用"
4345 "できます。APT は、実行時の Web サーバやプロキシの不作法な振る舞いの検出と回避"
4346 "策を試します。しかし、HTTP/1.1 仕様に準拠していないことがわかっている場合は、"
4347 "値を 0 に設定することでパイプラインを無効にすることができます。これは、デフォ"
4348 "ルトで値 10 で有効になっています。"
4350 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4353 "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
4354 "follow redirects, which is enabled by default."
4356 "<literal>Acquire::http::AllowRedirect</literal> は APT がリダイレクトをたどる"
4357 "かどうかを制御します。デフォルトでは有効です。"
4359 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4362 "The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
4363 "literal> which accepts integer values in kilobytes per second. The default "
4364 "value is 0 which deactivates the limit and tries to use all available "
4365 "bandwidth. Note that this option implicitly disables downloading from "
4366 "multiple servers at the same time."
4368 "使用する帯域を制限するには、<literal>Acquire::http::Dl-Limit</literal> に秒あ"
4369 "たりのキロバイトで整数値を与えます。デフォルト値は 0 で、制限を解除し、使用で"
4370 "きる帯域をすべて使おうとします。このオプションは暗黙的に、同時に複数のサーバ"
4371 "からダウンロードしなくなることに注意してください。"
4373 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4376 "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
4377 "User-Agent for the http download method as some proxies allow access for "
4378 "clients only if the client uses a known identifier."
4380 "クライアントが既知の識別子を使用する場合にのみ、プロキシがアクセスを許可する"
4381 "場合、<literal>Acquire::http::User-Agent</literal> を使用して、http でダウン"
4382 "ロードするための、異なる User-Agent を設定できます。"
4384 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4387 "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
4388 "an external command to discover the http proxy to use. Apt expects the "
4389 "command to output the proxy on stdout in the style <literal>http://proxy:"
4390 "port/</literal>. This will override the generic <literal>Acquire::http::"
4391 "Proxy</literal> but not any specific host proxy configuration set via "
4392 "<literal>Acquire::http::Proxy::$HOST</literal>. See the &squid-deb-proxy-"
4393 "client; package for an example implementation that uses avahi. This option "
4394 "takes precedence over the legacy option name <literal>ProxyAutoDetect</"
4397 "<literal>Acquire::http::Proxy-Auto-Detect</literal> を使って利用する http プ"
4398 "ロキシを検出するための外部コマンドを指定できます。APT はコマンドが標準出力に "
4399 "<literal>http://proxy:port/</literal> 形式でプロキシを出力することを期待して"
4400 "います。これは全体を指定する <literal>Acquire::http::Proxy</literal> よりも優"
4401 "先されますが <literal>Acquire::http::Proxy::$HOST</literal> 経由でセットした"
4402 "特定のホストのプロキシ設定はこれよりも優先されます。avahi を利用する実装例に"
4403 "ついては &squid-deb-proxy-client; パッケージを見てください。このオプションは"
4404 "古い <literal>ProxyAutoDetect</literal> よりも優先されます。"
4406 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4409 "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
4410 "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
4411 "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
4412 "the <literal>http</literal> method, and default to the same values if they "
4413 "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
4416 "<literal>Cache-control</literal>, <literal>Timeout</literal>, "
4417 "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal>, "
4418 "<literal>proxy</literal> の各オプションは、HTTPS URI でも <literal>http</"
4419 "literal> メソッドと同様に動作します。また、明示的に値を指定しない場合のデフォ"
4420 "ルト値も同様です。<literal>Pipeline-Depth</literal> オプションはまだサポート"
4423 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4426 "<literal>CaInfo</literal> suboption specifies place of file that holds info "
4427 "about trusted certificates. <literal><host>::CaInfo</literal> is the "
4428 "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
4429 "suboption determines whether or not the server's host certificate should be "
4430 "verified against trusted certificates. <literal><host>::Verify-Peer</"
4431 "literal> is the corresponding per-host option. <literal>Verify-Host</"
4432 "literal> boolean suboption determines whether or not the server's hostname "
4433 "should be verified. <literal><host>::Verify-Host</literal> is the "
4434 "corresponding per-host option. <literal>SslCert</literal> determines what "
4435 "certificate to use for client authentication. <literal><host>::"
4436 "SslCert</literal> is the corresponding per-host option. <literal>SslKey</"
4437 "literal> determines what private key to use for client authentication. "
4438 "<literal><host>::SslKey</literal> is the corresponding per-host "
4439 "option. <literal>SslForceVersion</literal> overrides default SSL version to "
4440 "use. It can contain either of the strings '<literal>TLSv1</literal>' or "
4441 "'<literal>SSLv3</literal>'. <literal><host>::SslForceVersion</"
4442 "literal> is the corresponding per-host option."
4444 "<literal>CaInfo</literal> サブオプションは、信頼済み証明書情報の保持場所を指"
4445 "定します。<literal><host>::CaInfo</literal> は、同様のホストごとのオプ"
4446 "ションです。<literal>Verify-Peer</literal> 真偽値サブオプションは、信頼済み証"
4447 "明書に対してサーバのホスト証明書を、検証するかどうかを決定します。"
4448 "<literal><host>::Verify-Peer</literal> は、同様のホストごとのオプション"
4449 "です。<literal>Verify-Host</literal> 真偽値サブオプションは、サーバのホスト名"
4450 "を検証するかどうかを決定します。<literal><host>::Verify-Host</literal> "
4451 "は、同様のホストごとのオプションです。<literal>SslCert</literal> は、クライア"
4452 "ント認証に使用する証明書を決定します。<literal><host>::SslCert</"
4453 "literal> は、同様のホストごとのオプションです。<literal>SslKey</literal> は、"
4454 "クライアント認証に使用する秘密鍵を決定します。<literal><host>::SslKey</"
4455 "literal> は、同様のホストごとのオプションです。<literal>SslForceVersion</"
4456 "literal> は、デフォルトで使用する SSL のバージョンを上書きしま"
4457 "す。'<literal>TLSv1</literal>' か '<literal>SSLv3</literal>' という文字列を指"
4458 "定できます。<literal><host>::SslForceVersion</literal> は、同様のホスト"
4461 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4464 "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
4465 "It is in the standard form of <literal>ftp://[[user][:pass]@]host[:port]/</"
4466 "literal>. Per host proxies can also be specified by using the form "
4467 "<literal>ftp::Proxy::<host></literal> with the special keyword "
4468 "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
4469 "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
4470 "used. To use an FTP proxy you will have to set the <literal>ftp::ProxyLogin</"
4471 "literal> script in the configuration file. This entry specifies the commands "
4472 "to send to tell the proxy server what to connect to. Please see "
4473 "&configureindex; for an example of how to do this. The substitution "
4474 "variables representing the corresponding URI component are <literal>"
4475 "$(PROXY_USER)</literal>, <literal>$(PROXY_PASS)</literal>, <literal>"
4476 "$(SITE_USER)</literal>, <literal>$(SITE_PASS)</literal>, <literal>$(SITE)</"
4477 "literal> and <literal>$(SITE_PORT)</literal>."
4479 "<literal>ftp::Proxy</literal> は、FTP URI を使用する際のデフォルトプロキシを"
4480 "設定します。<literal>ftp://[[user][:pass]@]host[:port]/</literal> という標準"
4481 "形で表します。ホストごとのプロキシを、<literal>ftp::Proxy::<host></"
4482 "literal> という形で指定できます。この時、プロキシを使用しないという意味の特殊"
4483 "キーワード <literal>DIRECT</literal> も使用できます。上記の設定をなにも指定し"
4484 "ないと、環境変数 <envar>ftp_proxy</envar> を使用します。FTP プロキシを使用す"
4485 "るには、設定ファイルに <literal>ftp::ProxyLogin</literal> スクリプトを設定す"
4486 "る必要があります。このエントリには、接続する際にプロキシサーバに送信するコマ"
4487 "ンドを設定します。どのようにするのかは &configureindex; の例を参照してくださ"
4488 "い。URI を構成するコンポーネントに対応する置換変数は、<literal>"
4489 "$(PROXY_USER)</literal>, <literal>$(PROXY_PASS)</literal>, <literal>"
4490 "$(SITE_USER)</literal>, <literal>$(SITE_PASS)</literal>, <literal>$(SITE)</"
4491 "literal>, <literal>$(SITE_PORT)</literal> です。"
4493 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4496 "Several settings are provided to control passive mode. Generally it is safe "
4497 "to leave passive mode on; it works in nearly every environment. However, "
4498 "some situations require that passive mode be disabled and port mode FTP used "
4499 "instead. This can be done globally or for connections that go through a "
4500 "proxy or for a specific host (see the sample config file for examples)."
4502 "設定のいくつかは、パッシブモードを制御するものです。一般的に、パッシブモード"
4503 "のままにしておく方が安全で、ほぼどんな環境でも動作します。しかしある状況下で"
4504 "は、パッシブモードが無効のため、代わりにポートモード FTP を使用する必要があり"
4505 "ます。この設定は、プロキシを通る接続や特定のホストへの接続全般に有効です (設"
4506 "定例はサンプル設定ファイルを参照してください)。"
4508 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4511 "It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
4512 "envar> environment variable to an HTTP URL - see the discussion of the http "
4513 "method above for syntax. You cannot set this in the configuration file and "
4514 "it is not recommended to use FTP over HTTP due to its low efficiency."
4516 "環境変数 <envar>ftp_proxy</envar> に HTTP URL を指定すると FTP over HTTP のプ"
4517 "ロキシが利用可能になります。構文は前述の http についての説明を参照してくださ"
4518 "い。設定ファイルの中でこれをセットすることはできません。また、効率が悪いため "
4519 "FTP over HTTP を使用するのは推奨しません。"
4521 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4524 "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
4525 "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
4526 "false, which means these commands are only used if the control connection is "
4527 "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
4528 "that most FTP servers do not support RFC2428."
4530 "<literal>ForceExtended</literal> の設定は RFC2428 の <literal>EPSV</literal> "
4531 "コマンドと <literal>EPRT</literal> コマンドの使用を制御します。デフォルトで"
4532 "は false で、コントロールコネクションが IPv6 の時にのみ、このコマンドを使用す"
4533 "るということです。これを true にセットすると、IPv4 コネクションでも、強制的に"
4534 "このコマンドを使用します。ほとんどの FTP サーバは RFC2428 をサポートしていな"
4537 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
4540 msgid "/cdrom/::Mount \"foo\";"
4541 msgstr "/cdrom/::Mount \"foo\";"
4543 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4546 "For URIs using the <literal>cdrom</literal> method, the only configurable "
4547 "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
4548 "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
4549 "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
4550 "and unmount commands if your mount point cannot be listed in the fstab. The "
4551 "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
4552 "<literal>cdrom</literal> block. It is important to have the trailing slash. "
4553 "Unmount commands can be specified using UMount."
4555 "<literal>cdrom</literal> メソッドを利用する URI では、設定できるオプションは"
4556 "マウントポイントだけです。<filename>/etc/fstab</filename> で設定されているよ"
4557 "うに、CD-ROM (または DVD など) ドライブのマウントポイントを <literal>cdrom::"
4558 "Mount</literal> に設定しなければなりません。マウントポイントが fstab に記述で"
4559 "きない場合、かわりにマウント・アンマウントコマンドも使用できます。構文は、"
4560 "<literal>cdrom</literal> ブロックを <placeholder type=\"literallayout\" id="
4561 "\"0\"/> の形で記述します。スラッシュを後につけるのが重要です。アンマウントコ"
4562 "マンドは UMount で指定することができます。"
4564 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4567 "For GPGV URIs the only configurable option is <literal>gpgv::Options</"
4568 "literal>, which passes additional parameters to gpgv."
4570 "GPGV URI 用の唯一のオプションは、gpgv に渡す追加パラメータのオプションであ"
4571 "る、<literal>gpgv::Options</literal> です。"
4573 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
4576 msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
4577 msgstr "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
4579 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4583 #| "List of compression types which are understood by the acquire methods. "
4584 #| "Files like <filename>Packages</filename> can be available in various "
4585 #| "compression formats. By default the acquire methods can decompress "
4586 #| "<command>bzip2</command>, <command>lzma</command> and <command>gzip</"
4587 #| "command> compressed files; with this setting more formats can be added on "
4588 #| "the fly or the used method can be changed. The syntax for this is: "
4589 #| "<placeholder type=\"synopsis\" id=\"0\"/>"
4591 "List of compression types which are understood by the acquire methods. "
4592 "Files like <filename>Packages</filename> can be available in various "
4593 "compression formats. By default the acquire methods can decompress and "
4594 "recompress many common formats like <command>xz</command> and <command>gzip</"
4595 "command>; with this scope the supported formats can be queried, modified as "
4596 "well as support for more formats added (see also <option>APT::Compressor</"
4597 "option>). The syntax for this is: <placeholder type=\"synopsis\" id=\"0\"/>"
4599 "acquire メソッドが理解できる、圧縮法のリストです。<filename>Packages</"
4600 "filename> のようなファイルは、さまざまな圧縮形式が利用できます。デフォルトで"
4601 "は acquire メソッドは、<command>bzip2</command>, <command>lzma</command>, "
4602 "<command>gzip</command> で圧縮されたファイルを伸張できます。この設定では、よ"
4603 "り多くの形式を、オンザフライで追加したり、使用するメソッドで変更したりできま"
4604 "す。構文は以下のようになります。<placeholder type=\"synopsis\" id=\"0\"/>"
4606 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
4609 msgid "Acquire::CompressionTypes::Order:: \"gz\";"
4610 msgstr "Acquire::CompressionTypes::Order:: \"gz\";"
4612 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
4615 #| msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
4616 msgid "Acquire::CompressionTypes::Order { \"xz\"; \"gz\"; };"
4617 msgstr "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
4619 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4623 #| "Also, the <literal>Order</literal> subgroup can be used to define in "
4624 #| "which order the acquire system will try to download the compressed files. "
4625 #| "The acquire system will try the first and proceed with the next "
4626 #| "compression type in this list on error, so to prefer one over the other "
4627 #| "type simply add the preferred type first - default types not already "
4628 #| "added will be implicitly appended to the end of the list, so e.g. "
4629 #| "<placeholder type=\"synopsis\" id=\"0\"/> can be used to prefer "
4630 #| "<command>gzip</command> compressed files over <command>bzip2</command> "
4631 #| "and <command>lzma</command>. If <command>lzma</command> should be "
4632 #| "preferred over <command>gzip</command> and <command>bzip2</command> the "
4633 #| "configure setting should look like this: <placeholder type=\"synopsis\" "
4634 #| "id=\"1\"/> It is not needed to add <literal>bz2</literal> to the list "
4635 #| "explicitly as it will be added automatically."
4637 "Also, the <literal>Order</literal> subgroup can be used to define in which "
4638 "order the acquire system will try to download the compressed files. The "
4639 "acquire system will try the first and proceed with the next compression type "
4640 "in this list on error, so to prefer one over the other type simply add the "
4641 "preferred type first - types not already added will be implicitly appended "
4642 "to the end of the list, so e.g. <placeholder type=\"synopsis\" id=\"0\"/> "
4643 "can be used to prefer <command>gzip</command> compressed files over all "
4644 "other compression formats. If <command>xz</command> should be preferred "
4645 "over <command>gzip</command> and <command>bzip2</command> the configure "
4646 "setting should look like this: <placeholder type=\"synopsis\" id=\"1\"/> It "
4647 "is not needed to add <literal>bz2</literal> to the list explicitly as it "
4648 "will be added automatically."
4650 "また、<literal>Order</literal> サブグループを使用して、取得システムが、圧縮"
4651 "ファイルのダウンロードを試みる順番を定義できます。取得システムは先頭のものを"
4652 "試行し、エラーが発生すると次の圧縮タイプのダウンロードを開始します。そのた"
4653 "め、どれかを他のものより優先したい場合、単にそのタイプを先頭に追加してくださ"
4654 "い。まだ追加していないデフォルトタイプは、リストの最後に追加されます。つま"
4655 "り、<placeholder type=\"synopsis\" id=\"0\"/> とすると、<command>gzip</"
4656 "command> で圧縮されたファイルを <command>bzip2</command> や <command>lzma</"
4657 "command> よりも優先的に使用します。もし <command>lzma</command> を "
4658 "<command>gzip</command> や <command>bzip2</command> よりも優先するべきなら、"
4659 "設定を以下のようにしてください。<placeholder type=\"synopsis\" id=\"1\"/> "
4660 "<literal>bz2</literal> は自動的に追加されるため、明示する必要はありません。"
4662 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
4665 msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
4666 msgstr "Dir::Bin::bzip2 \"/bin/bzip2\";"
4668 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4672 #| "Note that the <literal>Dir::Bin::<replaceable>Methodname</replaceable></"
4673 #| "literal> will be checked at run time. If this option has been set, the "
4674 #| "method will only be used if this file exists; e.g. for the "
4675 #| "<literal>bzip2</literal> method (the inbuilt) setting is: <placeholder "
4676 #| "type=\"literallayout\" id=\"0\"/> Note also that list entries specified "
4677 #| "on the command line will be added at the end of the list specified in the "
4678 #| "configuration files, but before the default entries. To prefer a type in "
4679 #| "this case over the ones specified in the configuration files you can set "
4680 #| "the option direct - not in list style. This will not override the "
4681 #| "defined list; it will only prefix the list with this type."
4683 "Note that the <literal>Dir::Bin::<replaceable>Methodname</replaceable></"
4684 "literal> will be checked at run time. If this option has been set and "
4685 "support for this format isn't directly built into apt, the method will only "
4686 "be used if this file exists; e.g. for the <literal>bzip2</literal> method "
4687 "(the inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> "
4688 "Note also that list entries specified on the command line will be added at "
4689 "the end of the list specified in the configuration files, but before the "
4690 "default entries. To prefer a type in this case over the ones specified in "
4691 "the configuration files you can set the option direct - not in list style. "
4692 "This will not override the defined list; it will only prefix the list with "
4695 "実行時に <literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> "
4696 "をチェックすることに注意してください。このオプションが設定されていると、ファ"
4697 "イルがある場合に、この方法しか使われなくなります。例えば、bzip2 メソッド (内"
4698 "蔵) の設定は以下になります。<placeholder type=\"literallayout\" id=\"0\"/> ま"
4699 "た、コマンドラインに指定した一覧のエントリは設定ファイルに指定したものの後、"
4700 "デフォルトエントリの前に追加されることに注意してください。この場合、設定ファ"
4701 "イルに指定した内容よりも前に指定するには、オプションを直接 (一覧スタイルでな"
4702 "く) 指定してください。これにより定義された一覧が上書きされ、このタイプのもの"
4705 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4708 "The special type <literal>uncompressed</literal> can be used to give "
4709 "uncompressed files a preference, but note that most archives don't provide "
4710 "uncompressed files so this is mostly only useable for local mirrors."
4712 "特殊なタイプ <literal>uncompressed</literal> は、非圧縮ファイルを優先するため"
4713 "に使用できますが、ほとんどのアーカイブは非圧縮ファイルを提供しないため、ほと"
4714 "んどローカルミラーでのみ有効になることに注意してください。"
4716 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4719 "When downloading <literal>gzip</literal> compressed indexes (Packages, "
4720 "Sources, or Translations), keep them gzip compressed locally instead of "
4721 "unpacking them. This saves quite a lot of disk space at the expense of more "
4722 "CPU requirements when building the local package caches. False by default."
4724 "<literal>gzip</literal> 圧縮インデックス (Packages, Sources, Translations) を"
4725 "ダウンロードする際、ローカルで展開せずに、gzip で圧縮したままにします。これに"
4726 "より、かなりディスク領域を節約できますが、ローカルパッケージキャッシュを構築"
4727 "する際に、CPU の能力を余計に消費します。デフォルトでは false です。"
4729 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4732 "The Languages subsection controls which <filename>Translation</filename> "
4733 "files are downloaded and in which order APT tries to display the description-"
4734 "translations. APT will try to display the first available description in the "
4735 "language which is listed first. Languages can be defined with their short or "
4736 "long language codes. Note that not all archives provide "
4737 "<filename>Translation</filename> files for every language - the long "
4738 "language codes are especially rare."
4740 "Languages サブセクションは、<filename>Translation</filename> ファイルをダウン"
4741 "ロードし、APT が説明の翻訳を表示しようとする場合の挙動を制御します。APT はリ"
4742 "ストの先頭にある言語で、まず有効な説明を表示しようとします。Languages は 短い"
4743 "形式や長い形式の言語コードで、定義できます。すべてのアーカイブが、全言語の "
4744 "<filename>Translation</filename> ファイルを、提供しているわけではないことに注"
4745 "意してください。長い言語コードは特に見かけません。"
4747 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
4750 msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
4751 msgstr "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
4753 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4756 "The default list includes \"environment\" and \"en\". "
4757 "\"<literal>environment</literal>\" has a special meaning here: it will be "
4758 "replaced at runtime with the language codes extracted from the "
4759 "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
4760 "that these codes are not included twice in the list. If "
4761 "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
4762 "<filename>Translation-en</filename> file (if available) will be used. To "
4763 "force APT to use no Translation file use the setting <literal>Acquire::"
4764 "Languages=none</literal>. \"<literal>none</literal>\" is another special "
4765 "meaning code which will stop the search for a suitable "
4766 "<filename>Translation</filename> file. This tells APT to download these "
4767 "translations too, without actually using them unless the environment "
4768 "specifies the languages. So the following example configuration will result "
4769 "in the order \"en, de\" in an English locale or \"de, en\" in a German one. "
4770 "Note that \"fr\" is downloaded, but not used unless APT is used in a French "
4771 "locale (where the order would be \"fr, de, en\"). <placeholder type="
4772 "\"programlisting\" id=\"0\"/>"
4774 "デフォルトのリストには \"environment\" と \"en\" がありま"
4775 "す。\"<literal>environment</literal>\" はここでは特殊な意味があります。これは"
4776 "実行時に、<literal>LC_MESSAGES</literal> 環境変数から取得した言語コードに置換"
4777 "されます。また、このリストには、同じコードが2度現れないように確認してくださ"
4778 "い。<literal>LC_MESSAGES</literal> が \"C\" に設定されているだけの場合、"
4779 "<filename>Translation-en</filename> ファイルを (利用可能であれば) 使用しま"
4780 "す。強制的に APT が Translation ファイルを使用しないようにするには、"
4781 "<literal>Acquire::Languages=none</literal> と設定してくださ"
4782 "い。\"<literal>none</literal>\" はもうひとつの特殊な意味を持つコードで、適切"
4783 "な <filename>Translation</filename> ファイルの検索を中止します。環境から実際"
4784 "の言語を指定されなかった場合、この値を用いて APT に翻訳をダウンロードさせま"
4785 "す。そのため、以下の設定例では、英語ロケールの場合 \"en, de\" の順になり、ド"
4786 "イツ語ロケールの場合 \"de, en\" の順になります。\"fr\" はダウンロードされます"
4787 "が、フランス語ロケール (\"fr, de, en\" の順になる) でないと、APT が使用しない"
4788 "ことに注意してください。<placeholder type=\"programlisting\" id=\"0\"/>"
4790 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4793 "Note: To prevent problems resulting from APT being executed in different "
4794 "environments (e.g. by different users or by other programs) all Translation "
4795 "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
4796 "added to the end of the list (after an implicit \"<literal>none</literal>\")."
4798 "注意: 異なる環境 (例: 異なるユーザや他のプログラム) で APT を実行したことによ"
4799 "る問題を防ぐため、<filename>/var/lib/apt/lists/</filename> にあるすべての "
4800 "Translation ファイルを、リストの最後 (暗黙の \"<literal>none</literal>\" の"
4803 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4805 msgid "When downloading, force to use only the IPv4 protocol."
4806 msgstr "ダウンロード時に IPv4 プロトコルだけを使うように強制します。"
4808 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4810 msgid "When downloading, force to use only the IPv6 protocol."
4811 msgstr "ダウンロード時に IPv6 プロトコルだけを使うように強制します。"
4813 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4816 "The maximum file size of Release/Release.gpg/InRelease files. The default "
4819 "Release/Release.gpg/InRelease ファイルの最大ファイルサイズです。デフォルトは "
4822 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4825 "This option controls if apt will use the DNS SRV server record as specified "
4826 "in RFC 2782 to select an alternative server to connect to. The default is "
4829 "apt が 接続するための代替サーバを選択するために RFC 2782 で指定された DRS "
4830 "SRV サーバレコードを使う場合は、このオプションを制御します。デフォルトは "
4833 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4836 "Allow the update operation to load data files from a repository without a "
4837 "trusted signature. If enabled this option no data files will be loaded and "
4838 "the update operation fails with a error for this source. The default is "
4839 "false for backward compatibility. This will be changed in the future."
4841 "信頼された署名がないリポジトリからデータファイルをロードする更新操作を許可し"
4842 "ます。このオプションを有効にした場合は、データファイルはロードされず、更新処"
4843 "理はこの取得元からのエラーで失敗します。デフォルトは、下位互換性を維持するた"
4844 "めに無効です。これは将来的に変更されます。"
4846 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4849 "Allow that a repository that was previously gpg signed to become unsigned "
4850 "durign a update operation. When there is no valid signature of a previously "
4851 "trusted repository apt will refuse the update. This option can be used to "
4852 "override this protection. You almost certainly never want to enable this. "
4853 "The default is false. Note that apt will still consider packages from this "
4854 "source untrusted and warn about them if you try to install them."
4856 "以前に GPG 署名されたリポジトリが、更新操作中に署名なしにすることを許可しま"
4857 "す。以前に信頼されたリポジトリの有効な署名が存在しない場合、更新を拒否しま"
4858 "す。このオプションは、この保護を無効にするために使用することができます。ほぼ"
4859 "確実に、これを有効にすることはありません。デフォルトは無効です。apt は、まだ"
4860 "信頼されていないこの取得元からのパッケージを考慮するので、それをインストール"
4861 "しようとすると警告が表示されますので注意してください。"
4863 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4868 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4871 "Acquiring changelogs can only be done if an URI is known from where to get "
4872 "them. Preferable the Release file indicates this in a 'Changelogs' field. "
4873 "If this isn't available the Label/Origin field of the Release file is used "
4874 "to check if a <literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</"
4875 "replaceable></literal> or <literal>Acquire::Changelogs::URI::Origin::"
4876 "<replaceable>ORIGIN</replaceable></literal> option exists and if so this "
4877 "value is taken. The value in the Release file can be overridden with "
4878 "<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</"
4879 "replaceable></literal> or <literal>Acquire::Changelogs::URI::Override::"
4880 "Origin::<replaceable>ORIGIN</replaceable></literal>. The value should be a "
4881 "normal URI to a text file, except that package specific data is replaced "
4882 "with the placeholder <literal>@CHANGEPATH@</literal>. The value for it is: "
4883 "1. if the package is from a component (e.g. <literal>main</literal>) this "
4884 "is the first part otherwise it is omitted, 2. the first letter of source "
4885 "package name, except if the source package name starts with '<literal>lib</"
4886 "literal>' in which case it will be the first four letters. 3. The complete "
4887 "source package name. 4. the complete name again and 5. the source version. "
4888 "The first (if present), second, third and fourth part are separated by a "
4889 "slash ('<literal>/</literal>') and between the fourth and fifth part is an "
4890 "underscore ('<literal>_</literal>'). The special value '<literal>no</"
4891 "literal>' is available for this option indicating that this source can't be "
4892 "used to acquire changelog files from. Another source will be tried if "
4893 "available in this case."
4895 "URI は、それらを取得する場所から知られている場合は、変更履歴の取得のみ行うこ"
4896 "とができます。好ましいリリースファイルは、「変更履歴」フィールドでこのことを"
4897 "示します。これが利用できない場合、<literal>Acquire::Changelogs::URI::Label::"
4898 "<replaceable>LABEL</replaceable></literal> または <literal>Acquire::"
4899 "Changelogs::URI::Origin::<replaceable>ORIGIN</replaceable></literal> オプショ"
4900 "ンが存在し、そしてこの値が取られてる場合は、リリースファイルの Label/Origin "
4901 "フィールドが確認するために使用されます。リリースファイル内の値は、"
4902 "<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</"
4903 "replaceable></literal> または <literal>Acquire::Changelogs::URI::Override::"
4904 "Origin::<replaceable>ORIGIN</replaceable></literal> で上書きできます。その"
4905 "パッケージ固有のデータが <literal>@CHANGEPATH@</literal> プレースホルダに置き"
4906 "換えられている場合以外は、値はテキストファイルへの正常な URI にする必要があり"
4907 "ます。値は次の通りです: 1. パッケージがコンポーネント (例えば、"
4908 "<literal>main</literal>) からのものである場合、それ以外の場合は省略されている"
4909 "最初の部分です、2. ソースパッケージ名の最初の文字。ただし、ソースパッケージ名"
4910 "が '<literal>lib</literal>' で始まる場合を除きます (その場合は 最初の 4 文字"
4911 "になります)。3. 完全なソースパッケージ名。4. 再び完全な名前および 5. ソースの"
4912 "バージョン。(存在する場合は) 最初、第二、第三、第四の部分はスラッシュ "
4913 "('<literal>/</literal>') で区切られ、第四と第五の部分の間はアンダースコア "
4914 "('<literal>_</literal>') です。このソースから変更履歴を取得することができない"
4915 "ことを示す特別な値 '<literal>no</literal>' がこのオプションで利用可能です。こ"
4916 "の場合、可能であれば別のソースが試行されます。"
4918 #. type: Content of: <refentry><refsect1><title>
4920 msgid "Binary specific configuration"
4923 #. type: Content of: <refentry><refsect1><para>
4926 "Especially with the introduction of the <command>apt</command> binary it can "
4927 "be useful to set certain options only for a specific binary as even options "
4928 "which look like they would effect only a certain binary like <option>APT::"
4929 "Get::Show-Versions</option> effect <command>apt-get</command> as well as "
4930 "<command>apt</command>."
4932 "特に、<command>apt</command> のバイナリの導入では、<option>APT::Get::Show-"
4933 "Versions</option> が <command>apt</command> と同様に <command>apt-get</"
4934 "command> に効果を与えるように、特定のバイナリのみに影響を与えるように見えるオ"
4935 "プションであっても、特定のバイナリのために特定のオプションを設定することは有"
4938 #. type: Content of: <refentry><refsect1><para>
4941 "Setting an option for a specific binary only can be achieved by setting the "
4942 "option inside the <option>Binary::<replaceable>specific-binary</"
4943 "replaceable></option> scope. Setting the option <option>APT::Get::Show-"
4944 "Versions</option> for the <command>apt</command> only can e.g. by done by "
4945 "setting <option>Binary::apt::APT::Get::Show-Versions</option> instead."
4947 "特定のバイナリ用のオプション設定は、<option>Binary::<replaceable>specific-"
4948 "binary</replaceable></option> スコープ内でオプションを設定して達成することが"
4949 "できます。 <command>apt</command> 用の<option>APT::Get::Show-Versions</"
4950 "option> オプションの設定は、例えば、<option>Binary::apt::APT::Get::Show-"
4951 "Versions</option> 設定の代わりに実行されることができます。"
4953 #. type: Content of: <refentry><refsect1><para>
4956 "Note that as seen in the DESCRIPTION section further above you can't set "
4957 "binary-specific options on the commandline itself nor in configuration files "
4958 "loaded via the commandline."
4960 "さらに上記の説明の節に見られるように、コマンドライン上のオプション自体または"
4961 "コマンドラインからロードされた設定ファイル中でバイナリ固有のオプションを設定"
4964 #. type: Content of: <refentry><refsect1><title>
4969 #. type: Content of: <refentry><refsect1><para>
4972 "The <literal>Dir::State</literal> section has directories that pertain to "
4973 "local state information. <literal>lists</literal> is the directory to place "
4974 "downloaded package lists in and <literal>status</literal> is the name of the "
4975 "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
4976 "<filename>preferences</filename> file. <literal>Dir::State</literal> "
4977 "contains the default directory to prefix on all sub-items if they do not "
4978 "start with <filename>/</filename> or <filename>./</filename>."
4980 "<literal>Dir::State</literal> セクションは、ローカル状態情報に関するディレク"
4981 "トリを保持します。<literal>lists</literal> は、ダウンロードしたパッケージ一覧"
4982 "を格納するディレクトリで、<literal>status</literal> は &dpkg; の状態ファイル"
4983 "の名前を表します。<literal>preferences</literal> は APT の "
4984 "<filename>preferences</filename> ファイルの名前です。<literal>Dir::State</"
4985 "literal> には、<filename>/</filename> や <filename>./</filename> で始まらない"
4986 "サブアイテムすべてに、前に付加するデフォルトディレクトリを含んでいます。"
4988 #. type: Content of: <refentry><refsect1><para>
4991 "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
4992 "information, such as the two package caches <literal>srcpkgcache</literal> "
4993 "and <literal>pkgcache</literal> as well as the location to place downloaded "
4994 "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
4995 "be turned off by setting <literal>pkgcache</literal> or "
4996 "<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
4997 "down startup but save disk space. It is probably preferable to turn off the "
4998 "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
4999 "the default directory is contained in <literal>Dir::Cache</literal>"
5001 "<literal>Dir::Cache</literal> は、ローカルキャッシュ情報に関する場所を格納し"
5002 "ています。これは、ダウンロード済アーカイブの場所を示す <literal>Dir::Cache::"
5003 "archives</literal> と同様に、<literal>srcpkgcache</literal> と "
5004 "<literal>pkgcache</literal> のパッケージキャッシュの場所になります。"
5005 "<literal>pkgcache</literal> や <literal>srcpkgcache</literal> に <literal>"
5006 "\"\"</literal> をセットすることで、キャッシュの生成を無効にできます。これによ"
5007 "り起動時に遅くなりますが、ディスク容量を節約できます。おそらく、srcpkgcache "
5008 "よりも pkgcache を無効にすることが多いと思います。<literal>Dir::State</"
5009 "literal> と同様、<literal>Dir::Cache</literal> はデフォルトディレクトリを含ん"
5012 #. type: Content of: <refentry><refsect1><para>
5015 "<literal>Dir::Etc</literal> contains the location of configuration files, "
5016 "<literal>sourcelist</literal> gives the location of the sourcelist and "
5017 "<literal>main</literal> is the default configuration file (setting has no "
5018 "effect, unless it is done from the config file specified by "
5019 "<envar>APT_CONFIG</envar>)."
5021 "<literal>Dir::Etc</literal> は設定ファイルの場所を格納しています。"
5022 "<literal>sourcelist</literal> はソースリストの場所を示し、<literal>main</"
5023 "literal> はデフォルトの設定ファイルです。(<envar>APT_CONFIG</envar> で設定"
5024 "ファイルを指定された場合のみ、この設定の効果があります)"
5026 #. type: Content of: <refentry><refsect1><para>
5029 "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
5030 "in lexical order from the directory specified. After this is done then the "
5031 "main config file is loaded."
5033 "<literal>Dir::Parts</literal> 設定は、指定されたディレクトリから、字句単位の"
5034 "全ての設定断片を読みこみます。これを設定した後に、メイン設定ファイルをロード"
5037 #. type: Content of: <refentry><refsect1><para>
5040 "Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
5041 "Bin::Methods</literal> specifies the location of the method handlers and "
5042 "<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
5043 "<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
5044 "literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
5045 "literal> specify the location of the respective programs."
5047 "バイナリプログラムは <literal>Dir::Bin</literal> で指定します。<literal>Dir::"
5048 "Bin::Methods</literal> はメソッドハンドラの場所を指定し、<literal>gzip</"
5049 "literal>, <literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</"
5050 "literal>, <literal>apt-get</literal> <literal>dpkg-source</literal> "
5051 "<literal>dpkg-buildpackage</literal>, <literal>apt-cache</literal> はそれぞれ"
5054 #. type: Content of: <refentry><refsect1><para>
5057 "The configuration item <literal>RootDir</literal> has a special meaning. If "
5058 "set, all paths will be relative to <literal>RootDir</literal>, "
5059 "<emphasis>even paths that are specified absolutely</emphasis>. So, for "
5060 "instance, if <literal>RootDir</literal> is set to <filename>/tmp/staging</"
5061 "filename> and <literal>Dir::State::status</literal> is set to <filename>/var/"
5062 "lib/dpkg/status</filename>, then the status file will be looked up in "
5063 "<filename>/tmp/staging/var/lib/dpkg/status</filename>. If you want to "
5064 "prefix only relative paths, set <literal>Dir</literal> instead."
5066 "設定項目 <literal>RootDir</literal> は特別な意味を持ちます。設定されている"
5067 "と、すべてのパスは <emphasis>絶対パスとして指定しても</"
5068 "emphasis><literal>RootDir</literal> からの相対パスとなります。そのため例え"
5069 "ば、<literal>RootDir</literal> が <filename>/tmp/staging</filename> にセット"
5070 "されており、<literal>Dir::State::status</literal> が <filename>/var/lib/dpkg/"
5071 "status</filename> にセットされている場合、status ファイルを <filename>/tmp/"
5072 "staging/var/lib/dpkg/status</filename> から探します。相対バスのみをプレフィッ"
5073 "クスにしたい場合は、代わりに <literal>Dir</literal> を設定します。"
5075 #. type: Content of: <refentry><refsect1><para>
5078 "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
5079 "which files APT should silently ignore while parsing the files in the "
5080 "fragment directories. Per default a file which end with <literal>.disabled</"
5081 "literal>, <literal>~</literal>, <literal>.bak</literal> or <literal>.dpkg-[a-"
5082 "z]+</literal> is silently ignored. As seen in the last default value these "
5083 "patterns can use regular expression syntax."
5085 "<literal>Ignore-Files-Silently</literal> リストは、断片ディレクトリの解析中"
5086 "に、APT が黙って無視をするファイルを指定します。デフォルトではそれぞれ、"
5087 "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal>, "
5088 "<literal>.dpkg-[a-z]+</literal> で終わるものが、黙って無視されます。最後のデ"
5089 "フォルト値を見ればわかる通り、このパターンには正規表現を使用できます。"
5091 #. type: Content of: <refentry><refsect1><title>
5093 msgid "APT in DSelect"
5094 msgstr "DSelect での APT"
5096 #. type: Content of: <refentry><refsect1><para>
5099 "When APT is used as a &dselect; method several configuration directives "
5100 "control the default behavior. These are in the <literal>DSelect</literal> "
5103 "&dselect; メソッドで APT を使用する際、いくつかの設定ディレクティブでデフォル"
5104 "トの動作を制御します。これは <literal>DSelect</literal> セクション以下にあり"
5107 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5110 "Cache Clean mode; this value may be one of <literal>always</literal>, "
5111 "<literal>prompt</literal>, <literal>auto</literal>, <literal>pre-auto</"
5112 "literal> and <literal>never</literal>. <literal>always</literal> and "
5113 "<literal>prompt</literal> will remove all packages from the cache after "
5114 "upgrading, <literal>prompt</literal> (the default) does so conditionally. "
5115 "<literal>auto</literal> removes only those packages which are no longer "
5116 "downloadable (replaced with a new version for instance). <literal>pre-auto</"
5117 "literal> performs this action before downloading new packages."
5119 "キャッシュクリーンモード - この値は <literal>always</literal>, "
5120 "<literal>prompt</literal>, <literal>auto</literal>, <literal>pre-auto</"
5121 "literal>, <literal>never</literal> のうちひとつを取ります。<literal>always</"
5122 "literal> と <literal>prompt</literal> は更新後、全パッケージをキャッシュから"
5123 "削除します。<literal>prompt</literal> (デフォルト) では条件付きで削除します。"
5124 "<literal>auto</literal> はダウンロード不能パッケージ (例えば新バージョンで置"
5125 "き換えられたもの) を削除します。<literal>pre-auto</literal> はこの動作を、新"
5126 "パッケージをダウンロードする直前に行います。"
5128 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5131 "The contents of this variable are passed to &apt-get; as command line "
5132 "options when it is run for the install phase."
5134 "この変数の内容は、install 時のコマンドラインオプションと同様に &apt-get; に渡"
5137 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5140 "The contents of this variable are passed to &apt-get; as command line "
5141 "options when it is run for the update phase."
5143 "この変数の内容は、update 時のコマンドラインオプションと同様に &apt-get; に渡"
5146 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5149 "If true the [U]pdate operation in &dselect; will always prompt to continue. "
5150 "The default is to prompt only on error."
5152 "true の場合、&dselect; の [U]pdate 実行時に、続行のためのプロンプトを毎回表示"
5153 "します。デフォルトはエラーが発生した場合のみです。"
5155 #. type: Content of: <refentry><refsect1><title>
5157 msgid "How APT calls &dpkg;"
5158 msgstr "APT が &dpkg; を呼ぶ方法"
5160 #. type: Content of: <refentry><refsect1><para>
5163 "Several configuration directives control how APT invokes &dpkg;. These are "
5164 "in the <literal>DPkg</literal> section."
5166 "いくつかの設定項目で APT がどのように &dpkg; を呼び出すかを制御できます。"
5167 "<literal>DPkg</literal> セクションにあります。"
5169 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5172 "This is a list of options to pass to &dpkg;. The options must be specified "
5173 "using the list notation and each list item is passed as a single argument to "
5176 "&dpkg; に渡すオプションのリストです。オプションは、リスト記法を使用して指定し"
5177 "なければなりません。また、各リストは単一の引数として &dpkg; に渡されます。"
5179 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5182 "This is a list of shell commands to run before/after invoking &dpkg;. Like "
5183 "<literal>options</literal> this must be specified in list notation. The "
5184 "commands are invoked in order using <filename>/bin/sh</filename>; should any "
5185 "fail APT will abort."
5187 "&dpkg; を呼び出す前後で実行するシェルコマンドのリストです。<literal>options</"
5188 "literal> のようにリスト記法で指定しなければなりません。コマンドは <filename>/"
5189 "bin/sh</filename> を通して呼び出され、何か問題があれば APT が異常終了します。"
5191 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5194 "This is a list of shell commands to run before invoking &dpkg;. Like "
5195 "<literal>options</literal> this must be specified in list notation. The "
5196 "commands are invoked in order using <filename>/bin/sh</filename>; should any "
5197 "fail APT will abort. APT will pass the filenames of all .deb files it is "
5198 "going to install to the commands, one per line on the requested file "
5199 "descriptor, defaulting to standard input."
5201 "&dpkg; を呼び出す前に実行するシェルコマンドのリストです。<literal>options</"
5202 "literal> のようにリスト記法で指定しなければなりません。コマンドは <filename>/"
5203 "bin/sh</filename> を通して呼び出され、何か問題があれば、APT は異常終了しま"
5204 "す。APT はインストールしようとする全 .deb ファイルのファイル名を、要求した"
5205 "ファイルディスクリプタについて1 行ずつ、デフォルトではコマンドの標準入力に送"
5208 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5211 "Version 2 of this protocol sends more information through the requested file "
5212 "descriptor: a line with the text <literal>VERSION 2</literal>, the APT "
5213 "configuration space, and a list of package actions with filename and version "
5216 "このプロトコルのバージョン 2 は、要求されたファイルディスクリプタを介してより"
5217 "多くの情報を送信します: テキスト <literal>VERSION 2</literal> の行、APT 設定"
5218 "空間、ファイル名とバージョン情報を持つパッケージ処理のリスト。"
5220 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5223 "Each configuration directive line has the form <literal>key=value</"
5224 "literal>. Special characters (equal signs, newlines, nonprintable "
5225 "characters, quotation marks, and percent signs in <literal>key</literal> and "
5226 "newlines, nonprintable characters, and percent signs in <literal>value</"
5227 "literal>) are %-encoded. Lists are represented by multiple <literal>key::"
5228 "=value</literal> lines with the same key. The configuration section ends "
5229 "with a blank line."
5231 "各設定ディレクティブ行は、<literal>key=value</literal> 形式です。特殊文字 "
5232 "(<literal>key</literal> 中のイコール記号、改行、非印字可能文字、引用符、およ"
5233 "びパーセント記号、および <literal>value</literal> 中の改行、非印字可能文字、"
5234 "およびパーセント記号) は、% エンコードされます。リストは、同じキーを持つ複数"
5235 "の<literal>key::=value</literal> 行で表されます。設定セクションは、空白行で終"
5238 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5241 "Package action lines consist of five fields in Version 2: package name "
5242 "(without architecture qualification even if foreign), old version, direction "
5243 "of version change (< for upgrades, > for downgrades, = for no change), "
5244 "new version, action. The version fields are \"-\" for no version at all (for "
5245 "example when installing a package for the first time; no version is treated "
5246 "as earlier than any real version, so that is an upgrade, indicated as "
5247 "<literal>- < 1.23.4</literal>). The action field is \"**CONFIGURE**\" if "
5248 "the package is being configured, \"**REMOVE**\" if it is being removed, or "
5249 "the filename of a .deb file if it is being unpacked."
5251 "バージョン 2 ではパッケージアクション行は 5 つのフィールドで構成されていま"
5252 "す: パッケージ名 (例え外国だとしてもアーキテクチャ資格なしで)、旧バージョン、"
5253 "バージョン変更の方向 (< アップグレード、> ダウングレード、= 変化なし)、"
5254 "新バージョン、処理。バージョンなしの場合は、バージョンフィールドはすべて \"-"
5255 "\" です (例えば、初めてパッケージをインストール時、バージョンなしは、任意の実"
5256 "際のバージョンよりも前として扱われます。そのため、<literal>- < 1.23.4</"
5257 "literal>はアップグレードとなります)。パッケージが設定されている場合のアクショ"
5258 "ンフィールドは \"**CONFIGURE**\" で、削除されている場合は \"**REMOVE**\" 、解"
5259 "凍されている場合は .deb ファイルのファイル名です。"
5261 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5264 "In Version 3 after each version field follows the architecture of this "
5265 "version, which is \"-\" if there is no version, and a field showing the "
5266 "MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that "
5267 "\"none\" is an incorrect typename which is just kept to remain compatible, "
5268 "it should be read as \"no\" and users are encouraged to support both."
5270 "バージョン 3 では、各バージョンフィールドの後に、このバージョンのアーキテク"
5271 "チャが続きます。バージョンなしの場合は \"-\" 、そして MultiArch 型 \"same"
5272 "\"、\"foreign\"、\"allowed\" または \"none\" を示すフィールド。\"none\" は単"
5273 "に互換性を維持するために残された、誤った型名であることに注意してください。そ"
5274 "れは\"no\" と読まれるべきで、ユーザは両方をサポートすることをお勧めします。"
5276 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5279 "The version of the protocol to be used for the command "
5280 "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
5281 "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</"
5282 "literal> accordingly, the default being version 1. If APT isn't supporting "
5283 "the requested version it will send the information in the highest version it "
5284 "has support for instead."
5286 "コマンド <literal><replaceable>cmd</replaceable></literal> で利用するプロトコ"
5287 "ルのバージョンは <literal>DPkg::Tools::options::<replaceable>cmd</"
5288 "replaceable>::Version</literal> の設定により選択でき、デフォルトはバージョン "
5289 "1 となっています。リクエストしたバージョンを APT がサポートしていない場合はサ"
5290 "ポートしている最大のバージョンの情報を代わりに送ります。"
5292 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5295 "The file descriptor to be used to send the information can be requested with "
5296 "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</"
5297 "literal> which defaults to <literal>0</literal> for standard input and is "
5298 "available since version 0.9.11. Support for the option can be detected by "
5299 "looking for the environment variable <envar>APT_HOOK_INFO_FD</envar> which "
5300 "contains the number of the used file descriptor as a confirmation."
5302 "情報の送信に利用するファイルディスクリプタは <literal>DPkg::Tools::options::"
5303 "<replaceable>cmd</replaceable>::InfoFD</literal> によりリクエストでき、デフォ"
5304 "ルトは <literal>0</literal> で標準入力を指定します。バージョン 0.9.11 から利"
5305 "用可能となりました。環境変数 <envar>APT_HOOK_INFO_FD</envar> を見ることでこの"
5306 "オプションに対応していることを検出でき、それには確認として利用しているファイ"
5307 "ルディスクリプタの番号が収録されています。"
5309 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5312 "APT chdirs to this directory before invoking &dpkg;, the default is "
5313 "<filename>/</filename>."
5315 "APT は &dpkg; を呼び出す前にこのディレクトリに移動します。デフォルトは "
5316 "<filename>/</filename> です。"
5318 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5321 "These options are passed to &dpkg-buildpackage; when compiling packages; the "
5322 "default is to disable signing and produce all binaries."
5324 "これらのオプションは、パッケージのコンパイル時に &dpkg-buildpackage; に渡され"
5325 "ます。デフォルトでは署名を無効にし、全バイナリを生成します。"
5327 #. type: Content of: <refentry><refsect1><refsect2><title>
5329 msgid "dpkg trigger usage (and related options)"
5330 msgstr "dpkg トリガの使い方 (および関連オプション)"
5332 #. type: Content of: <refentry><refsect1><refsect2><para>
5335 "APT can call &dpkg; in such a way as to let it make aggressive use of "
5336 "triggers over multiple calls of &dpkg;. Without further options &dpkg; will "
5337 "use triggers once each time it runs. Activating these options can therefore "
5338 "decrease the time needed to perform the install or upgrade. Note that it is "
5339 "intended to activate these options per default in the future, but as it "
5340 "drastically changes the way APT calls &dpkg; it needs a lot more testing. "
5341 "<emphasis>These options are therefore currently experimental and should not "
5342 "be used in production environments.</emphasis> It also breaks progress "
5343 "reporting such that all front-ends will currently stay around half (or more) "
5344 "of the time in the 100% state while it actually configures all packages."
5346 "APT は、複数の &dpkg; 呼び出しトリガを、積極的に行わせる方法で &dpkg; を呼び"
5347 "出せます。オプションがなければ、実行のたびに &dpkg; は一度トリガを引くだけで"
5348 "す。そのため、このオプションを有効にすると、インストールやアップグレードにか"
5349 "かる時間を、短くできます。将来、このオプションを、デフォルトで有効にする方向"
5350 "であることに注意してください。しかし、APT が &dpkg; を呼ぶ方法といった大幅な"
5351 "変更を行うには、もっとたくさんのテストが必要です。<emphasis>したがって、この"
5352 "オプションは現在実験中で、本番環境では使用するべきではありません。</emphasis>"
5353 "さらに、すべてのフロントエンドが、実際には全パッケージを設定中なのに、半分 "
5354 "(もしくはそれ以上) の時間 100% のままとなり、進捗レポートを壊してしまいます。"
5356 #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
5360 "DPkg::NoTriggers \"true\";\n"
5361 "PackageManager::Configure \"smart\";\n"
5362 "DPkg::ConfigurePending \"true\";\n"
5363 "DPkg::TriggersPending \"true\";"
5365 "DPkg::NoTriggers \"true\";\n"
5366 "PackageManager::Configure \"smart\";\n"
5367 "DPkg::ConfigurePending \"true\";\n"
5368 "DPkg::TriggersPending \"true\";"
5370 #. type: Content of: <refentry><refsect1><refsect2><para>
5373 "Note that it is not guaranteed that APT will support these options or that "
5374 "these options will not cause (big) trouble in the future. If you have "
5375 "understand the current risks and problems with these options, but are brave "
5376 "enough to help testing them, create a new configuration file and test a "
5377 "combination of options. Please report any bugs, problems and improvements "
5378 "you encounter and make sure to note which options you have used in your "
5379 "reports. Asking &dpkg; for help could also be useful for debugging proposes, "
5380 "see e.g. <command>dpkg --audit</command>. A defensive option combination "
5381 "would be <placeholder type=\"literallayout\" id=\"0\"/>"
5383 "APT がこのオプションをサポートすることや、将来このオプションが (大きな) トラ"
5384 "ブルの原因にならないことは、保証されないことに注意してください。このオプショ"
5385 "ンの現在のリスクと問題を理解し、テストを手伝う十分な勇気があるなら、新しい設"
5386 "定ファイルを作成し、オプションの組み合わせのテストをお願いしたいです。遭遇し"
5387 "たどんなバグ、問題、改善点を、どのようなオプションを使用したかと添えて報告し"
5388 "てください。デバッグに役立つ可能性のある情報を &dpkg; に問い合わせることを提"
5389 "案します (例: <command>dpkg --audit</command> を参照)。防御的なオプションの組"
5390 "み合わせは、以下のようになります。<placeholder type=\"literallayout\" id="
5393 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5396 "Add the no triggers flag to all &dpkg; calls (except the ConfigurePending "
5397 "call). See &dpkg; if you are interested in what this actually means. In "
5398 "short: &dpkg; will not run the triggers when this flag is present unless it "
5399 "is explicitly called to do so in an extra call. Note that this option "
5400 "exists (undocumented) also in older APT versions with a slightly different "
5401 "meaning: Previously these option only append --no-triggers to the configure "
5402 "calls to &dpkg; - now APT will also add this flag to the unpack and remove "
5405 "&dpkg; を呼び出すすべてのフラグ (ConfigurePending 呼び出し以外) を付与しませ"
5406 "ん。実際にこれが何を意味するのか興味があるなら、&dpkg; を参照してください。要"
5407 "するに、追加呼び出しで明示的に呼び出されない限り、このフラグがあると、&dpkg; "
5408 "はトリガを実行しません。また、古いバージョンの APT に、意味がわずかに異なる、"
5409 "このオプションが存在することに注意してください (ドキュメントなし)。以前のこの"
5410 "オプションは、&dpkg; の呼び出し設定に、--no-triggers を追加するだけでした。現"
5411 "在 APT は、このフラグを、展開呼び出しや削除呼び出しにも追加します。"
5413 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5416 "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
5417 "and \"<literal>no</literal>\". The default value is \"<literal>all</literal>"
5418 "\", which causes APT to configure all packages. The \"<literal>smart</"
5419 "literal>\" way is to configure only packages which need to be configured "
5420 "before another package can be unpacked (Pre-Depends), and let the rest be "
5421 "configured by &dpkg; with a call generated by the ConfigurePending option "
5422 "(see below). On the other hand, \"<literal>no</literal>\" will not configure "
5423 "anything, and totally relies on &dpkg; for configuration (which at the "
5424 "moment will fail if a Pre-Depends is encountered). Setting this option to "
5425 "any value other than <literal>all</literal> will implicitly also activate "
5426 "the next option by default, as otherwise the system could end in an "
5427 "unconfigured and potentially unbootable state."
5429 "有効な値は \"<literal>all</literal>\", \"<literal>smart</literal>\", "
5430 "\"<literal>no</literal>\" です。デフォルト値は \"<literal>all</literal>\" "
5431 "で、APT にすべてのパッケージを設定させます。\"<literal>smart</literal>\" で"
5432 "は、他のパッケージを展開する前に、設定が終わっていなければならないパッケージ "
5433 "(事前依存) のみを設定し、残りを ConfigurePending オプション (後述) で生成し"
5434 "た &dpkg; 呼び出しで設定します。他方では、\"<literal>no</literal>\" は何も設"
5435 "定しません。設定については &dpkg; にすべて依存します (事前依存があると失敗し"
5436 "ます)。このオプションを <literal>all</literal> 以外の値に設定すると、次のオプ"
5437 "ションを暗黙的に有効にします。そうしないと、設定が完了せず、起動しなくなる可"
5440 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5443 "If this option is set APT will call <command>dpkg --configure --pending</"
5444 "command> to let &dpkg; handle all required configurations and triggers. This "
5445 "option is activated automatically per default if the previous option is not "
5446 "set to <literal>all</literal>, but deactivating it could be useful if you "
5447 "want to run APT multiple times in a row - e.g. in an installer. In these "
5448 "sceneries you could deactivate this option in all but the last run."
5450 "このオプションがセットされると、&dpkg; にすべての必要な設定とトリガを扱わせる"
5451 "ように、APT は <command>dpkg --configure --pending</command> を呼び出します。"
5452 "前述のオプションが <literal>all</literal> に設定されていない場合、このオプ"
5453 "ションは、デフォルトで有効となります。しかし、APT を複数回連続して実行する場"
5454 "合 (インストーラなど) には、無効にしたほうが便利かもしれません。このシナリオ"
5455 "では、最後以外のすべての実行で、無効にできます。"
5457 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5460 "Useful for the <literal>smart</literal> configuration as a package which has "
5461 "pending triggers is not considered as <literal>installed</literal>, and "
5462 "&dpkg; treats them as <literal>unpacked</literal> currently which is a "
5463 "showstopper for Pre-Dependencies (see debbugs #526774). Note that this will "
5464 "process all triggers, not only the triggers needed to configure this package."
5466 "<literal>installed</literal> として認識されない保留トリガがあるパッケージを、"
5467 "<literal>smart</literal> 設定するのに便利です。&dpkg; は現在、先行依存関係に"
5468 "は無力な <literal>unpacked</literal> として扱います (debbugs #526774 参照)。"
5469 "このパッケージを設定するのに必要なトリガのみでなく、すべてのトリガを処理する"
5472 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
5476 "OrderList::Score {\n"
5478 "\tEssential 200;\n"
5480 "\tPreDepends 50;\n"
5483 "OrderList::Score {\n"
5485 "\tEssential 200;\n"
5487 "\tPreDepends 50;\n"
5490 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5493 "Essential packages (and their dependencies) should be configured immediately "
5494 "after unpacking. It is a good idea to do this quite early in the upgrade "
5495 "process as these configure calls also currently require <literal>DPkg::"
5496 "TriggersPending</literal> which will run quite a few triggers (which may not "
5497 "be needed). Essentials get per default a high score but the immediate flag "
5498 "is relatively low (a package which has a Pre-Depends is rated higher). "
5499 "These option and the others in the same group can be used to change the "
5500 "scoring. The following example shows the settings with their default "
5501 "values. <placeholder type=\"literallayout\" id=\"0\"/>"
5503 "不可欠パッケージ (と、その依存しているパッケージ) は展開を終えると、すぐに設"
5504 "定するべきです。アップグレードプロセスの初期に、設定してしまうのが良いのです"
5505 "が、現在 <literal>DPkg::TriggersPending</literal> を要求しているパッケージも"
5506 "同時に行うため、かなり多くのトリガ (すべてが必要とは限らない) を処理すること"
5507 "になります。不可欠パッケージは、デフォルトではスコアを高く設定されています"
5508 "が、即時フラグは相対的に低くなっています (先行依存パッケージのほうが高い)。こ"
5509 "のオプションと、これと同じグループに属するものは、このスコア付けを変更するの"
5510 "に使用します。以下の例では、デフォルト値を変更しています。<placeholder type="
5511 "\"literallayout\" id=\"0\"/>"
5513 #. type: Content of: <refentry><refsect1><title>
5515 msgid "Periodic and Archives options"
5516 msgstr "Periodic オプションと Archives オプション"
5518 #. type: Content of: <refentry><refsect1><para>
5521 "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5522 "of options configure behavior of apt periodic updates, which is done by the "
5523 "<literal>/etc/cron.daily/apt</literal> script. See the top of this script "
5524 "for the brief documentation of these options."
5526 "オプションの <literal>APT::Periodic</literal> グループと <literal>APT::"
5527 "Archives</literal> グループは、<literal>/etc/cron.daily/apt</literal> スクリ"
5528 "プトを使用して、apt の定期更新の挙動を設定します。このオプションのドキュメン"
5529 "トは、このスクリプトの先頭を参照してください。"
5531 #. type: Content of: <refentry><refsect1><title>
5533 msgid "Debug options"
5536 #. type: Content of: <refentry><refsect1><para>
5539 "Enabling options in the <literal>Debug::</literal> section will cause "
5540 "debugging information to be sent to the standard error stream of the program "
5541 "utilizing the <literal>apt</literal> libraries, or enable special program "
5542 "modes that are primarily useful for debugging the behavior of <literal>apt</"
5543 "literal>. Most of these options are not interesting to a normal user, but a "
5546 "<literal>Debug::</literal> セクションのオプションを有効にすると、"
5547 "<literal>apt</literal> ライブラリを利用するプログラムの標準エラー出力に、デ"
5548 "バッグ情報を送るようになったり、主に <literal>apt</literal> の挙動をデバッグ"
5549 "するのに便利な、特殊モードを有効にしたりできます。普通のユーザには、ほとんど"
5550 "のオプションは興味がないでしょうが、以下のものは興味を引くかもしれません。"
5552 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5555 "<literal>Debug::pkgProblemResolver</literal> enables output about the "
5556 "decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
5559 "<literal>Debug::pkgProblemResolver</literal> は、<literal>dist-upgrade, "
5560 "upgrade, install, remove, purge</literal> で行われた判断についての出力を有効"
5563 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5566 "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
5567 "used to run some operations (for instance, <literal>apt-get -s install</"
5568 "literal>) as a non-root user."
5570 "<literal>Debug::NoLocking</literal> はファイルロックをすべて無効にします。こ"
5571 "れは、非 root ユーザとして操作 (例えば <literal>apt-get -s install</"
5572 "literal>) を行う場合に使用します。"
5574 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5577 "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
5578 "time that <literal>apt</literal> invokes &dpkg;."
5580 "<literal>Debug::pkgDPkgPM</literal> は <literal>apt</literal> が実際に "
5581 "&dpkg; を起動する際の各コマンドラインを表示します。"
5584 #. motivating example, except I haven't a clue why you'd want
5586 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5589 "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
5592 "<literal>Debug::IdentCdrom</literal> は CD-ROM ID にある statfs データを含め"
5595 #. type: Content of: <refentry><refsect1><para>
5597 msgid "A full list of debugging options to apt follows."
5598 msgstr "以下は apt に対するデバッグオプションのすべてです。"
5600 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5603 "Print information related to accessing <literal>cdrom://</literal> sources."
5605 "<literal>cdrom://</literal> ソースへのアクセスに関する情報を出力します。"
5607 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5609 msgid "Print information related to downloading packages using FTP."
5610 msgstr "FTP を用いたパッケージのダウンロードに関する情報を出力します。"
5612 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5614 msgid "Print information related to downloading packages using HTTP."
5615 msgstr "HTTP を用いたパッケージのダウンロードに関する情報を出力します。"
5617 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5619 msgid "Print information related to downloading packages using HTTPS."
5620 msgstr "HTTPS を用いたパッケージのダウンロードに関する情報を出力します。"
5622 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5625 "Print information related to verifying cryptographic signatures using "
5626 "<literal>gpg</literal>."
5628 "<literal>gpg</literal> を用いた暗号署名の検証に関する情報を出力します。"
5630 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5633 "Output information about the process of accessing collections of packages "
5634 "stored on CD-ROMs."
5636 "CD-ROM にあるパッケージ集合に対して、アクセスするプロセスについての情報を出力"
5639 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5641 msgid "Describes the process of resolving build-dependencies in &apt-get;."
5642 msgstr "&apt-get; での構築依存関係解決のプロセスを説明します。"
5644 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5647 "Output each cryptographic hash that is generated by the <literal>apt</"
5648 "literal> libraries."
5650 "<literal>apt</literal> ライブラリが生成した、暗号化ハッシュを出力します。"
5652 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5655 "Do not include information from <literal>statfs</literal>, namely the number "
5656 "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
5659 "CD-ROM の ID を生成する際に <literal>statfs</literal> という、CD-ROM ファイル"
5660 "システムにある使用済・未使用ブロックの数からの情報を含めないようにします。"
5662 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5665 "Disable all file locking. For instance, this will allow two instances of "
5666 "<quote><literal>apt-get update</literal></quote> to run at the same time."
5668 "ファイルのロックをすべて無効にします。例えば、同時にふたつの "
5669 "<quote><literal>apt-get update</literal></quote> を実行できるようになります。"
5671 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5673 msgid "Log when items are added to or removed from the global download queue."
5675 "グローバルダウンロードキューに対する項目の追加・削除の際にログを出力します。"
5677 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5680 "Output status messages and errors related to verifying checksums and "
5681 "cryptographic signatures of downloaded files."
5683 "ダウンロードしたファイルのチェックサムや暗号署名の確認に関する、状態メッセー"
5686 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5689 "Output information about downloading and applying package index list diffs, "
5690 "and errors relating to package index list diffs."
5692 "パッケージインデックスリスト差分のダウンロード・適用時の、情報やエラーを出力"
5695 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5698 "Output information related to patching apt package lists when downloading "
5699 "index diffs instead of full indices."
5701 "インデックス全体ではなくインデックス差分のダウンロードの際に、apt パッケージ"
5702 "リストへのパッチ適用に関する情報を出力します。"
5704 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5707 "Log all interactions with the sub-processes that actually perform downloads."
5709 "実際のダウンロードを行う際の、サブプロセスとのやりとりをログに出力します。"
5711 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5714 "Log events related to the automatically-installed status of packages and to "
5715 "the removal of unused packages."
5717 "パッケージの自動インストールや、不要パッケージの削除に関するイベントを、ログ"
5720 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5723 "Generate debug messages describing which packages are being automatically "
5724 "installed to resolve dependencies. This corresponds to the initial auto-"
5725 "install pass performed in, e.g., <literal>apt-get install</literal>, and not "
5726 "to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
5727 "pkgProblemResolver</literal> for that."
5729 "依存関係解決のために、どのパッケージが自動的にインストールされたかのデバッグ"
5730 "メッセージを生成します。これは完全な <literal>apt</literal> 依存関係解決プロ"
5731 "グラム (<literal>Debug::pkgProblemResolver</literal> を参照) ではなく、例え"
5732 "ば <literal>apt-get install</literal> で実行された、初期の自動インストール経"
5735 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5738 "Generate debug messages describing which packages are marked as keep/install/"
5739 "remove while the ProblemResolver does his work. Each addition or deletion "
5740 "may trigger additional actions; they are shown indented two additional "
5741 "spaces under the original entry. The format for each line is "
5742 "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
5743 "<literal>MarkInstall</literal> followed by <literal>package-name <a.b.c -"
5744 "> d.e.f | x.y.z> (section)</literal> where <literal>a.b.c</literal> is "
5745 "the current version of the package, <literal>d.e.f</literal> is the version "
5746 "considered for installation and <literal>x.y.z</literal> is a newer version, "
5747 "but not considered for installation (because of a low pin score). The later "
5748 "two can be omitted if there is none or if it is the same as the installed "
5749 "version. <literal>section</literal> is the name of the section the package "
5752 "ProblemResolver が動作する際に、一時保留・インストール・削除としてマークされ"
5753 "たパッケージに関する、デバッグメッセージを生成します。各追加・削除は追加アク"
5754 "ションのトリガとなり、これをオリジナルのエントリの下に、空白 2 個でインデント"
5755 "して表示します。各行は、<literal>MarkKeep</literal>, <literal>MarkDelete</"
5756 "literal>, <literal>MarkInstall</literal> となり、<literal>package-name <a."
5757 "b.c -> d.e.f | x.y.z> (section)</literal> が続きます。ここで、"
5758 "<literal>a.b.c</literal> は、そのパッケージの現在のバージョン、<literal>d.e."
5759 "f</literal>は、インストール予定のバージョン、<literal>x.y.z</literal> はより"
5760 "新しいけれどインストール対象外のバージョン (pin のスコアが低いため) です。後"
5761 "のふたつは、存在しない、ないしインストール中のバージョンと同じ場合、省略され"
5762 "ます。<literal>section</literal> はパッケージが現れるセクション名です。"
5764 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5767 "When invoking &dpkg;, output the precise command line with which it is being "
5768 "invoked, with arguments separated by a single space character."
5770 "&dpkg; 起動時に、起動した際の正確なコマンドラインを出力します。引数は空白で区"
5773 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5776 "Output all the data received from &dpkg; on the status file descriptor and "
5777 "any errors encountered while parsing it."
5779 "状態ファイルディスクリプタに、&dpkg; から受信したすべてのデータと、そのデータ"
5780 "を解析中に発生したエラーを出力します。"
5782 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5785 "Generate a trace of the algorithm that decides the order in which "
5786 "<literal>apt</literal> should pass packages to &dpkg;."
5788 "<literal>apt</literal> が &dpkg; にパッケージを渡す順番を決める、アルゴリズム"
5791 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5794 "Output status messages tracing the steps performed when invoking &dpkg;."
5795 msgstr "&dpkg; を呼び出す際に、実行手順を追跡した状態メッセージを出力します。"
5797 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5799 msgid "Output the priority of each package list on startup."
5800 msgstr "起動時の各パッケージの優先度を表示します。"
5802 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5805 "Trace the execution of the dependency resolver (this applies only to what "
5806 "happens when a complex dependency problem is encountered)."
5808 "依存関係解決システムの実行内容を追跡します (これは複雑な依存関係の問題に遭遇"
5811 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5814 "Display a list of all installed packages with their calculated score used by "
5815 "the pkgProblemResolver. The description of the package is the same as "
5816 "described in <literal>Debug::pkgDepCache::Marker</literal>"
5818 "全インストール済みパッケージの、pkgProblemResolver が計算したスコアを一覧表示"
5819 "します。パッケージの説明は、<literal>Debug::pkgDepCache::Marker</literal> で"
5822 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5825 "Print information about the vendors read from <filename>/etc/apt/vendors."
5828 "<filename>/etc/apt/vendors.list</filename> から読み込んだ、ベンダの情報を出力"
5831 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5834 "Display the external commands that are called by apt hooks. This includes e."
5835 "g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
5836 "<literal>APT::Update::{Pre,Post}-Invoke</literal>."
5838 "aptのフックにより呼び出される外部コマンドを表示します。これには例えば、設定オ"
5839 "プション <literal>DPkg::{Pre,Post}-Invoke</literal> や <literal>APT::Update::"
5840 "{Pre,Post}-Invoke</literal> があります。"
5842 #. type: Content of: <refentry><refsect1><title>
5843 #: apt.conf.5.xml apt_preferences.5.xml sources.list.5.xml apt-ftparchive.1.xml
5847 #. type: Content of: <refentry><refsect1><para>
5850 "&configureindex; is a configuration file showing example values for all "
5853 "&configureindex; は、全利用可能オプション値のサンプルを参照できる、設定ファイ"
5856 #. ? reading apt.conf
5857 #. type: Content of: <refentry><refsect1><para>
5859 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
5860 msgstr "&apt-cache;, &apt-config;, &apt-preferences;."
5862 #. type: Content of: <refentry><refnamediv><refpurpose>
5863 #: apt_preferences.5.xml
5864 msgid "Preference control file for APT"
5865 msgstr "APT 用選択制御ファイル"
5867 #. type: Content of: <refentry><refsect1><para>
5868 #: apt_preferences.5.xml
5870 "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
5871 "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
5872 "can be used to control which versions of packages will be selected for "
5875 "APT プリファレンスファイル <filename>/etc/apt/preferences</filename> と "
5876 "<filename>/etc/apt/preferences.d/</filename> フォルダにある断片ファイルは、イ"
5877 "ンストールするパッケージのバージョンを制御するのに使用します。"
5879 #. type: Content of: <refentry><refsect1><para>
5880 #: apt_preferences.5.xml
5882 "Several versions of a package may be available for installation when the "
5883 "&sources-list; file contains references to more than one distribution (for "
5884 "example, <literal>stable</literal> and <literal>testing</literal>). APT "
5885 "assigns a priority to each version that is available. Subject to dependency "
5886 "constraints, <command>apt-get</command> selects the version with the highest "
5887 "priority for installation. The APT preferences override the priorities that "
5888 "APT assigns to package versions by default, thus giving the user control "
5889 "over which one is selected for installation."
5891 "&sources-list; ファイルに複数のディストリビューション (<literal>stable</"
5892 "literal> と <literal>testing</literal> など) が指定されていて、パッケージに対"
5893 "し複数のバージョンがインストールできることがあります。このとき APT は、利用で"
5894 "きるバージョンごとに優先度を割り当てます。依存関係規則を条件として、"
5895 "<command>apt-get</command> は、最も高い優先度を持つバージョンをインストールす"
5896 "るよう選択します。APT プリファレンスファイルは、APT がデフォルトで割り当て"
5897 "た、パッケージのバージョンの優先度を上書きします。その結果インストールするも"
5898 "のの選択を、ユーザが選択できるようになります。"
5900 #. type: Content of: <refentry><refsect1><para>
5901 #: apt_preferences.5.xml
5903 "Several instances of the same version of a package may be available when the "
5904 "&sources-list; file contains references to more than one source. In this "
5905 "case <command>apt-get</command> downloads the instance listed earliest in "
5906 "the &sources-list; file. The APT preferences do not affect the choice of "
5907 "instance, only the choice of version."
5909 "&sources-list; ファイルに複数の参照が書かれている場合、パッケージの同じバー"
5910 "ジョンのインスタンスが複数利用できる可能性があります。この場合、<command>apt-"
5911 "get</command> は &sources-list; ファイルの初めの方に指定されているところから"
5912 "ダウンロードします。APT プリファレンスファイルはバージョンの選択にのみ影響"
5913 "し、インスタンスの選択には影響しません。"
5915 #. type: Content of: <refentry><refsect1><para>
5916 #: apt_preferences.5.xml
5918 "Preferences are a strong power in the hands of a system administrator but "
5919 "they can become also their biggest nightmare if used without care! APT will "
5920 "not question the preferences, so wrong settings can lead to uninstallable "
5921 "packages or wrong decisions while upgrading packages. Even more problems "
5922 "will arise if multiple distribution releases are mixed without a good "
5923 "understanding of the following paragraphs. Packages included in a specific "
5924 "release aren't tested in (and therefore don't always work as expected in) "
5925 "older or newer releases, or together with other packages from different "
5926 "releases. You have been warned."
5928 "プリファレンスファイルは、システム管理者の強い力ですが、注意して使わないと大"
5929 "きな悪夢にもなります! APT はプリファレンスについて問い合わせることはしませ"
5930 "ん。そのため、設定を誤ったことにより、インストールできないパッケージに誘導さ"
5931 "れたり、パッケージのアップグレード中に誤った判断をしたりという事がありえま"
5932 "す。以降の段落の内容をよく理解しないで、複数のディストリビューションリリース"
5933 "を混ぜてしまうと、より多くの問題が発生する事になります。特定のリリースに含ま"
5934 "れるパッケージは、古い/新しいリリースや、異なるリリースから持ってきた他のパッ"
5935 "ケージとでは、テストされていません (し、予想通りに常に動作するとは限りませ"
5938 #. type: Content of: <refentry><refsect1><para>
5939 #: apt_preferences.5.xml
5941 "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
5942 "directory are parsed in alphanumeric ascending order and need to obey the "
5943 "following naming convention: The files have either no or \"<literal>pref</"
5944 "literal>\" as filename extension and only contain alphanumeric, hyphen (-), "
5945 "underscore (_) and period (.) characters. Otherwise APT will print a notice "
5946 "that it has ignored a file, unless that file matches a pattern in the "
5947 "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
5948 "case it will be silently ignored."
5950 "<filename>/etc/apt/preferences.d</filename> ディレクトリにあるファイルは、英"
5951 "数字の昇順で解析され、以下の命名規約に従う必要があることに注意してください。"
5952 "ファイル名の拡張子はないか、\"<literal>pref</literal>\" となっており、英数"
5953 "字、ハイフン (-)、アンダースコア (_)、ピリオド (.) でできています。そうでなけ"
5954 "れば、<literal>Dir::Ignore-Files-Silently</literal> 設定リストのパターンに一"
5955 "致するもの以外に対して、ファイルを無視するという注意を APT が出力します。一致"
5958 #. type: Content of: <refentry><refsect1><refsect2><title>
5959 #: apt_preferences.5.xml
5960 msgid "APT's Default Priority Assignments"
5961 msgstr "APT のデフォルト優先度の割り当て"
5963 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5964 #: apt_preferences.5.xml
5966 msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
5967 msgstr "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
5969 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5970 #: apt_preferences.5.xml
5972 msgid "APT::Default-Release \"stable\";\n"
5973 msgstr "APT::Default-Release \"stable\";\n"
5975 #. type: Content of: <refentry><refsect1><refsect2><para>
5976 #: apt_preferences.5.xml
5978 "If there is no preferences file or if there is no entry in the file that "
5979 "applies to a particular version then the priority assigned to that version "
5980 "is the priority of the distribution to which that version belongs. It is "
5981 "possible to single out a distribution, \"the target release\", which "
5982 "receives a higher priority than other distributions do by default. The "
5983 "target release can be set on the <command>apt-get</command> command line or "
5984 "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
5985 "that this has precedence over any general priority you set in the <filename>/"
5986 "etc/apt/preferences</filename> file described later, but not over "
5987 "specifically pinned packages. For example, <placeholder type="
5988 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
5990 "プリファレンスファイルがなかったり、プリファレンスファイルに特定のパッケージ"
5991 "を割り当てるエントリがない場合、そのバージョンの優先度は、そのバージョンが属"
5992 "しているディストリビューションの優先度となります。デフォルトで他のディストリ"
5993 "ビューションより高い優先度を持つ、特定のディストリビューションを「ターゲット"
5994 "リリース」としておけます。ターゲットリリースは、<command>apt-get</command> の"
5995 "コマンドラインや、APT 設定ファイル <filename>/etc/apt/apt.conf</filename> で"
5996 "設定できます。後述する <filename>/etc/apt/preferences</filename> ファイルで設"
5997 "定した一般優先度よりもこれは優先されますが、pin 止めしたパッケージには及ばな"
5998 "いことに注意してください。例えば以下のようになります。<placeholder type="
5999 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
6001 #. type: Content of: <refentry><refsect1><refsect2><para>
6002 #: apt_preferences.5.xml
6004 "If the target release has been specified then APT uses the following "
6005 "algorithm to set the priorities of the versions of a package. Assign:"
6007 "ターゲットリリースが指定されると、APT は以下のアルゴリズムで、パッケージの"
6008 "バージョンの優先度を設定します。以下のように割り当てます。"
6010 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6011 #: apt_preferences.5.xml
6015 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6016 #: apt_preferences.5.xml
6018 "to the versions coming from archives which in their <filename>Release</"
6019 "filename> files are marked as \"NotAutomatic: yes\" but <emphasis>not</"
6020 "emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
6021 "<literal>experimental</literal> archive."
6023 "Debian の <literal>experimental</literal> アーカイブのように、"
6024 "<filename>Release</filename> ファイルに \"NotAutomatic: yes\" とマークさ"
6025 "れ、\"ButAutomaticUpgrades: yes\" とマークされて<emphasis>いない</emphasis>"
6028 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6029 #: apt_preferences.5.xml
6030 msgid "priority 100"
6033 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6034 #: apt_preferences.5.xml
6036 "to the version that is already installed (if any) and to the versions coming "
6037 "from archives which in their <filename>Release</filename> files are marked "
6038 "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
6039 "backports archive since <literal>squeeze-backports</literal>."
6041 "(もしあれば) 既にインストール済みのバージョンや、<literal>squeeze-backports</"
6042 "literal> 以降である Debian のバックポートアーカイブのような、"
6043 "<filename>Release</filename> ファイルに \"NotAutomatic: yes\" かつ "
6044 "\"ButAutomaticUpgrades: yes\" とマークされているアーカイブ由来のバージョン。"
6046 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6047 #: apt_preferences.5.xml
6048 msgid "priority 500"
6051 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6052 #: apt_preferences.5.xml
6053 msgid "to the versions that do not belong to the target release."
6054 msgstr "ターゲットリリースに属していないバージョン。"
6056 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6057 #: apt_preferences.5.xml
6058 msgid "priority 990"
6061 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6062 #: apt_preferences.5.xml
6063 msgid "to the versions that belong to the target release."
6064 msgstr "ターゲットリリースに属するバージョン。"
6066 #. type: Content of: <refentry><refsect1><refsect2><para>
6067 #: apt_preferences.5.xml
6069 "The highest of those priorities whose description matches the version is "
6070 "assigned to the version."
6072 "説明がバージョンとマッチし、優先順位が最も高いものがバージョンに割り当てられ"
6075 #. type: Content of: <refentry><refsect1><refsect2><para>
6076 #: apt_preferences.5.xml
6078 "If the target release has not been specified then APT simply assigns "
6079 "priority 100 to all installed package versions and priority 500 to all "
6080 "uninstalled package versions, except versions coming from archives which in "
6081 "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
6082 "- these versions get the priority 1 or priority 100 if it is additionally "
6083 "marked as \"ButAutomaticUpgrades: yes\"."
6085 "ターゲットリリースが指定されていなければ、APT は単純にインストールしている"
6086 "パッケージのバージョンには優先度 100 を、インストールしていないパッケージの"
6087 "バージョンには優先度 500 を割り当てます。ただし、<filename>Release</"
6088 "filename> ファイルに \"NotAutomatic: yes\" とマークされたアーカイブ由来のバー"
6089 "ジョンは違います。こういったバージョンでは優先度 1 を割り当て、さらに "
6090 "\"ButAutomaticUpgrades: yes\" とマークされている場合には、優先度 100 を割り当"
6093 #. type: Content of: <refentry><refsect1><refsect2><para>
6094 #: apt_preferences.5.xml
6096 "APT then applies the following rules, listed in order of precedence, to "
6097 "determine which version of a package to install."
6099 "APT は、インストールするパッケージのバージョンを決定するために、以下のルール"
6102 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6103 #: apt_preferences.5.xml
6105 "Never downgrade unless the priority of an available version exceeds 1000. "
6106 "(\"Downgrading\" is installing a less recent version of a package in place "
6107 "of a more recent version. Note that none of APT's default priorities "
6108 "exceeds 1000; such high priorities can only be set in the preferences file. "
6109 "Note also that downgrading a package can be risky.)"
6111 "有効なバージョンの優先度が 1000 を越えない場合、決してダウングレードしませ"
6112 "ん。(「ダウングレード」は、現在のパッケージのバージョンよりも、小さいバージョ"
6113 "ンのものをインストールします。APT のデフォルト優先度が 1000 を越えないことに"
6114 "注意してください。そのような優先度は、プリファレンスファイルでのみ設定できま"
6115 "す。また、パッケージのダウングレードは危険であることにも注意してください)"
6117 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6118 #: apt_preferences.5.xml
6119 msgid "Install the highest priority version."
6120 msgstr "最も高い優先度のバージョンをインストールします。"
6122 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6123 #: apt_preferences.5.xml
6125 "If two or more versions have the same priority, install the most recent one "
6126 "(that is, the one with the higher version number)."
6128 "同じ優先度のバージョンが複数存在する場合、最も新しいもの (最もバージョン番号"
6129 "が高いもの) をインストールします。"
6131 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6132 #: apt_preferences.5.xml
6134 "If two or more versions have the same priority and version number but either "
6135 "the packages differ in some of their metadata or the <literal>--reinstall</"
6136 "literal> option is given, install the uninstalled one."
6138 "優先度・バージョン番号が同じものが複数存在し、そのパッケージのメタデータが異"
6139 "なるか <literal>--reinstall</literal> オプションが与えられている場合、インス"
6140 "トールされていないものをインストールします。"
6142 #. type: Content of: <refentry><refsect1><refsect2><para>
6143 #: apt_preferences.5.xml
6145 "In a typical situation, the installed version of a package (priority 100) "
6146 "is not as recent as one of the versions available from the sources listed in "
6147 "the &sources-list; file (priority 500 or 990). Then the package will be "
6148 "upgraded when <command>apt-get install <replaceable>some-package</"
6149 "replaceable></command> or <command>apt-get upgrade</command> is executed."
6151 "よくある状況として、あるインストールされているパッケージのバージョン (優先度 "
6152 "100) が、&sources-list; ファイルのリストから得られるバージョン (優先度 500 "
6153 "か 990) よりも新しくないということがあります。この場合、<command>apt-get "
6154 "install <replaceable>some-package</replaceable></command> や <command>apt-"
6155 "get upgrade</command> を実行するとパッケージが更新されます。"
6157 #. type: Content of: <refentry><refsect1><refsect2><para>
6158 #: apt_preferences.5.xml
6160 "More rarely, the installed version of a package is <emphasis>more</emphasis> "
6161 "recent than any of the other available versions. The package will not be "
6162 "downgraded when <command>apt-get install <replaceable>some-package</"
6163 "replaceable></command> or <command>apt-get upgrade</command> is executed."
6165 "まれに、インストールされているパッケージのバージョンが、<emphasis>他の有効な"
6166 "バージョンよりも</emphasis>新しい場合があります。この時 <command>apt-get "
6167 "install <replaceable>some-package</replaceable></command> や <command>apt-"
6168 "get upgrade</command> を実行しても、ダウングレードしません。"
6170 #. type: Content of: <refentry><refsect1><refsect2><para>
6171 #: apt_preferences.5.xml
6173 "Sometimes the installed version of a package is more recent than the version "
6174 "belonging to the target release, but not as recent as a version belonging to "
6175 "some other distribution. Such a package will indeed be upgraded when "
6176 "<command>apt-get install <replaceable>some-package</replaceable></command> "
6177 "or <command>apt-get upgrade</command> is executed, because at least "
6178 "<emphasis>one</emphasis> of the available versions has a higher priority "
6179 "than the installed version."
6181 "時々、インストールしているパッケージのバージョンが、ターゲットリリースに属す"
6182 "るバージョンよりも新しく、他のディストリビューションよりも古い場合がありま"
6183 "す。そのようなパッケージに対して <command>apt-get install <replaceable>some-"
6184 "package</replaceable></command> や <command>apt-get upgrade</command> を実行"
6185 "すると、パッケージは更新されます。この場合、インストールされているバージョン"
6186 "よりも、少なくとも<emphasis>ひとつ</emphasis>は、高い優先度を持つ有効なパッ"
6189 #. type: Content of: <refentry><refsect1><refsect2><title>
6190 #: apt_preferences.5.xml
6191 msgid "The Effect of APT Preferences"
6192 msgstr "APT プリファレンスファイルの効果"
6194 #. type: Content of: <refentry><refsect1><refsect2><para>
6195 #: apt_preferences.5.xml
6197 "The APT preferences file allows the system administrator to control the "
6198 "assignment of priorities. The file consists of one or more multi-line "
6199 "records separated by blank lines. Records can have one of two forms, a "
6200 "specific form and a general form."
6202 "APT プリファレンスファイルを使うと、システム管理者が優先度を割り当てられるよ"
6203 "うになります。ファイルは、空白行で区切られた、複数行からなるレコードで構成さ"
6204 "れています。レコードは特定形式か、汎用形式のどちらかの形式をとります。"
6206 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6207 #: apt_preferences.5.xml
6209 "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
6210 "specified packages with a specified version or version range. For example, "
6211 "the following record assigns a high priority to all versions of the "
6212 "<filename>perl</filename> package whose version number begins with "
6213 "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
6216 "特定形式は、優先度 (\"Pin-Priority\") を、指定したバージョンやバージョン範囲"
6217 "の、指定したパッケージについて割り当てます。例えば以下のレコードは、バージョ"
6218 "ン番号が \"<literal>&good-perl;</literal>\" で始まる <filename>perl</"
6219 "filename> パッケージを、高い優先度に設定します。空白で区切り、複数のパッケー"
6222 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6223 #: apt_preferences.5.xml
6227 "Pin: version &good-perl;*\n"
6228 "Pin-Priority: 1001\n"
6231 "Pin: version &good-perl;*\n"
6232 "Pin-Priority: 1001\n"
6234 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6235 #: apt_preferences.5.xml
6237 "The general form assigns a priority to all of the package versions in a "
6238 "given distribution (that is, to all the versions of packages that are listed "
6239 "in a certain <filename>Release</filename> file) or to all of the package "
6240 "versions coming from a particular Internet site, as identified by the site's "
6241 "fully qualified domain name."
6243 "汎用形式は、与えられたディストリビューションにある、すべてのパッケージ "
6244 "(<filename>Release</filename> ファイルに列挙したパッケージ) の優先度や、FQDN"
6245 "で指定した、特定のインターネットサイトから取得するパッケージの優先度を割り当"
6248 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6249 #: apt_preferences.5.xml
6251 "This general-form entry in the APT preferences file applies only to groups "
6252 "of packages. For example, the following record assigns a high priority to "
6253 "all package versions available from the local site."
6255 "APT プリファレンスファイルに書かれている汎用形式のエントリは、パッケージのグ"
6256 "ループについてのみ適用されます。例えば以下のレコードは、ローカルサイトにある"
6257 "全パッケージについて、高い優先度を割り当てます。"
6259 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6260 #: apt_preferences.5.xml
6264 "Pin: origin \"\"\n"
6265 "Pin-Priority: 999\n"
6268 "Pin: origin \"\"\n"
6269 "Pin-Priority: 999\n"
6271 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6272 #: apt_preferences.5.xml
6274 "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
6275 "which can be used to match a hostname. The following record will assign a "
6276 "high priority to all versions available from the server identified by the "
6277 "hostname \"ftp.de.debian.org\""
6279 "注意: ここで使われるキーワードは、ホスト名にマッチするのに使われる "
6280 "\"<literal>origin</literal>\" です。以下のレコードは、ホスト名が \"ftp.de."
6281 "debian.org\" で識別されるサーバ由来のすべてのバージョンに、高い優先度を割り当"
6284 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6285 #: apt_preferences.5.xml
6289 "Pin: origin \"ftp.de.debian.org\"\n"
6290 "Pin-Priority: 999\n"
6293 "Pin: origin \"ftp.de.debian.org\"\n"
6294 "Pin-Priority: 999\n"
6296 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6297 #: apt_preferences.5.xml
6299 "This should <emphasis>not</emphasis> be confused with the Origin of a "
6300 "distribution as specified in a <filename>Release</filename> file. What "
6301 "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
6302 "Internet address but an author or vendor name, such as \"Debian\" or \"Ximian"
6305 "<filename>Release</filename> ファイルに指定されたような、ディストリビューショ"
6306 "ンの Origin と <emphasis>混同しない</emphasis>ようにしてください。"
6307 "<filename>Release</filename> ファイルにある \"Origin:\" タグは、インターネッ"
6308 "トアドレスではなく、\"Debian\" や \"Ximian\" といった作者やベンダ名です。"
6310 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6311 #: apt_preferences.5.xml
6313 "The following record assigns a low priority to all package versions "
6314 "belonging to any distribution whose Archive name is \"<literal>unstable</"
6317 "以下のレコードは、アーカイブ名が \"<literal>unstable</literal>\" となっている"
6318 "ディストリビューションに属するパッケージを、すべて低い優先度に割り当てます。"
6320 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6321 #: apt_preferences.5.xml
6325 "Pin: release a=unstable\n"
6326 "Pin-Priority: 50\n"
6329 "Pin: release a=unstable\n"
6330 "Pin-Priority: 50\n"
6332 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6333 #: apt_preferences.5.xml
6335 "The following record assigns a high priority to all package versions "
6336 "belonging to any distribution whose Codename is \"<literal>&debian-testing-"
6337 "codename;</literal>\"."
6339 "以下のレコードは、コード名が \"<literal>&debian-testing-codename;</literal>"
6340 "\" となっているディストリビューションに属するパッケージのバージョンを、高い優"
6343 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6344 #: apt_preferences.5.xml
6348 "Pin: release n=&debian-testing-codename;\n"
6349 "Pin-Priority: 900\n"
6352 "Pin: release n=&debian-testing-codename;\n"
6353 "Pin-Priority: 900\n"
6355 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6356 #: apt_preferences.5.xml
6358 "The following record assigns a high priority to all package versions "
6359 "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
6360 "and whose release Version number is \"<literal>&debian-stable-version;</"
6363 "以下のレコードは、アーカイブ名が \"<literal>stable</literal>\" で、リリース"
6364 "バージョン番号が \"<literal>&debian-stable-version;</literal>\" となっている"
6365 "リリースに属するパッケージを、すべて高い優先度に割り当てます。"
6367 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6368 #: apt_preferences.5.xml
6372 "Pin: release a=stable, v=&debian-stable-version;\n"
6373 "Pin-Priority: 500\n"
6376 "Pin: release a=stable, v=&debian-stable-version;\n"
6377 "Pin-Priority: 500\n"
6379 #. type: Content of: <refentry><refsect1><refsect2><para>
6380 #: apt_preferences.5.xml
6382 "The effect of the comma operator is similar to an \"and\" in logic: All "
6383 "conditions must be satisfied for the pin to match. There is one exception: "
6384 "For any type of condition (such as two \"a\" conditions), only the last such "
6385 "condition is checked."
6387 "コンマ演算子の効果は \"and\" 論理に似ています: ピンが一致するようにすべての条"
6388 "件がピンが一致しなければなりません。一つの例外があります: 条件のいずれかの型"
6389 "では (例えば、二つの \"a\" 条件)、ただ最後の条件のみがチェックされます。"
6391 #. type: Content of: <refentry><refsect1><refsect2><title>
6392 #: apt_preferences.5.xml
6393 msgid "Regular expressions and &glob; syntax"
6394 msgstr "正規表現と &glob; 構文"
6396 #. type: Content of: <refentry><refsect1><refsect2><para>
6397 #: apt_preferences.5.xml
6399 "APT also supports pinning by &glob; expressions, and regular expressions "
6400 "surrounded by slashes. For example, the following example assigns the "
6401 "priority 500 to all packages from experimental where the name starts with "
6402 "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
6403 "extended regular expression surrounded by slashes)."
6405 "APT は &glob; 表現と、スラッシュで囲んだ正規表現による pin もサポートしていま"
6406 "す。例えば以下の例は、gnome で始まる (&glob; 風表現) か kde を含む (スラッ"
6407 "シュで囲んだ POSIX の拡張正規表現) 名前の、experimental 由来のすべてのパッ"
6408 "ケージに、優先度500を割り当てます。"
6410 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6411 #: apt_preferences.5.xml
6414 "Package: gnome* /kde/\n"
6415 "Pin: release a=experimental\n"
6416 "Pin-Priority: 500\n"
6418 "Package: gnome* /kde/\n"
6419 "Pin: release a=experimental\n"
6420 "Pin-Priority: 500\n"
6422 #. type: Content of: <refentry><refsect1><refsect2><para>
6423 #: apt_preferences.5.xml
6425 "The rule for those expressions is that they can occur anywhere where a "
6426 "string can occur. Thus, the following pin assigns the priority 990 to all "
6427 "packages from a release starting with &ubuntu-codename;."
6429 "この表現の規則は、文字が現れうる場所なら、どこでも発生しうるという事です。し"
6430 "たがって、以下の pin は、&ubuntu-codename; で始まるリリース由来の、すべての"
6431 "パッケージに、優先度 990 を割り当てます。"
6433 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6434 #: apt_preferences.5.xml
6438 "Pin: release n=&ubuntu-codename;*\n"
6439 "Pin-Priority: 990\n"
6442 "Pin: release n=&ubuntu-codename;*\n"
6443 "Pin-Priority: 990\n"
6445 #. type: Content of: <refentry><refsect1><refsect2><para>
6446 #: apt_preferences.5.xml
6448 "If a regular expression occurs in a <literal>Package</literal> field, the "
6449 "behavior is the same as if this regular expression were replaced with a list "
6450 "of all package names it matches. It is undecided whether this will change in "
6451 "the future; thus you should always list wild-card pins first, so later "
6452 "specific pins override it. The pattern \"<literal>*</literal>\" in a "
6453 "Package field is not considered a &glob; expression in itself."
6455 "<literal>Package</literal> フィールドも正規表現が現れる場合、正規表現を、マッ"
6456 "チするすべてのパッケージ名のリストに置き換えたものとして、動作します。これは"
6457 "将来変更されるかどうか、まだ決定していません。そのため、まずはじめにワイルド"
6458 "カード pin を、常に記述するようにしてください。その後に続く pin で上書きされ"
6459 "ます。Package フィールドの \"<literal>*</literal>\" パターンは、&glob; 表現自"
6462 #. type: Content of: <refentry><refsect1><refsect2><title>
6463 #: apt_preferences.5.xml
6464 msgid "How APT Interprets Priorities"
6465 msgstr "APT が優先度に割り込む方法"
6467 #. type: Content of: <refentry><refsect1><refsect2><para>
6468 #: apt_preferences.5.xml
6470 "Priorities (P) assigned in the APT preferences file must be positive or "
6471 "negative integers. They are interpreted as follows (roughly speaking):"
6473 "APT プリファレンスファイルで割り当てた優先度 (P) は、正負の整数でなくてはなり"
6474 "ません。これは (おおざっぱにいうと) 以下のように解釈されます。"
6476 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6477 #: apt_preferences.5.xml
6478 msgid "P >= 1000"
6479 msgstr "P >= 1000"
6481 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6482 #: apt_preferences.5.xml
6484 "causes a version to be installed even if this constitutes a downgrade of the "
6487 "パッケージがダウングレードしても、このバージョンのパッケージをインストール"
6489 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6490 #: apt_preferences.5.xml
6491 msgid "990 <= P < 1000"
6492 msgstr "990 <= P < 1000"
6494 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6495 #: apt_preferences.5.xml
6497 "causes a version to be installed even if it does not come from the target "
6498 "release, unless the installed version is more recent"
6500 "インストールされているバージョンの方が新しいのでなければ、ターゲットリリース"
6501 "に含まれなくても、このバージョンのパッケージをインストール"
6503 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6504 #: apt_preferences.5.xml
6505 msgid "500 <= P < 990"
6506 msgstr "500 <= P < 990"
6508 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6509 #: apt_preferences.5.xml
6511 "causes a version to be installed unless there is a version available "
6512 "belonging to the target release or the installed version is more recent"
6514 "ターゲットリリースに属するバージョンがあったり、インストールされているバー"
6515 "ジョンの方が新しいのでなければ、このバージョンのパッケージをインストール"
6517 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6518 #: apt_preferences.5.xml
6519 msgid "100 <= P < 500"
6520 msgstr "100 <= P < 500"
6522 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6523 #: apt_preferences.5.xml
6525 "causes a version to be installed unless there is a version available "
6526 "belonging to some other distribution or the installed version is more recent"
6528 "他のディストリビューションに属するバージョンがあったり、インストールされてい"
6529 "るバージョンの方が新しいのでなければ、このバージョンのパッケージをインストー"
6532 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6533 #: apt_preferences.5.xml
6534 msgid "0 < P < 100"
6535 msgstr "0 < P < 100"
6537 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6538 #: apt_preferences.5.xml
6540 "causes a version to be installed only if there is no installed version of "
6543 "このパッケージがインストールされていない場合、このバージョンのパッケージをイ"
6546 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6547 #: apt_preferences.5.xml
6551 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6552 #: apt_preferences.5.xml
6553 msgid "prevents the version from being installed"
6554 msgstr "このバージョンのインストール禁止"
6556 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6557 #: apt_preferences.5.xml
6561 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6562 #: apt_preferences.5.xml
6563 msgid "has undefined behaviour, do not use it."
6564 msgstr "は動作が未定義です、使用しないでください。"
6566 #. type: Content of: <refentry><refsect1><refsect2><para>
6567 #: apt_preferences.5.xml
6569 "The first specific-form record matching an available package version "
6570 "determines the priority of the package version. Failing that, the priority "
6571 "of the package is defined as the maximum of all priorities defined by "
6572 "generic-form records matching the version. Records defined using patterns "
6573 "in the Pin field other than \"*\" are treated like specific-form records."
6575 "利用可能なパッケージバージョンに一致する最初の特定形式のレコードが、パッケー"
6576 "ジバージョンの優先度を決定します。それに失敗すると、パッケージバージョンの優"
6577 "先度は、バージョンに一致する汎用形式のレコードで定義されたすべての優先度の最"
6580 #. type: Content of: <refentry><refsect1><refsect2><para>
6581 #: apt_preferences.5.xml
6583 "For example, suppose the APT preferences file contains the three records "
6584 "presented earlier:"
6586 "例えば、APT プリファレンスファイルの上の方に、以下のレコードが書かれていると"
6589 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6590 #: apt_preferences.5.xml
6594 "Pin: version &good-perl;*\n"
6595 "Pin-Priority: 1001\n"
6598 "Pin: origin \"\"\n"
6599 "Pin-Priority: 999\n"
6602 "Pin: release unstable\n"
6603 "Pin-Priority: 50\n"
6606 "Pin: version &good-perl;*\n"
6607 "Pin-Priority: 1001\n"
6610 "Pin: origin \"\"\n"
6611 "Pin-Priority: 999\n"
6614 "Pin: release unstable\n"
6615 "Pin-Priority: 50\n"
6617 #. type: Content of: <refentry><refsect1><refsect2><para>
6618 #: apt_preferences.5.xml
6620 msgstr "すると、以下のように動作します。"
6622 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6623 #: apt_preferences.5.xml
6625 "The most recent available version of the <literal>perl</literal> package "
6626 "will be installed, so long as that version's version number begins with "
6627 "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> &good-perl;"
6628 "* version of <literal>perl</literal> is available and the installed version "
6629 "is &bad-perl;*, then <literal>perl</literal> will be downgraded."
6631 "バージョン番号が \"<literal>&good-perl;</literal>\" で始まっていれば、"
6632 "<literal>perl</literal> の最新の利用可能パッケージがインストールされます。"
6633 "バージョン &good-perl;* が利用可能で、バージョン &bad-perl;* がインストールさ"
6634 "れている場合、<literal>perl</literal> はダウングレードされます。"
6636 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6637 #: apt_preferences.5.xml
6639 "A version of any package other than <literal>perl</literal> that is "
6640 "available from the local system has priority over other versions, even "
6641 "versions belonging to the target release."
6643 "ローカルシステムで有効な、<literal>perl</literal> 以外のどんなパッケージで"
6644 "も、他のバージョンより (たとえターゲットリリースに属していても) 優先度が高く"
6647 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6648 #: apt_preferences.5.xml
6650 "A version of a package whose origin is not the local system but some other "
6651 "site listed in &sources-list; and which belongs to an <literal>unstable</"
6652 "literal> distribution is only installed if it is selected for installation "
6653 "and no version of the package is already installed."
6655 "ローカルシステムにはなくても &sources-list; に列挙されたサイトにあるバージョ"
6656 "ンで、<literal>unstable</literal> ディストリビューションに属しているパッケー"
6657 "ジは、インストールするよう選択され、既にインストールされているバージョンがな"
6660 #. type: Content of: <refentry><refsect1><refsect2><title>
6661 #: apt_preferences.5.xml
6662 msgid "Determination of Package Version and Distribution Properties"
6663 msgstr "パッケージのバージョンとディストリビューションプロパティの決定"
6665 #. type: Content of: <refentry><refsect1><refsect2><para>
6666 #: apt_preferences.5.xml
6668 "The locations listed in the &sources-list; file should provide "
6669 "<filename>Packages</filename> and <filename>Release</filename> files to "
6670 "describe the packages available at that location."
6672 "&sources-list; ファイルに列挙した場所では、その場所で利用できるパッケージを記"
6673 "述した、<filename>Packages</filename> ファイルや <filename>Release</"
6674 "filename> ファイルを提供します。"
6676 #. type: Content of: <refentry><refsect1><refsect2><para>
6677 #: apt_preferences.5.xml
6679 "The <filename>Packages</filename> file is normally found in the directory "
6680 "<filename>.../dists/<replaceable>dist-name</replaceable>/"
6681 "<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
6682 "filename>: for example, <filename>.../dists/stable/main/binary-i386/"
6683 "Packages</filename>. It consists of a series of multi-line records, one for "
6684 "each package available in that directory. Only two lines in each record are "
6685 "relevant for setting APT priorities:"
6687 "<filename>Packages</filename> ファイルは通常 <filename>.../dists/"
6688 "<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/"
6689 "<replaceable>arch</replaceable></filename> ディレクトリにあります。例えば、"
6690 "<filename>.../dists/stable/main/binary-i386/Packages</filename> です。これ"
6691 "は、ディレクトリにある利用可能パッケージごとに、複数行のレコードからできてい"
6692 "ます。APT 優先度の設定は、レコードごとに以下の 2 行だけです。"
6694 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6695 #: apt_preferences.5.xml
6696 msgid "the <literal>Package:</literal> line"
6697 msgstr "<literal>Package:</literal> 行"
6699 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6700 #: apt_preferences.5.xml
6701 msgid "gives the package name"
6704 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6705 #: apt_preferences.5.xml
6706 msgid "the <literal>Version:</literal> line"
6707 msgstr "<literal>Version:</literal> 行"
6709 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6710 #: apt_preferences.5.xml
6711 msgid "gives the version number for the named package"
6712 msgstr "その名前のパッケージのバージョン番号"
6714 #. type: Content of: <refentry><refsect1><refsect2><para>
6715 #: apt_preferences.5.xml
6717 "The <filename>Release</filename> file is normally found in the directory "
6718 "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
6719 "example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
6720 "dists/&debian-stable-codename;/Release</filename>. It consists of a single "
6721 "multi-line record which applies to <emphasis>all</emphasis> of the packages "
6722 "in the directory tree below its parent. Unlike the <filename>Packages</"
6723 "filename> file, nearly all of the lines in a <filename>Release</filename> "
6724 "file are relevant for setting APT priorities:"
6726 "<filename>Release</filename> ファイルは、通常 <filename>.../dists/"
6727 "<replaceable>dist-name</replaceable></filename> ディレクトリにあります。例え"
6728 "ば、<filename>.../dists/stable/Release</filename> や <filename>.../dists/"
6729 "&debian-stable-codename;/Release</filename> です。これは、このディレクトリ以"
6730 "下にある<emphasis>全</emphasis>パッケージに適用する、複数行のレコード 1 つか"
6731 "ら成っています。<filename>Packages</filename> ファイルと違い "
6732 "<filename>Release</filename> ファイルは、以下のようにほとんどの行が APT 優先"
6735 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6736 #: apt_preferences.5.xml
6737 msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
6738 msgstr "<literal>Archive:</literal> 行や <literal>Suite:</literal> 行"
6740 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6741 #: apt_preferences.5.xml
6743 "names the archive to which all the packages in the directory tree belong. "
6744 "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
6745 "that all of the packages in the directory tree below the parent of the "
6746 "<filename>Release</filename> file are in a <literal>stable</literal> "
6747 "archive. Specifying this value in the APT preferences file would require "
6750 "このディレクトリツリーに属する全パッケージのアーカイブ名です。例え"
6751 "ば、\"Archive: stable\" や \"Suite: stable\" という行は、<filename>Release</"
6752 "filename> ファイルの親ディレクトリツリー以下にある全パッケージが、"
6753 "<literal>stable</literal> アーカイブだと指定します。APT プリファレンスファイ"
6754 "ルでこの値を指定するには、以下の行が必要になります。"
6756 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6757 #: apt_preferences.5.xml
6759 msgid "Pin: release a=stable\n"
6760 msgstr "Pin: release a=stable\n"
6762 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6763 #: apt_preferences.5.xml
6764 msgid "the <literal>Codename:</literal> line"
6765 msgstr "<literal>Codename:</literal> 行"
6767 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6768 #: apt_preferences.5.xml
6770 "names the codename to which all the packages in the directory tree belong. "
6771 "For example, the line \"Codename: &debian-testing-codename;\" specifies that "
6772 "all of the packages in the directory tree below the parent of the "
6773 "<filename>Release</filename> file belong to a version named <literal>&debian-"
6774 "testing-codename;</literal>. Specifying this value in the APT preferences "
6775 "file would require the line:"
6777 "このディレクトリツリーに属する全パッケージのコード名です。たとえ"
6778 "ば、\"Codename: &debian-testing-codename;\" という行は、<filename>Release</"
6779 "filename> ファイルの親ディレクトリツリー以下にある全パッケージが、"
6780 "<literal>&debian-testing-codename;</literal> と名前のついたバージョンであると"
6781 "指定します。APT プリファレンスファイルでこの値を指定するには、以下の行が必要"
6784 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6785 #: apt_preferences.5.xml
6787 msgid "Pin: release n=&debian-testing-codename;\n"
6788 msgstr "Pin: release n=&debian-testing-codename;\n"
6790 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6791 #: apt_preferences.5.xml
6793 "names the release version. For example, the packages in the tree might "
6794 "belong to Debian release version &debian-stable-version;. Note that there "
6795 "is normally no version number for the <literal>testing</literal> and "
6796 "<literal>unstable</literal> distributions because they have not been "
6797 "released yet. Specifying this in the APT preferences file would require one "
6798 "of the following lines."
6800 "リリースバージョン名です。例えば、このツリーのパッケージが、Debian リリース"
6801 "バージョン &debian-stable-version; に属するとします。通常 <literal>testing</"
6802 "literal> ディストリビューションや <literal>unstable</literal> ディストリ"
6803 "ビューションには、まだリリースされていないので、バージョン番号が付きません。"
6804 "APT プリファレンスファイルでこれを指定するには、以下の行のいずれかが必要にな"
6807 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6808 #: apt_preferences.5.xml
6811 "Pin: release v=&debian-stable-version;\n"
6812 "Pin: release a=stable, v=&debian-stable-version;\n"
6813 "Pin: release &debian-stable-version;\n"
6815 "Pin: release v=&debian-stable-version;\n"
6816 "Pin: release a=stable, v=&debian-stable-version;\n"
6817 "Pin: release &debian-stable-version;\n"
6819 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6820 #: apt_preferences.5.xml
6821 msgid "the <literal>Component:</literal> line"
6822 msgstr "<literal>Component:</literal> 行"
6824 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6825 #: apt_preferences.5.xml
6827 "names the licensing component associated with the packages in the directory "
6828 "tree of the <filename>Release</filename> file. For example, the line "
6829 "\"Component: main\" specifies that all the packages in the directory tree "
6830 "are from the <literal>main</literal> component, which entails that they are "
6831 "licensed under terms listed in the Debian Free Software Guidelines. "
6832 "Specifying this component in the APT preferences file would require the line:"
6834 "<filename>Release</filename> ファイルの、ディレクトリツリーにあるパッケージの"
6835 "ライセンスコンポーネント名です。例えば、\"Component: main\" という行は、この"
6836 "ディレクトリ以下の全ファイルが、<literal>main</literal> コンポーネント "
6837 "(Debian フリーソフトウェアガイドラインの元でライセンスされている) であること"
6838 "を表します。APT プリファレンスファイルでこのコンポーネントを指定するには、以"
6841 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6842 #: apt_preferences.5.xml
6844 msgid "Pin: release c=main\n"
6845 msgstr "Pin: release c=main\n"
6847 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6848 #: apt_preferences.5.xml
6849 msgid "the <literal>Origin:</literal> line"
6850 msgstr "<literal>Origin:</literal> 行"
6852 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6853 #: apt_preferences.5.xml
6855 "names the originator of the packages in the directory tree of the "
6856 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6857 "literal>. Specifying this origin in the APT preferences file would require "
6860 "<filename>Release</filename> ファイルのディレクトリツリーにあるパッケージの提"
6861 "供者名です。ほとんど共通で <literal>Debian</literal> です。APT プリファレンス"
6862 "ファイルでこの提供者を指定するには、以下の行が必要になります。"
6864 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6865 #: apt_preferences.5.xml
6867 msgid "Pin: release o=Debian\n"
6868 msgstr "Pin: release o=Debian\n"
6870 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6871 #: apt_preferences.5.xml
6872 msgid "the <literal>Label:</literal> line"
6873 msgstr "<literal>Label:</literal> 行"
6875 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6876 #: apt_preferences.5.xml
6878 "names the label of the packages in the directory tree of the "
6879 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6880 "literal>. Specifying this label in the APT preferences file would require "
6883 "<filename>Release</filename> ファイルのディレクトリツリーにあるパッケージのラ"
6884 "ベル名です。ほとんど共通で <literal>Debian</literal> です。APT プリファレンス"
6885 "ファイルでこのラベルを指定するには、以下の行が必要になります。"
6887 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6888 #: apt_preferences.5.xml
6890 msgid "Pin: release l=Debian\n"
6891 msgstr "Pin: release l=Debian\n"
6893 #. type: Content of: <refentry><refsect1><refsect2><para>
6894 #: apt_preferences.5.xml
6896 "All of the <filename>Packages</filename> and <filename>Release</filename> "
6897 "files retrieved from locations listed in the &sources-list; file are stored "
6898 "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
6899 "named by the variable <literal>Dir::State::Lists</literal> in the "
6900 "<filename>apt.conf</filename> file. For example, the file <filename>debian."
6901 "lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
6902 "contains the <filename>Release</filename> file retrieved from the site "
6903 "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
6904 "architecture files from the <literal>contrib</literal> component of the "
6905 "<literal>unstable</literal> distribution."
6907 "&sources-list; ファイルに列挙された場所から取得した <filename>Packages</"
6908 "filename> ファイルや <filename>Release</filename> ファイルはすべて、"
6909 "<filename>/var/lib/apt/lists</filename> ディレクトリや、<filename>apt.conf</"
6910 "filename> ファイルの <literal>Dir::State::Lists</literal> 変数で指定した場所"
6911 "に取得されます。例えば、<filename>debian.lcs.mit."
6912 "edu_debian_dists_unstable_contrib_binary-i386_Release</filename> ファイルは、"
6913 "<literal>debian.lcs.mit.edu</literal> から取得した、<literal>unstable</"
6914 "literal> ディストリビューションで、<literal>contrib</literal> コンポーネント"
6915 "な、<literal>binary-i386</literal> アーキテクチャ用の <filename>Release</"
6916 "filename> ファイルを含んでいます。"
6918 #. type: Content of: <refentry><refsect1><refsect2><title>
6919 #: apt_preferences.5.xml
6920 msgid "Optional Lines in an APT Preferences Record"
6921 msgstr "APT プリファレンスレコードのオプション行"
6923 #. type: Content of: <refentry><refsect1><refsect2><para>
6924 #: apt_preferences.5.xml
6926 "Each record in the APT preferences file can optionally begin with one or "
6927 "more lines beginning with the word <literal>Explanation:</literal>. This "
6928 "provides a place for comments."
6930 "APT プリファレンスファイルのレコードごとに、任意で <literal>Explanation:</"
6931 "literal> で始まる行を持てます。これは、コメント用の場所を確保します。"
6933 #. type: Content of: <refentry><refsect1><refsect2><title>
6934 #: apt_preferences.5.xml
6935 msgid "Tracking Stable"
6938 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6939 #: apt_preferences.5.xml
6942 "Explanation: Uninstall or do not install any Debian-originated\n"
6943 "Explanation: package versions other than those in the stable distro\n"
6945 "Pin: release a=stable\n"
6946 "Pin-Priority: 900\n"
6949 "Pin: release o=Debian\n"
6950 "Pin-Priority: -10\n"
6952 "Explanation: Uninstall or do not install any Debian-originated\n"
6953 "Explanation: package versions other than those in the stable distro\n"
6955 "Pin: release a=stable\n"
6956 "Pin-Priority: 900\n"
6959 "Pin: release o=Debian\n"
6960 "Pin-Priority: -10\n"
6962 #. type: Content of: <refentry><refsect1><refsect2><para>
6963 #: apt_preferences.5.xml
6965 "The following APT preferences file will cause APT to assign a priority "
6966 "higher than the default (500) to all package versions belonging to a "
6967 "<literal>stable</literal> distribution and a prohibitively low priority to "
6968 "package versions belonging to other <literal>Debian</literal> "
6969 "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
6971 "以下の APT プリファレンスファイルは、<literal>stable</literal> ディストリ"
6972 "ビューションに属する全てのパッケージのバージョンに、デフォルト (500) より高い"
6973 "優先度を割り当て、他の <literal>Debian</literal> ディストリビューションのパッ"
6974 "ケージのバージョンには、低くてインストールできないような優先度を割り当てま"
6975 "す。<placeholder type=\"programlisting\" id=\"0\"/>"
6977 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6978 #: apt_preferences.5.xml
6981 "apt-get install <replaceable>package-name</replaceable>\n"
6983 "apt-get dist-upgrade\n"
6985 "apt-get install <replaceable>package-name</replaceable>\n"
6987 "apt-get dist-upgrade\n"
6989 #. type: Content of: <refentry><refsect1><refsect2><para>
6990 #: apt_preferences.5.xml
6992 "With a suitable &sources-list; file and the above preferences file, any of "
6993 "the following commands will cause APT to upgrade to the latest "
6994 "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
6997 "適切な &sources-list; ファイルと上記のプリファレンスファイルにより、以下のコ"
6998 "マンドのいずれかで最新の <literal>stable</literal> バージョンにアップグレード"
6999 "できます。<placeholder type=\"programlisting\" id=\"0\"/>"
7001 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7002 #: apt_preferences.5.xml
7004 msgid "apt-get install <replaceable>package</replaceable>/testing\n"
7005 msgstr "apt-get install <replaceable>package</replaceable>/testing\n"
7007 #. type: Content of: <refentry><refsect1><refsect2><para>
7008 #: apt_preferences.5.xml
7010 "The following command will cause APT to upgrade the specified package to the "
7011 "latest version from the <literal>testing</literal> distribution; the package "
7012 "will not be upgraded again unless this command is given again. <placeholder "
7013 "type=\"programlisting\" id=\"0\"/>"
7015 "以下のコマンドで、指定したパッケージを <literal>testing</literal> ディストリ"
7016 "ビューションの最新バージョンにアップグレードします。このパッケージは、再度こ"
7017 "のコマンドを発行しないとアップグレードされません。<placeholder type="
7018 "\"programlisting\" id=\"0\"/>"
7020 #. type: Content of: <refentry><refsect1><refsect2><title>
7021 #: apt_preferences.5.xml
7022 msgid "Tracking Testing or Unstable"
7023 msgstr "テスト版や不安定版の追跡"
7025 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7026 #: apt_preferences.5.xml
7030 "Pin: release a=testing\n"
7031 "Pin-Priority: 900\n"
7034 "Pin: release a=unstable\n"
7035 "Pin-Priority: 800\n"
7038 "Pin: release o=Debian\n"
7039 "Pin-Priority: -10\n"
7042 "Pin: release a=testing\n"
7043 "Pin-Priority: 900\n"
7046 "Pin: release a=unstable\n"
7047 "Pin-Priority: 800\n"
7050 "Pin: release o=Debian\n"
7051 "Pin-Priority: -10\n"
7053 #. type: Content of: <refentry><refsect1><refsect2><para>
7054 #: apt_preferences.5.xml
7056 "The following APT preferences file will cause APT to assign a high priority "
7057 "to package versions from the <literal>testing</literal> distribution, a "
7058 "lower priority to package versions from the <literal>unstable</literal> "
7059 "distribution, and a prohibitively low priority to package versions from "
7060 "other <literal>Debian</literal> distributions. <placeholder type="
7061 "\"programlisting\" id=\"0\"/>"
7063 "以下の APT プリファレンスファイルは、<literal>testing</literal> ディストリ"
7064 "ビューションのパッケージのバージョンに高い優先度を割り当て、"
7065 "<literal>unstable</literal> ディストリビューションのパッケージのバージョンに"
7066 "は低い優先度を割り当てます。また他の <literal>Debian</literal> ディストリ"
7067 "ビューションのパッケージのバージョンには、低くてインストールできないような優"
7068 "先度を割り当てます。<placeholder type=\"programlisting\" id=\"0\"/>"
7070 #. type: Content of: <refentry><refsect1><refsect2><para>
7071 #: apt_preferences.5.xml
7073 "With a suitable &sources-list; file and the above preferences file, any of "
7074 "the following commands will cause APT to upgrade to the latest "
7075 "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
7078 "適切な &sources-list; ファイルと上記のプリファレンスファイルにより、以下のコ"
7079 "マンドのいずれかで最新の <literal>testing</literal> バージョンにアップグレー"
7080 "ドできます。<placeholder type=\"programlisting\" id=\"0\"/>"
7082 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7083 #: apt_preferences.5.xml
7085 msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
7086 msgstr "apt-get install <replaceable>package</replaceable>/unstable\n"
7088 #. type: Content of: <refentry><refsect1><refsect2><para>
7089 #: apt_preferences.5.xml
7091 "The following command will cause APT to upgrade the specified package to the "
7092 "latest version from the <literal>unstable</literal> distribution. "
7093 "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
7094 "the most recent <literal>testing</literal> version if that is more recent "
7095 "than the installed version, otherwise, to the most recent <literal>unstable</"
7096 "literal> version if that is more recent than the installed version. "
7097 "<placeholder type=\"programlisting\" id=\"0\"/>"
7099 "以下のコマンドで、指定したパッケージを <literal>unstable</literal> ディストリ"
7100 "ビューションの最新バージョンにアップグレードします。それ以降、<command>apt-"
7101 "get upgrade</command> は <literal>testing</literal> バージョンのパッケージが"
7102 "更新されていれば <literal>testing</literal> の最新版に、<literal>unstable</"
7103 "literal> バージョンのパッケージが更新されていれば <literal>unstable</"
7104 "literal> の最新版にアップグレードします。<placeholder type=\"programlisting"
7107 #. type: Content of: <refentry><refsect1><refsect2><title>
7108 #: apt_preferences.5.xml
7109 msgid "Tracking the evolution of a codename release"
7110 msgstr "コード名リリースの進化の追跡"
7112 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7113 #: apt_preferences.5.xml
7116 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
7117 "Explanation: other than those in the distribution codenamed with &debian-testing-codename; or sid\n"
7119 "Pin: release n=&debian-testing-codename;\n"
7120 "Pin-Priority: 900\n"
7122 "Explanation: Debian unstable is always codenamed with sid\n"
7124 "Pin: release n=sid\n"
7125 "Pin-Priority: 800\n"
7128 "Pin: release o=Debian\n"
7129 "Pin-Priority: -10\n"
7131 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
7132 "Explanation: other than those in the distribution codenamed with &debian-testing-codename; or sid\n"
7134 "Pin: release n=&debian-testing-codename;\n"
7135 "Pin-Priority: 900\n"
7137 "Explanation: Debian unstable is always codenamed with sid\n"
7139 "Pin: release n=sid\n"
7140 "Pin-Priority: 800\n"
7143 "Pin: release o=Debian\n"
7144 "Pin-Priority: -10\n"
7146 #. type: Content of: <refentry><refsect1><refsect2><para>
7147 #: apt_preferences.5.xml
7149 "The following APT preferences file will cause APT to assign a priority "
7150 "higher than the default (500) to all package versions belonging to a "
7151 "specified codename of a distribution and a prohibitively low priority to "
7152 "package versions belonging to other <literal>Debian</literal> distributions, "
7153 "codenames and archives. Note that with this APT preference APT will follow "
7154 "the migration of a release from the archive <literal>testing</literal> to "
7155 "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
7156 "want to follow for example the progress in <literal>testing</literal> "
7157 "notwithstanding the codename changes you should use the example "
7158 "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
7160 "以下の APT プリファレンスファイルは、指定したコード名のディストリビューション"
7161 "に属する全てのパッケージのバージョンに、デフォルト (500) より高い優先度を割り"
7162 "当て、他の <literal>Debian</literal> ディストリビューション、コード名、アーカ"
7163 "イブのパッケージのバージョンには、低くてインストールできないような優先度を割"
7164 "り当てます。この APT プリファレンスファイルにより、APT は <literal>testing</"
7165 "literal> アーカイブから、<literal>stable</literal> や最新の "
7166 "<literal>oldstable</literal> へ移行できます。コード名の変更に関係なく "
7167 "<literal>testing</literal> を追跡したい場合は、上記の設定例を使用するべきで"
7168 "す。<placeholder type=\"programlisting\" id=\"0\"/>"
7170 #. type: Content of: <refentry><refsect1><refsect2><para>
7171 #: apt_preferences.5.xml
7173 "With a suitable &sources-list; file and the above preferences file, any of "
7174 "the following commands will cause APT to upgrade to the latest version(s) in "
7175 "the release codenamed with <literal>&debian-testing-codename;</literal>. "
7176 "<placeholder type=\"programlisting\" id=\"0\"/>"
7178 "適切な &sources-list; ファイルと上記のプリファレンスファイルにより、以下のコ"
7179 "マンドのいずれかで、リリースコード名が <literal>&debian-testing-codename;</"
7180 "literal> である最新バージョンにアップグレードできます。<placeholder type="
7181 "\"programlisting\" id=\"0\"/>"
7183 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7184 #: apt_preferences.5.xml
7186 msgid "apt-get install <replaceable>package</replaceable>/sid\n"
7187 msgstr "apt-get install <replaceable>package</replaceable>/sid\n"
7189 #. type: Content of: <refentry><refsect1><refsect2><para>
7190 #: apt_preferences.5.xml
7192 "The following command will cause APT to upgrade the specified package to the "
7193 "latest version from the <literal>sid</literal> distribution. Thereafter, "
7194 "<command>apt-get upgrade</command> will upgrade the package to the most "
7195 "recent <literal>&debian-testing-codename;</literal> version if that is more "
7196 "recent than the installed version, otherwise, to the most recent "
7197 "<literal>sid</literal> version if that is more recent than the installed "
7198 "version. <placeholder type=\"programlisting\" id=\"0\"/>"
7200 "以下のコマンドで、指定したパッケージを <literal>sid</literal> ディストリ"
7201 "ビューションの最新バージョンにアップグレードします。それ以降、<command>apt-"
7202 "get upgrade</command> は <literal>&debian-testing-codename;</literal> バー"
7203 "ジョンのパッケージが更新されていれば <literal>&debian-testing-codename;</"
7204 "literal> の最新版に、<literal>sid</literal> バージョンのパッケージが更新され"
7205 "ていれば <literal>sid</literal>の最新版にアップグレードします。<placeholder "
7206 "type=\"programlisting\" id=\"0\"/>"
7208 #. type: Content of: <refentry><refsect1><para>
7209 #: apt_preferences.5.xml
7210 msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7211 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7213 #. type: Content of: <refentry><refnamediv><refpurpose>
7214 #: sources.list.5.xml
7215 msgid "List of configured APT data sources"
7216 msgstr "APT のデータ取得元の設定リスト"
7218 #. type: Content of: <refentry><refsect1><para>
7219 #: sources.list.5.xml
7221 "The source list <filename>/etc/apt/sources.list</filename> and the files "
7222 "contained in <filename>/etc/apt/sources.list.d/</filename> are designed to "
7223 "support any number of active sources and a variety of source media. The "
7224 "files list one source per line (one-line style) or contain multiline stanzas "
7225 "defining one or more sources per stanza (deb822 style), with the most "
7226 "preferred source listed first (in case a single version is available from "
7227 "more than one source). The information available from the configured sources "
7228 "is acquired by <command>apt-get update</command> (or by an equivalent "
7229 "command from another APT front-end)."
7231 "取得元リスト <filename>/etc/apt/sources.list</filename> と <filename>/etc/"
7232 "apt/sources.list.d/</filename> に含まれるファイルは、複数の取得元や様々なメ"
7233 "ディアをサポートするよう設計されています。ファイルは、1 行に一つの取得元をリ"
7234 "ストする (1 行スタイル) かまたはスタンザごとに複数の取得元を定義し、(シングル"
7235 "バージョンが複数の取得元から入手可能である場合には) 最も好ましい取得元を先頭"
7236 "に置く複数行のスタンザ (deb822 スタイル) を含みます。設定した取得元から利用可"
7237 "能な情報は、<command>apt-get update</command> (や、ほかの APT フロントエンド"
7240 #. type: Content of: <refentry><refsect1><title>
7241 #: sources.list.5.xml
7242 msgid "sources.list.d"
7243 msgstr "sources.list.d"
7245 #. type: Content of: <refentry><refsect1><para>
7246 #: sources.list.5.xml
7248 "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
7249 "add sources.list entries in separate files. Two different file formats are "
7250 "allowed as described in the next two sections. Filenames need to have "
7251 "either the extension <filename>.list</filename> or <filename>.sources</"
7252 "filename> depending on the contained format. The filenames may only contain "
7253 "letters (a-z and A-Z), digits (0-9), underscore (_), hyphen (-) and period "
7254 "(.) characters. Otherwise APT will print a notice that it has ignored a "
7255 "file, unless that file matches a pattern in the <literal>Dir::Ignore-Files-"
7256 "Silently</literal> configuration list - in which case it will be silently "
7259 "<filename>/etc/apt/sources.list.d</filename> ディレクトリは、別々のファイル"
7260 "で source.list のエントリを追加する方法を提供します。次の二つの節で説明するよ"
7261 "うに、二つの異なるファイル形式が許可されています。ファイル名は、含まれている"
7262 "形式に応じて <filename>.list</filename> または <filename>.sources</filename> "
7263 "のいずれかの拡張子を持っている必要があります。ファイル名は、文字 (a-z と A-"
7264 "Z)、数字 (0-9)、アンダースコア (_)、ハイフン (-)、ピリオド (.) のみを含むこと"
7265 "ができます。そうでなければ、<literal>Dir::Ignore-Files-Silently</literal> 設"
7266 "定リストのパターンに一致するもの以外に対して、ファイルを無視するという注意を "
7267 "APT が出力します。一致する場合は黙って無視します。"
7269 #. type: Content of: <refentry><refsect1><title>
7270 #: sources.list.5.xml
7271 msgid "One-Line-Style Format"
7274 #. type: Content of: <refentry><refsect1><para>
7275 #: sources.list.5.xml
7277 "Files in this format have the extension <filename>.list</filename>. Each "
7278 "line specifying a source starts with a type (e.g. <literal>deb-src</"
7279 "literal>) followed by options and arguments for this type. Individual "
7280 "entries cannot be continued onto a following line. Empty lines are ignored, "
7281 "and a <literal>#</literal> character anywhere on a line marks the remainder "
7282 "of that line as a comment. Consequently an entry can be disabled by "
7283 "commenting out the entire line. If options should be provided they are "
7284 "separated by spaces and all of them together are enclosed by square brackets "
7285 "(<literal>[]</literal>) included in the line after the type separated from "
7286 "it with a space. If an option allows multiple values these are separated "
7287 "from each other with a comma (<literal>,</literal>). An option name is "
7288 "separated from its value(s) by an equals sign (<literal>=</literal>). "
7289 "Multivalue options also have <literal>-=</literal> and <literal>+=</literal> "
7290 "as separators, which instead of replacing the default with the given "
7291 "value(s) modify the default value(s) to remove or include the given values."
7293 "この形式のファイルは、<filename>.list</filename> 拡張子を持っています。取得元"
7294 "を指定する各行は、この型のオプションと引数が続く型 <literal>deb-src</"
7295 "literal> から始まります。個々のエントリは、次の行に継続することはできません。"
7296 "空行は無視され、行の任意の位置の <literal>#</literal> 文字はコメントとして行"
7297 "の残りの部分をマークします。したがって行全体をコメントアウトすることによっ"
7298 "て、エントリを無効にすることができます。オプションが提供されている場合、ス"
7299 "ペースで区切られ、すべて角カッコ (<literal>[]</literal>) で囲まれていて、行の"
7300 "中でスペースで区切られた型の後ろに含まれます。複数の値が許されるオプションの"
7301 "場合、カンマ (<literal>,</literal>) で分離されています。オプション名は、イ"
7302 "コール記号 (<literal>=</literal>) で分離されます。複数値のオプションも "
7303 "<literal>-=</literal> および <literal>+=</literal> をセパレータとして持ち、デ"
7304 "フォルト値から与えられた値を削除するか、またはデフォルト値に与えられた値を含"
7307 #. type: Content of: <refentry><refsect1><para>
7308 #: sources.list.5.xml
7310 "This is the traditional format and supported by all apt versions. Note that "
7311 "not all options as described below are supported by all apt versions. Note "
7312 "also that some older applications parsing this format on their own might not "
7313 "expect to encounter options as they were uncommon before the introduction of "
7314 "multi-architecture support."
7316 "伝統的な形式とすべての apt のバージョンでサポートされています。下記のようにす"
7317 "べてのオプションがすべての apt のバージョンでサポートされているわけでないこと"
7318 "に注意してください。いくつかの古いアプリケーションは、自分でこの形式をパース"
7319 "するので、マルチアーキテクチャのサポートの導入前には珍しいオプションに遭遇す"
7320 "ることを期待しないかもしれないことに注意してください。"
7322 #. type: Content of: <refentry><refsect1><title>
7323 #: sources.list.5.xml
7324 msgid "deb822-Style Format"
7325 msgstr "deb822 スタイル形式"
7327 #. type: Content of: <refentry><refsect1><para>
7328 #: sources.list.5.xml
7330 "Files in this format have the extension <filename>.sources</filename>. The "
7331 "format is similar in syntax to other files used by Debian and its "
7332 "derivatives, such as the metadata files that apt will download from the "
7333 "configured sources or the <filename>debian/control</filename> file in a "
7334 "Debian source package. Individual entries are separated by an empty line; "
7335 "additional empty lines are ignored, and a <literal>#</literal> character at "
7336 "the start of the line marks the entire line as a comment. An entry can hence "
7337 "be disabled by commenting out each line belonging to the stanza, but it is "
7338 "usually easier to add the field \"Enabled: no\" to the stanza to disable the "
7339 "entry. Removing the field or setting it to yes reenables it. Options have "
7340 "the same syntax as every other field: A fieldname separated by a colon "
7341 "(<literal>:</literal>) and optionally spaces from its value(s). Note "
7342 "especially that multiple values are separated by spaces, not by commas as in "
7343 "the one-line format. Multivalue fields like <literal>Architectures</literal> "
7344 "also have <literal>Architectures-Add</literal> and <literal>Architectures-"
7345 "Remove</literal> to modify the default value rather than replacing it."
7347 "この形式のファイルは、<filename>.sources</filename> 拡張子を持っています。形"
7348 "式は、設定された取得元または Debian ソースパッケージの debian/control ファイ"
7349 "ルから apt がダウンロードするメタデータファイルのような、Debian とその派生で"
7350 "使用されるほかのファイルの構文と似ています。個々のエントリは空行で分離されて"
7351 "います: 追加の空行は無視され、行頭の <literal>#</literal> 文字は、コメントと"
7352 "して行全体をマークします。エントリは、スタンザに属する各行をコメントアウトし"
7353 "て無効にすることができますが、通常は \"Enabled: no\" フィールドスタンザに追加"
7354 "してエントリを無効にする方が簡単です。フィールドを削除するか、そのフィールド"
7355 "を yes に設定すると、再び有効にできます。オプションは、ほかのすべてのフィール"
7356 "ドと同じ構文を持っています: フィールド名はコロン (<literal>:</literal>) で区"
7357 "切られ、必要に応じてその値から空白を空けます。特に、1 行形式では、複数の値は"
7358 "空白で区切られ、コンマではないことに注意してください。"
7359 "<literal>Architectures</literal> のような複数値のフィールドは、設定を置き換え"
7360 "るのではなく、デフォルト値を変更する <literal>Architectures-Add</literal> お"
7361 "よび <literal>Architectures-Remove</literal> を持っています。"
7363 #. type: Content of: <refentry><refsect1><para>
7364 #: sources.list.5.xml
7366 "This is a new format supported by apt itself since version 1.1. Previous "
7367 "versions ignore such files with a notice message as described earlier. It "
7368 "is intended to make this format gradually the default format, deprecating "
7369 "the previously described one-line-style format, as it is easier to create, "
7370 "extend and modify for humans and machines alike especially if a lot of "
7371 "sources and/or options are involved. Developers who are working with and/or "
7372 "parsing apt sources are highly encouraged to add support for this format and "
7373 "to contact the APT team to coordinate and share this work. Users can freely "
7374 "adopt this format already, but may encounter problems with software not "
7375 "supporting the format yet."
7377 "バージョン 1.1 以降の apt 自身によりサポートされる新しい形式です。前述のよう"
7378 "に以前のバージョンでは、通知メッセージでそのようなファイルを無視します。多く"
7379 "のソースおよび/またはオプションが関与している場合は特に、人間と機械を問わず、"
7380 "作成、拡張、変更を簡単にするために、先に述べた 1 行スタイル形式を非推奨にし、"
7381 "徐々にこの形式をデフォルト形式にすることが意図されています。apt ソースを作業"
7382 "および/またはパースしている開発者は、このフォーマットのサポートを追加すること"
7383 "と、調整するために APT チームに連絡すること、この作業を共有することをお勧めし"
7384 "ます。ユーザはすでに自由にこの形式を採用することができますが、この形式をまだ"
7385 "サポートしていないソフトウェアで問題が発生する場合があります。"
7387 #. type: Content of: <refentry><refsect1><title>
7388 #: sources.list.5.xml
7389 msgid "The deb and deb-src Types: General Format"
7390 msgstr "deb および deb-src タイプ: 一般形式"
7392 #. type: Content of: <refentry><refsect1><para>
7393 #: sources.list.5.xml
7395 "The <literal>deb</literal> type references a typical two-level Debian "
7396 "archive, <filename>distribution/component</filename>. The "
7397 "<literal>distribution</literal> is generally a suite name like "
7398 "<literal>stable</literal> or <literal>testing</literal> or a codename like "
7399 "<literal>&debian-stable-codename;</literal> or <literal>&debian-testing-"
7400 "codename;</literal> while component is one of <literal>main</literal>, "
7401 "<literal>contrib</literal> or <literal>non-free</literal>. The <literal>deb-"
7402 "src</literal> type references a Debian distribution's source code in the "
7403 "same form as the <literal>deb</literal> type. A <literal>deb-src</literal> "
7404 "line is required to fetch source indexes."
7406 "<literal>deb</literal> タイプでは典型的な 2 段階の Debian アーカイブ "
7407 "<filename>distribution/component</filename> を参照します。"
7408 "<literal>distribution</literal> は通常 <literal>stable</literal> や "
7409 "<literal>testing</literal> または <literal>&debian-stable-codename;</"
7410 "literal> や <literal>&debian-testing-codename;</literal> のようなコード名にな"
7411 "ります。component は、<literal>main</literal>, <literal>contrib</literal>, "
7412 "<literal>non-free</literal> のどれかです。<literal>deb-src</literal> タイプで"
7413 "は、debian ディストリビューションのソースコードを、<literal>deb</literal> タ"
7414 "イプと同じ形式で参照します。<literal>deb-src</literal> 行は、ソースインデック"
7417 #. type: Content of: <refentry><refsect1><para>
7418 #: sources.list.5.xml
7420 "The format for two one-line-style entries using the <literal>deb</literal> "
7421 "and <literal>deb-src</literal> types is:"
7423 "<literal>deb</literal> および <literal>deb-src</literal> タイプで使用する 2 "
7424 "つの 1 行スタイルのエントリの形式は、以下のようになります:"
7426 #. type: Content of: <refentry><refsect1><literallayout>
7427 #: sources.list.5.xml
7430 "deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]\n"
7431 "deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]"
7433 "deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]\n"
7434 "deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]"
7436 #. type: Content of: <refentry><refsect1><para><literallayout>
7437 #: sources.list.5.xml
7440 " Types: deb deb-src\n"
7443 " Components: [component1] [component2] [...]\n"
7444 " option1: value1\n"
7445 " option2: value2\n"
7448 " Types: deb deb-src\n"
7451 " Components: [component1] [component2] [...]\n"
7452 " option1: value1\n"
7453 " option2: value2\n"
7456 #. type: Content of: <refentry><refsect1><para>
7457 #: sources.list.5.xml
7459 "Alternatively the equivalent entry in deb822 style looks like this: "
7460 "<placeholder type=\"literallayout\" id=\"0\"/>"
7462 "他に deb822 スタイルで同等のエントリもサポートしています: <placeholder type="
7463 "\"literallayout\" id=\"0\"/>"
7465 #. type: Content of: <refentry><refsect1><para>
7466 #: sources.list.5.xml
7468 "The URI for the <literal>deb</literal> type must specify the base of the "
7469 "Debian distribution, from which APT will find the information it needs. "
7470 "<literal>suite</literal> can specify an exact path, in which case the "
7471 "components must be omitted and <literal>suite</literal> must end with a "
7472 "slash (<literal>/</literal>). This is useful for the case when only a "
7473 "particular sub-directory of the archive denoted by the URI is of interest. "
7474 "If <literal>suite</literal> does not specify an exact path, at least one "
7475 "<literal>component</literal> must be present."
7477 "<literal>deb</literal> タイプの URI は、APT が必要な情報を見つけられるよう"
7478 "に、Debian ディストリビューションの基底を指定しなければなりません。<literal>"
7479 "スイート</literal>には正確なパスを指定できます。その場合コンポーネントを省略"
7480 "し、<literal>スイート</literal>はスラッシュ (<literal>/</literal>) で終わらな"
7481 "くてはなりません。これは URL で指定されたアーカイブの、特定のサブディレクトリ"
7482 "のみに関心があるときに役に立ちます。<literal>スイート</literal>に正確なパスを"
7483 "指定しないのなら、少なくとも一つは <literal>コンポーネント</literal> を指定し"
7486 #. type: Content of: <refentry><refsect1><para>
7487 #: sources.list.5.xml
7489 "<literal>suite</literal> may also contain a variable, <literal>$(ARCH)</"
7490 "literal> which expands to the Debian architecture (such as <literal>amd64</"
7491 "literal> or <literal>armel</literal>) used on the system. This permits "
7492 "architecture-independent <filename>sources.list</filename> files to be used. "
7493 "In general this is only of interest when specifying an exact path; "
7494 "<literal>APT</literal> will automatically generate a URI with the current "
7495 "architecture otherwise."
7497 "<literal>スイート</literal> は、<literal>$(ARCH)</literal> 変数を含む場合があ"
7498 "ります。<literal>$(ARCH)</literal> 変数は、システムで使用している Debian アー"
7499 "キテクチャ (<literal>amd64</literal> や <literal>armel</literal> など) に展開"
7500 "されます。これにより、アーキテクチャに依存しない <filename>sources.list</"
7501 "filename> ファイルを使用できます。一般的に、これは正しいパスを指定するときに"
7502 "気にするだけです。そうでない場合は、<literal>APT</literal> は現在のアーキテク"
7503 "チャで URI を自動的に生成します。"
7505 #. type: Content of: <refentry><refsect1><para>
7506 #: sources.list.5.xml
7508 "Especially in the one-line-style format since only one distribution can be "
7509 "specified per line it may be necessary to have multiple lines for the same "
7510 "URI, if a subset of all available distributions or components at that "
7511 "location is desired. APT will sort the URI list after it has generated a "
7512 "complete set internally, and will collapse multiple references to the same "
7513 "Internet host, for instance, into a single connection, so that it does not "
7514 "inefficiently establish a connection, close it, do something else, and then "
7515 "re-establish a connection to that same host. APT also parallelizes "
7516 "connections to different hosts to more effectively deal with sites with low "
7519 "特に 1 行スタイル形式では 1 行につき 1 つのディストリビューションしか指定でき"
7520 "ないため、同じ URI の行を複数記述することになるでしょう。APT は内部で URI リ"
7521 "ストを生成してから、並べ替えます。そして、同じインターネットホストに対しては"
7522 "複数の参照をまとめます。例えば FTP 接続後、切断してからまた同じホストに再接続"
7523 "するといった効率の悪いことをせずに、1 接続にまとめます。APT は、帯域の狭いサ"
7524 "イトを効率よく扱うため異なるホストへは接続を並行して行うようにもしています。"
7526 #. type: Content of: <refentry><refsect1><para>
7527 #: sources.list.5.xml
7529 "It is important to list sources in order of preference, with the most "
7530 "preferred source listed first. Typically this will result in sorting by "
7531 "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
7532 "followed by distant Internet hosts, for example)."
7534 "最優先する取得元を最初に記述するというように、優先順に取得元を記述するのは重"
7535 "要です。一般的には、スピードの速い順に並べることになる (例えば、CD-ROM に続い"
7536 "てローカルネットワークのホスト、さらに続いて彼方のインターネットホスト) で"
7539 #. type: Content of: <refentry><refsect1><para><literallayout>
7540 #: sources.list.5.xml
7542 msgid "&sourceslist-list-format;"
7543 msgstr "&sourceslist-list-format;"
7545 #. type: Content of: <refentry><refsect1><para><literallayout>
7546 #: sources.list.5.xml
7548 msgid "&sourceslist-sources-format;"
7549 msgstr "&sourceslist-sources-format;"
7551 #. type: Content of: <refentry><refsect1><para>
7552 #: sources.list.5.xml
7554 "As an example, the sources for your distribution could look like this in one-"
7555 "line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or like "
7556 "this in deb822 style format: <placeholder type=\"literallayout\" id=\"1\"/>"
7558 "例として、あなたのディストリビューション用のソースは、1 行スタイル形式で次の"
7559 "ようになります: <placeholder type=\"literallayout\" id=\"0\"/> または deb822 "
7560 "スタイル形式でこのようになります: <placeholder type=\"literallayout\" id="
7563 #. type: Content of: <refentry><refsect1><title>
7564 #: sources.list.5.xml
7565 msgid "The deb and deb-src types: Options"
7566 msgstr "deb および deb-src タイプ: オプション"
7568 #. type: Content of: <refentry><refsect1><para>
7569 #: sources.list.5.xml
7571 "Each source entry can have options specified to modify which source is "
7572 "accessed and how data is acquired from it. Format, syntax and names of the "
7573 "options vary between the one-line-style and deb822-style formats as "
7574 "described, but they both have the same options available. For simplicity we "
7575 "list the deb822 fieldname and provide the one-line name in brackets. "
7576 "Remember that besides setting multivalue options explicitly, there is also "
7577 "the option to modify them based on the default, but we aren't listing those "
7578 "names explicitly here. Unsupported options are silently ignored by all APT "
7581 "各取得元エントリは、アクセスされる取得元や取得されるデータを変更するために指"
7582 "定するオプションを持つことができます。オプションの形式、構文と名前は、記載さ"
7583 "れているように 1 行スタイルと deb822 スタイルの間で異なりますが、どちらも同じ"
7584 "オプションが用意されています。簡単にするために、deb822 フィールド名を一覧表示"
7585 "し、カッコ内に 1 行の名前を提供します。明示的に複数の値を持つオプションを設定"
7586 "する以外に、デフォルトをベースに変更するためのオプションもあることを忘れない"
7587 "でください。ここでは明示的にそれらの名前はリストしていません。サポートされて"
7588 "いないオプションは、すべての APT バージョンで黙って無視されます。"
7590 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7591 #: sources.list.5.xml
7593 "<option>Architectures</option> (<option>arch</option>) is a multivalue "
7594 "option defining for which architectures information should be downloaded. If "
7595 "this option isn't set the default is all architectures as defined by the "
7596 "<option>APT::Architectures</option> config option."
7598 "<option>Architectures</option> (<option>arch</option>) は複数の値を持つオプ"
7599 "ションで、どのアーキテクチャ情報をダウンロードするか指定します。このオプショ"
7600 "ンを指定しないと、<option>APT::Architectures</option> 設定オプションに定義し"
7601 "てあるすべてのアーキテクチャをダウンロードします。"
7603 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7604 #: sources.list.5.xml
7606 "<option>Languages</option> (<option>lang</option>) is a multivalue option "
7607 "defining for which languages information such as translated package "
7608 "descriptions should be downloaded. If this option isn't set the default is "
7609 "all languages as defined by the <option>Acquire::Languages</option> config "
7612 "<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</"
7613 "replaceable>,…</literal> により、どのアーキテクチャ情報をダウンロードするか指"
7614 "定します。このオプションを指定しないと、<literal>APT::Architectures</"
7615 "literal> オプションに定義してある全アーキテクチャをダウンロードします。"
7617 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7618 #: sources.list.5.xml
7621 #| "<option>Targets</option> (<option>target</option>) is a multivalue option "
7622 #| "defining which download targets apt will try to acquire from this source. "
7623 #| "If not specified, the default set is defined by the <option>Acquire::"
7624 #| "IndexTargets</option> configuration scope. Additionally, specific "
7625 #| "targets can be enabled or disabled by using the identifier as field name "
7626 #| "instead of using this multivalue option."
7628 "<option>Targets</option> (<option>target</option>) is a multivalue option "
7629 "defining which download targets apt will try to acquire from this source. If "
7630 "not specified, the default set is defined by the <option>Acquire::"
7631 "IndexTargets</option> configuration scope (targets are specified by their "
7632 "name in the <literal>Created-By</literal> field). Additionally, targets can "
7633 "be enabled or disabled by using the <literal>Identifier</literal> field as "
7634 "an option with a boolean value instead of using this multivalue option."
7636 "<option>Targets</option> (<option>target</option>) は、apt が取得元から取得し"
7637 "ようとするダウンロードターゲットを定義する複数の値を持つオプションです。指定"
7638 "しない場合、デフォルトセットは、<option>Acquire::IndexTargets</option> 設定ス"
7639 "コープで定義されます。さらに、具体的なターゲットは、この複数の値を持つオプ"
7640 "ションの使用の代わりにフィールド名など識別子を使用して有効または無効にするこ"
7643 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7644 #: sources.list.5.xml
7646 "<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which "
7647 "controls if APT should try to use PDiffs to update old indexes instead of "
7648 "downloading the new indexes entirely. The value of this option is ignored if "
7649 "the repository doesn't announce the availability of PDiffs. Defaults to the "
7650 "value of the option with the same name for a specific index file defined in "
7651 "the <option>Acquire::IndexTargets</option> scope, which itself defaults to "
7652 "the value of configuration option <option>Acquire::PDiffs</option> which "
7653 "defaults to <literal>yes</literal>."
7655 "<option>PDiffs</option> (<option>pdiffs</option>) は、新しいインデックスを完"
7656 "全にダウンロードする代わりに、古いインデックスを更新するため PDiffs を使用す"
7657 "るかどうかを制御する yes/no 値です。レポジトリが PDiffs の提供を公開していな"
7658 "い場合は、このオプションの値は無視されます。<option>Acquire::IndexTargets</"
7659 "option> スコープ中に定義された特定のインデックスファイル用の同じ名前のオプ"
7660 "ション値がデフォルトになり、設定オプション <option>Acquire::PDiffs</option> "
7661 "のデフォルト値は <literal>yes</literal> です。"
7663 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7664 #: sources.list.5.xml
7666 "<option>By-Hash</option> (<option>by-hash</option>) can have the value "
7667 "<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> "
7668 "and controls if APT should try to acquire indexes via a URI constructed from "
7669 "a hashsum of the expected file instead of using the well-known stable "
7670 "filename of the index. Using this can avoid hashsum mismatches, but requires "
7671 "a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value "
7672 "activates/disables the use of this feature if this source indicates support "
7673 "for it, while <literal>force</literal> will enable the feature regardless of "
7674 "what the source indicates. Defaults to the value of the option of the same "
7675 "name for a specific index file defined in the <option>Acquire::IndexTargets</"
7676 "option> scope, which itself defaults to the value of configuration option "
7677 "<option>Acquire::By-Hash</option> which defaults to <literal>yes</literal>."
7679 "<option>By-Hash</option> (<option>by-hash</option>) は、<literal>yes</"
7680 "literal>、<literal>no</literal> または <literal>force</literal> の値を持つこ"
7681 "とができます。そして、APT がインデックスのよく知られた安定版の名前を使用する"
7682 "代わりに、期待されるファイルのハッシュ値から構築された URI を経由してインデッ"
7683 "クスを取得するかどうかを制御します。これを使用すると、ハッシュ値の不一致を避"
7684 "けることができますが、ミラーのサポートを必要とします。この取得元がそのサポー"
7685 "トを示す場合、<literal>yes</literal> または <literal>no</literal> の値は、こ"
7686 "の機能の使用を有効化/無効化します。<literal>force</literal> は取得元が示すも"
7687 "のに関係なく、機能を有効にします。<option>Acquire::IndexTargets</option> ス"
7688 "コープ中に定義された特定のインデックスファイル用の同じ名前のオプション値がデ"
7689 "フォルトになり、設定オプション <option>Acquire::By-Hash</option> のデフォルト"
7690 "値は <literal>yes</literal> です。"
7692 #. type: Content of: <refentry><refsect1><para>
7693 #: sources.list.5.xml
7695 "Furthermore, there are options which if set affect <emphasis>all</emphasis> "
7696 "sources with the same URI and Suite, so they have to be set on all such "
7697 "entries and can not be varied between different components. APT will try to "
7698 "detect and error out on such anomalies."
7700 "さらに、設定が同じ URI とスイートの<emphasis>すべて</emphasis>の取得元に影響"
7701 "する場合のオプションがあり、このようなすべてのエントリに設定する必要があり、"
7702 "異なる要素間で変化することができません。APT はこのような異常を検出してエラー"
7705 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7706 #: sources.list.5.xml
7708 "<option>Trusted</option> (<option>trusted</option>) is a tri-state value "
7709 "which defaults to APT deciding if a source is considered trusted or if "
7710 "warnings should be raised before e.g. packages are installed from this "
7711 "source. This option can be used to override that decision. The value "
7712 "<literal>yes</literal> tells APT always to consider this source as trusted, "
7713 "even if it doesn't pass authentication checks. It disables parts of &apt-"
7714 "secure;, and should therefore only be used in a local and trusted context "
7715 "(if at all) as otherwise security is breached. The value <literal>no</"
7716 "literal> does the opposite, causing the source to be handled as untrusted "
7717 "even if the authentication checks passed successfully. The default value "
7718 "can't be set explicitly."
7720 "<option>Trusted</option> (<option>trusted</option>) は、APT の判断のデフォル"
7721 "トのトライステート値で、取得元が信頼できる、以前警告が発生した (例えば、パッ"
7722 "ケージをこの取得元からインストールしたときに)、信頼できないの 3 値です。この"
7723 "オプションは、APT の決定を上書きするために使用することができます。値 "
7724 "<literal>yes</literal> は、それが認証チェックに合格しない場合であっても、この"
7725 "取得元が信頼できると考えられることを常に APT に伝えます。&apt-secure; の一部"
7726 "を無効にするので、(すべてであれば) ローカルおよび信頼されたコンテキストでのみ"
7727 "使用するべきです。そうしなければ、セキュリティが破られます。値 <literal>no</"
7728 "literal> は反対のことを行います。認証チェックに合格した場合でも取得元を信頼で"
7729 "きないとして扱います。デフォルト値は明示的に設定することはできません。"
7731 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7732 #: sources.list.5.xml
7735 #| "<option>Signed-By</option> (<option>signed-by</option>) is either an "
7736 #| "absolute path to a keyring file (has to be accessible and readable for "
7737 #| "the <literal>_apt</literal> user, so ensure everyone has read-permissions "
7738 #| "on the file) or a fingerprint of a key either in the <filename>trusted."
7739 #| "gpg</filename> keyring or in one of the keyrings in the <filename>trusted."
7740 #| "gpg.d/</filename> directory (see <command>apt-key fingerprint</command>). "
7741 #| "If the option is set, only the key(s) in this keyring or only the key "
7742 #| "with this fingerprint is used for the &apt-secure; verification of this "
7743 #| "repository. Otherwise all keys in the trusted keyrings are considered "
7744 #| "valid signers for this repository."
7746 "<option>Signed-By</option> (<option>signed-by</option>) is either an "
7747 "absolute path to a keyring file (has to be accessible and readable for the "
7748 "<literal>_apt</literal> user, so ensure everyone has read-permissions on the "
7749 "file) or one or more fingerprints of keys either in the <filename>trusted."
7750 "gpg</filename> keyring or in the keyrings in the <filename>trusted.gpg.d/</"
7751 "filename> directory (see <command>apt-key fingerprint</command>). If the "
7752 "option is set, only the key(s) in this keyring or only the keys with these "
7753 "fingerprints are used for the &apt-secure; verification of this repository. "
7754 "Defaults to the value of the option with the same name if set in the "
7755 "previously acquired <filename>Release</filename> file. Otherwise all keys "
7756 "in the trusted keyrings are considered valid signers for this repository."
7758 "<option>Signed-By</option> (<option>signed-by</option>) は、(<literal>_apt</"
7759 "literal> ユーザがアクセス可能かつ読み取り可能な必要があり、つまりすべてのユー"
7760 "ザがファイルの読み取り権限を持っている) キーリングファイルへの絶対パスまたは "
7761 "<filename>trusted.gpg</filename> キーリング中または <filename>trusted.gpg.d/"
7762 "</filename> ディレクトリ中のキーリングの一つのいずれかのキーのフィンガープリ"
7763 "ントです (<command>apt-key fingerprint</command> を参照)。オプションが設定さ"
7764 "れている場合、キーリング中のキーのみまたはこのフィンガープリントのキーのみ"
7765 "が、このリポジトリの the &apt-secure; 検証で使用されます。それ以外の場合は、"
7766 "信頼できるキーリング内のすべてのキーは、このリポジトリの有効な署名者とみなさ"
7769 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7770 #: sources.list.5.xml
7772 "<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is "
7773 "a yes/no value which controls if APT should try to detect replay attacks. A "
7774 "repository creator can declare a time until which the data provided in the "
7775 "repository should be considered valid, and if this time is reached, but no "
7776 "new data is provided, the data is considered expired and an error is "
7777 "raised. Besides increasing security, as a malicious attacker can't send old "
7778 "data forever to prevent a user from upgrading to a new version, this also "
7779 "helps users identify mirrors which are no longer updated. However, some "
7780 "repositories such as historic archives are not updated any more by design, "
7781 "so this check can be disabled by setting this option to <literal>no</"
7782 "literal>. Defaults to the value of configuration option <option>Acquire::"
7783 "Check-Valid-Until</option> which itself defaults to <literal>yes</literal>."
7785 "<option>Check-Valid-Until</option> (<option>check-valid-until</option>) は、"
7786 "APT がリプレイ攻撃を検出するかどうかを制御する yes/no 値です。リポジトリの作"
7787 "成者は、リポジトリに提供されたデータが有効とみなされる時間を宣言することがで"
7788 "きます。そして、この時間に達しているが、新しいデータが提供されていない場合、"
7789 "データが期限切れになったとみなされ、エラーが発生します。セキュリティを高める"
7790 "ことに加えて、新しいバージョンにアップグレードするユーザを守るために、悪意の"
7791 "ある攻撃者が古いデータを永遠に送れないようにすることで、長期間更新されていな"
7792 "いミラーをユーザが特定するのに役立ちます。しかしながら、歴史的アーカイブな"
7793 "ど、いくつかのリポジトリは、設計によりこれ以上更新されないので、このオプショ"
7794 "ンを <literal>no</literal> に設定することで、このチェックを無効にすることがで"
7795 "きます。設定オプション <option>Acquire::Check-Valid-Until</option> の値がデ"
7796 "フォルトになり、そのデフォルトは <literal>yes</literal> です。"
7798 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7799 #: sources.list.5.xml
7801 "<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and "
7802 "<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be "
7803 "used to raise or lower the time period in seconds in which the data from "
7804 "this repository is considered valid. -Max can be especially useful if the "
7805 "repository provides no Valid-Until field on its Release file to set your own "
7806 "value, while -Min can be used to increase the valid time on seldom updated "
7807 "(local) mirrors of a more frequently updated but less accessible archive "
7808 "(which is in the sources.list as well) instead of disabling the check "
7809 "entirely. Default to the value of the configuration options "
7810 "<option>Acquire::Min-ValidTime</option> and <option>Acquire::Max-ValidTime</"
7811 "option> which are both unset by default."
7813 "<option>Valid-Until-Min</option> (<option>valid-until-min</option>) および "
7814 "<option>Valid-Until-Max</option> (<option>valid-until-max</option>) は、この"
7815 "リポジトリからのデータの有効期間 (秒単位) を上げたり下げたりするために使用す"
7816 "ることができます。リポジトリが独自の値を設定するリリースファイルに Valid-"
7817 "Until フィールドがないものを提供する場合、-Max は特に有用です。-Min は完全に"
7818 "チェックを無効にする代わりに (sources.list 同様にある) より頻繁に更新があるミ"
7819 "ラーの、あまりアクセスされないアーカイブの有効期間を増やすことができます。設"
7820 "定オプション <option>Acquire::Min-ValidTime</option> および <option>Acquire::"
7821 "Max-ValidTime</option> の値がデフォルトになり、その両方のデフォルト値は "
7824 #. type: Content of: <refentry><refsect1><title>
7825 #: sources.list.5.xml
7826 msgid "URI Specification"
7829 #. type: Content of: <refentry><refsect1><para>
7830 #: sources.list.5.xml
7831 msgid "The currently recognized URI types are:"
7832 msgstr "現在認識できる URI タイプは以下のとおりです:"
7834 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7835 #: sources.list.5.xml
7837 "The file scheme allows an arbitrary directory in the file system to be "
7838 "considered an archive. This is useful for NFS mounts and local mirrors or "
7841 "file スキームは、システム内の任意のディレクトリを、アーカイブとして扱えるよう"
7842 "にします。これは NFS マウントやローカルミラーで便利です。"
7844 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7845 #: sources.list.5.xml
7847 "The cdrom scheme allows APT to use a local CD-ROM drive with media swapping. "
7848 "Use the &apt-cdrom; program to create cdrom entries in the source list."
7850 "cdrom スキームは、APT がローカル CD-ROM ドライブを、メディア交換しながら使え"
7851 "るようにします。取得元リストに cdrom エントリを追加するには、&apt-cdrom; プロ"
7854 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7855 #: sources.list.5.xml
7857 "The http scheme specifies an HTTP server for the archive. If an environment "
7858 "variable <envar>http_proxy</envar> is set with the format http://server:"
7859 "port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
7860 "Users of authenticated HTTP/1.1 proxies may use a string of the format "
7861 "http://user:pass@server:port/. Note that this is an insecure method of "
7864 "http スキームはアーカイブとして、HTTP サーバを指定します。環境変数 "
7865 "<envar>http_proxy</envar> が、http://server:port/ と言った形で指定されていれ"
7866 "ば、<envar>http_proxy</envar> で指定したプロキシサーバを使用します。ユーザ認"
7867 "証が必要な HTTP/1.1 プロキシの場合、http://user:pass@server:port/ という形で"
7868 "指定してください。この認証方法は安全ではないことに注意してください。"
7870 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7871 #: sources.list.5.xml
7873 "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
7874 "is highly configurable; for more information see the &apt-conf; manual page. "
7875 "Please note that an FTP proxy can be specified by using the "
7876 "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
7877 "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
7878 "environment variable and <emphasis>only</emphasis> this environment "
7879 "variable. Proxies using HTTP specified in the configuration file will be "
7882 "ftp スキームは、アーカイブに FTP サーバを指定します。APT の FTP の振る舞い"
7883 "は、高度に設定できます。詳細は、&apt-conf; のマニュアルページをご覧ください。"
7884 "FTP プロキシは、<envar>ftp_proxy</envar> 環境変数で指定することに注意してくだ"
7885 "さい。この環境変数、さらにこの<emphasis>環境変数のみ</emphasis>を使用して、"
7886 "HTTP プロキシを使用できます (HTTP プロキシサーバは大抵 FTP URL も理解できま"
7887 "す)。設定ファイルで HTTP を利用するプロキシが指定してあっても、無視されます。"
7889 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7890 #: sources.list.5.xml
7892 "The copy scheme is identical to the file scheme except that packages are "
7893 "copied into the cache directory instead of used directly at their location. "
7894 "This is useful for people using removable media to copy files around with "
7897 "copy スキームは、file スキームと同様ですが、パッケージをその場で使用せず、"
7898 "キャッシュディレクトリにコピーするところが違います。リムーバブルメディアを使"
7899 "用していて、APT でコピーを行う場合に便利です。"
7901 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7902 #: sources.list.5.xml
7904 "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
7905 "the files as a given user. Prior configuration of rhosts or RSA keys is "
7906 "recommended. The standard <command>find</command> and <command>dd</command> "
7907 "commands are used to perform the file transfers from the remote host."
7909 "rsh/ssh メソッドは、与えられたユーザでリモートホストに接続し、ファイルにアク"
7910 "セスするのに rsh/ssh を使用します。あらかじめ rhosts や RSA キーの設定をして"
7911 "おくことをお勧めします。リモートホストからのファイル転送に、標準の "
7912 "<command>find</command> コマンドと <command>dd</command> コマンドを使用しま"
7915 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7916 #: sources.list.5.xml
7917 msgid "adding more recognizable URI types"
7918 msgstr "さらに認識できる URI タイプの追加"
7920 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7921 #: sources.list.5.xml
7923 "APT can be extended with more methods shipped in other optional packages, "
7924 "which should follow the naming scheme <package>apt-transport-"
7925 "<replaceable>method</replaceable></package>. For instance, the APT team "
7926 "also maintains the package <package>apt-transport-https</package>, which "
7927 "provides access methods for HTTPS URIs with features similar to the http "
7928 "method. Methods for using e.g. debtorrent are also available - see &apt-"
7929 "transport-debtorrent;."
7931 "APT は他の追加パッケージ (<package>apt-transport-<replaceable>method</"
7932 "replaceable></package> という命名規則) により、より多くの方法を使えるよう拡張"
7933 "できます。例えば、APT チームは、http メソッドと似た機能で HTTPS URI でのアク"
7934 "セス方法を提供する <package>apt-transport-https</package> パッケージも保守し"
7935 "ています。使用するメソッドには、例えば debtorrent も利用できます。&apt-"
7936 "transport-debtorrent; を参照してください。"
7938 #. type: Content of: <refentry><refsect1><para>
7939 #: sources.list.5.xml
7941 "Uses the archive stored locally (or NFS mounted) at /home/apt/debian for "
7942 "stable/main, stable/contrib, and stable/non-free."
7944 "/home/apt/debian に格納されている stable/main, stable/contrib, stable/non-"
7945 "free 用のローカル (または NFS) アーカイブを使用します。"
7947 #. type: Content of: <refentry><refsect1><literallayout>
7948 #: sources.list.5.xml
7950 msgid "deb file:/home/apt/debian stable main contrib non-free"
7951 msgstr "deb file:/home/apt/debian stable main contrib non-free"
7953 #. type: Content of: <refentry><refsect1><literallayout>
7954 #: sources.list.5.xml
7958 "URIs: file:/home/apt/debian\n"
7960 "Components: main contrib non-free"
7963 "URIs: file:/home/apt/debian\n"
7965 "Components: main contrib non-free"
7967 #. type: Content of: <refentry><refsect1><para>
7968 #: sources.list.5.xml
7969 msgid "As above, except this uses the unstable (development) distribution."
7970 msgstr "上記と同様ですが、不安定版 (開発版) を使用します。"
7972 #. type: Content of: <refentry><refsect1><literallayout>
7973 #: sources.list.5.xml
7975 msgid "deb file:/home/apt/debian unstable main contrib non-free"
7976 msgstr "deb file:/home/apt/debian unstable main contrib non-free"
7978 #. type: Content of: <refentry><refsect1><literallayout>
7979 #: sources.list.5.xml
7983 "URIs: file:/home/apt/debian\n"
7984 "Suites: unstable\n"
7985 "Components: main contrib non-free"
7988 "URIs: file:/home/apt/debian\n"
7989 "Suites: unstable\n"
7990 "Components: main contrib non-free"
7992 #. type: Content of: <refentry><refsect1><para>
7993 #: sources.list.5.xml
7994 msgid "Sources specification for the above."
7995 msgstr "上記のソースの指定は以下のようになります。"
7997 #. type: Content of: <refentry><refsect1><literallayout>
7998 #: sources.list.5.xml
8000 msgid "deb-src file:/home/apt/debian unstable main contrib non-free"
8001 msgstr "deb-src file:/home/apt/debian unstable main contrib non-free"
8003 #. type: Content of: <refentry><refsect1><literallayout>
8004 #: sources.list.5.xml
8008 "URIs: file:/home/apt/debian\n"
8009 "Suites: unstable\n"
8010 "Components: main contrib non-free"
8013 "URIs: file:/home/apt/debian\n"
8014 "Suites: unstable\n"
8015 "Components: main contrib non-free"
8017 #. type: Content of: <refentry><refsect1><para>
8018 #: sources.list.5.xml
8020 "The first line gets package information for the architectures in "
8021 "<literal>APT::Architectures</literal> while the second always retrieves "
8022 "<literal>amd64</literal> and <literal>armel</literal>."
8024 "1 行目は <literal>APT::Architectures</literal> にあるアーキテクチャのパッケー"
8025 "ジ情報を取得し、2 行目は常に <literal>amd64</literal> アーキテクチャと "
8026 "<literal>armel</literal> アーキテクチャのパッケージ情報を取得します。"
8028 #. type: Content of: <refentry><refsect1><literallayout>
8029 #: sources.list.5.xml
8032 "deb http://httpredir.debian.org/debian &debian-stable-codename; main\n"
8033 "deb [ arch=amd64,armel ] http://httpredir.debian.org/debian &debian-stable-codename; main"
8035 "deb http://httpredir.debian.org/debian &debian-stable-codename; main\n"
8036 "deb [ arch=amd64,armel ] http://httpredir.debian.org/debian &debian-stable-codename; main"
8038 #. type: Content of: <refentry><refsect1><literallayout>
8039 #: sources.list.5.xml
8043 "URIs: http://httpredir.debian.org/debian\n"
8044 "Suites: &debian-stable-codename;\n"
8045 "Components: main\n"
8048 "URIs: http://httpredir.debian.org/debian\n"
8049 "Suites: &debian-stable-codename;\n"
8050 "Components: main\n"
8051 "Architectures: amd64 armel\n"
8054 "URIs: http://httpredir.debian.org/debian\n"
8055 "Suites: &debian-stable-codename;\n"
8056 "Components: main\n"
8059 "URIs: http://httpredir.debian.org/debian\n"
8060 "Suites: &debian-stable-codename;\n"
8061 "Components: main\n"
8062 "Architectures: amd64 armel\n"
8064 #. type: Content of: <refentry><refsect1><para>
8065 #: sources.list.5.xml
8067 "Uses HTTP to access the archive at archive.debian.org, and uses only the "
8070 "archive.debian.org のアーカイブに HTTP アクセスし、hamm/main のみを使用しま"
8073 #. type: Content of: <refentry><refsect1><literallayout>
8074 #: sources.list.5.xml
8076 msgid "deb http://archive.debian.org/debian-archive hamm main"
8077 msgstr "deb http://archive.debian.org/debian-archive hamm main"
8079 #. type: Content of: <refentry><refsect1><literallayout>
8080 #: sources.list.5.xml
8084 "URIs: http://archive.debian.org/debian-archive\n"
8089 "URIs: http://archive.debian.org/debian-archive\n"
8093 #. type: Content of: <refentry><refsect1><para>
8094 #: sources.list.5.xml
8096 "Uses FTP to access the archive at ftp.debian.org, under the debian "
8097 "directory, and uses only the &debian-stable-codename;/contrib area."
8099 "ftp.debian.org のアーカイブに FTP アクセスし、debian ディレクトリ以下の "
8100 "&debian-stable-codename;/contrib のみを使用します。"
8102 #. type: Content of: <refentry><refsect1><literallayout>
8103 #: sources.list.5.xml
8105 msgid "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib"
8106 msgstr "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib"
8108 #. type: Content of: <refentry><refsect1><literallayout>
8109 #: sources.list.5.xml
8113 "URIs: ftp://ftp.debian.org/debian\n"
8114 "Suites: &debian-stable-codename;\n"
8115 "Components: contrib"
8118 "URIs: ftp://ftp.debian.org/debian\n"
8119 "Suites: &debian-stable-codename;\n"
8120 "Components: contrib"
8122 #. type: Content of: <refentry><refsect1><para>
8123 #: sources.list.5.xml
8125 "Uses FTP to access the archive at ftp.debian.org, under the debian "
8126 "directory, and uses only the unstable/contrib area. If this line appears as "
8127 "well as the one in the previous example in <filename>sources.list</filename> "
8128 "a single FTP session will be used for both resource lines."
8130 "ftp.debian.org のアーカイブに FTP アクセスし、debian ディレクトリ以下の "
8131 "unstable/contrib のみを使用します。<filename>sources.list</filename> に上記サ"
8132 "ンプルと一緒に指定された場合、両方のリソース行に対応する FTP セッションはひと"
8135 #. type: Content of: <refentry><refsect1><literallayout>
8136 #: sources.list.5.xml
8138 msgid "deb ftp://ftp.debian.org/debian unstable contrib"
8139 msgstr "deb ftp://ftp.debian.org/debian unstable contrib"
8141 #. type: Content of: <refentry><refsect1><literallayout>
8142 #: sources.list.5.xml
8146 "URIs: ftp://ftp.debian.org/debian\n"
8147 "Suites: unstable\n"
8148 "Components: contrib"
8151 "URIs: ftp://ftp.debian.org/debian\n"
8152 "Suites: unstable\n"
8153 "Components: contrib"
8155 #. type: Content of: <refentry><refsect1><para><literallayout>
8156 #: sources.list.5.xml
8158 msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
8159 msgstr "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
8161 #. type: Content of: <refentry><refsect1><para><literallayout>
8162 #: sources.list.5.xml
8166 "URIs: http://ftp.tlh.debian.org/universe\n"
8167 "Suites: unstable/binary-$(ARCH)/"
8170 "URIs: http://ftp.tlh.debian.org/universe\n"
8171 "Suites: unstable/binary-$(ARCH)/"
8173 #. type: Content of: <refentry><refsect1><para>
8174 #: sources.list.5.xml
8176 "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
8177 "directory, and uses only files found under <filename>unstable/binary-i386</"
8178 "filename> on i386 machines, <filename>unstable/binary-amd64</filename> on "
8179 "amd64, and so forth for other supported architectures. [Note this example "
8180 "only illustrates how to use the substitution variable; official debian "
8181 "archives are not structured like this] <placeholder type=\"literallayout\" "
8182 "id=\"0\"/> <placeholder type=\"literallayout\" id=\"1\"/>"
8184 "ftp.tlh.debian.org のアーカイブに HTTP アクセスし、universe ディレクトリ以下"
8185 "を使用します。また、i386 マシンでは <filename>unstable/binary-i386</"
8186 "filename> 以下にあるファイル、amd64 マシンでは <filename>unstable/binary-"
8187 "amd64</filename> 以下にあるファイル、その他サポートするアーキテクチャごとの"
8188 "ファイルのみ使用します。[このサンプルは変数展開の使用法の説明でしかないことに"
8189 "注意してください。公式 debian アーカイブはこのような構造になっていません] "
8190 "<placeholder type=\"literallayout\" id=\"0\"/> <placeholder type="
8191 "\"literallayout\" id=\"1\"/>"
8193 #. type: Content of: <refentry><refsect1><para>
8194 #: sources.list.5.xml
8196 "Uses HTTP to get binary packages as well as sources from the stable, testing "
8197 "and unstable suites and the components main and contrib."
8199 "安定版、テスト版、不安定版スイートからバイナリパッケージやソース、およびmain "
8200 "と contrib コンポーネントを入手するため HTTP を使用しています。"
8202 #. type: Content of: <refentry><refsect1><literallayout>
8203 #: sources.list.5.xml
8206 "deb http://httpredir.debian.org/debian stable main contrib\n"
8207 "deb-src http://httpredir.debian.org/debian stable main contrib\n"
8208 "deb http://httpredir.debian.org/debian testing main contrib\n"
8209 "deb-src http://httpredir.debian.org/debian testing main contrib\n"
8210 "deb http://httpredir.debian.org/debian unstable main contrib\n"
8211 "deb-src http://httpredir.debian.org/debian unstable main contrib"
8213 "deb http://httpredir.debian.org/debian stable main contrib\n"
8214 "deb-src http://httpredir.debian.org/debian stable main contrib\n"
8215 "deb http://httpredir.debian.org/debian testing main contrib\n"
8216 "deb-src http://httpredir.debian.org/debian testing main contrib\n"
8217 "deb http://httpredir.debian.org/debian unstable main contrib\n"
8218 "deb-src http://httpredir.debian.org/debian unstable main contrib"
8220 #. type: Content of: <refentry><refsect1><literallayout>
8221 #: sources.list.5.xml
8224 "Types: deb deb-src\n"
8225 "URIs: http://httpredir.debian.org/debian\n"
8226 "Suites: stable testing unstable\n"
8227 "Components: main contrib\n"
8229 "Types: deb deb-src\n"
8230 "URIs: http://httpredir.debian.org/debian\n"
8231 "Suites: stable testing unstable\n"
8232 "Components: main contrib\n"
8234 #. type: Content of: <refentry><refsect1><para>
8235 #: sources.list.5.xml
8237 #| msgid "&apt-cache;, &apt-config;, &apt-preferences;."
8238 msgid "&apt-get;, &apt-conf;, &apt-acquire-additional-files;"
8239 msgstr "&apt-cache;, &apt-config;, &apt-preferences;."
8241 #. type: Content of: <refentry><refmeta><manvolnum>
8242 #: apt-extracttemplates.1.xml apt-sortpkgs.1.xml apt-ftparchive.1.xml
8246 #. type: Content of: <refentry><refnamediv><refpurpose>
8247 #: apt-extracttemplates.1.xml
8249 "Utility to extract <command>debconf</command> config and templates from "
8252 "Debian パッケージから <command>debconf</command> の設定とテンプレートを抽出す"
8255 #. type: Content of: <refentry><refsect1><para>
8256 #: apt-extracttemplates.1.xml
8258 "<command>apt-extracttemplates</command> will take one or more Debian package "
8259 "files as input and write out (to a temporary directory) all associated "
8260 "config scripts and template files. For each passed in package that contains "
8261 "config scripts and templates, one line of output will be generated in the "
8264 "<command>apt-extracttemplates</command> は、入力に複数の Debian パッケージを"
8265 "とり、関連する設定スクリプトとテンプレートファイルを (一時ディレクトリに) 出"
8266 "力します。設定スクリプト・テンプレートファイルを持つ、渡されたパッケージそれ"
8267 "ぞれに対し、以下の形式で 1 行ずつ出力します。"
8269 #. type: Content of: <refentry><refsect1><para>
8270 #: apt-extracttemplates.1.xml
8271 msgid "package version template-file config-script"
8272 msgstr "package version template-file config-script"
8274 #. type: Content of: <refentry><refsect1><para>
8275 #: apt-extracttemplates.1.xml
8277 "template-file and config-script are written to the temporary directory "
8278 "specified by the <option>-t</option> or <option>--tempdir</option> "
8279 "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
8280 "filenames of the form <filename>package.template.XXXXXX</filename> and "
8281 "<filename>package.config.XXXXXX</filename>"
8283 "テンプレートファイルや、設定スクリプトは、<option>-t</option> や <option>--"
8284 "tempdir</option> で指定した一時ディレクトリ (<literal>APT::ExtractTemplates::"
8285 "TempDir</literal>) に書き出され、ファイル名は、<filename>package.template."
8286 "XXXXXX</filename> や <filename>package.config.XXXXXX</filename> といった形に"
8289 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8290 #: apt-extracttemplates.1.xml
8292 "Temporary directory in which to write extracted <command>debconf</command> "
8293 "template files and config scripts. Configuration Item: <literal>APT::"
8294 "ExtractTemplates::TempDir</literal>"
8296 "抽出した <command>debconf</command> テンプレートファイルや設定スクリプトを書"
8297 "き出す一時ディレクトリ。設定項目: <literal>APT::ExtractTemplates::TempDir</"
8300 #. type: Content of: <refentry><refsect1><para>
8301 #: apt-extracttemplates.1.xml
8303 "<command>apt-extracttemplates</command> returns zero on normal operation, "
8304 "decimal 100 on error."
8306 "<command>apt-extracttemplates</command> は正常終了時に 0 を返します。エラー時"
8309 #. type: Content of: <refentry><refnamediv><refpurpose>
8310 #: apt-sortpkgs.1.xml
8311 msgid "Utility to sort package index files"
8312 msgstr "パッケージインデックスファイルのソートユーティリティ"
8314 #. type: Content of: <refentry><refsect1><para>
8315 #: apt-sortpkgs.1.xml
8317 "<command>apt-sortpkgs</command> will take an index file (source index or "
8318 "package index) and sort the records so that they are ordered by the package "
8319 "name. It will also sort the internal fields of each record according to the "
8320 "internal sorting rules."
8322 "<command>apt-sortpkgs</command> は、インデックスファイル (ソースインデックス"
8323 "やパッケージインデックス) からレコードをソートし、パッケージ名順に整えます。"
8324 "また、内部のソート規則に従って、内部フィールドについてもソートを行います。"
8326 #. type: Content of: <refentry><refsect1><para>
8327 #: apt-sortpkgs.1.xml
8329 "All output is sent to standard output; the input must be a seekable file."
8331 "出力はすべて標準出力に送られ、入力は検索できるファイルでなければなりません。"
8333 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8334 #: apt-sortpkgs.1.xml
8336 "Use source index field ordering. Configuration Item: <literal>APT::"
8337 "SortPkgs::Source</literal>."
8339 "ソースインデックスフィールド順に並べ替えに使用します。設定項目: "
8340 "<literal>APT::SortPkgs::Source</literal>"
8342 #. type: Content of: <refentry><refsect1><para>
8343 #: apt-sortpkgs.1.xml
8345 "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
8348 "<command>apt-sortpkgs</command> は正常終了時に 0 を返します。エラー時には十進"
8351 #. type: Content of: <refentry><refnamediv><refpurpose>
8352 #: apt-ftparchive.1.xml
8353 msgid "Utility to generate index files"
8354 msgstr "インデックスファイル生成ユーティリティ"
8356 #. type: Content of: <refentry><refsect1><para>
8357 #: apt-ftparchive.1.xml
8359 "<command>apt-ftparchive</command> is the command line tool that generates "
8360 "the index files that APT uses to access a distribution source. The index "
8361 "files should be generated on the origin site based on the content of that "
8364 "<command>apt-ftparchive</command> は、APT が取得元にアクセスするのに必要な、"
8365 "インデックスファイルを生成するコマンドラインツールです。インデックスファイル"
8366 "は、元のサイトの内容に基づき生成されるべきです。"
8368 #. type: Content of: <refentry><refsect1><para>
8369 #: apt-ftparchive.1.xml
8371 "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
8372 "program, incorporating its entire functionality via the <literal>packages</"
8373 "literal> command. It also contains a contents file generator, "
8374 "<literal>contents</literal>, and an elaborate means to 'script' the "
8375 "generation process for a complete archive."
8377 "<command>apt-ftparchive</command> は、&dpkg-scanpackages; プログラムのスー"
8378 "パーセットで、<literal>packages</literal> コマンド経由で機能全体を取り込んで"
8379 "います。また、contents ファイルジェネレータ <literal>contents</literal> と完"
8380 "全なアーカイブの生成プロセス「スクリプト」である綿密な手段を含んでいます。"
8382 #. type: Content of: <refentry><refsect1><para>
8383 #: apt-ftparchive.1.xml
8385 "Internally <command>apt-ftparchive</command> can make use of binary "
8386 "databases to cache the contents of a .deb file and it does not rely on any "
8387 "external programs aside from &gzip;. When doing a full generate it "
8388 "automatically performs file-change checks and builds the desired compressed "
8391 "本質的に <command>apt-ftparchive</command> は、.deb ファイルの内容をキャッ"
8392 "シュするのにバイナリデータベースを使用できます。また、&gzip; 以外のいかなる外"
8393 "部プログラムにも依存しません。すべて生成する際には、ファイル変更点の検出と希"
8394 "望した圧縮出力ファイルの作成を自動的に実行します。"
8396 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8397 #: apt-ftparchive.1.xml
8399 "The packages command generates a package file from a directory tree. It "
8400 "takes the given directory and recursively searches it for .deb files, "
8401 "emitting a package record to stdout for each. This command is approximately "
8402 "equivalent to &dpkg-scanpackages;."
8404 "packages コマンドは、ディレクトリツリーからパッケージファイルを生成します。与"
8405 "えられたディレクトリから再帰検索し、.deb ファイルを取得します。またパッケージ"
8406 "レコードを標準出力にそれぞれ出力します。このコマンドは、&dpkg-scanpackages; "
8409 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8410 #: apt-ftparchive.1.xml
8412 "The option <option>--db</option> can be used to specify a binary caching DB."
8413 msgstr "<option>--db</option> オプションで、キャッシュ DB を指定できます。"
8415 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8416 #: apt-ftparchive.1.xml
8418 "The <literal>sources</literal> command generates a source index file from a "
8419 "directory tree. It takes the given directory and recursively searches it "
8420 "for .dsc files, emitting a source record to stdout for each. This command is "
8421 "approximately equivalent to &dpkg-scansources;."
8423 "<literal>sources</literal> コマンドは、ディレクトリツリーからソースインデック"
8424 "スファイルを生成します。与えられたディレクトリから再帰検索し、.dsc ファイルを"
8425 "取得します。またソースレコードを標準出力にそれぞれ出力します。このコマンド"
8426 "は、&dpkg-scansources; とほぼ同じです。"
8428 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8429 #: apt-ftparchive.1.xml
8431 "If an override file is specified then a source override file will be looked "
8432 "for with an extension of .src. The --source-override option can be used to "
8433 "change the source override file that will be used."
8435 "override ファイルを指定した場合、src 拡張子がついたソースオーバーライドファイ"
8436 "ルを探します。使用するソースオーバーライドファイルを変更するのには、--source-"
8437 "override オプションを使用します。"
8439 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8440 #: apt-ftparchive.1.xml
8442 "The <literal>contents</literal> command generates a contents file from a "
8443 "directory tree. It takes the given directory and recursively searches it "
8444 "for .deb files, and reads the file list from each file. It then sorts and "
8445 "writes to stdout the list of files matched to packages. Directories are not "
8446 "written to the output. If multiple packages own the same file then each "
8447 "package is separated by a comma in the output."
8449 "<literal>contents</literal> コマンドは、ディレクトリツリーからコンテンツファ"
8450 "イルを生成します。与えられたディレクトリから再帰検索し、.deb ファイルを取得し"
8451 "ます。またファイルごとにファイル一覧を読み取ります。その後、パッケージに対応"
8452 "するファイル一覧を標準出力にソートして出力します。ディレクトリは出力に含まれ"
8453 "ません。複数のパッケージが同じファイルを持つ場合、パッケージ名をカンマ区切り"
8456 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8457 #: apt-ftparchive.1.xml
8460 #| "The <literal>release</literal> command generates a Release file from a "
8461 #| "directory tree. It recursively searches the given directory for "
8462 #| "uncompressed <filename>Packages</filename> and <filename>Sources</"
8463 #| "filename> files and ones compressed with <command>gzip</command>, "
8464 #| "<command>bzip2</command> or <command>lzma</command> as well as "
8465 #| "<filename>Release</filename> and <filename>md5sum.txt</filename> files by "
8466 #| "default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). "
8467 #| "Additional filename patterns can be added by listing them in "
8468 #| "<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
8469 #| "stdout a <filename>Release</filename> file containing (by default) an "
8470 #| "MD5, SHA1, SHA256 and SHA512 digest for each file."
8472 "The <literal>release</literal> command generates a Release file from a "
8473 "directory tree. It recursively searches the given directory for uncompressed "
8474 "and compressed <filename>Packages</filename>, <filename>Sources</filename>, "
8475 "<filename>Contents</filename>, <filename>Components</filename> and "
8476 "<filename>icons</filename> files as well as <filename>Release</filename>, "
8477 "<filename>Index</filename> and <filename>md5sum.txt</filename> files by "
8478 "default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). "
8479 "Additional filename patterns can be added by listing them in <literal>APT::"
8480 "FTPArchive::Release::Patterns</literal>. It then writes to stdout a "
8481 "<filename>Release</filename> file containing (by default) an MD5, SHA1, "
8482 "SHA256 and SHA512 digest for each file."
8484 "<literal>release</literal> コマンドは、ディレクトリツリーから Release ファイ"
8485 "ルを生成します。与えたディレクトリを再帰的に検索し、未圧縮の "
8486 "<filename>Packages</filename> ファイルと <filename>Sources</filename> ファイ"
8487 "ル、およびそれらを <command>gzip</command>, <command>bzip2</command>, "
8488 "<command>lzma</command> で圧縮したもの、<filename>Release</filename> ファイル"
8489 "や <filename>md5sum.txt</filename> ファイルをデフォルト (<literal>APT::"
8490 "FTPArchive::Release::Default-Patterns</literal>) で探します。また "
8491 "<literal>APT::FTPArchive::Release::Patterns</literal> に列挙して、さらにファ"
8492 "イル名のパターンを追加できます。その後、(デフォルトで) MD5, SHA1, SHA256 と "
8493 "SHA512 の各ダイジェストをファイルごとに格納した <filename>Release</filename> "
8496 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8497 #: apt-ftparchive.1.xml
8500 #| "Values for the additional metadata fields in the Release file are taken "
8501 #| "from the corresponding variables under <literal>APT::FTPArchive::Release</"
8502 #| "literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
8503 #| "supported fields are: <literal>Origin</literal>, <literal>Label</"
8504 #| "literal>, <literal>Suite</literal>, <literal>Version</literal>, "
8505 #| "<literal>Codename</literal>, <literal>Date</literal>, <literal>Valid-"
8506 #| "Until</literal>, <literal>Architectures</literal>, <literal>Components</"
8507 #| "literal>, <literal>Description</literal>."
8509 "Values for the additional metadata fields in the Release file are taken from "
8510 "the corresponding variables under <literal>APT::FTPArchive::Release</"
8511 "literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
8512 "supported fields are <literal>Origin</literal>, <literal>Label</literal>, "
8513 "<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
8514 "literal>, <literal>Date</literal>, <literal>Valid-Until</literal>, "
8515 "<literal>Signed-By</literal>, <literal>Architectures</literal>, "
8516 "<literal>Components</literal> and <literal>Description</literal>."
8518 "Release ファイルの追加メタデータフィールドの値は、<literal>APT::FTPArchive::"
8519 "Release</literal> 以下の相当する値 (例: <literal>APT::FTPArchive::Release::"
8520 "Origin</literal>) をとります。サポートするフィールドは、<literal>Origin</"
8521 "literal>, <literal>Label</literal>, <literal>Suite</literal>, "
8522 "<literal>Version</literal>, <literal>Codename</literal>, <literal>Date</"
8523 "literal>, <literal>Valid-Until</literal>, <literal>Architectures</literal>, "
8524 "<literal>Components</literal>, <literal>Description</literal> です。"
8526 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8527 #: apt-ftparchive.1.xml
8529 "The <literal>generate</literal> command is designed to be runnable from a "
8530 "cron script and builds indexes according to the given config file. The "
8531 "config language provides a flexible means of specifying which index files "
8532 "are built from which directories, as well as providing a simple means of "
8533 "maintaining the required settings."
8535 "<literal>generate</literal> コマンドは、cron スクリプトから実行できるよう設計"
8536 "されており、与えられた設定ファイルに従ってインデックスを生成します。設定言語"
8537 "は、必要な設定を維持する簡単な方法を提供すると共に、インデックスファイルをど"
8538 "のディレクトリから作成するかを指定する、柔軟な方法を提供します。"
8540 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8541 #: apt-ftparchive.1.xml
8543 "The <literal>clean</literal> command tidies the databases used by the given "
8544 "configuration file by removing any records that are no longer necessary."
8546 "<literal>clean</literal> コマンドは、設定ファイルで与えられたデータベースを、"
8547 "もう必要ないレコードを削除して整理します。"
8549 #. type: Content of: <refentry><refsect1><title>
8550 #: apt-ftparchive.1.xml
8551 msgid "The Generate Configuration"
8552 msgstr "Generate 設定"
8554 #. type: Content of: <refentry><refsect1><para>
8555 #: apt-ftparchive.1.xml
8557 "The <literal>generate</literal> command uses a configuration file to "
8558 "describe the archives that are going to be generated. It follows the typical "
8559 "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
8560 "conf; contains a description of the syntax. Note that the generate "
8561 "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
8562 "tree manner. This only effects how the scope tag is handled."
8564 "<literal>generate</literal> コマンドは、生成するアーカイブに関する記述をした"
8565 "設定ファイルを使用します。設定ファイルは、bind 8 や dhcpd といった ISC ツール"
8566 "に見られるような、ISC 設定フォーマットに従います。&apt-conf; に、構文の説明が"
8567 "あります。Generate 設定はセクション法で解析しますが、&apt-conf; はツリー法で"
8568 "解析するのに注意してください。これはスコープタグの扱い方に違いがあるだけで"
8571 #. type: Content of: <refentry><refsect1><para>
8572 #: apt-ftparchive.1.xml
8574 "The generate configuration has four separate sections, each described below."
8576 "generate 設定には 4 個の独立したセクションがあります。以下それぞれ説明しま"
8579 #. type: Content of: <refentry><refsect1><refsect2><title>
8580 #: apt-ftparchive.1.xml
8581 msgid "<literal>Dir</literal> Section"
8582 msgstr "<literal>Dir</literal> セクション"
8584 #. type: Content of: <refentry><refsect1><refsect2><para>
8585 #: apt-ftparchive.1.xml
8587 "The <literal>Dir</literal> section defines the standard directories needed "
8588 "to locate the files required during the generation process. These "
8589 "directories are prepended certain relative paths defined in later sections "
8590 "to produce a complete an absolute path."
8592 "<literal>Dir</literal> セクションは、生成プロセスで必要なファイルを配置するた"
8593 "めに必要な、標準ディレクトリを定義します。このディレクトリは、完全な絶対パス"
8594 "を生成するため、後のセクションで定義される相対パスの前に結合されます。"
8596 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8597 #: apt-ftparchive.1.xml
8599 "Specifies the root of the FTP archive, in a standard Debian configuration "
8600 "this is the directory that contains the <filename>ls-LR</filename> and dist "
8603 "FTP アーカイブのルートを指定します。標準的な Debian 設定では、このディレクト"
8604 "リには <filename>ls-LR</filename> と dist ノードがあります。"
8606 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8607 #: apt-ftparchive.1.xml
8608 msgid "Specifies the location of the override files."
8609 msgstr "オーバーライドファイルの場所を指定します。"
8611 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8612 #: apt-ftparchive.1.xml
8613 msgid "Specifies the location of the cache files."
8614 msgstr "キャッシュファイルの場所を指定します。"
8616 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8617 #: apt-ftparchive.1.xml
8619 "Specifies the location of the file list files, if the <literal>FileList</"
8620 "literal> setting is used below."
8622 "<literal>FileList</literal> 設定が以下で使用されている場合、ファイルリスト"
8625 #. type: Content of: <refentry><refsect1><refsect2><title>
8626 #: apt-ftparchive.1.xml
8627 msgid "<literal>Default</literal> Section"
8628 msgstr "<literal>Default</literal> セクション"
8630 #. type: Content of: <refentry><refsect1><refsect2><para>
8631 #: apt-ftparchive.1.xml
8633 "The <literal>Default</literal> section specifies default values, and "
8634 "settings that control the operation of the generator. Other sections may "
8635 "override these defaults with a per-section setting."
8637 "<literal>Default</literal> セクションではデフォルト値を指定します。また、生成"
8638 "器の動作を制御する設定も行います。他のセクションでは、ここにあるデフォルト値"
8639 "を、セクションごとの設定で上書きします。"
8641 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8642 #: apt-ftparchive.1.xml
8645 #| "Sets the default compression schemes to use for the package index files. "
8646 #| "It is a string that contains a space separated list of at least one of: "
8647 #| "'.' (no compression), 'gzip' and 'bzip2'. The default for all compression "
8648 #| "schemes is '. gzip'."
8650 "Sets the default compression schemes to use for the package index files. It "
8651 "is a string that contains a space separated list of at least one of the "
8652 "compressors configured via the <option>APT::Compressor</option> "
8653 "configuration scope. The default for all compression schemes is '. gzip'."
8655 "パッケージインデックスファイルのデフォルト圧縮方法を設定します。少なくとも "
8656 "'.' (圧縮なし), 'gzip', 'bzip2' のどれかが入る、空白区切りの文字列です。圧縮"
8657 "方法のデフォルトはすべて '. gzip' です。"
8659 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8660 #: apt-ftparchive.1.xml
8662 "Sets the default list of file extensions that are package files. This "
8663 "defaults to '.deb'."
8665 "パッケージファイル拡張子のデフォルト値を列挙します。このデフォルト値は '."
8668 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8669 #: apt-ftparchive.1.xml
8671 "This is similar to <literal>Packages::Compress</literal> except that it "
8672 "controls the compression for the Sources files."
8674 "<literal>Packages::Compress</literal> と同様に、Sources ファイルの圧縮方法を"
8677 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8678 #: apt-ftparchive.1.xml
8680 "Sets the default list of file extensions that are source files. This "
8681 "defaults to '.dsc'."
8683 "ソースファイル拡張子のデフォルト値を列挙します。このデフォルト値は '.dsc' で"
8686 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8687 #: apt-ftparchive.1.xml
8689 "This is similar to <literal>Packages::Compress</literal> except that it "
8690 "controls the compression for the Contents files."
8692 "<literal>Packages::Compress</literal> と同様に、Contents ファイルの圧縮方法を"
8695 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8696 #: apt-ftparchive.1.xml
8698 "This is similar to <literal>Packages::Compress</literal> except that it "
8699 "controls the compression for the Translation-en master file."
8701 "<literal>Packages::Compress</literal> と同様に、Translation-en マスターファイ"
8704 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8705 #: apt-ftparchive.1.xml
8707 "Specifies the number of kilobytes to delink (and replace with hard links) "
8708 "per run. This is used in conjunction with the per-section <literal>External-"
8709 "Links</literal> setting."
8711 "実行するごとに delink (及びハードリンクの置き換え) する量を、キロバイト単位で"
8712 "指定します。セクションごとの <literal>External-Links</literal> 設定と合わせて"
8715 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8716 #: apt-ftparchive.1.xml
8718 "Specifies the mode of all created index files. It defaults to 0644. All "
8719 "index files are set to this mode with no regard to the umask."
8721 "作成したインデックスファイルのモードを指定します。デフォルトは 0644 です。全"
8722 "インデックスファイルは、umask を無視してこのモードを使用します。"
8724 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8725 #: apt-ftparchive.1.xml
8727 "Specifies whether long descriptions should be included in the "
8728 "<filename>Packages</filename> file or split out into a master "
8729 "<filename>Translation-en</filename> file."
8731 "長い説明文を <filename>Packages</filename> ファイルに含めるか、マスター "
8732 "<filename>Translation-en</filename> ファイルに分割するかを指定します。"
8734 #. type: Content of: <refentry><refsect1><refsect2><title>
8735 #: apt-ftparchive.1.xml
8736 msgid "<literal>TreeDefault</literal> Section"
8737 msgstr "<literal>TreeDefault</literal> セクション"
8739 #. type: Content of: <refentry><refsect1><refsect2><para>
8740 #: apt-ftparchive.1.xml
8742 "Sets defaults specific to <literal>Tree</literal> sections. All of these "
8743 "variables are substitution variables and have the strings $(DIST), "
8744 "$(SECTION) and $(ARCH) replaced with their respective values."
8746 "特定の <literal>Tree</literal> セクションのデフォルトを設定します。これらの変"
8747 "数はすべて置換変数であり、文字列 $(DIST), $(SECTION), $(ARCH) をそれぞれの値"
8750 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8751 #: apt-ftparchive.1.xml
8753 "Sets the number of kilobytes of contents files that are generated each day. "
8754 "The contents files are round-robined so that over several days they will all "
8757 "日毎に生成する contents ファイルをキロバイト単位で設定します。contents ファイ"
8758 "ルをラウンドロビンし、数日経つとすべて再生成します。"
8760 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8761 #: apt-ftparchive.1.xml
8763 "Controls the number of days a contents file is allowed to be checked without "
8764 "changing. If this limit is passed the mtime of the contents file is updated. "
8765 "This case can occur if the package file is changed in such a way that does "
8766 "not result in a new contents file [override edit for instance]. A hold off "
8767 "is allowed in hopes that new .debs will be installed, requiring a new file "
8768 "anyhow. The default is 10, the units are in days."
8770 "変更がない contents ファイルをチェックする日数を指定します。この制限を越えた "
8771 "contents ファイルの mtime を、更新します。パッケージファイルが変更されても、"
8772 "[例えば上書き編集で] contents ファイルが更新されないような場合、こういったこ"
8773 "とが発生します。新しい .deb ファイルをインストールしたい場合、保留を解除で"
8774 "き、少なくとも新しいファイルが必要です。デフォルトは 10 で、単位は日です。"
8776 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8777 #: apt-ftparchive.1.xml
8779 "Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
8780 "$(SECTION)/binary-$(ARCH)/</filename>"
8782 ".deb ディレクトリツリーの先頭を設定します。デフォルトは <filename>$(DIST)/"
8783 "$(SECTION)/binary-$(ARCH)/</filename> です。"
8785 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8786 #: apt-ftparchive.1.xml
8788 "Sets the top of the source package directory tree. Defaults to <filename>"
8789 "$(DIST)/$(SECTION)/source/</filename>"
8791 "ソースパッケージディレクトリツリーの先頭を設定します。デフォルトは <filename>"
8792 "$(DIST)/$(SECTION)/source/</filename> です。"
8794 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8795 #: apt-ftparchive.1.xml
8797 "Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
8798 "binary-$(ARCH)/Packages</filename>"
8800 "Packages ファイルの出力先を設定します。デフォルトは <filename>$(DIST)/"
8801 "$(SECTION)/binary-$(ARCH)/Packages</filename> です。"
8803 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8804 #: apt-ftparchive.1.xml
8806 "Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
8807 "source/Sources</filename>"
8809 "Sources ファイルの出力先を設定します。デフォルトは <filename>$(DIST)/"
8810 "$(SECTION)/source/Sources</filename> です。"
8812 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8813 #: apt-ftparchive.1.xml
8815 "Sets the output Translation-en master file with the long descriptions if "
8816 "they should be not included in the Packages file. Defaults to <filename>"
8817 "$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
8819 "万一 Packages ファイルに含まれていない場合、長い説明文がある Translation-en "
8820 "マスターファイルの出力先を設定します。デフォルトは、<filename>$(DIST)/"
8821 "$(SECTION)/i18n/Translation-en</filename> です。"
8823 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8824 #: apt-ftparchive.1.xml
8826 "Sets the path prefix that causes a symlink to be considered an internal link "
8827 "instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
8830 "外部リンクではなく、内部リンクと見なす判断材料となる、パスのプレフィックスを"
8831 "設定します。デフォルトは、<filename>$(DIST)/$(SECTION)/</filename> です。"
8833 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8834 #: apt-ftparchive.1.xml
8836 "Sets the output Contents file. Defaults to <filename>$(DIST)/$(SECTION)/"
8837 "Contents-$(ARCH)</filename>. If this setting causes multiple Packages files "
8838 "to map onto a single Contents file (as is the default) then <command>apt-"
8839 "ftparchive</command> will integrate those package files together "
8842 "Contents ファイルの出力先を設定します。デフォルトは、<filename>$(DIST)/"
8843 "$(SECTION)/Contents-$(ARCH)</filename> です。複数の Packages ファイルをひとつ"
8844 "の Contents ファイルにまとめられる設定 (デフォルト) の場合、<command>apt-"
8845 "ftparchive</command> は自動でパッケージファイルをまとめます。"
8847 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8848 #: apt-ftparchive.1.xml
8849 msgid "Sets header file to prepend to the contents output."
8850 msgstr "contents の出力に付けるヘッダファイルを設定します。"
8852 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8853 #: apt-ftparchive.1.xml
8855 "Sets the binary cache database to use for this section. Multiple sections "
8856 "can share the same database."
8858 "このセクションで使用するバイナリキャッシュデータベースを設定します。複数のセ"
8859 "クションで同じデータベースを共有できます。"
8861 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8862 #: apt-ftparchive.1.xml
8864 "Specifies that instead of walking the directory tree, <command>apt-"
8865 "ftparchive</command> should read the list of files from the given file. "
8866 "Relative files names are prefixed with the archive directory."
8868 "ディレクトリツリーを走査する代わりに、<command>apt-ftparchive</command> が読"
8869 "み込むファイル一覧ファイルを指定します。相対ファイル名は、アーカイブディレク"
8872 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8873 #: apt-ftparchive.1.xml
8875 "Specifies that instead of walking the directory tree, <command>apt-"
8876 "ftparchive</command> should read the list of files from the given file. "
8877 "Relative files names are prefixed with the archive directory. This is used "
8878 "when processing source indexes."
8880 "ディレクトリツリーを走査する代わりに、<command>apt-ftparchive</command> が読"
8881 "み込むファイル一覧ファイルを指定します。相対ファイル名は、アーカイブディレク"
8882 "トリが先頭につきます。ソースインデックスを処理する際に使用します。"
8884 #. type: Content of: <refentry><refsect1><refsect2><title>
8885 #: apt-ftparchive.1.xml
8886 msgid "<literal>Tree</literal> Section"
8887 msgstr "<literal>Tree</literal> セクション"
8889 #. type: Content of: <refentry><refsect1><refsect2><para>
8890 #: apt-ftparchive.1.xml
8892 "The <literal>Tree</literal> section defines a standard Debian file tree "
8893 "which consists of a base directory, then multiple sections in that base "
8894 "directory and finally multiple Architectures in each section. The exact "
8895 "pathing used is defined by the <literal>Directory</literal> substitution "
8898 "<literal>Tree</literal> セクションでは、ベースディレクトリからの標準 Debian "
8899 "ファイルツリー、ベースディレクトリの複数のセクション、最終的にはセクションご"
8900 "との複数のアーキテクチャを定義します。使用する正確なパスは、"
8901 "<literal>Directory</literal> 変数で定義されます。"
8903 #. type: Content of: <refentry><refsect1><refsect2><para>
8904 #: apt-ftparchive.1.xml
8906 "The <literal>Tree</literal> section takes a scope tag which sets the "
8907 "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
8908 "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
8909 "setting such as <filename>dists/&debian-stable-codename;</filename>."
8911 "<literal>Tree</literal> セクションは、<literal>$(DIST)</literal> 変数で設定さ"
8912 "れているスコープタグをとり、ツリーのルート (<literal>ArchiveDir</literal>が先"
8913 "頭につくパス) を定義します。通常、この設定は <filename>dists/&debian-stable-"
8914 "codename;</filename> のようになります。"
8916 #. type: Content of: <refentry><refsect1><refsect2><para>
8917 #: apt-ftparchive.1.xml
8919 "All of the settings defined in the <literal>TreeDefault</literal> section "
8920 "can be used in a <literal>Tree</literal> section as well as three new "
8923 "<literal>TreeDefault</literal> セクションで定義される設定はすべて、3 個の新し"
8924 "い変数と同様に、<literal>Tree</literal> セクションで使用できます。"
8926 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
8927 #: apt-ftparchive.1.xml
8930 "for i in Sections do \n"
8931 " for j in Architectures do\n"
8932 " Generate for DIST=scope SECTION=i ARCH=j\n"
8935 "for i in Sections do \n"
8936 " for j in Architectures do\n"
8937 " Generate for DIST=scope SECTION=i ARCH=j\n"
8940 #. type: Content of: <refentry><refsect1><refsect2><para>
8941 #: apt-ftparchive.1.xml
8943 "When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
8944 "command> performs an operation similar to: <placeholder type=\"programlisting"
8947 "<literal>Tree</literal> セクションを処理する際、<command>apt-ftparchive</"
8948 "command> は以下のような操作を行います。<placeholder type=\"programlisting\" "
8951 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8952 #: apt-ftparchive.1.xml
8954 "This is a space separated list of sections which appear under the "
8955 "distribution; typically this is something like <literal>main contrib non-"
8958 "distribution 以下に現れるセクションを、空白区切りで指定したリストです。通常、"
8959 "<literal>main contrib non-free</literal> のようになります。"
8961 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8962 #: apt-ftparchive.1.xml
8964 "This is a space separated list of all the architectures that appear under "
8965 "search section. The special architecture 'source' is used to indicate that "
8966 "this tree has a source archive. The architecture 'all' signals that "
8967 "architecture specific files like <filename>Packages</filename> should not "
8968 "include information about architecture <literal>all</literal> packages in "
8969 "all files as they will be available in a dedicated file."
8971 "検索部の下に表示されるすべてのアーキテクチャの空白区切りリストです。特別な"
8972 "アーキテクチャ「source」は、このツリーがソースアーカイブを持っていることを示"
8973 "すために使用されます。アーキテクチャ「all」は、<filename>Packages</filename> "
8974 "のようなアーキテクチャ固有のファイルがすべてのファイル中のアーキテクチャ "
8975 "<literal>all</literal> パッケージに関する情報を含まず、専用のファイルで利用で"
8978 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8979 #: apt-ftparchive.1.xml
8981 "Sets the binary override file. The override file contains section, priority "
8982 "and maintainer address information."
8984 "バイナリオーバーライドファイルを設定します。このオーバーライドファイルには、"
8985 "セクション、優先度、メンテナのアドレスといった情報が含まれています。"
8987 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8988 #: apt-ftparchive.1.xml
8990 "Sets the source override file. The override file contains section "
8993 "ソースオーバーライドファイルを設定します。このオーバーライドファイルには、セ"
8996 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
8997 #: apt-ftparchive.1.xml
8998 msgid "Sets the binary extra override file."
8999 msgstr "バイナリ特別オーバーライドファイルを設定します。"
9001 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9002 #: apt-ftparchive.1.xml
9003 msgid "Sets the source extra override file."
9004 msgstr "ソース特別オーバーライドファイルを設定します。"
9006 #. type: Content of: <refentry><refsect1><refsect2><title>
9007 #: apt-ftparchive.1.xml
9008 msgid "<literal>BinDirectory</literal> Section"
9009 msgstr "<literal>BinDirectory</literal> セクション"
9011 #. type: Content of: <refentry><refsect1><refsect2><para>
9012 #: apt-ftparchive.1.xml
9014 "The <literal>bindirectory</literal> section defines a binary directory tree "
9015 "with no special structure. The scope tag specifies the location of the "
9016 "binary directory and the settings are similar to the <literal>Tree</literal> "
9017 "section with no substitution variables or <literal>Section</"
9018 "literal><literal>Architecture</literal> settings."
9020 "<literal>bindirectory</literal> セクションでは、特殊な構造を持たないバイナリ"
9021 "ディレクトリツリーを定義します。スコープタグはバイナリディレクトリの場所を指"
9022 "定し、設定は変数展開のない <literal>Tree</literal> セクションや "
9023 "<literal>Section</literal><literal>Architecture</literal> 設定に似ています。"
9025 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9026 #: apt-ftparchive.1.xml
9027 msgid "Sets the Packages file output."
9028 msgstr "Packages ファイルの出力先を設定します。"
9030 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9031 #: apt-ftparchive.1.xml
9033 "Sets the Sources file output. At least one of <literal>Packages</literal> or "
9034 "<literal>Sources</literal> is required."
9036 "Sources ファイルの出力先を設定します。少なくとも <literal>Packages</literal> "
9037 "か <literal>Sources</literal> のうち、ひとつは必要です。"
9039 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9040 #: apt-ftparchive.1.xml
9041 msgid "Sets the Contents file output (optional)."
9042 msgstr "Contents ファイルの出力先を設定します (オプション)。"
9044 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9045 #: apt-ftparchive.1.xml
9046 msgid "Sets the binary override file."
9047 msgstr "バイナリオーバーライドファイルを設定します。"
9049 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9050 #: apt-ftparchive.1.xml
9051 msgid "Sets the source override file."
9052 msgstr "ソースオーバーライドファイルを設定します。"
9054 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9055 #: apt-ftparchive.1.xml
9056 msgid "Sets the cache DB."
9057 msgstr "キャッシュ DB を設定します。"
9059 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9060 #: apt-ftparchive.1.xml
9061 msgid "Appends a path to all the output paths."
9062 msgstr "全出力パスに付加するパス。"
9064 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
9065 #: apt-ftparchive.1.xml
9066 msgid "Specifies the file list file."
9067 msgstr "ファイル一覧ファイルを指定します。"
9069 #. type: Content of: <refentry><refsect1><title>
9070 #: apt-ftparchive.1.xml
9071 msgid "The Binary Override File"
9072 msgstr "バイナリオーバーライドファイル"
9074 #. type: Content of: <refentry><refsect1><para>
9075 #: apt-ftparchive.1.xml
9077 "The binary override file is fully compatible with &dpkg-scanpackages;. It "
9078 "contains four fields separated by spaces. The first field is the package "
9079 "name, the second is the priority to force that package to, the third is the "
9080 "section to force that package to and the final field is the maintainer "
9081 "permutation field."
9083 "バイナリオーバーライドファイルは、&dpkg-scanpackages; と完全に互換性がありま"
9084 "す。ここには、空白区切りでフィールドが 4 個あります。先頭のフィールドはパッ"
9085 "ケージ名、2 番目のフィールドはパッケージに強制する優先度、3 番目のフィールド"
9086 "はパッケージに強制するセクション、最後のフィールドはメンテナ順列フィールドで"
9089 #. type: Content of: <refentry><refsect1><para><literallayout>
9090 #: apt-ftparchive.1.xml
9092 msgid "old [// oldn]* => new"
9093 msgstr "old [// oldn]* => new"
9095 #. type: Content of: <refentry><refsect1><para><literallayout>
9096 #: apt-ftparchive.1.xml
9101 #. type: Content of: <refentry><refsect1><para>
9102 #: apt-ftparchive.1.xml
9104 "The general form of the maintainer field is: <placeholder type="
9105 "\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
9106 "id=\"1\"/> The first form allows a double-slash separated list of old email "
9107 "addresses to be specified. If any of those are found then new is substituted "
9108 "for the maintainer field. The second form unconditionally substitutes the "
9111 "メンテナフィールドの一般的な形は以下のようになります。<placeholder type="
9112 "\"literallayout\" id=\"0\"/> また単純に以下のようにもなります。<placeholder "
9113 "type=\"literallayout\" id=\"1\"/>最初の形式は、// で区切られた古い email アド"
9114 "レスのリストを許可します。この形式がある場合は、メンテナフィールドになるよう "
9115 "new に置換してください。2 番目の形式は無条件にメンテナフィールドに置換しま"
9118 #. type: Content of: <refentry><refsect1><title>
9119 #: apt-ftparchive.1.xml
9120 msgid "The Source Override File"
9121 msgstr "ソースオーバーライドファイル"
9123 #. type: Content of: <refentry><refsect1><para>
9124 #: apt-ftparchive.1.xml
9126 "The source override file is fully compatible with &dpkg-scansources;. It "
9127 "contains two fields separated by spaces. The first field is the source "
9128 "package name, the second is the section to assign it."
9130 "ソースオーバーライドファイルは、&dpkg-scansources; と完全に互換性があります。"
9131 "ここには、空白区切りでフィールドが 2 個あります。先頭のフィールドはソースパッ"
9132 "ケージ名、2 番目のフィールドは割り当てるセクションです。"
9134 #. type: Content of: <refentry><refsect1><title>
9135 #: apt-ftparchive.1.xml
9136 msgid "The Extra Override File"
9137 msgstr "特別オーバーライドファイル"
9139 #. type: Content of: <refentry><refsect1><para>
9140 #: apt-ftparchive.1.xml
9142 "The extra override file allows any arbitrary tag to be added or replaced in "
9143 "the output. It has three columns, the first is the package, the second is "
9144 "the tag and the remainder of the line is the new value."
9146 "特別オーバーライドファイルは、出力中に任意のタグを追加・置換できるようにしま"
9147 "す。3 列からなり、先頭はパッケージ、2番目はタグ、残りは新しい値です。"
9149 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9150 #: apt-ftparchive.1.xml
9152 "Generate the given checksum. These options default to on, when turned off "
9153 "the generated index files will not have the checksum fields where possible. "
9154 "Configuration Items: <literal>APT::FTPArchive::<replaceable>Checksum</"
9155 "replaceable></literal> and <literal>APT::FTPArchive::<replaceable>Index</"
9156 "replaceable>::<replaceable>Checksum</replaceable></literal> where "
9157 "<literal><replaceable>Index</replaceable></literal> can be "
9158 "<literal>Packages</literal>, <literal>Sources</literal> or <literal>Release</"
9159 "literal> and <literal><replaceable>Checksum</replaceable></literal> can be "
9160 "<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> "
9161 "or <literal>SHA512</literal>."
9163 "与えたチェックサムを生成します。このオプションはデフォルトで on です。off に"
9164 "すると生成したインデックスファイルには checksum フィールドが含まれません。設"
9165 "定項目: <literal>APT::FTPArchive::<replaceable>Checksum</replaceable></"
9166 "literal> と <literal>APT::FTPArchive::<replaceable>Index</replaceable>::"
9167 "<replaceable>Checksum</replaceable></literal>。ここで "
9168 "<literal><replaceable>Index</replaceable></literal> は <literal>Packages</"
9169 "literal>, <literal>Sources</literal>, <literal>Release</literal> になります。"
9170 "<literal><replaceable>Checksum</replaceable></literal> は <literal>MD5</"
9171 "literal>, <literal>SHA1</literal>, <literal>SHA256</literal> または "
9172 "<literal>SHA512</literal> になります。"
9174 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9175 #: apt-ftparchive.1.xml
9177 "Use a binary caching DB. This has no effect on the generate command. "
9178 "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
9180 "バイナリキャッシュ DB を使用します。generate コマンドには影響しません。設定項"
9181 "目: <literal>APT::FTPArchive::DB</literal>"
9183 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9184 #: apt-ftparchive.1.xml
9186 "Quiet; produces output suitable for logging, omitting progress indicators. "
9187 "More q's will produce more quiet up to a maximum of 2. You can also use "
9188 "<option>-q=#</option> to set the quiet level, overriding the configuration "
9189 "file. Configuration Item: <literal>quiet</literal>."
9191 "静粛 - 進捗表示を省略し、ログをとるのに便利な出力を行います。最大 2 つまで q "
9192 "を重ねることでより静粛にできます。また、<option>-q=#</option> のように静粛レ"
9193 "ベルを指定して、設定ファイルを上書きすることもできます。設定項目: "
9194 "<literal>quiet</literal>"
9196 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9197 #: apt-ftparchive.1.xml
9199 "Perform Delinking. If the <literal>External-Links</literal> setting is used "
9200 "then this option actually enables delinking of the files. It defaults to on "
9201 "and can be turned off with <option>--no-delink</option>. Configuration "
9202 "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
9204 "Delink を実行します。<literal>External-Links</literal> 設定を使用している場"
9205 "合、このオプションはファイルの delink を有効にします。デフォルトは on で、"
9206 "off にするには <option>--no-delink</option> としてください。設定項目: "
9207 "<literal>APT::FTPArchive::DeLinkAct</literal>"
9209 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9210 #: apt-ftparchive.1.xml
9212 "Perform contents generation. When this option is set and package indexes are "
9213 "being generated with a cache DB then the file listing will also be extracted "
9214 "and stored in the DB for later use. When using the generate command this "
9215 "option also allows the creation of any Contents files. The default is on. "
9216 "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
9218 "contents の生成を行います。このオプションを指定し、パッケージインデックスを"
9219 "キャッシュ DB と共に生成する際、ファイルリストを後で使用するように、抽出し "
9220 "DB に格納します。generate コマンドを使用する際、このオプションでいずれの "
9221 "Contents ファイルも作成できます。デフォルトは on です。設定項目: "
9222 "<literal>APT::FTPArchive::Contents</literal>"
9224 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9225 #: apt-ftparchive.1.xml
9227 "Select the source override file to use with the <literal>sources</literal> "
9228 "command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
9231 "<literal>sources</literal> コマンドで使用する、ソースオーバーライドファイルを"
9232 "選択します。設定項目: <literal>APT::FTPArchive::SourceOverride</literal>"
9234 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9235 #: apt-ftparchive.1.xml
9237 "Make the caching databases read only. Configuration Item: <literal>APT::"
9238 "FTPArchive::ReadOnlyDB</literal>."
9240 "キャッシュデータベースを読み取り専用にします。設定項目: <literal>APT::"
9241 "FTPArchive::ReadOnlyDB</literal>"
9243 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9244 #: apt-ftparchive.1.xml
9246 "Accept in the <literal>packages</literal> and <literal>contents</literal> "
9247 "commands only package files matching <literal>*_arch.deb</literal> or "
9248 "<literal>*_all.deb</literal> instead of all package files in the given "
9249 "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
9251 "<literal>packages</literal> コマンドや <literal>contents</literal> コマンド"
9252 "で、与えたパスにあるすべてのパッケージファイルではなく、<literal>*_arch.deb</"
9253 "literal> や <literal>*_all.deb</literal> に一致したパッケージファイルのみを受"
9254 "け付けます。設定項目: <literal>APT::FTPArchive::Architecture</literal>"
9256 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9257 #: apt-ftparchive.1.xml
9259 "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
9260 "packages are recompiled and/or republished with the same version again, this "
9261 "will lead to problems as the now outdated cached metadata like size and "
9262 "checksums will be used. With this option enabled this will no longer happen "
9263 "as it will be checked if the file was changed. Note that this option is set "
9264 "to \"<literal>false</literal>\" by default as it is not recommend to upload "
9265 "multiply versions/builds of a package with the same versionnumber, so in "
9266 "theory nobody will have these problems and therefore all these extra checks "
9269 "&apt-ftparchive; は cachedb のメタデータに可能な限りキャッシュします。パッ"
9270 "ケージを再コンパイルし、また同じバージョンで再発行されると、古くなってしまっ"
9271 "たキャッシュのメタデータ (サイズやチェックサム) が使われ、これが問題になるこ"
9272 "とがあります。このオプションを有効にすると、ファイルを更新するとチェックが行"
9273 "われるため、問題が起こらなくなります。デフォルトでは、このオプションは "
9274 "\"<literal>false</literal>\" にセットされていることに注意してください。バー"
9275 "ジョンや、同じバージョン番号のパッケージのビルドを、増やしてアップロードする"
9276 "のは推奨しないからです。そのため理論上、誰もその問題に行き会わず、すべての追"
9279 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
9280 #: apt-ftparchive.1.xml
9282 "This configuration option defaults to \"<literal>true</literal>\" and should "
9283 "only be set to <literal>\"false\"</literal> if the Archive generated with "
9284 "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
9285 "that the <filename>Translation-en</filename> master file can only be created "
9286 "in the generate command."
9288 "この設定オプションはデフォルトで \"<literal>true</literal>\" で、&apt-"
9289 "ftparchive; が生成したアーカイブが <filename>Translation</filename> ファイル"
9290 "も提供する場合にのみ <literal>\"false\"</literal> に設定してください。"
9291 "<filename>Translation-en</filename> マスターファイルは generate コマンドでの"
9292 "み生成できることに注意してください。"
9294 #. type: Content of: <refentry><refsect1><para><programlisting>
9295 #: apt-ftparchive.1.xml
9297 msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
9298 msgstr "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
9300 #. type: Content of: <refentry><refsect1><para>
9301 #: apt-ftparchive.1.xml
9303 "To create a compressed Packages file for a directory containing binary "
9304 "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
9306 "バイナリパッケージ (.deb) があるディレクトリの Packages ファイルを生成するに"
9307 "は、以下のようにします。<placeholder type=\"programlisting\" id=\"0\"/>"
9309 #. type: Content of: <refentry><refsect1><para>
9310 #: apt-ftparchive.1.xml
9312 "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
9315 "<command>apt-ftparchive</command> は正常終了時に 0 を返します。エラー時には十"
9318 #. type: Attribute 'lang' of: <book>
9319 #: guide.dbk offline.dbk
9323 #. type: Content of: <book><title>
9325 msgid "APT User's Guide"
9328 #. type: Content of: <book><bookinfo><authorgroup><author><personname>
9329 #: guide.dbk offline.dbk
9330 msgid "Jason Gunthorpe"
9331 msgstr "Jason Gunthorpe"
9333 #. type: Content of: <book><bookinfo><authorgroup><author><email>
9334 #: guide.dbk offline.dbk
9335 msgid "jgg@debian.org"
9336 msgstr "jgg@debian.org"
9338 #. type: Content of: <book><bookinfo><releaseinfo>
9339 #: guide.dbk offline.dbk
9340 msgid "Version &apt-product-version;"
9341 msgstr "バージョン &apt-product-version;"
9343 #. type: Content of: <book><bookinfo><abstract><para>
9346 "This document provides an overview of how to use the the APT package manager."
9347 msgstr "本文書は APT パッケージマネージャの使い方の概要を提供します。"
9349 #. type: Content of: <book><bookinfo>
9352 "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
9354 "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
9356 #. type: Content of: <book><bookinfo><legalnotice><title>
9357 #: guide.dbk offline.dbk
9358 msgid "License Notice"
9361 #. type: Content of: <book><bookinfo><legalnotice><para>
9362 #: guide.dbk offline.dbk
9364 "\"APT\" and this document are free software; you can redistribute them and/"
9365 "or modify them under the terms of the GNU General Public License as "
9366 "published by the Free Software Foundation; either version 2 of the License, "
9367 "or (at your option) any later version."
9369 "\"APT\" and this document are free software; you can redistribute them and/"
9370 "or modify them under the terms of the GNU General Public License as "
9371 "published by the Free Software Foundation; either version 2 of the License, "
9372 "or (at your option) any later version."
9374 #. type: Content of: <book><bookinfo><legalnotice><para>
9375 #: guide.dbk offline.dbk
9377 "For more details, on Debian systems, see the file /usr/share/common-licenses/"
9378 "GPL for the full license."
9380 "For more details, on Debian systems, see the file /usr/share/common-licenses/"
9381 "GPL for the full license."
9383 #. type: Content of: <book><chapter><title>
9388 #. type: Content of: <book><chapter><para>
9391 "The APT package currently contains two sections, the APT <command>dselect</"
9392 "command> method and the <command>apt-get</command> command line user "
9393 "interface. Both provide a way to install and remove packages as well as "
9394 "download new packages from the Internet."
9396 "APT パッケージは現在、APT <command>dselect</command> メソッドと <command>apt-"
9397 "get</command> コマンドラインユーザインターフェイスの2つを収録しています。両方"
9398 "ともインターネットから新しいパッケージをダウンロードするのと同様、パッケージ"
9399 "をインストール、削除する方法を提供しています。"
9401 #. type: Content of: <book><chapter><section><title>
9403 msgid "Anatomy of the Package System"
9404 msgstr "パッケージシステムの構造"
9406 #. type: Content of: <book><chapter><section><para>
9409 "The Debian packaging system has a large amount of information associated "
9410 "with each package to help assure that it integrates cleanly and easily into "
9411 "the system. The most prominent of its features is the dependency system."
9413 "Debian パッケージシステムには各パッケージに関連する膨大な情報があり、システム"
9414 "に手際良く簡単に統合することを支援します。その最も重要な機能は依存システムで"
9417 #. type: Content of: <book><chapter><section><para>
9420 "The dependency system allows individual programs to make use of shared "
9421 "elements in the system such as libraries. It simplifies placing infrequently "
9422 "used portions of a program in separate packages to reduce the number of "
9423 "things the average user is required to install. Also, it allows for choices "
9424 "in mail transport agents, X servers and so on."
9426 "依存システムにより、システムにあるライブラリ等の共有要素を個々のプログラムを"
9427 "使えるようになります。簡単に言うと、プログラムのうちまれに利用される部分を別"
9428 "個のパッケージに配置して、平均的ユーザがインストールを必要とするものの数を減"
9429 "らします。また、メール転送エージェントや X サーバ等の選択ができるようにもなり"
9432 #. type: Content of: <book><chapter><section><para>
9435 "The first step to understanding the dependency system is to grasp the "
9436 "concept of a simple dependency. The meaning of a simple dependency is that a "
9437 "package requires another package to be installed at the same time to work "
9440 "依存システムの理解はまず単純な依存の概念を把握することから始まります。単純な"
9441 "依存というのは、あるパッケージが適切に機能するためには別のパッケージが同時に"
9442 "インストールされている必要があるということです。"
9444 # Translator's NOTE: maybe s/GPGP/GPG/?
9445 #. type: Content of: <book><chapter><section><para>
9448 "For instance, mailcrypt is an emacs extension that aids in encrypting email "
9449 "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
9450 "simple dependency on GPG. Also, because it is an emacs extension it has a "
9451 "simple dependency on emacs, without emacs it is completely useless."
9453 "例えば mailcrypt は emacs を拡張するプログラムで、GPG によるメールの暗号化を"
9454 "支援します。GPGP がインストールされていなければ mailcrypt は役に立たないので "
9455 "mailcrypt には GPG に単純に依存しています。また、これは emacs の拡張なので "
9456 "emacs に単純に依存し、emacs がないと何の役にも立ちません。"
9458 #. type: Content of: <book><chapter><section><para>
9461 "The other important dependency to understand is a conflicting dependency. It "
9462 "means that a package, when installed with another package, will not work and "
9463 "may possibly be extremely harmful to the system. As an example consider a "
9464 "mail transport agent such as sendmail, exim or qmail. It is not possible to "
9465 "have two mail transport agents installed because both need to listen to the "
9466 "network to receive mail. Attempting to install two will seriously damage the "
9467 "system so all mail transport agents have a conflicting dependency with all "
9468 "other mail transport agents."
9470 "理解しておかないといけないもう一つの重要な依存に競合する依存があります。これ"
9471 "はあるパッケージが別のパッケージと同時にインストールされていると機能せず、シ"
9472 "ステムにとってひどく有害なこともあります。例として sendmail や exim、qmail 等"
9473 "のメール転送エージェントで考えてみましょう。メール転送エージェントはどれも"
9474 "メールを受け取るのにネットワークを待ち受ける必要があるため、2つインストールす"
9475 "ることは不可能です。複数インストールするとシステムに重大な被害を与える可能性"
9476 "があるため、メール転送エージェントはどれも他のあらゆるメール転送エージェント"
9479 #. type: Content of: <book><chapter><section><para>
9482 "As an added complication there is the possibility for a package to pretend "
9483 "to be another package. Consider that exim and sendmail for many intents are "
9484 "identical, they both deliver mail and understand a common interface. Hence, "
9485 "the package system has a way for them to declare that they are both mail-"
9486 "transport-agents. So, exim and sendmail both declare that they provide a "
9487 "mail-transport-agent and other packages that need a mail transport agent "
9488 "depend on mail-transport-agent. This can add a great deal of confusion when "
9489 "trying to manually fix packages."
9491 "複雑な例としては、別のパッケージのように装うパッケージがあります。exim と "
9492 "sendmail について見てみると、その多くの目的は同一で、両方ともメールを配送し、"
9493 "一般的インターフェイスを解釈します。そこで、パッケージシステムにはどちらも "
9494 "mail-transport-agents だと宣言する方法があります。そうして exim と sendmail "
9495 "は両方とも mail-transport-agent を提供すると宣言し、他のメール転送エージェン"
9496 "トを必要とするパッケージは mail-transport-agent に依存します。手作業により"
9497 "パッケージを修正しようとしたときに多大な混乱が生まれる可能性があります。"
9499 #. type: Content of: <book><chapter><section><para>
9502 "At any given time a single dependency may be met by packages that are "
9503 "already installed or it may not be. APT attempts to help resolve dependency "
9504 "issues by providing a number of automatic algorithms that help in selecting "
9505 "packages for installation."
9507 "既にインストールされている、あるいはされていないパッケージについて、1つの依存"
9508 "が生まれる可能性は常にあります。APT はインストールするパッケージの選択を支援"
9509 "する自動化でのアルゴリズムをいくつか提供することで依存問題の解決支援に努めま"
9512 #. type: Content of: <book><chapter><title>
9517 #. type: Content of: <book><chapter><para>
9520 "<command>apt-get</command> provides a simple way to install packages from "
9521 "the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
9522 "does not understand .deb files, it works with the package's proper name and "
9523 "can only install .deb archives from a <emphasis>Source</emphasis>."
9525 "<command>apt-get</command> はコマンドラインからパッケージをインストールする簡"
9526 "単な方法を提供します。<command>dpkg</command> とは異なり、<command>apt-get</"
9527 "command> は .deb ファイルを解釈せず、連携するのはパッケージ特有の名前で、イン"
9528 "ストールできるのは<emphasis>ソース</emphasis>にある .deb アーカイブだけです。"
9530 #. type: Content of: <book><chapter><para><footnote><para>
9533 "If you are using an http proxy server you must set the http_proxy "
9534 "environment variable first, see sources.list(5)"
9536 "http プロキシサーバを使っている場合はまず http_proxy 環境変数をセットする必要"
9537 "があります。sources.list(5) を見てください"
9539 #. type: Content of: <book><chapter><para>
9542 "The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
9543 "done before using <command>apt-get</command> is to fetch the package lists "
9544 "from the <emphasis>Sources</emphasis> so that it knows what packages are "
9545 "available. This is done with <literal>apt-get update</literal>. For instance,"
9547 "<command>apt-get</command> を使う前にまずやるべきことは<placeholder type="
9548 "\"footnote\" id=\"0\"/>パッケージ一覧を<emphasis>ソース</emphasis>から取得す"
9549 "ることで、それにより利用できるパッケージがわかるようになります。これには "
9550 "<literal>apt-get update</literal> を実行します。例えば"
9552 #. type: Content of: <book><chapter><screen>
9556 "# apt-get update\n"
9557 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
9558 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
9559 "Reading Package Lists... Done\n"
9560 "Building Dependency Tree... Done\n"
9562 "# apt-get update\n"
9563 "取得 http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
9564 "取得 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
9565 "パッケージリストを読み込んでいます... 完了\n"
9567 #. type: Content of: <book><chapter><para>
9569 msgid "Once updated there are several commands that can be used:"
9570 msgstr "更新後は複数のコマンドを使えます:"
9572 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
9577 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
9580 "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
9581 "install a new package or remove an existing package, nor will it ever "
9582 "upgrade a package that might cause some other package to break. This can be "
9583 "used daily to relatively safely upgrade the system. Upgrade will list all of "
9584 "the packages that it could not upgrade, this usually means that they depend "
9585 "on new packages or conflict with some other package. <command>dselect</"
9586 "command> or <literal>apt-get install</literal> can be used to force these "
9587 "packages to install."
9589 "upgrade を行うとシステム全体を穏やかにアップグレードします。アップグレードで"
9590 "は新しいパッケージのインストールや既存のパッケージの削除、アップグレードする"
9591 "と他のパッケージを破壊する可能性のある場合のそのパッケージのアップグレードは"
9592 "行いません。これは毎日実行してシステムを比較的安全にアップグレードできます。"
9593 "upgrade を行うとアップグレードできないパッケージがある場合にその一覧を表示し"
9594 "ます。これは通常新しいパッケージに依存しているか他のパッケージと競合している"
9595 "ということになります。<command>dselect</command> や <literal>apt-get "
9596 "install</literal> を使うとそういったパッケージを強制的にインストールできま"
9599 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
9604 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
9607 "Install is used to install packages by name. The package is automatically "
9608 "fetched and installed. This can be useful if you already know the name of "
9609 "the package to install and do not want to go into a GUI to select it. Any "
9610 "number of packages may be passed to install, they will all be fetched. "
9611 "Install automatically attempts to resolve dependency problems with the "
9612 "listed packages and will print a summary and ask for confirmation if "
9613 "anything other than its arguments are changed."
9615 "install を使ってパッケージを名前によりインストールします。パッケージは自動的"
9616 "に取得、インストールされます。これはインストールするパッケージの名前が既にわ"
9617 "かっていて GUI を使って選択したくない場合に有用です。インストールするパッケー"
9618 "ジはいくらでも指定でき、全て取得されます。install では対象パッケージ一覧から"
9619 "自動的に依存問題の解決に努めてまとめを提示し、指示以外の変更がある場合は確認"
9622 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
9624 msgid "dist-upgrade"
9625 msgstr "dist-upgrade"
9627 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
9630 "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
9631 "releases of Debian. It uses a sophisticated algorithm to determine the best "
9632 "set of packages to install, upgrade and remove to get as much of the system "
9633 "to the newest release. In some situations it may be desired to use dist-"
9634 "upgrade rather than spend the time manually resolving dependencies in "
9635 "<command>dselect</command>. Once dist-upgrade has completed then "
9636 "<command>dselect</command> can be used to install any packages that may have "
9639 "dist-upgrade は完全なアップグレードを行うように設計されていて、Debian のリ"
9640 "リース間のアップグレードを単純化します。洗練されたアルゴリズムを使って、シス"
9641 "テムをできるだけ最新のリリースにするためにインストール、アップグレード、削除"
9642 "する最善のパッケージ群を決定します。状況によっては <command>dselect</"
9643 "command> で手作業により時間を掛けて依存を解決するよりも dist-upgrade を使う方"
9644 "が希望には合うかもしれません。dist-upgrade 完了後は <command>dselect</"
9645 "command> を使って、残っているパッケージがあればインストールできます。"
9647 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
9650 "It is important to closely look at what dist-upgrade is going to do, its "
9651 "decisions may sometimes be quite surprising."
9653 "dist-upgrade が実行する内容をよく観察するのは重要です。かなり驚くような判断が"
9656 #. type: Content of: <book><chapter><para>
9659 "<command>apt-get</command> has several command line options that are "
9660 "detailed in its man page, <citerefentry><refentrytitle>apt-get</"
9661 "refentrytitle><manvolnum>8</manvolnum></citerefentry>. The most useful "
9662 "option is <literal>-d</literal> which does not install the fetched files. If "
9663 "the system has to download a large number of package it would be undesired "
9664 "to start installing them in case something goes wrong. When <literal>-d</"
9665 "literal> is used the downloaded archives can be installed by simply running "
9666 "the command that caused them to be downloaded again without <literal>-d</"
9669 "<command>apt-get</command> にはコマンドラインオプションが複数あり、man ページ"
9670 "の <citerefentry><refentrytitle>apt-get</refentrytitle><manvolnum>8</"
9671 "manvolnum></citerefentry> で詳細に説明されています。最も有用なオプションは取"
9672 "得したファイルをインストールしない <literal>-d</literal> です。システムが大量"
9673 "のパッケージをダウンロードする必要がある場合、何かうまくいかなかったときにイ"
9674 "ンストールを開始するのは望ましくはないでしょう。<literal>-d</literal> を指定"
9675 "すると、ダウンロードしたときのコマンドを単純に再び、<literal>-d</literal> を"
9676 "付けずに実行することでダウンロードしたアーカイブをインストールできます。"
9678 #. type: Content of: <book><chapter><title>
9683 #. type: Content of: <book><chapter><para>
9686 "The APT <command>dselect</command> method provides the complete APT system "
9687 "with the <command>dselect</command> package selection GUI. <command>dselect</"
9688 "command> is used to select the packages to be installed or removed and APT "
9689 "actually installs them."
9691 "APT の <command>dselect</command> メソッドは <command>dselect</command> パッ"
9692 "ケージ選択 GUI を使った完全な APT システムを提供します。インストールや削除す"
9693 "るパッケージの選択には <command>dselect</command> を使い、実際のインストール"
9696 #. type: Content of: <book><chapter><para>
9699 "To enable the APT method you need to select [A]ccess in <command>dselect</"
9700 "command> and then choose the APT method. You will be prompted for a set of "
9701 "<emphasis>Sources</emphasis> which are places to fetch archives from. These "
9702 "can be remote Internet sites, local Debian mirrors or CD-ROMs. Each source "
9703 "can provide a fragment of the total Debian archive, APT will automatically "
9704 "combine them to form a complete set of packages. If you have a CD-ROM then "
9705 "it is a good idea to specify it first and then specify a mirror so that you "
9706 "have access to the latest bug fixes. APT will automatically use packages on "
9707 "your CD-ROM before downloading from the Internet."
9709 "APT メソッドを有効にするには、<command>dselect</command> でアクセス(a) を選択"
9710 "し、それから APT メソッドを選択する必要があります。そうするとアーカイブの取得"
9711 "先の場所となる<emphasis>ソース</emphasis>群を聞かれます。これにはリモートのイ"
9712 "ンターネットサイトやローカルの Debian ミラー、CD-ROM を指定できます。各ソース"
9713 "で Debian アーカイブ全体のうちの一部を提供でき、APT は自動的に組み合わせて"
9714 "パッケージ群一式を構成します。CD-ROM がある場合はまずそれを指定し、それからミ"
9715 "ラーを指定するのが良い方法で、そうすることで最新のバグ修正にアクセスできるよ"
9716 "うになります。APT はインターネットからダウンロードする前に CD-ROM にあるパッ"
9719 #. type: Content of: <book><chapter><screen>
9723 " Set up a list of distribution source locations\n"
9725 " Please give the base URL of the debian distribution.\n"
9726 " The access schemes I know about are: http file\n"
9729 " file:/mnt/debian,\n"
9730 " ftp://ftp.debian.org/debian,\n"
9731 " http://ftp.de.debian.org/debian,\n"
9734 " URL [http://llug.sep.bnl.gov/debian]:\n"
9736 " ディストリビューションソース位置一覧の準備\n"
9738 " Debian ディストリビューションの基底 URL を指定してください。\n"
9739 " 認識できるアクセス方法: http file\n"
9742 " file:/mnt/debian,\n"
9743 " ftp://ftp.debian.org/debian,\n"
9744 " http://ftp.de.debian.org/debian,\n"
9747 " URL [http://llug.sep.bnl.gov/debian]:\n"
9749 #. type: Content of: <book><chapter><para>
9752 "The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
9753 "Debian archive, defaulting to a HTTP mirror. Next it asks for the "
9754 "distribution to get."
9756 "<emphasis>ソース</emphasis>の準備は基礎となる Debian アーカイブの質問から始ま"
9757 "り、デフォルトは HTTP ミラーとなっています。その次は取得するディストリビュー"
9760 #. type: Content of: <book><chapter><screen>
9764 " Please give the distribution tag to get or a path to the\n"
9765 " package file ending in a /. The distribution\n"
9766 " tags are typically something like: stable unstable testing non-US\n"
9768 " Distribution [stable]:\n"
9770 " 取得するディストリビューションのタグやパッケージファイルへのパスを\n"
9771 " / で終える形式で指定してください。ディストリビューションのタグには\n"
9772 " 以下のようなものがあります: stable unstable testing non-US\n"
9774 " ディストリビューション [stable]:\n"
9776 #. type: Content of: <book><chapter><para>
9779 "The distribution refers to the Debian version in the archive, "
9780 "<emphasis>stable</emphasis> refers to the latest released version and "
9781 "<emphasis>unstable</emphasis> refers to the developmental version. "
9782 "<emphasis>non-US</emphasis> is only available on some mirrors and refers to "
9783 "packages that contain encryption technology or other things that cannot be "
9784 "exported from the United States. Importing these packages into the US is "
9787 "ディストリビューションはアーカイブ中の Debian バージョンを参照し、"
9788 "<emphasis>stable</emphasis> は最新のリリース版を、<emphasis>unstable</"
9789 "emphasis> は開発版を参照します。<emphasis>non-US</emphasis> は一部のミラーで"
9790 "のみ利用可能で、合衆国からの輸出ができない暗号化技術その他のものを収録する"
9791 "パッケージを参照します。ただしこういったパッケージの合衆国への輸入は合法で"
9794 #. type: Content of: <book><chapter><screen>
9798 " Please give the components to get\n"
9799 " The components are typically something like: main contrib non-free\n"
9801 " Components [main contrib non-free]:\n"
9803 " 取得するコンポーネントを指定してください\n"
9804 " コンポーネントには以下のようなものがあります: main contrib non-free\n"
9806 " コンポーネント [main contrib non-free]:\n"
9808 #. type: Content of: <book><chapter><para>
9811 "The components list refers to the list of sub distributions to fetch. The "
9812 "distribution is split up based on software licenses, main being DFSG free "
9813 "packages while contrib and non-free contain things that have various "
9814 "restrictions placed on their use and distribution."
9816 "コンポーネント一覧は取得するサブディストリビューションの一覧を参照します。こ"
9817 "のディストリビューションはソフトウェアのライセンスを基にして分けられていま"
9818 "す。main にあるのは DFSG フリーのパッケージですが contrib や non-free には利"
9819 "用目的や配布形態に様々な制限を課せられているものが収録されています。"
9821 #. type: Content of: <book><chapter><para>
9824 "Any number of sources can be added, the setup script will continue to prompt "
9825 "until you have specified all that you want."
9827 "ソースはいくらでも追加できます。準備スクリプトは必要なソースを全て指定するま"
9830 #. type: Content of: <book><chapter><para>
9833 "Before starting to use <command>dselect</command> it is necessary to update "
9834 "the available list by selecting [U]pdate from the menu. This is a superset "
9835 "of <literal>apt-get update</literal> that makes the fetched information "
9836 "available to <command>dselect</command>. [U]pdate must be performed even if "
9837 "<literal>apt-get update</literal> has been run before."
9839 "<command>dselect</command> を使う前にメニューから更新(u)を選択して利用可能な"
9840 "パッケージ一覧を更新する必要があります。これは <literal>apt-get update</"
9841 "literal> の上位集合で、取得した情報を <command>dselect</command> から利用でき"
9842 "るようにします。以前に <literal>apt-get update</literal> を実行していても更新"
9845 #. type: Content of: <book><chapter><para>
9848 "You can then go on and make your selections using [S]elect and then perform "
9849 "the installation using [I]nstall. When using the APT method the [C]onfig and "
9850 "[R]emove commands have no meaning, the [I]nstall command performs both of "
9853 "その後は選択(s)を使って選択し、導入(i)を使ってインストールします。APT メソッ"
9854 "ドを使っている場合は設定(c)や削除(r)コマンドに意味はなく、導入(i)コマンドがそ"
9857 #. type: Content of: <book><chapter><para>
9860 "By default APT will automatically remove the package (.deb) files once they "
9861 "have been successfully installed. To change this behavior place "
9862 "<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
9864 "デフォルトで APT はインストールに成功したパッケージ (.deb) ファイルを自動的に"
9865 "削除します。この挙動を変更するには /etc/apt/apt.conf 中に <literal>Dselect::"
9866 "clean \"prompt\";</literal> と記述します。"
9868 #. type: Content of: <book><chapter><title>
9870 msgid "The Interface"
9873 #. type: Content of: <book><chapter><para><footnote><para>
9876 "The <command>dselect</command> method actually is a set of wrapper scripts "
9877 "to <command>apt-get</command>. The method actually provides more "
9878 "functionality than is present in <command>apt-get</command> alone."
9880 "<command>dselect</command> メソッドは実際に <command>apt-get</command> に対す"
9881 "るラッパースクリプト群です。このメソッドでは <command>apt-get</command> 単体"
9882 "に存在している以上の機能を実際に提供しています。"
9884 #. type: Content of: <book><chapter><para>
9887 "Both that APT <command>dselect</command> method and <command>apt-get</"
9888 "command> share the same interface. It is a simple system that generally "
9889 "tells you what it will do and then goes and does it. <placeholder type="
9890 "\"footnote\" id=\"0\"/> After printing out a summary of what will happen APT "
9891 "then will print out some informative status messages so that you can "
9892 "estimate how far along it is and how much is left to do."
9894 "APT の <command>dselect</command> メソッドと <command>apt-get</command> は共"
9895 "に同一のインターフェイスを共有しています。通常は行う内容を告知して実行する簡"
9896 "単なシステムです。<placeholder type=\"footnote\" id=\"0\"/> 実行内容のまとめ"
9897 "を告知した後 APT が参考になる状態メッセージをいくらか表示するため、どれくらい"
9898 "進んでいるのか、あるいは残り作業がどれくらいあるのか見積もることができるよう"
9901 #. type: Content of: <book><chapter><section><title>
9906 #. type: Content of: <book><chapter><section><para>
9909 "Before all operations except update, APT performs a number of actions to "
9910 "prepare its internal state. It also does some checks of the system's state. "
9911 "At any time these operations can be performed by running <literal>apt-get "
9914 "update 以外のあらゆる操作で、APT はいくつか処理を行い内部状態を準備します。ま"
9915 "た、システムの状態についてもいくらか確認します。この処理は <literal>apt-get "
9916 "check</literal> によりいつでも実行できます。"
9918 #. type: Content of: <book><chapter><section><screen>
9923 "Reading Package Lists... Done\n"
9924 "Building Dependency Tree... Done\n"
9927 "パッケージリストを読み込んでいます... 完了\n"
9929 "状態情報を読み取っています... 完了\n"
9931 #. type: Content of: <book><chapter><section><para>
9934 "The first thing it does is read all the package files into memory. APT uses "
9935 "a caching scheme so this operation will be faster the second time it is run. "
9936 "If some of the package files are not found then they will be ignored and a "
9937 "warning will be printed when apt-get exits."
9939 "これが最初に行うのはパッケージファイルを全てメモリに読み込むことです。APT は"
9940 "キャッシュを使うようになっているので、この処理は次に実行するときには早く終わ"
9941 "ります。見つけられないパッケージファイルがある場合は無視され、apt-get 終了時"
9944 #. type: Content of: <book><chapter><section><para>
9947 "The final operation performs a detailed analysis of the system's "
9948 "dependencies. It checks every dependency of every installed or unpacked "
9949 "package and considers if it is OK. Should this find a problem then a report "
9950 "will be printed out and <command>apt-get</command> will refuse to run."
9952 "最後の処理はシステムの依存関係の詳細な分析です。インストール、あるいは展開さ"
9953 "れたパッケージの依存関係を全て確認し、問題ないか判断します。問題が見つかった"
9954 "場合は報告し、<command>apt-get</command> の実行を拒否します。"
9956 #. type: Content of: <book><chapter><section><screen>
9961 "Reading Package Lists... Done\n"
9962 "Building Dependency Tree... Done\n"
9963 "You might want to run apt-get -f install' to correct these.\n"
9964 "Sorry, but the following packages have unmet dependencies:\n"
9965 " 9fonts: Depends: xlib6g but it is not installed\n"
9966 " uucp: Depends: mailx but it is not installed\n"
9967 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
9968 " adduser: Depends: perl-base but it is not installed\n"
9969 " aumix: Depends: libgpmg1 but it is not installed\n"
9970 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
9971 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
9972 " cthugha: Depends: svgalibg1 but it is not installed\n"
9973 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
9974 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)\n"
9977 "パッケージリストを読み込んでいます... 完了\n"
9979 "状態情報を読み取っています... 完了\n"
9980 "これらを直すためには 'apt-get -f install' を実行する必要があるかもしれません。\n"
9981 "下のパッケージには満たせない依存関係があります:\n"
9982 " 9fonts: 依存: xlib6g しかし、インストールされていません\n"
9983 " uucp: 依存: mailx しかし、インストールされていません\n"
9984 " blast: 依存: xlib6g (>= 3.3-5) しかし、インストールされていません\n"
9985 " adduser: 依存: perl-base しかし、インストールされていません\n"
9986 " aumix: 依存: libgpmg1 しかし、インストールされていません\n"
9987 " debiandoc-sgml: 依存: sgml-base しかし、インストールされていません\n"
9988 " bash-builtins: 依存: bash (>= 2.01) しかし、2.0-3 はインストールされています\n"
9989 " cthugha: 依存: svgalibg1 しかし、インストールされていません\n"
9990 " 依存: xlib6g (>= 3.3-5) しかし、インストールされていません\n"
9991 " libreadlineg2: 競合:libreadline2 (<< 2.1-2.1)\n"
9993 #. type: Content of: <book><chapter><section><para>
9996 "In this example the system has many problems, including a serious problem "
9997 "with libreadlineg2. For each package that has unmet dependencies a line is "
9998 "printed out indicating the package with the problem and the dependencies "
9999 "that are unmet. A short explanation of why the package has a dependency "
10000 "problem is also included."
10002 "この例ではシステムに libreadlineg2 に関する重大な問題を含めて多数の問題があり"
10003 "ます。未解決の依存関係があれば各パッケージごとにそのパッケージに問題があるこ"
10004 "とを示し、併せて未解決の依存関係を1行で出力します。そのパッケージの依存問題の"
10005 "理由について簡潔な説明も添えられます。"
10007 #. type: Content of: <book><chapter><section><para><footnote><para>
10010 "APT however considers all known dependencies and attempts to prevent broken "
10013 "APT はそれでも既知の依存関係を全て検討し、パッケージが壊れた状態となることを"
10016 #. type: Content of: <book><chapter><section><para>
10019 "There are two ways a system can get into a broken state like this. The first "
10020 "is caused by <command>dpkg</command> missing some subtle relationships "
10021 "between packages when performing upgrades. <placeholder type=\"footnote\" id="
10022 "\"0\"/>. The second is if a package installation fails during an operation. "
10023 "In this situation a package may have been unpacked without its dependents "
10026 "システムがこのように壊れた状態となる原因は2つあります。1つ目はアップグレード"
10027 "実行時にパッケージ間の難解な依存関係を <command>dpkg</command> がいくらか欠い"
10028 "ていることによります。<placeholder type=\"footnote\" id=\"0\"/>2つ目はパッ"
10029 "ケージのインストール処理中に何か失敗した場合です。この状況では依存するパッ"
10030 "ケージがインストールされないままパッケージが展開されている可能性があります。"
10032 #. type: Content of: <book><chapter><section><para>
10035 "The second situation is much less serious than the first because APT places "
10036 "certain constraints on the order that packages are installed. In both cases "
10037 "supplying the <literal>-f</literal> option to <command>apt-get</command> "
10038 "will cause APT to deduce a possible solution to the problem and then "
10039 "continue on. The APT <command>dselect</command> method always supplies the "
10040 "<literal>-f</literal> option to allow for easy continuation of failed "
10041 "maintainer scripts."
10043 "APT がパッケージのインストール順序に特定の制約を設けていることにより2つ目の状"
10044 "況は1つ目の状況と比べて重大ですらなくなります。どちらの場合でも <command>apt-"
10045 "get</command> に <literal>-f</literal> オプションを指定することで APT は解決"
10046 "方法を推測し、処理を続けます。APT <command>dselect</command> メソッドでは常"
10047 "に <literal>-f</literal> オプションを有効にして、メンテナスクリプトでの問題が"
10048 "起きた場合でも簡単に処理を継続できるようにしています。"
10050 #. type: Content of: <book><chapter><section><para>
10053 "However, if the <literal>-f</literal> option is used to correct a seriously "
10054 "broken system caused by the first case then it is possible that it will "
10055 "either fail immediately or the installation sequence will fail. In either "
10056 "case it is necessary to manually use dpkg (possibly with forcing options) to "
10057 "correct the situation enough to allow APT to proceed."
10059 "しかし、1つ目の状況により重大な壊れ方になっているシステムの修正に <literal>-"
10060 "f</literal> オプションを使った場合はインストールにすぐに失敗、あるいはインス"
10061 "トール順序がおかしくなる可能性があります。どちらの場合も、APT が処理を十分に"
10062 "進められるところまで手作業により dpkg を使って (恐らく強制するオプションを指"
10063 "定して) 状況を修正する必要があります。"
10065 #. type: Content of: <book><chapter><section><title>
10067 msgid "The Status Report"
10070 #. type: Content of: <book><chapter><section><para>
10073 "Before proceeding <command>apt-get</command> will present a report on what "
10074 "will happen. Generally the report reflects the type of operation being "
10075 "performed but there are several common elements. In all cases the lists "
10076 "reflect the final state of things, taking into account the <literal>-f</"
10077 "literal> option and any other relevant activities to the command being "
10080 "処理を続ける前に <command>apt-get</command> は実行しようとする処理について報"
10081 "告します。通常この報告は実行される操作の種類を反映したものになりますが、一般"
10082 "的要素がいくつかあります。どの場合でもこの処理一覧は最終的な状態を示し、"
10083 "<literal>-f</literal> オプションその他の実行されるコマンドに関連する動作を考"
10086 #. type: Content of: <book><chapter><section><section><title>
10088 msgid "The Extra Package list"
10089 msgstr "追加パッケージリスト"
10091 #. type: Content of: <book><chapter><section><section><screen>
10095 "The following extra packages will be installed:\n"
10096 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
10097 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
10098 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
10099 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
10102 "以下の特別パッケージがインストールされます:\n"
10103 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
10104 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
10105 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
10106 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
10109 #. type: Content of: <book><chapter><section><section><para>
10112 "The Extra Package list shows all of the packages that will be installed or "
10113 "upgraded in excess of the ones mentioned on the command line. It is only "
10114 "generated for an <literal>install</literal> command. The listed packages are "
10115 "often the result of an Auto Install."
10117 "追加パッケージリストはコマンドラインで指示した以外にインストールやアップグ"
10118 "レードされるパッケージを全て表示します。これは <literal>install</literal> コ"
10119 "マンドの場合にのみ生成されます。一覧に挙げられるパッケージは自動インストール"
10122 #. type: Content of: <book><chapter><section><section><title>
10124 msgid "The Packages to Remove"
10127 #. type: Content of: <book><chapter><section><section><screen>
10131 "The following packages will be REMOVED:\n"
10132 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
10133 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
10134 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
10135 " nas xpilot xfig\n"
10137 "以下のパッケージは「削除」されます:\n"
10138 "The following packages will be REMOVED:\n"
10139 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
10140 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
10141 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
10142 " nas xpilot xfig\n"
10144 #. type: Content of: <book><chapter><section><section><para>
10147 "The Packages to Remove list shows all of the packages that will be removed "
10148 "from the system. It can be shown for any of the operations and should be "
10149 "given a careful inspection to ensure nothing important is to be taken off. "
10150 "The <literal>-f</literal> option is especially good at generating packages "
10151 "to remove so extreme care should be used in that case. The list may contain "
10152 "packages that are going to be removed because they are only partially "
10153 "installed, possibly due to an aborted installation."
10155 "削除するパッケージリストはシステムから削除されるパッケージを全て表示します。"
10156 "これはどの操作でも起きるもので、重要なものが失われることのないように注意深く"
10157 "確認すべきです。<literal>-f</literal> オプションを使った場合はパッケージの削"
10158 "除を伴うことが特に多く、そのためこのオプションを指定した場合は特に注意を払う"
10159 "ようにしてください。この一覧にはインストールの中止等により一部だけがインス"
10160 "トールされているために削除されるパッケージが含まれることがあります。"
10162 #. type: Content of: <book><chapter><section><section><title>
10164 msgid "The New Packages list"
10165 msgstr "新規パッケージリスト"
10167 #. type: Content of: <book><chapter><section><section><screen>
10171 "The following NEW packages will installed:\n"
10172 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
10174 "以下のパッケージが新たにインストールされます:\n"
10175 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
10177 #. type: Content of: <book><chapter><section><section><para>
10180 "The New Packages list is simply a reminder of what will happen. The packages "
10181 "listed are not presently installed in the system but will be when APT is "
10184 "新規パッケージリストでは単純にこれから起きることを再通知します。このパッケー"
10185 "ジ一覧は現在システムにインストールされておらず、APT 処理後には存在することに"
10188 #. type: Content of: <book><chapter><section><section><title>
10190 msgid "The Kept Back list"
10193 #. type: Content of: <book><chapter><section><section><screen>
10197 "The following packages have been kept back\n"
10198 " compface man-db tetex-base msql libpaper svgalib1\n"
10199 " gs snmp arena lynx xpat2 groff xscreensaver\n"
10201 "以下のパッケージは保留されます\n"
10202 " compface man-db tetex-base msql libpaper svgalib1\n"
10203 " gs snmp arena lynx xpat2 groff xscreensaver\n"
10205 #. type: Content of: <book><chapter><section><section><para>
10208 "Whenever the whole system is being upgraded there is the possibility that "
10209 "new versions of packages cannot be installed because they require new things "
10210 "or conflict with already installed things. In this case the package will "
10211 "appear in the Kept Back list. The best way to convince packages listed there "
10212 "to install is with <literal>apt-get install</literal> or by using "
10213 "<command>dselect</command> to resolve their problems."
10215 "システム全体をアップグレードする場合、新しいパッケージが必要であったり既にイ"
10216 "ンストールされているパッケージと競合するためにパッケージの新しいバージョンが"
10217 "インストールできないということがあります。この場合、そのパッケージは一時固定"
10218 "リストに表示されます。この一覧に挙げられたパッケージをインストールする最善の"
10219 "方法は <literal>apt-get install</literal> または <command>dselect</command> "
10220 "を使ってその問題を解決することです。"
10222 #. type: Content of: <book><chapter><section><section><title>
10224 msgid "Held Packages warning"
10225 msgstr "保留パッケージの警告"
10227 #. type: Content of: <book><chapter><section><section><screen>
10231 "The following held packages will be changed:\n"
10234 "以下の変更禁止パッケージは変更されます:\n"
10237 #. type: Content of: <book><chapter><section><section><para>
10240 "Sometimes you can ask APT to install a package that is on hold, in such a "
10241 "case it prints out a warning that the held package is going to be changed. "
10242 "This should only happen during dist-upgrade or install."
10244 "保留となっているパッケージをインストールするように APT に指示することもできま"
10245 "す。その際、保留となっているパッケージを変更することを警告します。これは "
10246 "dist-upgrade または install を指示したときにしか起きないはずです。"
10248 #. type: Content of: <book><chapter><section><section><title>
10250 msgid "Final summary"
10253 #. type: Content of: <book><chapter><section><section><para>
10256 "Finally, APT will print out a summary of all the changes that will occur."
10257 msgstr "最後に、APT は発生する全変更のまとめを表示します。"
10259 #. type: Content of: <book><chapter><section><section><screen>
10263 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
10264 "12 packages not fully installed or removed.\n"
10265 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
10267 "アップグレード: 206 個、新規インストール: 8 個、削除: 23 個、保留: 51 個。\n"
10268 "12 個のパッケージが完全にインストールまたは削除されていません。\n"
10269 "66.7MB 中 65.7MB のアーカイブを取得する必要があります。\n"
10270 "この操作後に追加で 26.5MB のディスク容量が消費されます。\n"
10272 #. type: Content of: <book><chapter><section><section><para>
10275 "The first line of the summary simply is a reduced version of all of the "
10276 "lists and includes the number of upgrades - that is packages already "
10277 "installed that have new versions available. The second line indicates the "
10278 "number of poorly configured packages, possibly the result of an aborted "
10279 "installation. The final line shows the space requirements that the "
10280 "installation needs. The first pair of numbers refer to the size of the "
10281 "archive files. The first number indicates the number of bytes that must be "
10282 "fetched from remote locations and the second indicates the total size of all "
10283 "the archives required. The next number indicates the size difference between "
10284 "the presently installed packages and the newly installed packages. It is "
10285 "roughly equivalent to the space required in /usr after everything is done. "
10286 "If a large number of packages are being removed then the value may indicate "
10287 "the amount of space that will be freed."
10289 "まとめの1行目は単純に一覧を全て短くまとめたもので、アップグレードされる (既に"
10290 "インストールされていて新しいバージョンが利用可能な) パッケージの数についても"
10291 "示します。2行目は設定が完了していないパッケージの数を示し、インストールを中止"
10292 "した場合にこれに集計されることがあります。最終行はそのインストールで必要とな"
10293 "る容量の要件を示します。最初の数値の組はアーカイブファイルのサイズを示しま"
10294 "す。この1つ目の数値はリモートから取得してくる必要のあるバイト数、2つ目は必要"
10295 "となる全アーカイブの合計サイズを示します。次の数値は現在インストールされてい"
10296 "るパッケージと新しくインストールしたパッケージのサイズの違いを示します。これ"
10297 "は処理が全て終わった後に /usr で消費される容量にほぼ相当します。パッケージを"
10298 "大量に削除する場合は解放される容量を示すこともあります。"
10300 #. type: Content of: <book><chapter><section><section><para>
10303 "Some other reports can be generated by using the -u option to show packages "
10304 "to upgrade, they are similar to the previous examples."
10306 "他の報告として、-u オプションを使うとアップグレードされるパッケージを表示しま"
10307 "す。これは前に示した例と似たものです。"
10309 #. type: Content of: <book><chapter><section><title>
10311 msgid "The Status Display"
10314 #. type: Content of: <book><chapter><section><para>
10317 "During the download of archives and package files APT prints out a series of "
10320 "アーカイブやパッケージファイルのダウンロード中、APT は状態を示す一連のメッ"
10323 #. type: Content of: <book><chapter><section><screen>
10327 "# apt-get update\n"
10328 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
10329 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
10330 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
10331 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
10332 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
10333 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
10335 "# apt-get update\n"
10336 "取得:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
10337 "取得:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
10338 "ヒット http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
10339 "取得:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
10340 "取得:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
10341 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
10343 #. type: Content of: <book><chapter><section><para>
10346 "The lines starting with <emphasis>Get</emphasis> are printed out when APT "
10347 "begins to fetch a file while the last line indicates the progress of the "
10348 "download. The first percent value on the progress line indicates the total "
10349 "percent done of all files. Unfortunately since the size of the Package files "
10350 "is unknown <literal>apt-get update</literal> estimates the percent done "
10351 "which causes some inaccuracies."
10353 "APT がファイルの取得を開始すると、最終行でダウンロードの進捗状況を示しつつ"
10354 "<emphasis>取得</emphasis>で始まる行が表示されます。進捗の最初のパーセント値は"
10355 "全ファイルに対する取得済みの全体での割合を示します。残念ながらパッケージファ"
10356 "イルのサイズは不明なので <literal>apt-get update</literal> は不正確な予測を行"
10359 #. type: Content of: <book><chapter><section><para>
10362 "The next section of the status line is repeated once for each download "
10363 "thread and indicates the operation being performed and some useful "
10364 "information about what is happening. Sometimes this section will simply read "
10365 "<emphasis>Forking</emphasis> which means the OS is loading the download "
10366 "module. The first word after the [ is the fetch number as shown on the "
10367 "history lines. The next word is the short form name of the object being "
10368 "downloaded. For archives it will contain the name of the package that is "
10371 "状態を示す行の次の節は各ダウンロードスレッドごとに1度ずつ繰り返され、進行中の"
10372 "操作や処理についての有用な情報をいくらか示します。この節は単純に "
10373 "<emphasis>Forking</emphasis> となっていることもあり、その場合は OS がダウン"
10374 "ロード用のモジュールを読み込んでいることを示します。[ の後の最初の語は履歴に"
10375 "表示されている取得番号です。その次の語はダウンロード対象の名前の短縮形です。"
10376 "アーカイブの場合は取得中のパッケージの名前が入ります。"
10378 #. type: Content of: <book><chapter><section><para>
10381 "Inside of the single quote is an informative string indicating the progress "
10382 "of the negotiation phase of the download. Typically it progresses from "
10383 "<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
10384 "<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
10385 "value is the number of bytes downloaded from the remote site. Once the "
10386 "download begins this is represented as <literal>102/10.2k</literal> "
10387 "indicating that 102 bytes have been fetched and 10.2 kilobytes is expected. "
10388 "The total size is always shown in 4 figure notation to preserve space. After "
10389 "the size display is a percent meter for the file itself. The second last "
10390 "element is the instantaneous average speed. This values is updated every 5 "
10391 "seconds and reflects the rate of data transfer for that period. Finally is "
10392 "shown the estimated transfer time. This is updated regularly and reflects "
10393 "the time to complete everything at the shown transfer rate."
10395 "単一引用符内はダウンロードのやりとりの進捗を示す有益な文字列です。標準的には"
10396 "<emphasis>...へ接続しています</emphasis>から<emphasis>ファイルを待っています"
10397 "</emphasis>へ、それから<emphasis>...をダウンロードしています</emphasis>または"
10398 "<emphasis>...を再開しています</emphasis>へと進みます。最後の値はリモートサイ"
10399 "トからダウンロードしたバイト数です。ダウンロードが始まるとこれは "
10400 "<literal>102/10.2k</literal> のように表示され、この場合10.2キロバイトのうち"
10401 "102バイトが取得済みであることを示します。合計サイズは常に4ケタで表示され、表"
10402 "示空間を保つようになっています。サイズ表示の後はそのファイル自体の進捗状況を"
10403 "百分率で示したものです。その2つ後は瞬間的な平均速度です。この値は5秒ごとに更"
10404 "新され、その間のデータ転送速度を反映します。最後は推定転送時間を表示していま"
10405 "す。これは定期的に更新され、表示している転送速度で全て完了する時間を表示しま"
10408 #. type: Content of: <book><chapter><section><para>
10411 "The status display updates every half second to provide a constant feedback "
10412 "on the download progress while the Get lines scroll back whenever a new file "
10413 "is started. Since the status display is constantly updated it is unsuitable "
10414 "for logging to a file, use the <literal>-q</literal> option to remove the "
10417 "状態表示は0.5秒ごとに更新してダウンロードの進捗状況を絶えず通知し、取得行は新"
10418 "しいファイルの処理が始まるたびに流れていきます。状態表示は絶えず更新されるた"
10419 "めファイルへの記録には適しません。<literal>-q</literal> オプションを使うと状"
10422 #. type: Content of: <book><chapter><section><title>
10427 #. type: Content of: <book><chapter><section><para>
10430 "APT uses <command>dpkg</command> for installing the archives and will switch "
10431 "over to the <command>dpkg</command> interface once downloading is completed. "
10432 "<command>dpkg</command> will also ask a number of questions as it processes "
10433 "the packages and the packages themselves may also ask several questions. "
10434 "Before each question there is usually a description of what it is asking and "
10435 "the questions are too varied to discuss completely here."
10437 "APT はアーカイブのインストールに <command>dpkg</command> を使い、ダウンロード"
10438 "の完了後は <command>dpkg</command> インターフェイスに切り替わります。"
10439 "<command>dpkg</command> もパッケージの処理中にいくつか質問し、パッケージ自体"
10440 "も複数質問するかもしれません。通常それぞれの質問の前にそれが何を聞いているの"
10441 "か説明します。その質問の内容は多岐にわたるものであり、ここで説明できるもので"
10444 #. type: Content of: <book><title>
10446 msgid "Using APT Offline"
10447 msgstr "オフラインでの APT の使用法"
10449 #. type: Content of: <book><bookinfo><abstract><para>
10452 "This document describes how to use APT in a non-networked environment, "
10453 "specifically a 'sneaker-net' approach for performing upgrades."
10455 "このドキュメントはネットワークがない環境での APT の使用方法を説明しています。"
10456 "具体的には、アップグレード時の「スニーカーネット」アプローチです。"
10458 #. type: Content of: <book><bookinfo>
10461 "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
10463 "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
10465 #. type: Content of: <book><chapter><title>
10467 msgid "Introduction"
10470 #. type: Content of: <book><chapter><section><title>
10475 #. type: Content of: <book><chapter><section><para>
10478 "Normally APT requires direct access to a Debian archive, either from a local "
10479 "media or through a network. Another common complaint is that a Debian "
10480 "machine is on a slow link, such as a modem and another machine has a very "
10481 "fast connection but they are physically distant."
10483 "通常 APT は Debian アーカイブに、ローカルメディアから、あるいはネットワーク経"
10484 "由で直接アクセスできる必要があります。他によくある苦情としてはある Debian マ"
10485 "シンの接続がモデム等のために低速で、別のマシンには非常に高速な接続があるけれ"
10486 "ども物理的に遠い、といったことがあります。"
10488 #. type: Content of: <book><chapter><section><para>
10491 "The solution to this is to use large removable media such as a Zip disc or a "
10492 "SuperDisk disc. These discs are not large enough to store the entire Debian "
10493 "archive but can easily fit a subset large enough for most users. The idea is "
10494 "to use APT to generate a list of packages that are required and then fetch "
10495 "them onto the disc using another machine with good connectivity. It is even "
10496 "possible to use another Debian machine with APT or to use a completely "
10497 "different OS and a download tool like wget. Let <emphasis>remote host</"
10498 "emphasis> mean the machine downloading the packages, and <emphasis>target "
10499 "host</emphasis> the one with bad or no connection."
10501 "これに対する解法としては Zip や SuperDisk ディスクといった大容量脱着可能メ"
10502 "ディアを使います。こういったディスクは Debian アーカイブ全体を格納するには十"
10503 "分とは言えない容量ですがほとんどのユーザにとって必要なその一部を収めるには十"
10504 "分余裕があります。その考え方は APT を使って必要なパッケージの一覧を生成し、接"
10505 "続状態の良好な別のマシンを使ってそのディスク上に取得します。APT を使える別の "
10506 "Debian マシンや、完全に異なる OS で wget のようなダウンロードツールを使うこと"
10507 "も可能です。<emphasis>リモートホスト</emphasis>はパッケージをダウンロードする"
10508 "マシン、<emphasis>対象ホスト</emphasis>は接続がないあるいは良くないマシンだと"
10511 #. type: Content of: <book><chapter><section><para>
10514 "This is achieved by creatively manipulating the APT configuration file. The "
10515 "essential premise to tell APT to look on a disc for it's archive files. Note "
10516 "that the disc should be formatted with a filesystem that can handle long "
10517 "file names such as ext2, fat32 or vfat."
10519 "これは APT 設定ファイルを独創的に操作することで実現できます。あるディスクを "
10520 "APT が検索するようにするために必須となる前提条件はアーカイブファイルです。そ"
10521 "のディスクは長いファイル名を扱えるファイルシステム、例えば ext2 や fat32、"
10522 "vfat でフォーマットする必要があることに注意してください。"
10524 #. type: Content of: <book><chapter><title>
10526 msgid "Using APT on both machines"
10527 msgstr "両方のマシンでの APT の使用法"
10529 #. type: Content of: <book><chapter><section><para>
10532 "APT being available on both machines gives the simplest configuration. The "
10533 "basic idea is to place a copy of the status file on the disc and use the "
10534 "remote machine to fetch the latest package files and decide which packages "
10535 "to download. The disk directory structure should look like:"
10537 "APT を両方のマシンで利用できるようにする最も単純な設定を考えます。基本的な考"
10538 "え方は status ファイルのコピーをそのディスクに置いて最新のパッケージファイル"
10539 "の取得やダウンロードするパッケージの決定にはリモートマシンを使います。その"
10540 "ディスクのディレクトリ構造は次のようになります:"
10542 #. type: Content of: <book><chapter><section><screen>
10564 #. type: Content of: <book><chapter><section><title>
10566 msgid "The configuration file"
10569 #. type: Content of: <book><chapter><section><para>
10572 "The configuration file should tell APT to store its files on the disc and to "
10573 "use the configuration files on the disc as well. The sources.list should "
10574 "contain the proper sites that you wish to use from the remote machine, and "
10575 "the status file should be a copy of <emphasis>/var/lib/dpkg/status</"
10576 "emphasis> from the <emphasis>target host</emphasis>. Please note, if you are "
10577 "using a local archive you must use copy URIs, the syntax is identical to "
10580 "設定ファイルでは APT が管理ファイルをそのディスクに保存し、そのディスク上の設"
10581 "定ファイルを同様に利用するように指示する必要があります。sources.list ではリ"
10582 "モートマシンから利用する適切なサイトを指定し、status ファイルは<emphasis>対象"
10583 "ホスト</emphasis>の <emphasis>/var/lib/dpkg/status</emphasis> をコピーしたも"
10584 "のを利用します。ローカルアーカイブを使っている場合はその URI を利用しないとい"
10585 "けないことに注意してください。書式はファイルの URI と同一です。"
10587 #. type: Content of: <book><chapter><section><para>
10590 "<emphasis>apt.conf</emphasis> must contain the necessary information to make "
10591 "APT use the disc:"
10593 "<emphasis>apt.conf</emphasis> には APT がそのディスクを使うようにするのに必要"
10596 #. type: Content of: <book><chapter><section><screen>
10602 " /* This is not necessary if the two machines are the same arch, it tells\n"
10603 " the remote APT what architecture the target machine is */\n"
10604 " Architecture \"i386\";\n"
10606 " Get::Download-Only \"true\";\n"
10611 " /* Use the disc for state information and redirect the status file from\n"
10612 " the /var/lib/dpkg default */\n"
10613 " State \"/disc/\";\n"
10614 " State::status \"status\";\n"
10616 " // Binary caches will be stored locally\n"
10617 " Cache::archives \"/disc/archives/\";\n"
10618 " Cache \"/tmp/\";\n"
10620 " // Location of the source list.\n"
10621 " Etc \"/disc/\";\n"
10626 " /* This is not necessary if the two machines are the same arch, it tells\n"
10627 " the remote APT what architecture the target machine is */\n"
10628 " Architecture \"i386\";\n"
10630 " Get::Download-Only \"true\";\n"
10635 " /* Use the disc for state information and redirect the status file from\n"
10636 " the /var/lib/dpkg default */\n"
10637 " State \"/disc/\";\n"
10638 " State::status \"status\";\n"
10640 " // Binary caches will be stored locally\n"
10641 " Cache::archives \"/disc/archives/\";\n"
10642 " Cache \"/tmp/\";\n"
10644 " // Location of the source list.\n"
10645 " Etc \"/disc/\";\n"
10648 #. type: Content of: <book><chapter><section><para>
10651 "More details can be seen by examining the apt.conf man page and the sample "
10652 "configuration file in <emphasis>/usr/share/doc/apt/examples/apt.conf</"
10655 "apt.conf の man ページや <emphasis>/usr/share/doc/apt/examples/apt.conf</"
10656 "emphasis> にある見本の設定ファイルを調べるとさらなる詳細があります。"
10658 #. type: Content of: <book><chapter><section><para>
10661 "On the target machine the first thing to do is mount the disc and copy "
10662 "<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
10663 "create the directories outlined in the Overview, <emphasis>archives/partial/"
10664 "</emphasis> and <emphasis>lists/partial/</emphasis>. Then take the disc to "
10665 "the remote machine and configure the sources.list. On the remote machine "
10666 "execute the following:"
10668 "対象のマシンでまず行うことはディスクをマウントしてそのディスクに <emphasis>/"
10669 "var/lib/dpkg/status</emphasis> をコピーすることです。概要にまとめられているよ"
10670 "うに、ディレクトリ <emphasis>archives/partial/</emphasis> 及び "
10671 "<emphasis>lists/partial/</emphasis> を作成する必要もあるでしょう。それから"
10672 "ディスクをリモートマシンに移動して sources.list を設定します。リモートマシン"
10675 #. type: Content of: <book><chapter><section><screen>
10679 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
10680 " # apt-get update\n"
10681 " [ APT fetches the package files ]\n"
10682 " # apt-get dist-upgrade\n"
10683 " [ APT fetches all the packages needed to upgrade the target machine ]\n"
10685 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
10686 " # apt-get update\n"
10687 " [ package ファイルを APT が取得します ]\n"
10688 " # apt-get dist-upgrade\n"
10689 " [ 対象マシンをアップグレードするのに必要なパッケージを、APT が取得します ]\n"
10691 #. type: Content of: <book><chapter><section><para>
10694 "The dist-upgrade command can be replaced with any other standard APT "
10695 "commands, particularly dselect-upgrade. You can even use an APT front end "
10696 "such as <emphasis>dselect</emphasis>. However this presents a problem in "
10697 "communicating your selections back to the local computer."
10699 "dist-upgrade コマンドは他の任意の標準的な APT コマンド、特に dselect-upgrade "
10700 "に置き換えることができます。<emphasis>dselect</emphasis> 等の APT フロントエ"
10701 "ンドを使うこともできます。しかし、それには選択したときにローカルコンピュータ"
10702 "とやりとりしてしまうという問題があります。"
10704 #. type: Content of: <book><chapter><section><para>
10707 "Now the disc contains all of the index files and archives needed to upgrade "
10708 "the target machine. Take the disc back and run:"
10710 "これで、対象のマシンをアップグレードするのに必要な索引ファイルとアーカイブが"
10711 "全てこのディスクに収録されたということになります。ディスクを戻して実行します:"
10713 #. type: Content of: <book><chapter><section><screen>
10717 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
10718 " # apt-get check\n"
10719 " [ APT generates a local copy of the cache files ]\n"
10720 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
10721 " [ Or any other APT command ]\n"
10723 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
10724 " # apt-get check\n"
10725 " [ キャッシュファイルのローカルコピーを生成します ]\n"
10726 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
10727 " [ もしくはその他の APT コマンド ]\n"
10729 #. type: Content of: <book><chapter><section><para>
10732 "It is necessary for proper function to re-specify the status file to be the "
10733 "local one. This is very important!"
10735 "適切に機能するためにはローカルのファイルを status ファイルに再指定する必要が"
10738 #. type: Content of: <book><chapter><section><para>
10741 "If you are using dselect you can do the very risky operation of copying disc/"
10742 "status to /var/lib/dpkg/status so that any selections you made on the remote "
10743 "machine are updated. I highly recommend that people only make selections on "
10744 "the local machine - but this may not always be possible. DO NOT copy the "
10745 "status file if dpkg or APT have been run in the mean time!!"
10747 "dselect を使っている場合、disc/status はリモートマシンで何か選択すると更新さ"
10748 "れるため /var/lib/dpkg/status にコピーするのは非常に危険です。選択はローカル"
10749 "マシンでのみ行うことを強く勧めます - しかしこれは常に可能だとは限りません。"
10750 "dpkg や APT を実行している間は status ファイルをコピー *しないでください* !!"
10752 #. type: Content of: <book><chapter><title>
10754 msgid "Using APT and wget"
10755 msgstr "APT と wget の使用"
10757 #. type: Content of: <book><chapter><section><para>
10760 "<emphasis>wget</emphasis> is a popular and portable download tool that can "
10761 "run on nearly any machine. Unlike the method above this requires that the "
10762 "Debian machine already has a list of available packages."
10764 "<emphasis>wget</emphasis> は人気のある移植性の高いダウンロードツールで、ほぼ"
10765 "あらゆるマシンで実行できます。上記の方法とは異なり、これには利用可能なパッ"
10766 "ケージの一覧を Debian マシンで用意しておく必要があります。"
10768 #. type: Content of: <book><chapter><section><para>
10771 "The basic idea is to create a disc that has only the archive files "
10772 "downloaded from the remote site. This is done by using the --print-uris "
10773 "option to apt-get and then preparing a wget script to actually fetch the "
10776 "基本的な考え方は、リモートサイトからダウンロードしたアーカイブファイルだけを"
10777 "収録したディスクを作成するということです。これは apt-get に --print-uris オプ"
10778 "ションを使って行い、それから wget スクリプトを準備して実際にパッケージを取得"
10781 #. type: Content of: <book><chapter><section><title>
10786 #. type: Content of: <book><chapter><section><para>
10789 "Unlike the previous technique no special configuration files are required. "
10790 "We merely use the standard APT commands to generate the file list."
10792 "前の技とは異なり、特別な設定ファイルを必要としません。標準的な APT コマンドを"
10793 "単純に使ってファイル一覧を生成します。"
10795 #. type: Content of: <book><chapter><section><screen>
10799 " # apt-get dist-upgrade\n"
10800 " [ Press no when prompted, make sure you are happy with the actions ]\n"
10801 " # apt-get -qq --print-uris dist-upgrade > uris\n"
10802 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script\n"
10804 " # apt-get dist-upgrade\n"
10805 " [ 問い合わせには no を回答し、意図しない動作を起こすことのないように ]\n"
10806 " # apt-get -qq --print-uris dist-upgrade > uris\n"
10807 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script\n"
10809 #. type: Content of: <book><chapter><section><para>
10812 "Any command other than dist-upgrade could be used here, including dselect-"
10815 "dselect-upgrade を含め、ここでは dist-upgrade 以外の任意のコマンドを使えま"
10818 #. type: Content of: <book><chapter><section><para>
10821 "The /disc/wget-script file will now contain a list of wget commands to "
10822 "execute in order to fetch the necessary archives. This script should be run "
10823 "with the current directory as the disc's mount point so as to save the "
10824 "output on the disc."
10826 "/disc/wget-script ファイルには、必要なアーカイブを取得するために実行する "
10827 "wget コマンドの一覧を収録するようになっています。ディスク上の出力を減らすた"
10828 "め、このスクリプトは現在のディレクトリをそのディスクのマウントポイントとして"
10831 #. type: Content of: <book><chapter><section><para>
10833 msgid "The remote machine would do something like"
10834 msgstr "リモートマシンでは以下のようにします。"
10836 #. type: Content of: <book><chapter><section><screen>
10841 " # sh -x ./wget-script\n"
10845 " # sh -x ./wget-script\n"
10846 " [ お待ちください... ]\n"
10848 #. type: Content of: <book><chapter><section><para>
10851 "Once the archives are downloaded and the disc returned to the Debian machine "
10852 "installation can proceed using,"
10854 "アーカイブのダウンロードが終わってディスクが Debian マシンに返ってくるとイン"
10855 "ストールを続けられるようになります。"
10857 #. type: Content of: <book><chapter><section><screen>
10860 msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
10861 msgstr " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
10863 #. type: Content of: <book><chapter><section><para>
10865 msgid "Which will use the already fetched archives on the disc."
10866 msgstr "これで、ディスクにある取得済みのアーカイブを使用するようになります。"
10868 #~ msgid "&apt-get;, &apt-conf;"
10869 #~ msgstr "&apt-get;, &apt-conf;"
10872 #~ "This is a space separated list of all the architectures that appear under "
10873 #~ "search section. The special architecture 'source' is used to indicate "
10874 #~ "that this tree has a source archive."
10876 #~ "search セクション以下に現れるアーキテクチャを、空白区切りで指定したリスト"
10877 #~ "です。特殊アーキテクチャ 'source' は、ソースアーカイブのツリーであることを"
10881 #~ "<command>apt</command> (Advanced Package Tool) is the command-line tool "
10882 #~ "for handling packages. It provides a commandline interface for the "
10883 #~ "package management of the system. See also &apt-get; and &apt-cache; for "
10884 #~ "more low-level command options."
10886 #~ "<command>apt</command> (Advanced Package Tool、高度パッケージツール) は"
10887 #~ "パッケージ処理用のコマンドラインツールです。システムのパッケージ管理用コマ"
10888 #~ "ンドラインインターフェイスを提供します。さらなる低レベルコマンドオプション"
10889 #~ "については &apt-get; 及び &apt-cache; も参照してください。"
10892 #~ "<literal>search</literal> searches for the given term(s) and display "
10893 #~ "matching packages."
10895 #~ "<literal>search</literal> では指定した語を検索して該当するパッケージを表示"
10899 #~ "<literal>show</literal> shows the package information for the given "
10902 #~ "<literal>show</literal> では指定したパッケージについてのパッケージ情報を表"
10906 #~ "<literal>install</literal> is followed by one or more package names "
10907 #~ "desired for installation or upgrading."
10909 #~ "<literal>install</literal> に続けてインストールやアップグレードしたいパッ"
10913 #~ "<literal>update</literal> is used to resynchronize the package index "
10914 #~ "files from their sources."
10916 #~ "<literal>update</literal> を使うとパッケージ索引ファイルをそれぞれのソース"
10919 #~ msgid "Script usage"
10920 #~ msgstr "スクリプトでの利用"
10922 #~ msgid "Differences to &apt-get;"
10923 #~ msgstr "&apt-get; との違い"
10926 #~ "The <command>apt</command> command is meant to be pleasant for end users "
10927 #~ "and does not need to be backward compatible like &apt-get;. Therefore "
10928 #~ "some options are different:"
10930 #~ "<command>apt</command> コマンドはエンドユーザにとって使いやすいように意図"
10931 #~ "して作られているため &apt-get; のように後方互換性が必ずしもあるとは限りま"
10932 #~ "せん。したがって、一部のオプションに異なる点があります:"
10934 #~ msgid "The option <literal>DPkg::Progress-Fancy</literal> is enabled."
10936 #~ "オプション <literal>DPkg::Progress-Fancy</literal> が有効になっています。"
10938 #~ msgid "The option <literal>APT::Color</literal> is enabled."
10939 #~ msgstr "オプション <literal>APT::Color</literal> が有効になっています。"
10942 #~ "A new <literal>list</literal> command is available similar to "
10943 #~ "<literal>dpkg --list</literal>."
10945 #~ "新しい <literal>list</literal> コマンドは <literal>dpkg --list</literal> "
10949 #~ "The option <literal>upgrade</literal> has <literal>--with-new-pkgs</"
10950 #~ "literal> enabled by default."
10952 #~ "オプション <literal>upgrade</literal> では <literal>--with-new-pkgs</"
10953 #~ "literal> がデフォルトで有効になっています。"
10956 #~ "Pass advanced options to gpg. With adv --recv-key you can download the "
10959 #~ "gpg に上級オプションを渡します。adv --recv-key とすると、公開鍵をダウン"
10962 #~ msgid "mark/unmark a package as being automatically-installed"
10964 #~ "パッケージが自動的にインストールされたかどうかのマークを変更します。"
10967 #~ "<command>apt-mark</command> will change whether a package has been marked "
10968 #~ "as being automatically installed."
10970 #~ "<command>apt-mark</command> は、パッケージが自動的にインストールされたかど"
10974 #~ "<literal>hold</literal> is used to mark a package as held back, which "
10975 #~ "will prevent the package from being automatically installed, upgraded or "
10976 #~ "removed. The command is only a wrapper around <command>dpkg --set-"
10977 #~ "selections</command> and the state is therefore maintained by &dpkg; and "
10978 #~ "not affected by the <option>--file</option> option."
10980 #~ "<literal>hold</literal> は、パッケージが自動的にインストール・アップグレー"
10981 #~ "ド・削除が行われないよう、パッケージに保留マークをつけるのに使用します。こ"
10982 #~ "のコマンドは <command>dpkg --set-selections</command> のラッパーに過ぎず、"
10983 #~ "そのため状態は &dpkg; により管理され、<option>--file</option> オプション"
10987 #~ "If a package comes from a archive without a signature, or with a "
10988 #~ "signature that apt does not have a key for, that package is considered "
10989 #~ "untrusted, and installing it will result in a big warning. <command>apt-"
10990 #~ "get</command> will currently only warn for unsigned archives; future "
10991 #~ "releases might force all sources to be verified before downloading "
10992 #~ "packages from them."
10994 #~ "アーカイブ由来のパッケージが、署名されなかったり、apt が持っていないキーで"
10995 #~ "署名されていた場合、信頼されていないと見なし、インストールの際に重要な警告"
10996 #~ "を表示します。<command>apt-get</command> は、現在未署名のパッケージに対し"
10997 #~ "て警告するだけですが、将来のリリースでは、アーカイブからパッケージをダウン"
10998 #~ "ロードする前に、すべてのソースに対して、強制的に検証される可能性がありま"
11002 #~ "No action; perform a simulation of events that would occur but do not "
11003 #~ "actually change the system. Configuration Item: <literal>APT::Get::"
11004 #~ "Simulate</literal>."
11006 #~ "動作なし - なにが起こるのかのシミュレーションを行い、実際にはシステムの変"
11007 #~ "更を行いません。設定項目: <literal>APT::Get::Simulate</literal>"
11010 #~ "Simulated runs performed as a user will automatically deactivate locking "
11011 #~ "(<literal>Debug::NoLocking</literal>), and if the option <literal>APT::"
11012 #~ "Get::Show-User-Simulation-Note</literal> is set (as it is by default) a "
11013 #~ "notice will also be displayed indicating that this is only a simulation. "
11014 #~ "Runs performed as root do not trigger either NoLocking or the notice - "
11015 #~ "superusers should know what they are doing without further warnings from "
11016 #~ "<literal>apt-get</literal>."
11018 #~ "ユーザとしてシミュレーションを実行すると、自動ではロックを行いません "
11019 #~ "(<literal>Debug::NoLocking</literal>)。また、<literal>APT::Get::Show-User-"
11020 #~ "Simulation-Note</literal> オプションが設定されている (デフォルト) と、これ"
11021 #~ "がシミュレーションであるという注意を表示します。root 権限で実行すると、"
11022 #~ "NoLocking も 注意も行われません (スーパーユーザは <literal>apt-get</"
11023 #~ "literal> による警告などなくても、何をしているのか知っていなければなりませ"
11027 #~ "Ignore if packages can't be authenticated and don't prompt about it. "
11028 #~ "This is useful for tools like pbuilder. Configuration Item: "
11029 #~ "<literal>APT::Get::AllowUnauthenticated</literal>."
11031 #~ "パッケージを確認できない場合に無視し、それについて質問しません。pbuilder "
11032 #~ "のようなツールで便利です。設定項目: <literal>APT::Get::"
11033 #~ "AllowUnauthenticated</literal>"
11036 #~ "Version 2 of this protocol dumps more information, including the protocol "
11037 #~ "version, the APT configuration space and the packages, files and versions "
11038 #~ "being changed. Version 3 adds the architecture and <literal>MultiArch</"
11039 #~ "literal> flag to each version being dumped."
11041 #~ "このプロトコルのバージョン 2 では、(プロトコルのバージョンや APT 設定ス"
11042 #~ "ペース、パッケージを含む) 詳細情報やファイル、変更されているバージョンを出"
11043 #~ "力します。バージョン 3 では出力の各バージョンにアーキテクチャと "
11044 #~ "<literal>MultiArch</literal> フラグが追加されています。"
11047 #~ "to the versions that are not installed and do not belong to the target "
11050 #~ "インストールされておらず、ターゲットリリースに含まれないバージョン。"
11053 #~ "Each line specifying a source starts with type (e.g. <literal>deb-src</"
11054 #~ "literal>) followed by options and arguments for this type. Individual "
11055 #~ "entries cannot be continued onto a following line. Empty lines are "
11056 #~ "ignored, and a <literal>#</literal> character anywhere on a line marks "
11057 #~ "the remainder of that line as a comment."
11059 #~ "取得元の各行は、タイプ (例: <literal>deb-src</literal>) で始まり、そのタイ"
11060 #~ "プのオプションや引数が続きます。個々のエントリは、次行に続けられません。空"
11061 #~ "行は無視され、<literal>#</literal> 文字を行のどこにおいても、それ以降はコ"
11064 #~ msgid "deb [ options ] uri suite [component1] [component2] [...]"
11066 #~ "deb [ オプション ] uri スイート [コンポーネント1] [コンポーネント2] [...]"
11069 #~ " Types: deb deb-src\n"
11070 #~ " URIs: http://example.com\n"
11071 #~ " Suites: stable testing\n"
11072 #~ " Sections: component1 component2\n"
11073 #~ " Description: short\n"
11074 #~ " long long long\n"
11075 #~ " [option1]: [option1-value]\n"
11078 #~ " URIs: http://another.example.com\n"
11079 #~ " Suites: experimental\n"
11080 #~ " Sections: component1 component2\n"
11081 #~ " Enabled: no\n"
11082 #~ " Description: short\n"
11083 #~ " long long long\n"
11084 #~ " [option1]: [option1-value]\n"
11087 #~ " Types: deb deb-src\n"
11088 #~ " URIs: http://example.com\n"
11089 #~ " Suites: stable testing\n"
11090 #~ " Sections: component1 component2\n"
11091 #~ " Description: short\n"
11092 #~ " long long long\n"
11093 #~ " [option1]: [option1-value]\n"
11096 #~ " URIs: http://another.example.com\n"
11097 #~ " Suites: experimental\n"
11098 #~ " Sections: component1 component2\n"
11099 #~ " Enabled: no\n"
11100 #~ " Description: short\n"
11101 #~ " long long long\n"
11102 #~ " [option1]: [option1-value]\n"
11106 #~ "<literal>options</literal> is always optional and needs to be surrounded "
11107 #~ "by square brackets. It can consist of multiple settings in the form "
11108 #~ "<literal><replaceable>setting</replaceable>=<replaceable>value</"
11109 #~ "replaceable></literal>. Multiple settings are separated by spaces. The "
11110 #~ "following settings are supported by APT (note however that unsupported "
11111 #~ "settings will be ignored silently):"
11113 #~ "<literal>オプション</literal> は、常に省略可能で、角カッコで囲む必要があり"
11114 #~ "ます。複数の設定を <literal><replaceable>設定</replaceable>=<replaceable>"
11115 #~ "値</replaceable></literal> の形式で定義できます。複数の設定は空白で区切り"
11116 #~ "ます。以下の設定は APT がサポートしているものです (未サポートのものは黙っ"
11120 #~ "<literal>arch+=<replaceable>arch1</replaceable>,<replaceable>arch2</"
11121 #~ "replaceable>,…</literal> and <literal>arch-=<replaceable>arch1</"
11122 #~ "replaceable>,<replaceable>arch2</replaceable>,…</literal> which can be "
11123 #~ "used to add/remove architectures from the set which will be downloaded."
11125 #~ "<literal>arch+=<replaceable>arch1</replaceable>,<replaceable>arch2</"
11126 #~ "replaceable>,…</literal> あるいは <literal>arch-=<replaceable>arch1</"
11127 #~ "replaceable>,<replaceable>arch2</replaceable>,…</literal> を使って、ダウン"
11128 #~ "ロードするアーキテクチャを追加、削除できます。"
11131 #~ "<literal>trusted=yes</literal> can be set to indicate that packages from "
11132 #~ "this source are always authenticated even if the <filename>Release</"
11133 #~ "filename> file is not signed or the signature can't be checked. This "
11134 #~ "disables parts of &apt-secure; and should therefore only be used in a "
11135 #~ "local and trusted context. <literal>trusted=no</literal> is the opposite "
11136 #~ "which handles even correctly authenticated sources as not authenticated."
11138 #~ "<literal>trusted=yes</literal> により、<filename>Release</filename> ファイ"
11139 #~ "ルが未署名だったり、署名がチェックできなかったりしても、この取得元からの"
11140 #~ "パッケージを常に認証すると指定します。これは &apt-secure; の一部を無効にし"
11141 #~ "てしまうため、ローカルで信頼できる場合にのみ、使用するようにしてください。"
11142 #~ "<literal>trusted=no</literal> は反対に、正しく認証された取得元であっても、"
11145 #~ msgid "Some examples:"
11149 #~ "deb http://ftp.debian.org/debian &debian-stable-codename; main contrib "
11151 #~ "deb http://security.debian.org/ &debian-stable-codename;/updates main "
11152 #~ "contrib non-free\n"
11155 #~ "deb http://ftp.debian.org/debian &debian-stable-codename; main contrib "
11157 #~ "deb http://security.debian.org/ &debian-stable-codename;/updates main "
11158 #~ "contrib non-free\n"