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.
9 "Project-Id-Version: apt 0.7.25.3\n"
10 "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
11 "POT-Creation-Date: 2014-07-03 22:15+0200\n"
12 "PO-Revision-Date: 2014-07-04 02:03+0200\n"
13 "Last-Translator: KURASAWA Nozomu <nabetaro@debian.or.jp>\n"
14 "Language-Team: Debian Japanese List <debian-japanese@lists.debian.org>\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=1; plural=0;\n"
25 "<!ENTITY apt-author.team \"\n"
27 " <othername>APT team</othername>\n"
28 " <contrib></contrib>\n"
32 "<!ENTITY apt-author.team \"\n"
34 " <othername>APT チーム</othername>\n"
35 " <contrib></contrib>\n"
43 "<!ENTITY apt-qapage \"\n"
45 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
49 "<!ENTITY apt-qapage \"\n"
51 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA ページ</ulink>\n"
59 "<!-- Boiler plate Bug reporting section -->\n"
60 "<!ENTITY manbugs \"\n"
61 " <refsect1><title>Bugs</title>\n"
62 " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
63 " If you wish to report a bug in APT, please see\n"
64 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
65 " &reportbug; command.\n"
70 "<!-- Boiler plate Bug reporting section -->\n"
71 "<!ENTITY manbugs \"\n"
72 " <refsect1><title>バグ</title>\n"
73 " <para><ulink url='http://bugs.debian.org/src:apt'>APT バグページ</ulink> をご覧ください。 \n"
75 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> や\n"
76 " &reportbug; コマンドをご覧ください。\n"
85 "<!-- Boiler plate Author section -->\n"
86 "<!ENTITY manauthor \"\n"
87 " <refsect1><title>Author</title>\n"
88 " <para>APT was written by the APT team <email>apt@packages.debian.org</email>.\n"
93 "<!-- Boiler plate Author section -->\n"
94 "<!ENTITY manauthor \"\n"
95 " <refsect1><title>著者</title>\n"
96 " <para>APT は APT チーム <email>apt@packages.debian.org</email> によって書かれました。\n"
105 "<!-- Should be used within the option section of the text to\n"
106 " put in the blurb about -h, -v, -c and -o -->\n"
107 "<!ENTITY apt-commonoptions \"\n"
108 " <varlistentry><term><option>-h</option></term>\n"
109 " <term><option>--help</option></term>\n"
110 " <listitem><para>Show a short usage summary.\n"
115 "<!-- Should be used within the option section of the text to\n"
116 " put in the blurb about -h, -v, -c and -o -->\n"
117 "<!ENTITY apt-commonoptions \"\n"
118 " <varlistentry><term><option>-h</option></term>\n"
119 " <term><option>--help</option></term>\n"
120 " <listitem><para>使い方の短い要約を表示します。\n"
130 " <term><option>-v</option></term>\n"
131 " <term><option>--version</option></term>\n"
132 " <listitem><para>Show the program version.\n"
138 " <term><option>-v</option></term>\n"
139 " <term><option>--version</option></term>\n"
140 " <listitem><para>プログラムのバージョンを表示します。\n"
150 " <term><option>-c</option></term>\n"
151 " <term><option>--config-file</option></term>\n"
152 " <listitem><para>Configuration File; Specify a configuration file to use. \n"
153 " The program will read the default configuration file and then this \n"
154 " configuration file. If configuration settings need to be set before the\n"
155 " default configuration files are parsed specify a file with the <envar>APT_CONFIG</envar>\n"
156 " environment variable. See &apt-conf; for syntax information.\n"
162 " <term><option>-c</option></term>\n"
163 " <term><option>--config-file</option></term>\n"
164 " <listitem><para>設定ファイル。 使用する設定ファイルを指定します。\n"
165 " このプログラムは、デフォルト設定ファイルを読んでから、この設定ファイルを読みます。\n"
166 " この設定をデフォルト設定ファイルよりも前に読む必要がある場合、\n"
167 " <envar>APT_CONFIG</envar> 環境変数に指定してください。構文については &apt-conf; をご覧ください。\n"
177 " <term><option>-o</option></term>\n"
178 " <term><option>--option</option></term>\n"
179 " <listitem><para>Set a Configuration Option; This will set an arbitrary\n"
180 " configuration option. The syntax is <option>-o Foo::Bar=bar</option>.\n"
181 " <option>-o</option> and <option>--option</option> can be used multiple\n"
182 " times to set different options.\n"
189 " <term><option>-o</option></term>\n"
190 " <term><option>--option</option></term>\n"
191 " <listitem><para>設定オプションのセット。任意の設定オプションをセットします。\n"
192 " 構文 <option>-o Foo::Bar=bar</option> となります。\n"
193 " 異なるオプションを設定するため、<option>-o</option> と <option>--option</option> は、\n"
204 "<!-- Should be used within the option section of the text to\n"
205 " put in the blurb about -h, -v, -c and -o -->\n"
206 "<!ENTITY apt-cmdblurb \"\n"
207 " <para>All command line options may be set using the configuration file, the\n"
208 " descriptions indicate the configuration option to set. For boolean\n"
209 " options you can override the config file by using something like \n"
210 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
211 " or several other variations.\n"
215 "<!-- Should be used within the option section of the text to\n"
216 " put in the blurb about -h, -v, -c and -o -->\n"
217 "<!ENTITY apt-cmdblurb \"\n"
218 " <para>ここで設定オプションとして説明したコマンドラインオプションは、\n"
219 " すべて設定ファイルを使用して設定できます。\n"
220 " 設定ファイルに書いた真偽値をとるオプションは\n"
221 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
222 " などのようにして上書きできます。\n"
231 "<!ENTITY file-aptconf \"\n"
232 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
233 " <listitem><para>APT configuration file.\n"
234 " Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem>\n"
237 "<!ENTITY file-aptconf \"\n"
238 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
239 " <listitem><para>APT 設定ファイル。\n"
240 " 設定項目: <literal>Dir::Etc::Main</literal></para></listitem>\n"
247 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
248 " <listitem><para>APT configuration file fragments.\n"
249 " Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
253 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
254 " <listitem><para>APT 設定ファイル断片。\n"
255 " 設定項目: <literal>Dir::Etc::Parts</literal></para></listitem>\n"
263 "<!ENTITY file-cachearchives \"\n"
264 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
265 " <listitem><para>Storage area for retrieved package files.\n"
266 " Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
269 "<!ENTITY file-cachearchives \"\n"
270 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
271 " <listitem><para>取得済みパッケージファイル格納エリア。\n"
272 " 設定項目: <literal>Dir::Cache::Archives</literal></para></listitem>\n"
279 " <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
280 " <listitem><para>Storage area for package files in transit.\n"
281 " Configuration Item: <literal>Dir::Cache::Archives</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>\n"
285 " <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
286 " <listitem><para>取得中パッケージファイル格納エリア。\n"
287 " 設定項目: <literal>Dir::Cache::Archives</literal> (暗黙で <filename>partial</filename> を追加)</para></listitem>\n"
295 "<!ENTITY file-preferences \"\n"
296 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
297 " <listitem><para>Version preferences file.\n"
298 " This is where you would specify "pinning",\n"
299 " i.e. a preference to get certain packages\n"
300 " from a separate source\n"
301 " or from a different version of a distribution.\n"
302 " Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
305 "<!ENTITY file-preferences \"\n"
306 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
307 " <listitem><para>バージョンプリファレンスファイル。\n"
308 " ここに "pin"の設定を行います。\n"
309 " つまり、別々の取得元や異なるディストリビューションのバージョンの、\n"
310 " どこからパッケージを取得するかを設定します。\n"
311 " 設定項目: <literal>Dir::Etc::Preferences</literal></para></listitem>\n"
318 " <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
319 " <listitem><para>File fragments for the version preferences.\n"
320 " Configuration Item: <literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
324 " <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
325 " <listitem><para>バージョンプリファレンスファイル断片。\n"
326 " 設定項目: <literal>Dir::Etc::PreferencesParts</literal></para></listitem>\n"
334 "<!ENTITY file-sourceslist \"\n"
335 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
336 " <listitem><para>Locations to fetch packages from.\n"
337 " Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
340 "<!ENTITY file-sourceslist \"\n"
341 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
342 " <listitem><para>パッケージ取得元の場所。\n"
343 " 設定項目: <literal>Dir::Etc::SourceList</literal></para></listitem>\n"
350 " <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
351 " <listitem><para>File fragments for locations to fetch packages from.\n"
352 " Configuration Item: <literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
356 " <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
357 " <listitem><para>パッケージ取得元の場所のファイル断片\n"
358 " 設定項目: <literal>Dir::Etc::SourceParts</literal></para></listitem>\n"
366 "<!ENTITY file-statelists \"\n"
367 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
368 " <listitem><para>Storage area for state information for each package resource specified in\n"
370 " Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem>\n"
373 "<!ENTITY file-statelists \"\n"
374 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
375 " <listitem><para>&sources-list; に指定した、パッケージリソースごとの状態情報格納エリア。\n"
376 " 設定項目: <literal>Dir::State::Lists</literal></para></listitem>\n"
383 " <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
384 " <listitem><para>Storage area for state information in transit.\n"
385 " Configuration Item: <literal>Dir::State::Lists</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>\n"
389 " <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
390 " <listitem><para>取得中状態情報格納エリア。\n"
391 " 設定項目: <literal>Dir::State::Lists</literal> (暗黙で <filename>partial</filename> を追加)</para></listitem>\n"
399 "<!ENTITY file-trustedgpg \"\n"
400 " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
401 " <listitem><para>Keyring of local trusted keys, new keys will be added here.\n"
402 " Configuration Item: <literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
405 "<!ENTITY file-trustedgpg \"\n"
406 " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
407 " <listitem><para>ローカルで信頼済みキーのキーリング、新規キーはここに追加します。\n"
408 " 設定項目: <literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
415 " <varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
416 " <listitem><para>File fragments for the trusted keys, additional keyrings can\n"
417 " be stored here (by other packages or the administrator).\n"
418 " Configuration Item <literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
422 " <varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
423 " <listitem><para>信頼済みキーのファイル断片、追加キーリングは (他のパッケージや管理者により) ここに格納します。\n"
424 " 設定項目: <literal>Dir::Etc::TrustedParts</literal></para></listitem>\n"
432 "<!ENTITY file-extended_states \"\n"
433 " <varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
434 " <listitem><para>Status list of auto-installed packages.\n"
435 " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
436 " </para></listitem>\n"
440 "<!ENTITY file-extended_states \"\n"
441 " <varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
442 " <listitem><para>自動インストールされたパッケージの状態一覧です。\n"
443 " 設定項目: <literal>Dir::State::extended_states</literal>\n"
444 " </para></listitem>\n"
452 "<!-- TRANSLATOR: This is the section header for the following paragraphs - comparable\n"
453 " to the other headers like NAME and DESCRIPTION and should therefore be uppercase. -->\n"
454 "<!ENTITY translation-title \"TRANSLATION\">\n"
456 "<!-- TRANSLATOR: This is the section header for the following paragraphs - comparable\n"
457 " to the other headers like NAME and DESCRIPTION and should therefore be uppercase. -->\n"
458 "<!ENTITY translation-title \"翻訳\">\n"
464 "<!-- TRANSLATOR: This is a placeholder. You should write here who has contributed\n"
465 " to the translation in the past, who is responsible now and maybe further information\n"
466 " specially related to your translation. -->\n"
467 "<!ENTITY translation-holder \"\n"
468 " The english translation was done by John Doe <email>john@doe.org</email> in 2009,\n"
469 " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together with the\n"
470 " Debian Dummy l10n Team <email>debian-l10n-dummy@lists.debian.org</email>.\n"
473 "<!-- TRANSLATOR: This is a placeholder. You should write here who has contributed\n"
474 " to the translation in the past, who is responsible now and maybe further information\n"
475 " specially related to your translation. -->\n"
476 "<!ENTITY translation-holder \"\n"
477 " 倉澤 望 <email>nabetaro@debian.or.jp</email> (2003-2006,2009-2012),\n"
478 " Debian JP Documentation ML <email>debian-doc@debian.or.jp</email>\n"
485 "<!-- TRANSLATOR: As a translation is allowed to have 20% of untranslated/fuzzy strings\n"
486 " in a shipped manpage newer/modified paragraphs will maybe appear in english in\n"
487 " the generated manpage. This sentence is therefore here to tell the reader that this\n"
488 " is not a mistake by the translator - obviously the target is that at least for stable\n"
489 " releases this sentence is not needed. :) -->\n"
490 "<!ENTITY translation-english \"\n"
491 " Note that this translated document may contain untranslated parts.\n"
492 " This is done on purpose, to avoid losing content when the\n"
493 " translation is lagging behind the original content.\n"
496 "<!-- TRANSLATOR: As a translation is allowed to have 20% of untranslated/fuzzy strings\n"
497 " in a shipped manpage newer/modified paragraphs will maybe appear in english in\n"
498 " the generated manpage. This sentence is therefore here to tell the reader that this\n"
499 " is not a mistake by the translator - obviously the target is that at least for stable\n"
500 " releases this sentence is not needed. :) -->\n"
501 "<!ENTITY translation-english \"\n"
502 " この翻訳文書には未訳部分が含まれていることに注意してください。\n"
503 " 翻訳がオリジナルに追従できていない場合、\n"
504 " 内容を失わないようにこのようにしています。\n"
510 "<!-- TRANSLATOR: used as in -o=config_string e.g. -o=Debug::"
511 "pkgProblemResolver=1 --> <!ENTITY synopsis-config-string \"config_string\">"
513 "<!-- TRANSLATOR: used as in -o=config_string e.g. -o=Debug::"
514 "pkgProblemResolver=1 --> <!ENTITY synopsis-config-string \"設定文字列\">"
519 "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
520 "synopsis-config-file \"config_file\">"
522 "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
523 "synopsis-config-file \"設定ファイル\">"
528 "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release e.g. -"
529 "t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
530 "\"target_release\">"
532 "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release e.g. -"
533 "t=squeeze apt/experimental --> <!ENTITY synopsis-target-release \"対象リリー"
539 "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
540 "synopsis-architecture \"architecture\">"
542 "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
543 "synopsis-architecture \"アーキテクチャ\">"
548 "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
549 "--> <!ENTITY synopsis-pkg \"pkg\">"
551 "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
552 "--> <!ENTITY synopsis-pkg \"パッケージ\">"
557 "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> <!"
558 "ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
560 "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> <!"
561 "ENTITY synopsis-pkg-ver-number \"パッケージバージョン番号\">"
566 "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
567 "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
569 "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
570 "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
575 "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
576 "awesome --> <!ENTITY synopsis-regex \"regex\">"
578 "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
579 "awesome --> <!ENTITY synopsis-regex \"正規表現\">"
584 "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom -"
585 "d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
587 "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom -"
588 "d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"CDROMマウントポイント\">"
593 "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory e.g. "
594 "apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
595 "\"temporary_directory\">"
597 "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory e.g. "
598 "apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory \"一時ディレ"
604 "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
605 "synopsis-filename \"filename\">"
607 "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
608 "synopsis-filename \"ファイル名\">"
613 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
614 "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
616 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
617 "packages path override-file pathprefix --> <!ENTITY synopsis-path \"パス\">"
622 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
623 "packages path override-file pathprefix --> <!ENTITY synopsis-override "
626 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
627 "packages path override-file pathprefix --> <!ENTITY synopsis-override "
633 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
634 "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
637 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
638 "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
644 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
645 "generate section --> <!ENTITY synopsis-section \"section\">"
647 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
648 "generate section --> <!ENTITY synopsis-section \"セクション\">"
653 "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
654 "473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
656 "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
657 "473041FA --> <!ENTITY synopsis-keyid \"キーID\">"
659 #. type: Content of: <refentry><refmeta><manvolnum>
660 #: apt.8.xml:25 apt-get.8.xml:28 apt-cache.8.xml:28 apt-key.8.xml:27
661 #: apt-mark.8.xml:28 apt-secure.8.xml:27 apt-cdrom.8.xml:27
662 #: apt-config.8.xml:28
666 #. type: Content of: <refentry><refmeta><refmiscinfo>
667 #: apt.8.xml:26 apt-get.8.xml:29 apt-cache.8.xml:29 apt-key.8.xml:28
668 #: apt-mark.8.xml:29 apt-secure.8.xml:28 apt-cdrom.8.xml:28
669 #: apt-config.8.xml:29 apt.conf.5.xml:34 apt_preferences.5.xml:28
670 #: sources.list.5.xml:29 apt-extracttemplates.1.xml:29 apt-sortpkgs.1.xml:29
671 #: apt-ftparchive.1.xml:29
675 #. type: Content of: <refentry><refnamediv><refpurpose>
677 msgid "command-line interface"
680 #. type: Content of: <refentry><refsect1><title>
681 #: apt.8.xml:37 apt-get.8.xml:40 apt-cache.8.xml:40 apt-key.8.xml:39
682 #: apt-mark.8.xml:40 apt-secure.8.xml:52 apt-cdrom.8.xml:39
683 #: apt-config.8.xml:40 apt.conf.5.xml:43 apt_preferences.5.xml:38
684 #: sources.list.5.xml:38 apt-extracttemplates.1.xml:40 apt-sortpkgs.1.xml:40
685 #: apt-ftparchive.1.xml:40
689 #. type: Content of: <refentry><refsect1><para>
692 "<command>apt</command> (Advanced Package Tool) is the command-line tool for "
693 "handling packages. It provides a commandline interface for the package "
694 "management of the system. See also &apt-get; and &apt-cache; for more low-"
695 "level command options."
698 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
701 "<literal>list</literal> is used to display a list of packages. It supports "
702 "shell pattern for matching package names and the following options: "
703 "<option>--installed</option>, <option>--upgradable</option>, <option>--all-"
704 "versions</option> are supported."
707 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
710 "<literal>search</literal> searches for the given term(s) and display "
714 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
718 #| "<literal>rdepends</literal> shows a listing of each reverse dependency a "
721 "<literal>show</literal> shows the package information for the given "
724 "<literal>rdepends</literal> は、パッケージが持つ被依存関係を一覧表示します。"
726 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
729 "<literal>install</literal> is followed by one or more package names desired "
730 "for installation or upgrading."
733 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
734 #: apt.8.xml:75 apt-get.8.xml:118
736 "A specific version of a package can be selected for installation by "
737 "following the package name with an equals and the version of the package to "
738 "select. This will cause that version to be located and selected for install. "
739 "Alternatively a specific distribution can be selected by following the "
740 "package name with a slash and the version of the distribution or the Archive "
741 "name (stable, testing, unstable)."
743 "パッケージにイコール記号とバージョンを続けることで、選択したバージョンのパッ"
744 "ケージをインストールすることができます。つまり、指定のバージョンのパッケージ"
745 "をインストールするように選択する、ということです。別の方法としては、ディスト"
746 "リビューションを特定するのに、パッケージ名に続けて、スラッシュとディストリ"
747 "ビューションのバージョンやアーカイブ名 (stable, testing, unstable) を記述でき"
750 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
751 #: apt.8.xml:85 apt-get.8.xml:153
753 "<literal>remove</literal> is identical to <literal>install</literal> except "
754 "that packages are removed instead of installed. Note that removing a package "
755 "leaves its configuration files on the system. If a plus sign is appended to "
756 "the package name (with no intervening space), the identified package will be "
757 "installed instead of removed."
759 "<literal>remove</literal> は、パッケージが削除されることを除き、"
760 "<literal>install</literal> と同様です。削除されたパッケージの設定ファイルは、"
761 "システムに残ったままになることに注意してください。プラス記号がパッケージ名に "
762 "(間に空白を含まずに) 付加されると、識別されたパッケージを、削除ではなくインス"
765 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
768 "<literal>edit-sources</literal> lets you edit your sources.list file and "
769 "provides basic sanity checks."
772 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
776 #| "<literal>showhold</literal> is used to print a list of packages on hold "
777 #| "in the same way as for the other show commands."
779 "<literal>update</literal> is used to resynchronize the package index files "
780 "from their sources."
782 "<literal>showhold</literal> は、他の show コマンドと同様に、保留されている"
785 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
788 "<literal>upgrade</literal> is used to install the newest versions of all "
789 "packages currently installed on the system from the sources enumerated in "
790 "<filename>/etc/apt/sources.list</filename>. New package will be installed, "
791 "but existing package will never removed."
794 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
797 "<literal>full-upgrade</literal> performs the function of upgrade but may "
798 "also remove installed packages if that is required in order to resolve a "
802 #. type: Content of: <refentry><refsect1><title>
803 #: apt.8.xml:124 apt-get.8.xml:257 apt-cache.8.xml:250 apt-mark.8.xml:110
804 #: apt-config.8.xml:86 apt-extracttemplates.1.xml:54 apt-sortpkgs.1.xml:50
805 #: apt-ftparchive.1.xml:506
809 #. type: Content of: <refentry><refsect1><title>
814 #. type: Content of: <refentry><refsect1><para>
817 "The &apt; commandline is designed as a end-user tool and it may change the "
818 "output between versions. While it tries to not break backward compatibility "
819 "there is no guarantee for it either. All features of &apt; are available in "
820 "&apt-cache; and &apt-get; via APT options. Please prefer using these "
821 "commands in your scripts."
824 #. type: Content of: <refentry><refsect1><title>
826 msgid "Differences to &apt-get;"
829 #. type: Content of: <refentry><refsect1><para>
832 "The <command>apt</command> command is meant to be pleasant for end users and "
833 "does not need to be backward compatible like &apt-get;. Therefore some "
834 "options are different:"
837 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
840 #| msgid "the <literal>Package:</literal> line"
841 msgid "The option <literal>DPkg::Progress-Fancy</literal> is enabled."
842 msgstr "<literal>Package:</literal> 行"
844 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
847 #| msgid "the <literal>Component:</literal> line"
848 msgid "The option <literal>APT::Color</literal> is enabled."
849 msgstr "<literal>Component:</literal> 行"
851 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
854 "A new <literal>list</literal> command is available similar to <literal>dpkg "
858 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
861 #| msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
863 "The option <literal>upgrade</literal> has <literal>--with-new-pkgs</literal> "
864 "enabled by default."
865 msgstr "<literal>Archive:</literal> 行や <literal>Suite:</literal> 行"
867 #. type: Content of: <refentry><refsect1><title>
868 #: apt.8.xml:174 apt-get.8.xml:558 apt-cache.8.xml:352 apt-key.8.xml:197
869 #: apt-mark.8.xml:133 apt-secure.8.xml:193 apt-cdrom.8.xml:154
870 #: apt-config.8.xml:111 apt.conf.5.xml:1227 apt_preferences.5.xml:707
871 #: sources.list.5.xml:280 apt-extracttemplates.1.xml:72 apt-sortpkgs.1.xml:65
872 #: apt-ftparchive.1.xml:609
876 #. type: Content of: <refentry><refsect1><para>
880 #| "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
881 #| "&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, &apt-"
882 #| "preferences;, the APT Howto."
884 "&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
885 "User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
887 "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
888 "&apt-config;, &apt-secure;, &guidesdir; にある APT ユーザガイド, &apt-"
889 "preferences;, APT Howto"
891 #. type: Content of: <refentry><refsect1><title>
892 #: apt.8.xml:180 apt-get.8.xml:564 apt-cache.8.xml:357 apt-mark.8.xml:137
893 #: apt-cdrom.8.xml:159 apt-config.8.xml:116 apt-extracttemplates.1.xml:76
894 #: apt-sortpkgs.1.xml:69 apt-ftparchive.1.xml:613
898 #. type: Content of: <refentry><refsect1><para>
902 #| "<command>apt-get</command> returns zero on normal operation, decimal 100 "
905 "<command>apt</command> returns zero on normal operation, decimal 100 on "
908 "<command>apt-get</command> は正常終了時に 0 を返します。エラー時には十進の "
911 #. type: Content of: <refentry><refnamediv><refpurpose>
913 msgid "APT package handling utility -- command-line interface"
914 msgstr "APT パッケージ操作ユーティリティ -- コマンドラインインターフェース"
916 #. type: Content of: <refentry><refsect1><para>
920 #| "<command>apt-get</command> is the command-line tool for handling "
921 #| "packages, and may be considered the user's \"back-end\" to other tools "
922 #| "using the APT library. Several \"front-end\" interfaces exist, such as "
923 #| "&dselect;, &aptitude;, &synaptic; and &wajig;."
925 "<command>apt-get</command> is the command-line tool for handling packages, "
926 "and may be considered the user's \"back-end\" to other tools using the APT "
927 "library. Several \"front-end\" interfaces exist, such as &aptitude;, "
928 "&synaptic; and &wajig;."
930 "<command>apt-get</command> は、パッケージを操作するコマンドラインツールで、"
931 "APT ライブラリを用いる他のツールのユーザ側「バックエンド」といえるものです。"
932 "「フロントエンド」インターフェースには、&dselect;, &aptitude;, &synaptic;, "
935 #. type: Content of: <refentry><refsect1><para>
936 #: apt-get.8.xml:46 apt-cache.8.xml:46 apt-cdrom.8.xml:53 apt-config.8.xml:46
937 #: apt-ftparchive.1.xml:56
939 "Unless the <option>-h</option>, or <option>--help</option> option is given, "
940 "one of the commands below must be present."
942 "<option>-h</option> オプションや <option>--help</option> オプションを除き、以"
945 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
948 "<literal>update</literal> is used to resynchronize the package index files "
949 "from their sources. The indexes of available packages are fetched from the "
950 "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
951 "example, when using a Debian archive, this command retrieves and scans the "
952 "<filename>Packages.gz</filename> files, so that information about new and "
953 "updated packages is available. An <literal>update</literal> should always be "
954 "performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
955 "literal>. Please be aware that the overall progress meter will be incorrect "
956 "as the size of the package files cannot be known in advance."
958 "<literal>update</literal>は、取得元からパッケージインデックスファイルの再同期"
959 "を行うのに使用します。利用可能なパッケージのインデックスは、<filename>/etc/"
960 "apt/sources.list</filename> に記述した場所から取得します。例えば Debian アー"
961 "カイブを利用する際、このコマンドが <filename>Packages.gz</filename> ファイル"
962 "を検索することで、新規または更新されたパッケージの情報が利用可能となります。"
963 "<literal>update</literal> は、<literal>upgrade</literal> や <literal>dist-"
964 "upgrade</literal> を行う前に常に実行してください。前もってパッケージファイル"
965 "のサイズを知ることができないため、全体の進捗メータは正しく表示されません。"
967 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
970 "<literal>upgrade</literal> is used to install the newest versions of all "
971 "packages currently installed on the system from the sources enumerated in "
972 "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
973 "with new versions available are retrieved and upgraded; under no "
974 "circumstances are currently installed packages removed, or packages not "
975 "already installed retrieved and installed. New versions of currently "
976 "installed packages that cannot be upgraded without changing the install "
977 "status of another package will be left at their current version. An "
978 "<literal>update</literal> must be performed first so that <command>apt-get</"
979 "command> knows that new versions of packages are available."
981 "<literal>upgrade</literal> は、現在システムにインストールされている全パッケー"
982 "ジの最新バージョンを、<filename>/etc/apt/sources.list</filename> に列挙した取"
983 "得元からインストールするのに使用します。現在インストール中のパッケージに新し"
984 "いバージョンがあれば更新しますが、いかなる時も現在インストール中のパッケージ"
985 "の削除は行いませんし、インストールしていないパッケー所の取得・インストールは"
986 "行いません。対象のパッケージが、他のパッケージのインストール状態を変更せずに"
987 "更新できない場合は、現在のバージョンのままとなります。最初に "
988 "<literal>update</literal> を実行しておき、<command>apt-get</command> にパッ"
989 "ケージの新しいバージョンがあることを知らせる必要があります。"
991 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
994 "<literal>dist-upgrade</literal> in addition to performing the function of "
995 "<literal>upgrade</literal>, also intelligently handles changing dependencies "
996 "with new versions of packages; <command>apt-get</command> has a \"smart\" "
997 "conflict resolution system, and it will attempt to upgrade the most "
998 "important packages at the expense of less important ones if necessary. The "
999 "<literal>dist-upgrade</literal> command may therefore remove some packages. "
1000 "The <filename>/etc/apt/sources.list</filename> file contains a list of "
1001 "locations from which to retrieve desired package files. See also &apt-"
1002 "preferences; for a mechanism for overriding the general settings for "
1003 "individual packages."
1005 "<literal>dist-upgrade</literal> は、<literal>upgrade</literal> の機能に加え、"
1006 "新バージョンのパッケージに対する依存関係の変更を知的に操作します。"
1007 "<command>apt-get</command> は「洗練された」競合解決システムを持ち、必要とあら"
1008 "ば比較的重要でないパッケージを犠牲にして、最重要パッケージの更新を試みます。"
1009 "そのため <literal>dist-upgrade</literal> は、いくつかのパッケージを削除する可"
1010 "能性があります。<filename>/etc/apt/sources.list</filename> ファイルには、必要"
1011 "なパッケージファイルを検索する場所のリストが含まれています。特定のパッケージ"
1012 "向けに、一般的な設定を上書きする機構については、&apt-preferences; をご覧くだ"
1015 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1018 "<literal>dselect-upgrade</literal> is used in conjunction with the "
1019 "traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
1020 "literal> follows the changes made by &dselect; to the <literal>Status</"
1021 "literal> field of available packages, and performs the actions necessary to "
1022 "realize that state (for instance, the removal of old and the installation of "
1025 "<literal>dselect-upgrade</literal> は、伝統的な Debian GNU/Linux パッケージ管"
1026 "理フロントエンドの &dselect; と共に使用されます。<literal>dselect-upgrade</"
1027 "literal> は、&dselect; で作られた利用可能パッケージの<literal>Status</"
1028 "literal> フィールドの変更を追跡し、その状態を反映させるのに必要なアクションを"
1029 "実行します。(例えば、古いパッケージの削除や新しいパッケージのインストールな"
1032 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1033 #: apt-get.8.xml:100
1035 "<literal>install</literal> is followed by one or more packages desired for "
1036 "installation or upgrading. Each package is a package name, not a fully "
1037 "qualified filename (for instance, in a Debian system, <package>apt-utils</"
1038 "package> would be the argument provided, not <filename>apt-utils_&apt-"
1039 "product-version;_amd64.deb</filename>). All packages required by the "
1040 "package(s) specified for installation will also be retrieved and installed. "
1041 "The <filename>/etc/apt/sources.list</filename> file is used to locate the "
1042 "desired packages. If a hyphen is appended to the package name (with no "
1043 "intervening space), the identified package will be removed if it is "
1044 "installed. Similarly a plus sign can be used to designate a package to "
1045 "install. These latter features may be used to override decisions made by apt-"
1046 "get's conflict resolution system."
1048 "<literal>install</literal> の後には、インストールや更新したいパッケージを 1 "
1049 "つ以上指定します。指定するパッケージは、完全なファイル名ではなくパッケージ名"
1050 "です (例えば Debian システムでは、<filename>apt-utils_&apt-product-version;"
1051 "_amd64.deb</filename> ではなく <package>apt-utils</package> を引数として与え"
1052 "ます)。インストールするよう指定したすべてのパッケージに対し、依存パッケージも"
1053 "含めて取得・インストールを行います。<filename>/etc/apt/sources.list</"
1054 "filename> ファイルを、要求するパッケージの場所を特定するのに使用します。パッ"
1055 "ケージ名の後ろに (空白を含まず) ハイフンが追加されている場合、そのパッケージ"
1056 "がインストールされていれば削除します。同様に、インストールするパッケージを明"
1057 "示するのにプラス記号も使用できます。この記号は apt-get の競合解決システムの判"
1058 "断を上書きするのに利用される可能性があります。"
1060 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1061 #: apt-get.8.xml:125
1063 "Both of the version selection mechanisms can downgrade packages and must be "
1066 "バージョン選択機構はダウングレードにも使用できるため、注意して使用しなければ"
1069 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1070 #: apt-get.8.xml:128
1072 "This is also the target to use if you want to upgrade one or more already-"
1073 "installed packages without upgrading every package you have on your system. "
1074 "Unlike the \"upgrade\" target, which installs the newest version of all "
1075 "currently installed packages, \"install\" will install the newest version of "
1076 "only the package(s) specified. Simply provide the name of the package(s) "
1077 "you wish to upgrade, and if a newer version is available, it (and its "
1078 "dependencies, as described above) will be downloaded and installed."
1080 "システムにインストール済みのパッケージを、すべてアップグレードするのではな"
1081 "く、いくつかのパッケージをアップグレードする場合にも、このターゲットを使用で"
1082 "きます。現在インストールされているパッケージすべての最新版をインストールする "
1083 "\"upgrade\" ターゲットと異なり、\"install\" は指定したパッケージの最新版のみ"
1084 "をインストールします。単純にアップグレードしたいパッケージ名を指定してくださ"
1085 "い。より新しいバージョンが利用できる場合、そのパッケージ (と前述の依存関係に"
1086 "あるパッケージ) をダウンロード・インストールします。"
1088 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1089 #: apt-get.8.xml:139
1091 "Finally, the &apt-preferences; mechanism allows you to create an alternative "
1092 "installation policy for individual packages."
1094 "最後に、&apt-preferences; 機構により、特定のパッケージに対するインストールポ"
1097 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1098 #: apt-get.8.xml:143
1100 "If no package matches the given expression and the expression contains one "
1101 "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
1102 "it is applied to all package names in the database. Any matches are then "
1103 "installed (or removed). Note that matching is done by substring so 'lo.*' "
1104 "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
1105 "expression with a '^' or '$' character, or create a more specific regular "
1108 "構文に '.', '?', '*' を含み、パッケージ名がマッチしなかった場合、POSIX 正規表"
1109 "現であると見なし、データベース内の全パッケージ名に対して適用します。マッチし"
1110 "たパッケージすべてがインストール(もしくは削除)されます。'lo.*' のような文字列"
1111 "は、'how-lo' や 'lowest' にマッチすることに注意してください。そうしたくなけれ"
1112 "ば、'^' や '$' を付けるか、もっと詳しい正規表現を指定してください。"
1114 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1115 #: apt-get.8.xml:161
1117 "<literal>purge</literal> is identical to <literal>remove</literal> except "
1118 "that packages are removed and purged (any configuration files are deleted "
1121 "パッケージが削除かつ完全削除 (すべての設定ファイルも削除) されるのを除き、"
1122 "<literal>purge</literal> は <literal>remove</literal> と同じです。"
1124 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1125 #: apt-get.8.xml:166
1127 "<literal>source</literal> causes <command>apt-get</command> to fetch source "
1128 "packages. APT will examine the available packages to decide which source "
1129 "package to fetch. It will then find and download into the current directory "
1130 "the newest available version of that source package while respecting the "
1131 "default release, set with the option <literal>APT::Default-Release</"
1132 "literal>, the <option>-t</option> option or per package with the "
1133 "<literal>pkg/release</literal> syntax, if possible."
1135 "<literal>source</literal> は、<command>apt-get</command> にソースパッケージを"
1136 "取得させます。APT はどのソースパッケージを取得するか決めるため、利用可能な"
1137 "パッケージを検査します。その後、デフォルトリリースから最新の利用可能なソース"
1138 "パッケージを見つけ、カレントディレクトリへダウンロードします。デフォルトリ"
1139 "リースは、可能であれば、<literal>APT::Default-Release</literal> オプション、"
1140 "<option>-t</option> オプション、パッケージごとの <literal>pkg/release</"
1141 "literal> 構文で指定します。"
1143 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1144 #: apt-get.8.xml:174
1146 "Source packages are tracked separately from binary packages via <literal>deb-"
1147 "src</literal> lines in the &sources-list; file. This means that you will "
1148 "need to add such a line for each repository you want to get sources from; "
1149 "otherwise you will probably get either the wrong (too old/too new) source "
1150 "versions or none at all."
1152 "ソースパッケージは、&sources-list; ファイルの <literal>deb-src</literal> 行に"
1153 "より、バイナリパッケージと分けて管理されます。つまり、ソースを取得したいリポ"
1154 "ジトリを、それぞれ追加する必要があるということです。こうしないと、誤った (古"
1155 "すぎ・新しすぎな) ソースバージョンを取得したり、何も取得できなくなります。"
1157 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1158 #: apt-get.8.xml:180
1160 "If the <option>--compile</option> option is specified then the package will "
1161 "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
1162 "the architecture as defined by the <command>--host-architecture</command> "
1163 "option. If <option>--download-only</option> is specified then the source "
1164 "package will not be unpacked."
1166 "<option>--compile</option> オプションを指定すると、<command>dpkg-"
1167 "buildpackage</command> を用いて、<command>--host-architecture</command> オプ"
1168 "ションで定義したアーキテクチャのバイナリ .deb パッケージをコンパイルします。"
1169 "<option>--download-only</option> を指定すると、ソースパッケージを展開しませ"
1172 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1173 #: apt-get.8.xml:187
1175 "A specific source version can be retrieved by postfixing the source name "
1176 "with an equals and then the version to fetch, similar to the mechanism used "
1177 "for the package files. This enables exact matching of the source package "
1178 "name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
1181 "パッケージと同様に、ソース名の後ろにイコールと取得したいバージョンを置くと、"
1182 "指定したバージョンのソースを取得できます。<literal>APT::Get::Only-Source</"
1183 "literal> オプションが暗黙のうちに有効になっているため、ソースパッケージ名と"
1184 "バージョンに厳密に一致させています。"
1186 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1187 #: apt-get.8.xml:193
1189 "Note that source packages are not installed and tracked in the "
1190 "<command>dpkg</command> database like binary packages; they are simply "
1191 "downloaded to the current directory, like source tarballs."
1193 "ソースパッケージはインストールされず、バイナリパッケージのように "
1194 "<command>dpkg</command> データベースで管理されないことに注意してください。"
1195 "ソースの tarball のように、単にカレントディレクトリにダウンロードします。"
1197 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1198 #: apt-get.8.xml:199
1200 "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
1201 "attempt to satisfy the build dependencies for a source package. By default "
1202 "the dependencies are satisfied to build the package natively. If desired a "
1203 "host-architecture can be specified with the <option>--host-architecture</"
1204 "option> option instead."
1206 "<literal>build-dep</literal> は、ソースパッケージの構築依存関係を満たすよう"
1207 "に、パッケージのインストール・削除を行います。デフォルトでは、パッケージをネ"
1208 "イティブに構築する依存関係を満たします。お望みなら、<option>--host-"
1209 "architecture</option> オプションにより、別のホストアーキテクチャを指定できま"
1212 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1213 #: apt-get.8.xml:206
1215 "<literal>check</literal> is a diagnostic tool; it updates the package cache "
1216 "and checks for broken dependencies."
1218 "<literal>check</literal> は、パッケージキャッシュの更新や壊れた依存関係を"
1221 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1222 #: apt-get.8.xml:211
1224 "<literal>download</literal> will download the given binary package into the "
1225 "current directory."
1227 "<literal>download</literal> は、与えたバイナリパッケージを、カレントディレク"
1230 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1231 #: apt-get.8.xml:217
1234 #| "<literal>clean</literal> clears out the local repository of retrieved "
1235 #| "package files. It removes everything but the lock file from "
1236 #| "<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/"
1237 #| "archives/partial/</filename>. When APT is used as a &dselect; method, "
1238 #| "<literal>clean</literal> is run automatically. Those who do not use "
1239 #| "dselect will likely want to run <literal>apt-get clean</literal> from "
1240 #| "time to time to free up disk space."
1242 "<literal>clean</literal> clears out the local repository of retrieved "
1243 "package files. It removes everything but the lock file from "
1244 "<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
1245 "partial/</filename>."
1247 "<literal>clean</literal> は、取得したパッケージのローカルリポジトリを掃除しま"
1248 "す。<filename>&cachedir;/archives/</filename> と <filename>&cachedir;/"
1249 "archives/partial/</filename> からロックファイル以外すべて削除します。APT が "
1250 "&dselect; から呼ばれるときには、自動的に <literal>clean</literal> が実行され"
1251 "ます。dselectを使用しない場合は、ディスクスペースを解放するため、時々 "
1252 "<literal>apt-get clean</literal> を実行したくなるでしょう。"
1254 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1255 #: apt-get.8.xml:224
1257 "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
1258 "local repository of retrieved package files. The difference is that it only "
1259 "removes package files that can no longer be downloaded, and are largely "
1260 "useless. This allows a cache to be maintained over a long period without it "
1261 "growing out of control. The configuration option <literal>APT::Clean-"
1262 "Installed</literal> will prevent installed packages from being erased if it "
1265 "<literal>clean</literal> と同様に、<literal>autoclean</literal> は取得した"
1266 "パッケージのローカルリポジトリを掃除します。違いは、もうダウンロードされるこ"
1267 "とがないパッケージファイルや、ほとんど不要なパッケージファイルのみを削除する"
1268 "ことです。このため、長い期間、キャッシュが管理できずに肥大化することなく、維"
1269 "持することができます。設定オプション <literal>APT::Clean-Installed</literal> "
1270 "に off をセットしていれば、インストール済のパッケージファイルが削除されるのを"
1273 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1274 #: apt-get.8.xml:234
1276 "<literal>autoremove</literal> is used to remove packages that were "
1277 "automatically installed to satisfy dependencies for other packages and are "
1278 "now no longer needed."
1280 "<literal>autoremove</literal> は、他のパッケージの依存関係を満たすために自動"
1281 "的にインストールされ、もう必要なくなったパッケージを削除するのに使用します。"
1283 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1284 #: apt-get.8.xml:239
1286 "<literal>changelog</literal> downloads a package changelog and displays it "
1287 "through <command>sensible-pager</command>. The server name and base "
1288 "directory is defined in the <literal>APT::Changelogs::Server</literal> "
1289 "variable (e.g. <ulink url=\"http://packages.debian.org/changelogs\">packages."
1290 "debian.org/changelogs</ulink> for Debian or <ulink url=\"http://changelogs."
1291 "ubuntu.com/changelogs\">changelogs.ubuntu.com/changelogs</ulink> for "
1292 "Ubuntu). By default it displays the changelog for the version that is "
1293 "installed. However, you can specify the same options as for the "
1294 "<option>install</option> command."
1296 "<literal>changelog</literal> は、パッケージの changelog をダウンロードし、"
1297 "<command>sensible-pager</command> で表示します。サーバ名とベースディレクトリ"
1298 "は <literal>APT::Changelogs::Server</literal> 変数で定義されます (例: Debian "
1299 "の <ulink url=\"http://packages.debian.org/changelogs\">packages.debian.org/"
1300 "changelogs</ulink> や Ubuntu の <ulink url=\"http://changelogs.ubuntu.com/"
1301 "changelogs\">changelogs.ubuntu.com/changelogs</ulink>)。デフォルトでは、イン"
1302 "ストールされるバージョンの changelog を表示しますが、<option>install</"
1303 "option> コマンドと同じオプションを使用できます。"
1305 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1306 #: apt-get.8.xml:262
1308 "Do not consider recommended packages as a dependency for installing. "
1309 "Configuration Item: <literal>APT::Install-Recommends</literal>."
1311 "「推奨」パッケージをインストールする依存関係と見なしません。設定項目: "
1312 "<literal>APT::Install-Recommends</literal>"
1314 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1315 #: apt-get.8.xml:267
1317 "Consider suggested packages as a dependency for installing. Configuration "
1318 "Item: <literal>APT::Install-Suggests</literal>."
1320 "「提案」パッケージをインストールする依存関係と見なします。設定項目: "
1321 "<literal>APT::Install-Suggests</literal>"
1323 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1324 #: apt-get.8.xml:272
1326 "Download only; package files are only retrieved, not unpacked or installed. "
1327 "Configuration Item: <literal>APT::Get::Download-Only</literal>."
1329 "ダウンロードのみ - パッケージファイルの取得のみを行い、展開・インストールを行"
1330 "いません。設定項目: <literal>APT::Get::Download-Only</literal>"
1332 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1333 #: apt-get.8.xml:277
1336 #| "Fix; attempt to correct a system with broken dependencies in place. This "
1337 #| "option, when used with install/remove, can omit any packages to permit "
1338 #| "APT to deduce a likely solution. If packages are specified, these have to "
1339 #| "completely correct the problem. The option is sometimes necessary when "
1340 #| "running APT for the first time; APT itself does not allow broken package "
1341 #| "dependencies to exist on a system. It is possible that a system's "
1342 #| "dependency structure can be so corrupt as to require manual intervention "
1343 #| "(which usually means using &dselect; or <command>dpkg --remove</command> "
1344 #| "to eliminate some of the offending packages). Use of this option together "
1345 #| "with <option>-m</option> may produce an error in some situations. "
1346 #| "Configuration Item: <literal>APT::Get::Fix-Broken</literal>."
1348 "Fix; attempt to correct a system with broken dependencies in place. This "
1349 "option, when used with install/remove, can omit any packages to permit APT "
1350 "to deduce a likely solution. If packages are specified, these have to "
1351 "completely correct the problem. The option is sometimes necessary when "
1352 "running APT for the first time; APT itself does not allow broken package "
1353 "dependencies to exist on a system. It is possible that a system's dependency "
1354 "structure can be so corrupt as to require manual intervention (which usually "
1355 "means using <command>dpkg --remove</command> to eliminate some of the "
1356 "offending packages). Use of this option together with <option>-m</option> "
1357 "may produce an error in some situations. Configuration Item: <literal>APT::"
1358 "Get::Fix-Broken</literal>."
1360 "修復 - 依存関係が壊れたシステムの修正を試みます。このオプションを install や "
1361 "remove と一緒に使うときは、APT が解決法を推測するので、パッケージを指定しなく"
1362 "てもかまいません。どのパッケージを指定しても、完全に問題を解決します。APT 自"
1363 "体は、システムに存在する破損したパッケージ依存関係を許すことができないので、"
1364 "初めて APT を実行する場合、このオプションが必要になることがあります。システム"
1365 "の依存関係構造にかなり問題がある場合は、手動で修正するよう要求することもあり"
1366 "ます。(通常は、問題のあるパッケージを取り除くのに &dselect; や <command>dpkg "
1367 "--remove</command> を使用します) このオプションを <option>-m</option> オプ"
1368 "ションと同時に使用すると、エラーになる状況があるかもしれません。設定項目: "
1369 "<literal>APT::Get::Fix-Broken</literal>"
1371 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1372 #: apt-get.8.xml:292
1374 "Ignore missing packages; if packages cannot be retrieved or fail the "
1375 "integrity check after retrieval (corrupted package files), hold back those "
1376 "packages and handle the result. Use of this option together with <option>-f</"
1377 "option> may produce an error in some situations. If a package is selected "
1378 "for installation (particularly if it is mentioned on the command line) and "
1379 "it could not be downloaded then it will be silently held back. "
1380 "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
1382 "欠落パッケージの無視 - パッケージが取得できなかったり、(パッケージの破損で) "
1383 "取得した後の整合性チェックに失敗した場合、そのパッケージの処理を保留し最後ま"
1384 "で処理を続けます。このオプションを <option>-f</option> オプションと同時に使用"
1385 "すると、エラーになる状況があるかもしれません。パッケージをインストールするよ"
1386 "う選択している (特にコマンドラインでの操作する) 場合や、ダウンロードできな"
1387 "かった場合に、なにも表示せず保留することになります。設定項目: <literal>APT::"
1388 "Get::Fix-Missing</literal>"
1390 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1391 #: apt-get.8.xml:303
1393 "Disables downloading of packages. This is best used with <option>--ignore-"
1394 "missing</option> to force APT to use only the .debs it has already "
1395 "downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
1397 "パッケージのダウンロードを無効にします。これはすでにダウンロードした .deb に"
1398 "対してのみ APT を行う場合に、<option>--ignore-missing</option> と併せて使うの"
1399 "がよいでしょう。設定項目: <literal>APT::Get::Download</literal>"
1401 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1402 #: apt-get.8.xml:310
1404 "Quiet; produces output suitable for logging, omitting progress indicators. "
1405 "More q's will produce more quiet up to a maximum of 2. You can also use "
1406 "<option>-q=#</option> to set the quiet level, overriding the configuration "
1407 "file. Note that quiet level 2 implies <option>-y</option>; you should never "
1408 "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
1409 "may decide to do something you did not expect. Configuration Item: "
1410 "<literal>quiet</literal>."
1412 "静粛 - 進捗表示を省略し、ログをとるのに便利な出力を行います。最大 2 つまで q "
1413 "を重ねることでより静粛にできます。また、<option>-q=#</option> のように静粛レ"
1414 "ベルを指定して、設定ファイルを上書きすることもできます。静粛レベル 2 は "
1415 "<option>-y</option> を含んでいることに注意してください。APT が意図しない決定"
1416 "を行うかもしれないので -d, --print-uris, -s のような操作を行わないオプション"
1417 "をつけずに -qq を使用するべきではありません。設定項目: <literal>quiet</"
1420 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1421 #: apt-get.8.xml:325
1423 "No action; perform a simulation of events that would occur but do not "
1424 "actually change the system. Configuration Item: <literal>APT::Get::"
1425 "Simulate</literal>."
1427 "動作なし - なにが起こるのかのシミュレーションを行い、実際にはシステムの変更を"
1428 "行いません。設定項目: <literal>APT::Get::Simulate</literal>"
1430 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1431 #: apt-get.8.xml:329
1433 "Simulated runs performed as a user will automatically deactivate locking "
1434 "(<literal>Debug::NoLocking</literal>), and if the option <literal>APT::Get::"
1435 "Show-User-Simulation-Note</literal> is set (as it is by default) a notice "
1436 "will also be displayed indicating that this is only a simulation. Runs "
1437 "performed as root do not trigger either NoLocking or the notice - superusers "
1438 "should know what they are doing without further warnings from <literal>apt-"
1441 "ユーザとしてシミュレーションを実行すると、自動ではロックを行いません "
1442 "(<literal>Debug::NoLocking</literal>)。また、<literal>APT::Get::Show-User-"
1443 "Simulation-Note</literal> オプションが設定されている (デフォルト) と、これが"
1444 "シミュレーションであるという注意を表示します。root 権限で実行すると、"
1445 "NoLocking も 注意も行われません (スーパーユーザは <literal>apt-get</literal> "
1446 "による警告などなくても、何をしているのか知っていなければなりません)。"
1448 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1449 #: apt-get.8.xml:337
1451 "Simulated runs print out a series of lines, each representing a "
1452 "<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
1453 "remove (<literal>Remv</literal>) or unpack (<literal>Inst</literal>). "
1454 "Square brackets indicate broken packages, and empty square brackets indicate "
1455 "breaks that are of no consequence (rare)."
1457 "シミュレートの結果、<command>dpkg</command> の動作を表す一連の行のそれぞれ"
1458 "に、設定 (<literal>Conf</literal>)、削除 (<literal>Remv</literal>)、展開 "
1459 "(<literal>Inst</literal>) を表示します。角カッコは壊れたパッケージを表し、(ま"
1460 "れに) 空の角カッコは大した問題ではないことを表します。"
1462 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1463 #: apt-get.8.xml:345
1465 "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
1466 "non-interactively. If an undesirable situation, such as changing a held "
1467 "package, trying to install a unauthenticated package or removing an "
1468 "essential package occurs then <literal>apt-get</literal> will abort. "
1469 "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
1471 "プロンプトへの自動承諾 - すべてのプロンプトに自動的に \"yes\" と答え、非対話"
1472 "的に実行します。保留したパッケージの状態を変更したり、必須パッケージを削除す"
1473 "るような不適切な状況の場合、<literal>apt-get</literal> は処理を中断します。設"
1474 "定項目: <literal>APT::Get::Assume-Yes</literal>"
1476 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1477 #: apt-get.8.xml:353
1479 "Automatic \"no\" to all prompts. Configuration Item: <literal>APT::Get::"
1480 "Assume-No</literal>."
1482 "全ての質問に、自動的に \"no\" と答えます。設定項目: <literal>APT::Get::"
1483 "Assume-No</literal>"
1485 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1486 #: apt-get.8.xml:358
1488 "Show upgraded packages; print out a list of all packages that are to be "
1489 "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
1491 "更新パッケージ表示 - 更新される全パッケージを一覧表示します。設定項目: "
1492 "<literal>APT::Get::Show-Upgraded</literal>"
1494 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1495 #: apt-get.8.xml:364
1497 "Show full versions for upgraded and installed packages. Configuration Item: "
1498 "<literal>APT::Get::Show-Versions</literal>."
1500 "更新・インストールするパッケージのバージョンをすべて表示します。設定項目: "
1501 "<literal>APT::Get::Show-Versions</literal>"
1503 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1504 #: apt-get.8.xml:370
1507 #| "This option controls the architecture packages are built for by "
1508 #| "<command>apt-get source --compile</command> and how cross-"
1509 #| "builddependencies are satisfied. By default is it not set which means "
1510 #| "that the host architecture is the same as the build architecture (which "
1511 #| "is defined by <literal>APT::Architecture</literal>). Configuration Item: "
1512 #| "<literal>APT::Get::Host-Architecture</literal>"
1514 "This option controls the architecture packages are built for by <command>apt-"
1515 "get source --compile</command> and how cross-builddependencies are "
1516 "satisfied. By default is it not set which means that the host architecture "
1517 "is the same as the build architecture (which is defined by <literal>APT::"
1518 "Architecture</literal>). Configuration Item: <literal>APT::Get::Host-"
1519 "Architecture</literal>."
1521 "このオプションは、<command>apt-get source --compile</command> で構築するパッ"
1522 "ケージのアーキテクチャや、どのようにクロス依存関係を解決するかを制御します。"
1523 "デフォルトでは未定義で、これはホストアーキテクチャは、(<literal>APT::"
1524 "Architecture</literal> で定義した) ビルドアーキテクチャと同じという意味になり"
1525 "ます。設定項目: <literal>APT::Get::Host-Architecture</literal>"
1527 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1528 #: apt-get.8.xml:380
1531 #| "This option controls the architecture packages are built for by "
1532 #| "<command>apt-get source --compile</command> and how cross-"
1533 #| "builddependencies are satisfied. By default is it not set which means "
1534 #| "that the host architecture is the same as the build architecture (which "
1535 #| "is defined by <literal>APT::Architecture</literal>). Configuration Item: "
1536 #| "<literal>APT::Get::Host-Architecture</literal>"
1538 "This option controls the activated build profiles for which a source package "
1539 "is built by <command>apt-get source --compile</command> and how build "
1540 "dependencies are satisfied. By default no build profile is active. More "
1541 "than one build profile can be activated at a time by concatenating them with "
1542 "a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
1544 "このオプションは、<command>apt-get source --compile</command> で構築するパッ"
1545 "ケージのアーキテクチャや、どのようにクロス依存関係を解決するかを制御します。"
1546 "デフォルトでは未定義で、これはホストアーキテクチャは、(<literal>APT::"
1547 "Architecture</literal> で定義した) ビルドアーキテクチャと同じという意味になり"
1548 "ます。設定項目: <literal>APT::Get::Host-Architecture</literal>"
1550 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1551 #: apt-get.8.xml:391
1553 "Compile source packages after downloading them. Configuration Item: "
1554 "<literal>APT::Get::Compile</literal>."
1556 "ソースパッケージをダウンロード後、コンパイルします。設定項目: <literal>APT::"
1557 "Get::Compile</literal>"
1559 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1560 #: apt-get.8.xml:396
1562 "Ignore package holds; this causes <command>apt-get</command> to ignore a "
1563 "hold placed on a package. This may be useful in conjunction with "
1564 "<literal>dist-upgrade</literal> to override a large number of undesired "
1565 "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
1567 "保留パッケージの無視 - パッケージの保留指示を無視して <command>apt-get</"
1568 "command> を行います。<literal>dist-upgrade</literal> と共に使用し、パッケージ"
1569 "を大量に、保留解除するのに便利です。設定項目: <literal>APT::Ignore-Hold</"
1572 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1573 #: apt-get.8.xml:403
1575 "Allow installing new packages when used in conjunction with "
1576 "<literal>upgrade</literal>. This is useful if the update of a installed "
1577 "package requires new dependencies to be installed. Instead of holding the "
1578 "package back <literal>upgrade</literal> will upgrade the package and install "
1579 "the new dependencies. Note that <literal>upgrade</literal> with this option "
1580 "will never remove packages, only allow adding new ones. Configuration Item: "
1581 "<literal>APT::Get::Upgrade-Allow-New</literal>."
1584 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1585 #: apt-get.8.xml:415
1587 "Do not upgrade packages; when used in conjunction with <literal>install</"
1588 "literal>, <literal>no-upgrade</literal> will prevent packages on the command "
1589 "line from being upgraded if they are already installed. Configuration Item: "
1590 "<literal>APT::Get::Upgrade</literal>."
1592 "パッケージ更新なし - <literal>install</literal> と同時に使用すると、"
1593 "<literal>no-upgrade</literal> は、コマンドラインで指定したパッケージが、すで"
1594 "にインストールしてある場合に更新を行いません。設定項目: <literal>APT::Get::"
1597 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1598 #: apt-get.8.xml:422
1600 "Do not install new packages; when used in conjunction with <literal>install</"
1601 "literal>, <literal>only-upgrade</literal> will install upgrades for already "
1602 "installed packages only and ignore requests to install new packages. "
1603 "Configuration Item: <literal>APT::Get::Only-Upgrade</literal>."
1605 "新規パッケージインストールなし - <literal>install</literal> と同時に使用する"
1606 "と、<literal>only-upgrade</literal> は、すでにインストールされているパッケー"
1607 "ジのみをアップグレードし、新しいパッケージのインストール要求を無視します。設"
1608 "定項目: <literal>APT::Get::Only-Upgrade</literal>"
1610 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1611 #: apt-get.8.xml:430
1613 "Force yes; this is a dangerous option that will cause apt to continue "
1614 "without prompting if it is doing something potentially harmful. It should "
1615 "not be used except in very special situations. Using <literal>force-yes</"
1616 "literal> can potentially destroy your system! Configuration Item: "
1617 "<literal>APT::Get::force-yes</literal>."
1619 "強制承諾 - 何か損傷を与えかねない動作をしようとした場合でも、確認なしで実行し"
1620 "てしまう危険なオプションです。よほどの状況でなければ、使うべきではありませ"
1621 "ん。<literal>force-yes</literal> を使うと、あなたのシステムを破壊しかねませ"
1622 "ん! 設定項目: <literal>APT::Get::force-yes</literal>"
1624 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1625 #: apt-get.8.xml:438
1627 "Instead of fetching the files to install their URIs are printed. Each URI "
1628 "will have the path, the destination file name, the size and the expected MD5 "
1629 "hash. Note that the file name to write to will not always match the file "
1630 "name on the remote site! This also works with the <literal>source</literal> "
1631 "and <literal>update</literal> commands. When used with the <literal>update</"
1632 "literal> command the MD5 and size are not included, and it is up to the user "
1633 "to decompress any compressed files. Configuration Item: <literal>APT::Get::"
1634 "Print-URIs</literal>."
1636 "インストールするファイルを取得する代わりに、その URI を表示します。URI には、"
1637 "パス、対象ファイル名、ファイルサイズ、予測される MD5 ハッシュが含まれていま"
1638 "す。出力したファイル名が、常にリモートサイトのファイル名と一致するわけではな"
1639 "い、ということに注意してください! これは <literal>source</literal> コマンド、"
1640 "<literal>update</literal> コマンドでも動作します。<literal>update</literal> "
1641 "で使用したときには、MD5 やファイルサイズを含みません。このとき、圧縮ファイル"
1642 "の展開はユーザの責任において行ってください。設定項目: <literal>APT::Get::"
1643 "Print-URIs</literal>"
1645 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1646 #: apt-get.8.xml:449
1648 "Use purge instead of remove for anything that would be removed. An asterisk "
1649 "(\"*\") will be displayed next to packages which are scheduled to be purged. "
1650 "<option>remove --purge</option> is equivalent to the <option>purge</option> "
1651 "command. Configuration Item: <literal>APT::Get::Purge</literal>."
1653 "削除する際、「削除」ではなく「完全削除」を行います。「完全削除」を行うと指示"
1654 "したパッケージ名の後には、アスタリスク (\"*\") が付きます。<option>remove --"
1655 "purge</option> は <option>purge</option> コマンドと等価です。 設定項目: "
1656 "<literal>APT::Get::Purge</literal>"
1658 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1659 #: apt-get.8.xml:457
1661 "Re-install packages that are already installed and at the newest version. "
1662 "Configuration Item: <literal>APT::Get::ReInstall</literal>."
1664 "すでに最新版がインストールされていても、パッケージを再インストールします。設"
1665 "定項目: <literal>APT::Get::ReInstall</literal>"
1667 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1668 #: apt-get.8.xml:462
1670 "This option is on by default; use <literal>--no-list-cleanup</literal> to "
1671 "turn it off. When it is on, <command>apt-get</command> will automatically "
1672 "manage the contents of <filename>&statedir;/lists</filename> to ensure that "
1673 "obsolete files are erased. The only reason to turn it off is if you "
1674 "frequently change your sources list. Configuration Item: <literal>APT::Get::"
1675 "List-Cleanup</literal>."
1677 "この機能はデフォルトで ON になっています。OFF にするには <literal>--no-list-"
1678 "cleanup</literal> としてください。ON の場合、<command>apt-get</command> は古"
1679 "くなったファイルを確実に消去するため、自動的に <filename>&statedir;/lists</"
1680 "filename> の中身を管理します。これを OFF にするのは、取得元リストを頻繁に変更"
1681 "する時ぐらいでしょう。設定項目: <literal>APT::Get::List-Cleanup</literal>"
1683 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1684 #: apt-get.8.xml:472
1686 "This option controls the default input to the policy engine; it creates a "
1687 "default pin at priority 990 using the specified release string. This "
1688 "overrides the general settings in <filename>/etc/apt/preferences</"
1689 "filename>. Specifically pinned packages are not affected by the value of "
1690 "this option. In short, this option lets you have simple control over which "
1691 "distribution packages will be retrieved from. Some common examples might be "
1692 "<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
1693 "option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
1694 "also the &apt-preferences; manual page."
1696 "このオプションは、ポリシーエンジンへのデフォルト入力を制御します。また、指定"
1697 "されたリリース文字列を使用し、デフォルト pin を優先度 990 で作成します。これ"
1698 "は、<filename>/etc/apt/preferences</filename> にある一般設定を上書きします。"
1699 "pin で留めるのを明示されたパッケージには、このオプションの値は影響を与えませ"
1700 "ん。つまりこのオプションで、どの配布パッケージを取得するかを簡単に管理しま"
1701 "す。一般的な例としては、<option>-t '2.1*'</option>, <option>-t unstable</"
1702 "option>, <option>-t sid</option> のようになります。設定項目: <literal>APT::"
1703 "Default-Release</literal>。&apt-preferences; のマニュアルページも参照してくだ"
1706 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1707 #: apt-get.8.xml:487
1709 "Only perform operations that are 'trivial'. Logically this can be considered "
1710 "related to <option>--assume-yes</option>; where <option>--assume-yes</"
1711 "option> will answer yes to any prompt, <option>--trivial-only</option> will "
1712 "answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
1714 "「重要でない」操作のみを行います。これは論理的に <option>--assume-yes</"
1715 "option> の仲間と見なせます。<option>--assume-yes</option> は質問にすべて yes "
1716 "と答えますが、<option>--trivial-only</option> はすべて no と答えます。設定項"
1717 "目: <literal>APT::Get::Trivial-Only</literal>"
1719 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1720 #: apt-get.8.xml:494
1722 "If any packages are to be removed apt-get immediately aborts without "
1723 "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
1725 "パッケージが削除される状況になったとき、プロンプトを表示せず中断します。設定"
1726 "項目: <literal>APT::Get::Remove</literal>"
1728 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1729 #: apt-get.8.xml:500
1731 "If the command is either <literal>install</literal> or <literal>remove</"
1732 "literal>, then this option acts like running the <literal>autoremove</"
1733 "literal> command, removing unused dependency packages. Configuration Item: "
1734 "<literal>APT::Get::AutomaticRemove</literal>."
1736 "コマンドが <literal>install</literal> か <literal>remove</literal> である場"
1737 "合、このオプションは使用していない依存しているパッケージを削除し、"
1738 "<literal>autoremove</literal> コマンドのように動作します。設定項目: "
1739 "<literal>APT::Get::AutomaticRemove</literal>"
1741 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1742 #: apt-get.8.xml:507
1744 "Only has meaning for the <literal>source</literal> and <literal>build-dep</"
1745 "literal> commands. Indicates that the given source names are not to be "
1746 "mapped through the binary table. This means that if this option is "
1747 "specified, these commands will only accept source package names as "
1748 "arguments, rather than accepting binary package names and looking up the "
1749 "corresponding source package. Configuration Item: <literal>APT::Get::Only-"
1752 "<literal>source</literal> コマンドと <literal>build-dep</literal> コマンドで"
1753 "のみ意味があります。指定されたソース名がバイナリテーブルにマップされないよう"
1754 "にします。これは、このオプションを指定すると、バイナリパッケージ名を受け付け"
1755 "て対応するソースパッケージを探すのではなく、引数にソースパッケージ名しか受け"
1756 "付けなくなる、ということです。設定項目: <literal>APT::Get::Only-Source</"
1759 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1760 #: apt-get.8.xml:518
1762 "Download only the diff, dsc, or tar file of a source archive. Configuration "
1763 "Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
1764 "literal>, and <literal>APT::Get::Tar-Only</literal>."
1766 "ソースアーカイブの diff ファイルや dsc ファイル、tar ファイルのダウンロードの"
1767 "みを行います。設定項目: <literal>APT::Get::Diff-Only</literal>, "
1768 "<literal>APT::Get::Dsc-Only</literal>, <literal>APT::Get::Tar-Only</literal>"
1770 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1771 #: apt-get.8.xml:524
1773 "Only process architecture-dependent build-dependencies. Configuration Item: "
1774 "<literal>APT::Get::Arch-Only</literal>."
1776 "構築依存関係の解決を、アーキテクチャに依存したもののみ行います。設定項目: "
1777 "<literal>APT::Get::Arch-Only</literal>"
1779 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1780 #: apt-get.8.xml:529
1782 "Ignore if packages can't be authenticated and don't prompt about it. This "
1783 "is useful for tools like pbuilder. Configuration Item: <literal>APT::Get::"
1784 "AllowUnauthenticated</literal>."
1786 "パッケージを確認できない場合に無視し、それについて質問しません。pbuilder のよ"
1787 "うなツールで便利です。設定項目: <literal>APT::Get::AllowUnauthenticated</"
1790 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1791 #: apt-get.8.xml:535
1793 "Show user friendly progress information in the terminal window when packages "
1794 "are installed, upgraded or removed. For a machine parsable version of this "
1795 "data see README.progress-reporting in the apt doc directory. Configuration "
1796 "Item: <literal>Dpkg::Progress</literal> and <literal>Dpkg::Progress-Fancy</"
1800 #. type: Content of: <refentry><refsect1><title>
1801 #: apt-get.8.xml:548 apt-cache.8.xml:345 apt-key.8.xml:176 apt-mark.8.xml:127
1802 #: apt.conf.5.xml:1221 apt_preferences.5.xml:700
1806 #. type: Content of: <refentry><refsect1><para>
1807 #: apt-get.8.xml:559
1810 #| "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
1811 #| "&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, &apt-"
1812 #| "preferences;, the APT Howto."
1814 "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
1815 "&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
1818 "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
1819 "&apt-config;, &apt-secure;, &guidesdir; にある APT ユーザガイド, &apt-"
1820 "preferences;, APT Howto"
1822 #. type: Content of: <refentry><refsect1><para>
1823 #: apt-get.8.xml:565
1825 "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
1828 "<command>apt-get</command> は正常終了時に 0 を返します。エラー時には十進の "
1831 #. type: Content of: <refentry><refnamediv><refpurpose>
1832 #: apt-cache.8.xml:35
1833 msgid "query the APT cache"
1834 msgstr "APT キャッシュへの問い合わせ"
1836 #. type: Content of: <refentry><refsect1><para>
1837 #: apt-cache.8.xml:41
1839 "<command>apt-cache</command> performs a variety of operations on APT's "
1840 "package cache. <command>apt-cache</command> does not manipulate the state of "
1841 "the system but does provide operations to search and generate interesting "
1842 "output from the package metadata."
1844 "<command>apt-cache</command> は APT のパッケージキャッシュに対して、さまざま"
1845 "な操作を行います。<command>apt-cache</command> は、システム状態の操作は行いま"
1846 "せんが、パッケージのメタデータより検索したり、興味深い出力を生成するといった"
1849 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1850 #: apt-cache.8.xml:51
1852 "<literal>gencaches</literal> creates APT's package cache. This is done "
1853 "implicitly by all commands needing this cache if it is missing or outdated."
1855 "<literal>gencaches</literal> は APT のパッケージキャッシュを作成します。この"
1856 "キャッシュが見つからない、または古くなっている場合、キャッシュを必要とするす"
1857 "べてのコマンドによって、暗黙で実行されます。"
1859 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
1860 #: apt-cache.8.xml:55 apt-cache.8.xml:144 apt-cache.8.xml:165
1861 #: apt-cache.8.xml:187 apt-cache.8.xml:192 apt-cache.8.xml:208
1862 #: apt-cache.8.xml:226 apt-cache.8.xml:238
1863 msgid "&synopsis-pkg;"
1864 msgstr "&synopsis-pkg;"
1866 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1867 #: apt-cache.8.xml:56
1869 "<literal>showpkg</literal> displays information about the packages listed on "
1870 "the command line. Remaining arguments are package names. The available "
1871 "versions and reverse dependencies of each package listed are listed, as well "
1872 "as forward dependencies for each version. Forward (normal) dependencies are "
1873 "those packages upon which the package in question depends; reverse "
1874 "dependencies are those packages that depend upon the package in question. "
1875 "Thus, forward dependencies must be satisfied for a package, but reverse "
1876 "dependencies need not be. For instance, <command>apt-cache showpkg "
1877 "libreadline2</command> would produce output similar to the following:"
1879 "<literal>showpkg</literal> は、コマンドライン上に列挙したパッケージの情報を表"
1880 "示します。後に続く引数はパッケージ名となります。各パッケージについて、有効な"
1881 "バージョンと被依存関係を列挙し、さらにその各バージョンについて依存関係を表示"
1882 "します。(通常の) 依存関係とは、対象のパッケージが依存しているパッケージを指し"
1883 "ます。また、被依存関係とは、対象のパッケージに依存しているパッケージを指しま"
1884 "す。従って、パッケージの依存関係は満たさなければなりませんが、被依存関係は満"
1885 "たす必要はありません。実例として、以下に <command>apt-cache showpkg "
1886 "libreadline2</command> の出力を掲げます。"
1888 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
1889 #: apt-cache.8.xml:68
1892 "Package: libreadline2\n"
1893 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
1894 "Reverse Depends: \n"
1895 " libreadlineg2,libreadline2\n"
1896 " libreadline2-altdev,libreadline2\n"
1898 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
1901 "Reverse Provides: \n"
1903 "Package: libreadline2\n"
1904 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
1905 "Reverse Depends: \n"
1906 " libreadlineg2,libreadline2\n"
1907 " libreadline2-altdev,libreadline2\n"
1909 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
1912 "Reverse Provides: \n"
1914 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1915 #: apt-cache.8.xml:80
1917 "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
1918 "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
1919 "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
1920 "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
1921 "installed; libreadlineg2 and libreadline2-altdev do not have to be "
1922 "installed. For the specific meaning of the remainder of the output it is "
1923 "best to consult the apt source code."
1925 "つまり、libreadline2 の version 2.1-12 は、libc5 と ncurses3.0 に依存してい"
1926 "て、libreadline2 が動作するには、これらをインストールする必要があるということ"
1927 "が判ります。一方、libreadlineg2 と libreadline2-altdev は libreadline2 に依存"
1928 "しています。libreadline2 をインストールするためには、libc5, ncurses3.0, ldso "
1929 "をすべてインストールしなければなりませんが、libreadlineg2 と libreadline2-"
1930 "altdev はインストールする必要はありません。出力の残りの部分の意味については、"
1931 "apt のソースコードを調べるのが最良でしょう。"
1933 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1934 #: apt-cache.8.xml:89
1936 "<literal>stats</literal> displays some statistics about the cache. No "
1937 "further arguments are expected. Statistics reported are:"
1939 "<literal>stats</literal> はキャッシュについての統計情報を表示します。それ以"
1940 "上、引数は必要ありません。以下の統計情報を表示します。"
1942 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1943 #: apt-cache.8.xml:92
1945 "<literal>Total package names</literal> is the number of package names found "
1948 "<literal>パッケージ名総数</literal>は、キャッシュに存在するパッケージ数を表し"
1951 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1952 #: apt-cache.8.xml:96
1954 "<literal>Normal packages</literal> is the number of regular, ordinary "
1955 "package names; these are packages that bear a one-to-one correspondence "
1956 "between their names and the names used by other packages for them in "
1957 "dependencies. The majority of packages fall into this category."
1959 "<literal>通常パッケージ</literal>は、公式の普通のパッケージ数を表します。これ"
1960 "は、他のパッケージの依存関係で使用された名称で、それが一対一に対応するパッ"
1961 "ケージです。大多数のパッケージはこのカテゴリに入ります。"
1963 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1964 #: apt-cache.8.xml:102
1966 "<literal>Pure virtual packages</literal> is the number of packages that "
1967 "exist only as a virtual package name; that is, packages only \"provide\" the "
1968 "virtual package name, and no package actually uses the name. For instance, "
1969 "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
1970 "several packages provide \"mail-transport-agent\", but there is no package "
1971 "named \"mail-transport-agent\"."
1973 "<literal>純粋仮想パッケージ</literal>は、仮想パッケージ名としてのみ存在する"
1974 "パッケージ (仮想パッケージ名のみを「提供」し、実際にはいかなるパッケージもそ"
1975 "の名称を持たない) の数を表します。例えば、Debian システムでは \"mail-"
1976 "transport-agent\" は純粋仮想パッケージです。\"mail-transport-agent\" を提供す"
1977 "るパッケージはいくつもありますが、\"mail-transport-agent\" という名前のパッ"
1980 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1981 #: apt-cache.8.xml:110
1983 "<literal>Single virtual packages</literal> is the number of packages with "
1984 "only one package providing a particular virtual package. For example, in the "
1985 "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
1986 "package, xless, provides \"X11-text-viewer\"."
1988 "<literal>単一仮想パッケージ</literal>は、特定の仮想パッケージ名を提供するパッ"
1989 "ケージが、ただ一つの場合の数を表します。例えば、Debian システムでは、\"X11-"
1990 "text-viewer\" は仮想パッケージですが、\"X11-text-viewer\" を提供するパッケー"
1991 "ジは、xless パッケージのみということです。"
1993 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1994 #: apt-cache.8.xml:116
1996 "<literal>Mixed virtual packages</literal> is the number of packages that "
1997 "either provide a particular virtual package or have the virtual package name "
1998 "as the package name. For instance, in the Debian system, \"debconf\" is both "
1999 "an actual package, and provided by the debconf-tiny package."
2001 "<literal>複合仮想パッケージ</literal>は、その仮想パッケージ名を提供するパッ"
2002 "ケージが複数あるか、またパッケージ名と同じ仮想パッケージ名を持つパッケージの"
2003 "数を表します。例えば、Debian システムでは、\"debconf\" は実際のパッケージ名で"
2004 "もありますが、debconf-tiny によって提供もされています。"
2006 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2007 #: apt-cache.8.xml:123
2009 "<literal>Missing</literal> is the number of package names that were "
2010 "referenced in a dependency but were not provided by any package. Missing "
2011 "packages may be an evidence if a full distribution is not accessed, or if a "
2012 "package (real or virtual) has been dropped from the distribution. Usually "
2013 "they are referenced from Conflicts or Breaks statements."
2015 "<literal>欠落</literal>は、依存関係中には存在するのに、どのパッケージにも提供"
2016 "されていないパッケージ名の数を表します。欠落パッケージは、全ディストリビュー"
2017 "ションにアクセスできていないか、(実ないし仮想) パッケージがディストリビュー"
2018 "ションからはずされたという兆候かもしれません。通常、構文が競合や破損するとこ"
2021 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2022 #: apt-cache.8.xml:130
2024 "<literal>Total distinct</literal> versions is the number of package versions "
2025 "found in the cache; this value is therefore at least equal to the number of "
2026 "total package names. If more than one distribution is being accessed (for "
2027 "instance, \"stable\" and \"unstable\"), this value can be considerably "
2028 "larger than the number of total package names."
2030 "<literal>個別バージョン総数</literal>は、キャッシュに存在するパッケージのバー"
2031 "ジョンの数を表します。そのため、この値は最小でもパッケージ名総数と一致しま"
2032 "す。もし複数のディストリビューション (例 \"stable\" と \"unstable\") にアクセ"
2033 "スする場合、この値はパッケージ名総数よりもかなり大きい数になります。"
2035 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
2036 #: apt-cache.8.xml:137
2038 "<literal>Total dependencies</literal> is the number of dependency "
2039 "relationships claimed by all of the packages in the cache."
2041 "<literal>依存関係総数</literal>は、キャッシュにあるすべてのパッケージで要求さ"
2044 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2045 #: apt-cache.8.xml:145
2047 "<literal>showsrc</literal> displays all the source package records that "
2048 "match the given package names. All versions are shown, as well as all "
2049 "records that declare the name to be a binary package."
2051 "<literal>showsrc</literal> は、指定したパッケージ名に一致するソースパッケージ"
2052 "を、すべて表示します。バイナリパッケージになるときの名称を宣言したレコードと"
2053 "ともに、すべてのバージョンについて表示します。"
2055 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2056 #: apt-cache.8.xml:151
2058 "<literal>dump</literal> shows a short listing of every package in the cache. "
2059 "It is primarily for debugging."
2061 "<literal>dump</literal> は、キャッシュ内のパッケージそれぞれについて、短い一"
2062 "覧を表示します。主にデバッグ用です。"
2064 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2065 #: apt-cache.8.xml:156
2067 "<literal>dumpavail</literal> prints out an available list to stdout. This is "
2068 "suitable for use with &dpkg; and is used by the &dselect; method."
2070 "<literal>dumpavail</literal> は、標準出力に利用可能なものの一覧を出力しま"
2071 "す。 &dpkg; と共に使用すると便利ですし、&dselect; でも使用されます。"
2073 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2074 #: apt-cache.8.xml:161
2076 "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
2079 "<literal>unmet</literal> は、パッケージキャッシュ内にある、不適当な依存関係の"
2082 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2083 #: apt-cache.8.xml:166
2085 "<literal>show</literal> performs a function similar to <command>dpkg --print-"
2086 "avail</command>; it displays the package records for the named packages."
2088 "<literal>show</literal> は、<command>dpkg --print-avail</command> と同様の機"
2089 "能を実行します。これは、指定したパッケージのパッケージレコードの表示です。"
2091 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
2092 #: apt-cache.8.xml:171
2093 msgid "&synopsis-regex;"
2094 msgstr "&synopsis-regex;"
2096 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2097 #: apt-cache.8.xml:172
2099 "<literal>search</literal> performs a full text search on all available "
2100 "package lists for the POSIX regex pattern given, see ®ex;. It searches "
2101 "the package names and the descriptions for an occurrence of the regular "
2102 "expression and prints out the package name and the short description, "
2103 "including virtual package names. If <option>--full</option> is given then "
2104 "output identical to <literal>show</literal> is produced for each matched "
2105 "package, and if <option>--names-only</option> is given then the long "
2106 "description is not searched, only the package name is."
2108 "<literal>search</literal> は、与えられた POSIX の正規表現 (®ex; を参照) に"
2109 "より、すべての利用可能なパッケージに対して全文検索を行います。パッケージ名と"
2110 "説明に対して正規表現で検索を行い、パッケージ名 (仮想パッケージ名を含む) と短"
2111 "い説明文を表示します。<option>--full</option> が与えられた場合、マッチした"
2112 "パッケージに対し <literal>show</literal> と同じ情報を出力します。<option>--"
2113 "names-only</option> が与えられた場合は、長い説明文に対して検索を行わず、パッ"
2116 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2117 #: apt-cache.8.xml:183
2119 "Separate arguments can be used to specify multiple search patterns that are "
2121 msgstr "空白で区切った引数で、複数の検索パターンの and をとることができます。"
2123 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2124 #: apt-cache.8.xml:188
2126 "<literal>depends</literal> shows a listing of each dependency a package has "
2127 "and all the possible other packages that can fulfill that dependency."
2129 "<literal>depends</literal> は、パッケージが持っている依存関係と、その依存関係"
2130 "を満たす他のパッケージの一覧を表示します。"
2132 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2133 #: apt-cache.8.xml:193
2135 "<literal>rdepends</literal> shows a listing of each reverse dependency a "
2138 "<literal>rdepends</literal> は、パッケージが持つ被依存関係を一覧表示します。"
2140 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2141 #: apt-cache.8.xml:197
2142 msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
2143 msgstr "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
2145 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2146 #: apt-cache.8.xml:198
2148 "This command prints the name of each package APT knows. The optional "
2149 "argument is a prefix match to filter the name list. The output is suitable "
2150 "for use in a shell tab complete function and the output is generated "
2151 "extremely quickly. This command is best used with the <option>--generate</"
2154 "このコマンドは、APT が知っている各パッケージの名前を表示します。オプション引"
2155 "数は、名前一覧から先頭一致で抽出します。この出力はシェルのタブによる補完機能"
2156 "で使いやすく、また非常に高速に生成されます。このコマンドは <option>--"
2157 "generate</option> オプションと共に使用すると非常に便利です。"
2159 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2160 #: apt-cache.8.xml:203
2162 "Note that a package which APT knows of is not necessarily available to "
2163 "download, installable or installed, e.g. virtual packages are also listed in "
2164 "the generated list."
2166 "APT が知っているパッケージは、ダウンロード可能、インストール可能、インストー"
2167 "ル済みである必要がないことに注意してください。つまり、仮想パッケージも生成し"
2170 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2171 #: apt-cache.8.xml:209
2173 "<literal>dotty</literal> takes a list of packages on the command line and "
2174 "generates output suitable for use by dotty from the <ulink url=\"http://www."
2175 "research.att.com/sw/tools/graphviz/\">GraphViz</ulink> package. The result "
2176 "will be a set of nodes and edges representing the relationships between the "
2177 "packages. By default the given packages will trace out all dependent "
2178 "packages; this can produce a very large graph. To limit the output to only "
2179 "the packages listed on the command line, set the <literal>APT::Cache::"
2180 "GivenOnly</literal> option."
2182 "<literal>dotty</literal> は、コマンドライン上のパッケージ名から、<ulink url="
2183 "\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> パッケー"
2184 "ジの dotty コマンドで利用するのに便利な出力を生成します。結果はパッケージの関"
2185 "係を表わす、ノード・エッジのセットで表現されます。デフォルトでは、すべての依"
2186 "存パッケージをトレースするので、非常に大きい図が得られます。コマンドラインに"
2187 "列挙したパッケージだけを出力するように制限するには、<literal>APT::Cache::"
2188 "GivenOnly</literal> をセットしてください。"
2190 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2191 #: apt-cache.8.xml:218
2193 "The resulting nodes will have several shapes; normal packages are boxes, "
2194 "pure virtual packages are triangles, mixed virtual packages are diamonds, "
2195 "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
2196 "packages), blue lines are pre-depends, green lines are conflicts."
2198 "結果のノードは数種の形状をとります。通常パッケージは四角、純粋仮想パッケージ"
2199 "は三角、複合仮想パッケージは菱形、欠落パッケージは六角形で表します。オレンジ"
2200 "の四角は再帰が終了した「リーフパッケージ」、青い線は先行依存、緑の線は競合を"
2203 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2204 #: apt-cache.8.xml:223
2205 msgid "Caution, dotty cannot graph larger sets of packages."
2206 msgstr "注意) dotty は、パッケージのより大きなセットのグラフは描けません。"
2208 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2209 #: apt-cache.8.xml:227
2211 "The same as <literal>dotty</literal>, only for xvcg from the <ulink url="
2212 "\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG tool</ulink>."
2214 "<literal>dotty</literal> と同様ですが、<ulink url=\"http://rw4.cs.uni-sb.de/"
2215 "users/sander/html/gsvcg1.html\">VCG tool</ulink> の xvcg 専用です。"
2217 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2218 #: apt-cache.8.xml:231
2219 msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
2220 msgstr "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
2222 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2223 #: apt-cache.8.xml:232
2225 "<literal>policy</literal> is meant to help debug issues relating to the "
2226 "preferences file. With no arguments it will print out the priorities of each "
2227 "source. Otherwise it prints out detailed information about the priority "
2228 "selection of the named package."
2230 "<literal>policy</literal> は、プリファレンスファイル関係の問題について、デ"
2231 "バッグを支援します。引数を指定しなかった場合、取得元ごとの優先順位を表示しま"
2232 "す。一方、パッケージ名を指定した場合、優先順の詳細情報を表示します。"
2234 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2235 #: apt-cache.8.xml:239
2237 "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
2238 "to mimic the output format and a subset of the functionality of the Debian "
2239 "archive management tool, <literal>madison</literal>. It displays available "
2240 "versions of a package in a tabular format. Unlike the original "
2241 "<literal>madison</literal>, it can only display information for the "
2242 "architecture for which APT has retrieved package lists (<literal>APT::"
2243 "Architecture</literal>)."
2245 "<literal>apt-cache</literal> の <literal>madison</literal> コマンドは、"
2246 "Debian アーカイブ管理ツール <literal>madison</literal> の機能のサブセットで、"
2247 "出力フォーマットを真似ようとします。パッケージの利用可能バージョンを表形式で"
2248 "表示します。オリジナルの <literal>madison</literal> と違い、APT がパッケージ"
2249 "一覧を検索したアーキテクチャ (<literal>APT::Architecture</literal>) の情報を"
2252 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2253 #: apt-cache.8.xml:255
2255 "Select the file to store the package cache. The package cache is the primary "
2256 "cache used by all operations. Configuration Item: <literal>Dir::Cache::"
2257 "pkgcache</literal>."
2259 "パッケージキャッシュを格納するファイルを選択します。パッケージキャッシュは、"
2260 "すべての操作で使用される一次キャッシュです。設定項目: <literal>Dir::Cache::"
2261 "pkgcache</literal>"
2263 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2264 #: apt-cache.8.xml:261
2266 "Select the file to store the source cache. The source is used only by "
2267 "<literal>gencaches</literal> and it stores a parsed version of the package "
2268 "information from remote sources. When building the package cache the source "
2269 "cache is used to avoid reparsing all of the package files. Configuration "
2270 "Item: <literal>Dir::Cache::srcpkgcache</literal>."
2272 "ソースキャッシュを格納するファイルを選択します。このソースキャッシュは "
2273 "<literal>gencaches</literal> でのみ使用され、ここに解析された取得元のパッケー"
2274 "ジ情報が格納されています。パッケージキャッシュを構築する際に、全パッケージ"
2275 "ファイルの再解析を避けるために、ソースキャッシュが使われます。設定項目: "
2276 "<literal>Dir::Cache::srcpkgcache</literal>"
2278 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2279 #: apt-cache.8.xml:269
2281 "Quiet; produces output suitable for logging, omitting progress indicators. "
2282 "More q's will produce more quietness up to a maximum of 2. You can also use "
2283 "<option>-q=#</option> to set the quietness level, overriding the "
2284 "configuration file. Configuration Item: <literal>quiet</literal>."
2286 "静粛 - 進捗表示を省略し、ログをとるのに便利な出力を行います。最大 2 つまで q "
2287 "を重ねることでさらに静粛にできます。また、<option>-q=#</option> のように静粛"
2288 "レベルを指定して、設定ファイルを上書きすることもできます。設定項目: "
2289 "<literal>quiet</literal>"
2291 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2292 #: apt-cache.8.xml:276
2294 "Print only important dependencies; for use with <literal>unmet</literal> and "
2295 "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
2296 "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
2298 "「重要」依存関係のみ表示 - <literal>unmet</literal> や <literal>depends</"
2299 "literal> と共に使用し、「依存」関係と「先行依存」関係のみを表示します。設定項"
2300 "目: <literal>APT::Cache::Important</literal>"
2302 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2303 #: apt-cache.8.xml:290
2305 "Per default the <literal>depends</literal> and <literal>rdepends</literal> "
2306 "print all dependencies. This can be tweaked with these flags which will omit "
2307 "the specified dependency type. Configuration Item: <literal>APT::Cache::"
2308 "Show<replaceable>DependencyType</replaceable></literal> e.g. <literal>APT::"
2309 "Cache::ShowRecommends</literal>."
2311 "デフォルトでは <literal>depends</literal> や <literal>rdepends</literal> は全"
2312 "依存関係を出力します。この挙動を、ここに挙げたフラグで指定した依存関係を省略"
2313 "できます。設定項目: <literal>APT::Cache::Show<replaceable>依存関係タイプ</"
2314 "replaceable></literal> 例: <literal>APT::Cache::ShowRecommends</literal>"
2316 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2317 #: apt-cache.8.xml:297
2319 "Print full package records when searching. Configuration Item: "
2320 "<literal>APT::Cache::ShowFull</literal>."
2322 "search 時に全パッケージレコードを表示します。設定項目: <literal>APT::Cache::"
2323 "ShowFull</literal>"
2325 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2326 #: apt-cache.8.xml:302
2328 "Print full records for all available versions. This is the default; to turn "
2329 "it off, use <option>--no-all-versions</option>. If <option>--no-all-"
2330 "versions</option> is specified, only the candidate version will be displayed "
2331 "(the one which would be selected for installation). This option is only "
2332 "applicable to the <literal>show</literal> command. Configuration Item: "
2333 "<literal>APT::Cache::AllVersions</literal>."
2335 "全利用可能バージョンのレコード全体を表示します。これはデフォルトの動作で、無"
2336 "効にするには <option>--no-all-versions</option> を使用してください。"
2337 "<option>--no-all-versions</option> を指定すると、候補バージョン (インストール"
2338 "の際に選択されるもの) だけ表示します。このオプションは、<literal>show</"
2339 "literal> コマンドでのみ適用できます。設定項目: <literal>APT::Cache::"
2340 "AllVersions</literal>"
2342 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2343 #: apt-cache.8.xml:311
2345 "Perform automatic package cache regeneration, rather than use the cache as "
2346 "it is. This is the default; to turn it off, use <option>--no-generate</"
2347 "option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
2349 "そのままキャッシュを使用するのではなく、自動的にパッケージキャッシュを再生成"
2350 "します。これはデフォルトの動作で、無効にするには <option>--no-generate</"
2351 "option> を使用してください。設定項目: <literal>APT::Cache::Generate</literal>"
2353 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2354 #: apt-cache.8.xml:317
2356 "Only search on the package names, not the long descriptions. Configuration "
2357 "Item: <literal>APT::Cache::NamesOnly</literal>."
2359 "説明文ではなく、パッケージ名からのみ検索します。設定項目: <literal>APT::"
2360 "Cache::NamesOnly</literal>"
2362 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2363 #: apt-cache.8.xml:322
2365 "Make <literal>pkgnames</literal> print all names, including virtual packages "
2366 "and missing dependencies. Configuration Item: <literal>APT::Cache::"
2367 "AllNames</literal>."
2369 "<literal>pkgnames</literal> で、仮想パッケージや欠落依存関係を含めた全名称を"
2370 "表示します。設定項目: <literal>APT::Cache::AllNames</literal>"
2372 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2373 #: apt-cache.8.xml:328
2375 "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
2376 "that all packages mentioned are printed once. Configuration Item: "
2377 "<literal>APT::Cache::RecurseDepends</literal>."
2379 "<literal>depends</literal> や <literal>rdepends</literal> で、指定した全パッ"
2380 "ケージを再帰的に一度に表示します。設定項目: <literal>APT::Cache::"
2381 "RecurseDepends</literal>"
2383 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2384 #: apt-cache.8.xml:335
2386 "Limit the output of <literal>depends</literal> and <literal>rdepends</"
2387 "literal> to packages which are currently installed. Configuration Item: "
2388 "<literal>APT::Cache::Installed</literal>."
2390 "<literal>depends</literal> や <literal>rdepends</literal> の出力を、現在イン"
2391 "ストールされているパッケージに限定します。設定項目: <literal>APT::Cache::"
2392 "Installed</literal>"
2394 #. type: Content of: <refentry><refsect1><para>
2395 #: apt-cache.8.xml:353
2396 msgid "&apt-conf;, &sources-list;, &apt-get;"
2397 msgstr "&apt-conf;, &sources-list;, &apt-get;"
2399 #. type: Content of: <refentry><refsect1><para>
2400 #: apt-cache.8.xml:358
2402 "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
2405 "<command>apt-cache</command> は正常終了時に 0 を返します。エラー時には十進の "
2408 #. type: Content of: <refentry><refnamediv><refpurpose>
2410 msgid "APT key management utility"
2411 msgstr "APT キー管理ユーティリティ"
2413 #. type: Content of: <refentry><refsect1><para>
2416 "<command>apt-key</command> is used to manage the list of keys used by apt to "
2417 "authenticate packages. Packages which have been authenticated using these "
2418 "keys will be considered trusted."
2420 "<command>apt-key</command> は、apt が パッケージを認証するのに使用するキーの"
2421 "一覧を管理するのに使用します。このキーで認証されたパッケージは、信頼するに足"
2424 #. type: Content of: <refentry><refsect1><title>
2429 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2432 "Add a new key to the list of trusted keys. The key is read from the "
2433 "filename given with the parameter &synopsis-param-filename; or if the "
2434 "filename is <literal>-</literal> from standard input."
2436 "信頼キーのリストに新しいキーを追加します。このキーを &synopsis-param-"
2437 "filename; パラメータに与えたファイル名から読み込みますが、ファイル名を "
2438 "<literal>-</literal> とすると、標準入力から読み込みます。"
2440 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2442 msgid "Remove a key from the list of trusted keys."
2443 msgstr "信頼キー一覧からキーを削除します。"
2445 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2447 msgid "Output the key &synopsis-param-keyid; to standard output."
2448 msgstr "キー &synopsis-param-keyid; を標準出力に出力します。"
2450 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2452 msgid "Output all trusted keys to standard output."
2453 msgstr "信頼するキーをすべて標準出力に出力します。"
2455 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2457 msgid "List trusted keys."
2458 msgstr "信頼キーを一覧表示します。"
2460 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2461 #: apt-key.8.xml:109
2462 msgid "List fingerprints of trusted keys."
2463 msgstr "信頼キーのフィンガープリントを一覧表示します。"
2465 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2466 #: apt-key.8.xml:120
2468 "Pass advanced options to gpg. With adv --recv-key you can download the "
2471 "gpg に上級オプションを渡します。adv --recv-key とすると、公開鍵をダウンロード"
2474 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2475 #: apt-key.8.xml:132
2477 "Update the local keyring with the archive keyring and remove from the local "
2478 "keyring the archive keys which are no longer valid. The archive keyring is "
2479 "shipped in the <literal>archive-keyring</literal> package of your "
2480 "distribution, e.g. the &keyring-package; package in &keyring-distro;."
2482 "ローカルキーリングをアーカイブキーリングで更新し、もう有効でなくなったアーカ"
2483 "イブキーをローカルキーリングから削除します。アーカイブキーリングは、使用中の"
2484 "ディストリビューションにある <literal>archive-keyring</literal> パッケージ "
2485 "(例: &keyring-distro; では &keyring-package; パッケージ) で提供されています。"
2487 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2488 #: apt-key.8.xml:146
2490 "Perform an update working similarly to the <command>update</command> command "
2491 "above, but get the archive keyring from a URI instead and validate it "
2492 "against a master key. This requires an installed &wget; and an APT build "
2493 "configured to have a server to fetch from and a master keyring to validate. "
2494 "APT in Debian does not support this command, relying on <command>update</"
2495 "command> instead, but Ubuntu's APT does."
2497 "上記の <command>update</command> コマンドと同様に更新しますが、アーカイブキー"
2498 "リングを URI から取得し、マスターキーを用いて検証します。これには &wget; のイ"
2499 "ンストールと、 APT のビルドに取得するサーバと検証するマスターキーリングが設定"
2500 "されていることが必要です。Debian での APT はこのコマンドをサポートしていませ"
2501 "ん。代わりに <command>update</command> を使用してください。Ubuntu の APT では"
2504 #. type: Content of: <refentry><refsect1><title>
2505 #: apt-key.8.xml:162 apt-cdrom.8.xml:82
2509 #. type: Content of: <refentry><refsect1><para>
2510 #: apt-key.8.xml:163
2512 "Note that options need to be defined before the commands described in the "
2515 "前節で説明したコマンドの前に、このオプションを定義する必要があることに注意し"
2518 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2519 #: apt-key.8.xml:166
2521 "With this option it is possible to specify a particular keyring file the "
2522 "command should operate on. The default is that a command is executed on the "
2523 "<filename>trusted.gpg</filename> file as well as on all parts in the "
2524 "<filename>trusted.gpg.d</filename> directory, though <filename>trusted.gpg</"
2525 "filename> is the primary keyring which means that e.g. new keys are added to "
2528 "このオプションでは、コマンドが操作するべき特定のキーリングファイルを指定でき"
2529 "ます。デフォルトでは、<filename>trusted.gpg</filename> と <filename>trusted."
2530 "gpg.d</filename> ディレクトリにあるすべてのファイルを用いて、コマンドが動作し"
2531 "ます。とはいえ、<filename>trusted.gpg</filename> がプライマリキーリングになり"
2532 "ます。つまり新しいキーはこのファイルに追加されます。"
2534 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2535 #: apt-key.8.xml:181
2536 msgid "<filename>/etc/apt/trustdb.gpg</filename>"
2537 msgstr "<filename>/etc/apt/trustdb.gpg</filename>"
2539 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2540 #: apt-key.8.xml:182
2541 msgid "Local trust database of archive keys."
2542 msgstr "アーカイブキーのローカル信頼データベースです。"
2544 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2545 #: apt-key.8.xml:185
2546 msgid "&keyring-filename;"
2547 msgstr "&keyring-filename;"
2549 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2550 #: apt-key.8.xml:186
2551 msgid "Keyring of &keyring-distro; archive trusted keys."
2552 msgstr "&keyring-distro; アーカイブ信頼キーのキーリングです。"
2554 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2555 #: apt-key.8.xml:189
2556 msgid "&keyring-removed-filename;"
2557 msgstr "&keyring-removed-filename;"
2559 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2560 #: apt-key.8.xml:190
2561 msgid "Keyring of &keyring-distro; archive removed trusted keys."
2562 msgstr "削除された &keyring-distro; アーカイブ信頼キーのキーリングです。"
2564 #. type: Content of: <refentry><refsect1><para>
2565 #: apt-key.8.xml:199
2566 msgid "&apt-get;, &apt-secure;"
2567 msgstr "&apt-get;, &apt-secure;"
2569 #. type: Content of: <refentry><refnamediv><refpurpose>
2570 #: apt-mark.8.xml:35
2571 msgid "mark/unmark a package as being automatically-installed"
2572 msgstr "パッケージが自動的にインストールされたかどうかのマークを変更します。"
2574 #. type: Content of: <refentry><refsect1><para>
2575 #: apt-mark.8.xml:41
2577 "<command>apt-mark</command> will change whether a package has been marked as "
2578 "being automatically installed."
2580 "<command>apt-mark</command> は、パッケージが自動的にインストールされたかどう"
2583 #. type: Content of: <refentry><refsect1><para>
2584 #: apt-mark.8.xml:45
2586 "When you request that a package is installed, and as a result other packages "
2587 "are installed to satisfy its dependencies, the dependencies are marked as "
2588 "being automatically installed. Once these automatically installed packages "
2589 "are no longer depended on by any manually installed packages, they will be "
2590 "removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
2592 "パッケージをインストールすると要求し、その結果、別のパッケージが依存関係を満"
2593 "たすためにインストールされた場合、依存関係に自動的にインストールしたと印を付"
2594 "けます。いったん自動的にインストールされたパッケージは、手動でインストールし"
2595 "たパッケージに依存されなくなると、そのパッケージは、例えば <command>apt-get</"
2596 "command> や <command>aptitude</command> により削除されます。"
2598 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2599 #: apt-mark.8.xml:54
2601 "<literal>auto</literal> is used to mark a package as being automatically "
2602 "installed, which will cause the package to be removed when no more manually "
2603 "installed packages depend on this package."
2605 "<literal>auto</literal> は、パッケージを自動的にインストールしたとしてマーク"
2606 "します。このパッケージに依存する、手動でインストールされたパッケージがなくな"
2609 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2610 #: apt-mark.8.xml:62
2612 "<literal>manual</literal> is used to mark a package as being manually "
2613 "installed, which will prevent the package from being automatically removed "
2614 "if no other packages depend on it."
2616 "<literal>manual</literal> は、パッケージを手動でインストールしたとしてマーク"
2617 "します。このパッケージに依存する他のパッケージがなくなっても、このパッケージ"
2620 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2621 #: apt-mark.8.xml:70
2623 "<literal>hold</literal> is used to mark a package as held back, which will "
2624 "prevent the package from being automatically installed, upgraded or "
2625 "removed. The command is only a wrapper around <command>dpkg --set-"
2626 "selections</command> and the state is therefore maintained by &dpkg; and not "
2627 "affected by the <option>--file</option> option."
2629 "<literal>hold</literal> は、パッケージが自動的にインストール・アップグレー"
2630 "ド・削除が行われないよう、パッケージに保留マークをつけるのに使用します。この"
2631 "コマンドは <command>dpkg --set-selections</command> のラッパーに過ぎず、その"
2632 "ため状態は &dpkg; により管理され、<option>--file</option> オプションは効果が"
2635 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2636 #: apt-mark.8.xml:80
2638 "<literal>unhold</literal> is used to cancel a previously set hold on a "
2639 "package to allow all actions again."
2641 "<literal>unhold</literal> は、以前保留したパッケージを、また操作できるよう"
2644 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2645 #: apt-mark.8.xml:86
2647 "<literal>showauto</literal> is used to print a list of automatically "
2648 "installed packages with each package on a new line. All automatically "
2649 "installed packages will be listed if no package is given. If packages are "
2650 "given only those which are automatically installed will be shown."
2652 "<literal>showauto</literal> は、自動的にインストールされたパッケージを、パッ"
2653 "ケージごとに改行して表示します。パッケージを与えなければ、自動的にインストー"
2654 "ルされたパッケージをすべて一覧表示します。パッケージを与えた場合は、そのパッ"
2655 "ケージが自動的にインストールされている場合にのみ、表示します。"
2657 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2658 #: apt-mark.8.xml:94
2660 "<literal>showmanual</literal> can be used in the same way as "
2661 "<literal>showauto</literal> except that it will print a list of manually "
2662 "installed packages instead."
2664 "<literal>showmanual</literal> は <literal>showauto</literal> と同様に使用でき"
2665 "ますが、手動でインストールしたパッケージの一覧を表示します。"
2667 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2668 #: apt-mark.8.xml:101
2670 "<literal>showhold</literal> is used to print a list of packages on hold in "
2671 "the same way as for the other show commands."
2673 "<literal>showhold</literal> は、他の show コマンドと同様に、保留されている"
2676 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2677 #: apt-mark.8.xml:117
2679 "Read/Write package stats from the filename given with the parameter "
2680 "&synopsis-param-filename; instead of from the default location, which is "
2681 "<filename>extended_status</filename> in the directory defined by the "
2682 "Configuration Item: <literal>Dir::State</literal>."
2684 "デフォルトの場所 (設定項目: <literal>Dir::State</literal> で定義したディレク"
2685 "トリの <filename>extended_status</filename>) ではなく、パラメータ &synopsis-"
2686 "param-filename; からパッケージの状態を読み書きします。"
2688 #. type: Content of: <refentry><refsect1><para>
2689 #: apt-mark.8.xml:138
2691 "<command>apt-mark</command> returns zero on normal operation, non-zero on "
2694 "<command>apt-mark</command> は正常終了時に 0 を返します。エラー時には 0 以外"
2697 #. type: Content of: <refentry><refnamediv><refpurpose>
2698 #: apt-secure.8.xml:49
2699 msgid "Archive authentication support for APT"
2700 msgstr "APT アーカイブ認証サポート"
2702 #. type: Content of: <refentry><refsect1><para>
2703 #: apt-secure.8.xml:54
2705 "Starting with version 0.6, <command>apt</command> contains code that does "
2706 "signature checking of the Release file for all archives. This ensures that "
2707 "packages in the archive can't be modified by people who have no access to "
2708 "the Release file signing key."
2710 "バージョン 0.6 より、<command>apt</command> 全アーカイブに対する Release ファ"
2711 "イルの署名チェックコードが含まれています。これにより、アーカイブのパッケージ"
2712 "が、Release ファイル署名キーにアクセスできない人によって変更されていないこと"
2715 #. type: Content of: <refentry><refsect1><para>
2716 #: apt-secure.8.xml:62
2718 "If a package comes from a archive without a signature, or with a signature "
2719 "that apt does not have a key for, that package is considered untrusted, and "
2720 "installing it will result in a big warning. <command>apt-get</command> will "
2721 "currently only warn for unsigned archives; future releases might force all "
2722 "sources to be verified before downloading packages from them."
2724 "アーカイブ由来のパッケージが、署名されなかったり、apt が持っていないキーで署"
2725 "名されていた場合、信頼されていないと見なし、インストールの際に重要な警告を表"
2726 "示します。<command>apt-get</command> は、現在未署名のパッケージに対して警告す"
2727 "るだけですが、将来のリリースでは、アーカイブからパッケージをダウンロードする"
2728 "前に、すべてのソースに対して、強制的に検証される可能性があります。"
2730 #. type: Content of: <refentry><refsect1><para>
2731 #: apt-secure.8.xml:71
2733 "The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
2734 "authentication feature."
2736 "&apt-get;, &aptitude;, &synaptic; といったパッケージフロントエンドは、この新"
2739 #. type: Content of: <refentry><refsect1><title>
2740 #: apt-secure.8.xml:76
2741 msgid "Trusted archives"
2744 #. type: Content of: <refentry><refsect1><para>
2745 #: apt-secure.8.xml:79
2747 "The chain of trust from an apt archive to the end user is made up of several "
2748 "steps. <command>apt-secure</command> is the last step in this chain; "
2749 "trusting an archive does not mean that you trust its packages not to contain "
2750 "malicious code, but means that you trust the archive maintainer. It's the "
2751 "archive maintainer's responsibility to ensure that the archive's integrity "
2754 "apt アーカイブからエンドユーザまでの信頼の輪は、いくつかのステップで構成され"
2755 "ています。<command>apt-secure</command> は、この輪の最後のステップで、「アー"
2756 "カイブを信頼する」ということは、パッケージに悪意のあるコードが含まれていない"
2757 "ことを信頼するということではなく、アーカイブメンテナを信頼するということを意"
2758 "味します。これは、アーカイブの完全性が保たれていることを保証するのは、アーカ"
2759 "イブメンテナの責任だということです。"
2761 #. type: Content of: <refentry><refsect1><para>
2762 #: apt-secure.8.xml:87
2764 "apt-secure does not review signatures at a package level. If you require "
2765 "tools to do this you should look at <command>debsig-verify</command> and "
2766 "<command>debsign</command> (provided in the debsig-verify and devscripts "
2767 "packages respectively)."
2769 "apt-secure はパッケージレベルの署名検証は行いません。そのようなツールが必要な"
2770 "場合は、<command>debsig-verify</command> や <command>debsign</command> "
2771 "(debsig-verify パッケージと devscripts パッケージでそれぞれ提供されています) "
2774 #. type: Content of: <refentry><refsect1><para>
2775 #: apt-secure.8.xml:94
2777 "The chain of trust in Debian starts when a maintainer uploads a new package "
2778 "or a new version of a package to the Debian archive. In order to become "
2779 "effective, this upload needs to be signed by a key contained in the Debian "
2780 "Maintainers keyring (available in the debian-keyring package). Maintainers' "
2781 "keys are signed by other maintainers following pre-established procedures to "
2782 "ensure the identity of the key holder."
2784 "Debian における信頼の輪は、新しいパッケージやパッケージの新バージョンを、メン"
2785 "テナが Debian アーカイブにアップロードすることから始まります。これが有効にな"
2786 "るには、アップロードの際に、Debian メンテナキーリング (debian-keyring パッ"
2787 "ケージに収録) にあるメンテナのキーで署名する必要があります。メンテナのキー"
2788 "は、キーの所有者の ID を確保するため、事前に確立した手続きの後で、他のメンテ"
2791 #. type: Content of: <refentry><refsect1><para>
2792 #: apt-secure.8.xml:104
2794 "Once the uploaded package is verified and included in the archive, the "
2795 "maintainer signature is stripped off, and checksums of the package are "
2796 "computed and put in the Packages file. The checksums of all of the Packages "
2797 "files are then computed and put into the Release file. The Release file is "
2798 "then signed by the archive key for this &keyring-distro; release, and "
2799 "distributed alongside the packages and the Packages files on &keyring-"
2800 "distro; mirrors. The keys are in the &keyring-distro; archive keyring "
2801 "available in the &keyring-package; package."
2803 "アップロードされたパッケージが検証されてアーカイブに格納されると、メンテナの"
2804 "署名を取り外し、パッケージのチェックサムを計算して、Packages ファイルに格納し"
2805 "ます。その後、全パッケージファイルのチェックサムを計算して、Release ファイル"
2806 "に格納します。Release ファイルは、その &keyring-distro; リリースのアーカイブ"
2807 "キーで署名され、&keyring-distro; ミラーサイトでパッケージや Packages ファイル"
2808 "とともに配布されます。このキーは、&keyring-package; パッケージに収録されてい"
2809 "る、&keyring-distro; アーカイブキーリングに含まれます。"
2811 #. type: Content of: <refentry><refsect1><para>
2812 #: apt-secure.8.xml:115
2814 "End users can check the signature of the Release file, extract a checksum of "
2815 "a package from it and compare it with the checksum of the package they "
2816 "downloaded by hand - or rely on APT doing this automatically."
2818 "エンドユーザは誰でも、Release ファイルの署名をチェックし、パッケージのチェッ"
2819 "クサムを抽出して、手でダウンロードしたパッケージのチェックサムと比較できま"
2820 "す。また、APT が自動的に行うのに任せることもできます。"
2822 #. type: Content of: <refentry><refsect1><para>
2823 #: apt-secure.8.xml:120
2825 "Notice that this is distinct from checking signatures on a per package "
2826 "basis. It is designed to prevent two possible attacks:"
2828 "以上は、パッケージごとの署名チェックとは違うことに注意してください。以下のよ"
2829 "うに考えられる 2 種類の攻撃を防ぐよう設計されています。"
2831 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2832 #: apt-secure.8.xml:125
2834 "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
2835 "checking, malicious agents can introduce themselves into the package "
2836 "download process and provide malicious software either by controlling a "
2837 "network element (router, switch, etc.) or by redirecting traffic to a rogue "
2838 "server (through ARP or DNS spoofing attacks)."
2840 "<literal>ネットワーク中間者攻撃</literal>。署名をチェックしないと、悪意ある"
2841 "エージェントがパッケージダウンロードプロセスに割り込んだり、ネットワーク構成"
2842 "要素 (ルータ、スイッチなど) の制御や、悪漢サーバへのネットワークトラフィック"
2843 "のリダイレクトなど (ARP スプーフィング攻撃や DNS スプーフィング攻撃) で、悪意"
2844 "あるソフトウェアを掴まされたりします。"
2846 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2847 #: apt-secure.8.xml:133
2849 "<literal>Mirror network compromise</literal>. Without signature checking, a "
2850 "malicious agent can compromise a mirror host and modify the files in it to "
2851 "propagate malicious software to all users downloading packages from that "
2854 "<literal>ミラーネットワーク感染</literal>。署名をチェックしないと、悪意ある"
2855 "エージェントがミラーホストに感染し、このホストからダウンロードしたユーザすべ"
2856 "てに、悪意あるソフトウェアが伝播するようにファイルを変更できます。"
2858 #. type: Content of: <refentry><refsect1><para>
2859 #: apt-secure.8.xml:140
2861 "However, it does not defend against a compromise of the Debian master server "
2862 "itself (which signs the packages) or against a compromise of the key used to "
2863 "sign the Release files. In any case, this mechanism can complement a per-"
2864 "package signature."
2866 "しかしこれは、(パッケージに署名する) Debian マスターサーバ自体の侵害や、"
2867 "Release ファイルに署名するのに使用したキーの漏洩を防げません。いずれにせよ、"
2868 "この機構はパッケージごとの署名を補完することができます。"
2870 #. type: Content of: <refentry><refsect1><title>
2871 #: apt-secure.8.xml:146
2872 msgid "User configuration"
2875 #. type: Content of: <refentry><refsect1><para>
2876 #: apt-secure.8.xml:148
2878 "<command>apt-key</command> is the program that manages the list of keys used "
2879 "by apt. It can be used to add or remove keys, although an installation of "
2880 "this release will automatically contain the default Debian archive signing "
2881 "keys used in the Debian package repositories."
2883 "<command>apt-key</command> は、apt が使用するキーリストを管理するプログラムで"
2884 "す。このリリースのインストールでは、Debian パッケージリポジトリで使用する、デ"
2885 "フォルトの Debian アーカイブ署名キーが自動的に含まれますが、<command>apt-"
2886 "key</command> でキーの追加・削除が行えます。"
2888 #. type: Content of: <refentry><refsect1><para>
2889 #: apt-secure.8.xml:155
2891 "In order to add a new key you need to first download it (you should make "
2892 "sure you are using a trusted communication channel when retrieving it), add "
2893 "it with <command>apt-key</command> and then run <command>apt-get update</"
2894 "command> so that apt can download and verify the <filename>InRelease</"
2895 "filename> or <filename>Release.gpg</filename> files from the archives you "
2898 "新しいキーを追加するためには、まずキーをダウンロードする必要があります (取得"
2899 "する際には、信頼できる通信チャネルを使用するよう、特に留意してください)。取得"
2900 "したキーを、<command>apt-key</command> で追加し、<command>apt-get update</"
2901 "command> を実行してください。以上により、apt は設定済みのアーカイブから、"
2902 "<filename>InRelease</filename> ファイルや <filename>Release.gpg</filename> "
2903 "ファイルをダウンロード・検証できるようになります。"
2905 #. type: Content of: <refentry><refsect1><title>
2906 #: apt-secure.8.xml:164
2907 msgid "Archive configuration"
2910 #. type: Content of: <refentry><refsect1><para>
2911 #: apt-secure.8.xml:166
2913 "If you want to provide archive signatures in an archive under your "
2914 "maintenance you have to:"
2916 "あなたがメンテナンスしているアーカイブで、アーカイブ署名を提供したい場合、以"
2919 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2920 #: apt-secure.8.xml:171
2922 "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
2923 "already. You can do this by running <command>apt-ftparchive release</"
2924 "command> (provided in apt-utils)."
2926 "既に存在しているのでなければ、<emphasis>最上位 Release ファイルを作成してくだ"
2927 "さい</emphasis>。<command>apt-ftparchive release</command> (apt-utils で提"
2930 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2931 #: apt-secure.8.xml:176
2933 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg --"
2934 "clearsign -o InRelease Release</command> and <command>gpg -abs -o Release."
2935 "gpg Release</command>."
2937 "<emphasis>署名</emphasis>します。<command>gpg --clearsign -o InRelease "
2938 "Release</command> や <command>gpg -abs -o Release.gpg Release</command> を実"
2941 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2942 #: apt-secure.8.xml:180
2944 "<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
2945 "know what key they need to import in order to authenticate the files in the "
2948 "<emphasis>キーの指紋を配布</emphasis>します。これにより、アーカイブ内のファイ"
2949 "ル認証に、どのキーをインポートする必要があるかを、ユーザに知らせることになり"
2952 #. type: Content of: <refentry><refsect1><para>
2953 #: apt-secure.8.xml:187
2955 "Whenever the contents of the archive change (new packages are added or "
2956 "removed) the archive maintainer has to follow the first two steps outlined "
2959 "アーカイブの内容に変化がある場合 (新しいパッケージの追加や削除)、アーカイブメ"
2960 "ンテナは前述の最初の 2 ステップに従わなければなりません。"
2962 #. type: Content of: <refentry><refsect1><para>
2963 #: apt-secure.8.xml:195
2965 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
2966 "&debsign;, &debsig-verify;, &gpg;"
2968 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
2969 "&debsign;, &debsig-verify;, &gpg;"
2971 #. type: Content of: <refentry><refsect1><para>
2972 #: apt-secure.8.xml:199
2974 "For more background information you might want to review the <ulink url="
2975 "\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
2976 "Security Infrastructure</ulink> chapter of the Securing Debian Manual "
2977 "(available also in the harden-doc package) and the <ulink url=\"http://www."
2978 "cryptnet.net/fdp/crypto/strong_distro.html\" >Strong Distribution HOWTO</"
2979 "ulink> by V. Alex Brennen."
2981 "詳細な背景情報を検証するのなら、Securing Debian Manual (harden-doc パッケージ"
2982 "にも収録) の <ulink url=\"http://www.debian.org/doc/manuals/securing-debian-"
2983 "howto/ch7\">Debian Security Infrastructure</ulink> 章や、V. Alex Brennen によ"
2984 "る <ulink url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" "
2985 ">Strong Distribution HOWTO</ulink> をご覧ください。"
2987 #. type: Content of: <refentry><refsect1><title>
2988 #: apt-secure.8.xml:212
2989 msgid "Manpage Authors"
2992 #. type: Content of: <refentry><refsect1><para>
2993 #: apt-secure.8.xml:214
2995 "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
2996 "Jones, Colin Walters, Florian Weimer and Michael Vogt."
2998 "このマニュアルページは Javier Fernández-Sanguino Peña, Isaac Jones, Colin "
2999 "Walters, Florian Weimer, Michael Vogt の作業を元にしています。"
3001 #. type: Content of: <refentry><refnamediv><refpurpose>
3002 #: apt-cdrom.8.xml:34
3003 msgid "APT CD-ROM management utility"
3004 msgstr "APT CD-ROM 管理ユーティリティ"
3006 #. type: Content of: <refentry><refsect1><para>
3007 #: apt-cdrom.8.xml:40
3009 "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
3010 "available sources. <command>apt-cdrom</command> takes care of determining "
3011 "the structure of the disc as well as correcting for several possible mis-"
3012 "burns and verifying the index files."
3014 "<command>apt-cdrom</command> は利用可能な取得元として、APT のリストに新しい "
3015 "CD-ROM を追加するのに使用します。<command>apt-cdrom</command> は、ディスクの"
3016 "構造を測定します。また、焼き損じを可能な限り補正し、インデックスファイルの確"
3019 #. type: Content of: <refentry><refsect1><para>
3020 #: apt-cdrom.8.xml:47
3022 "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
3023 "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
3024 "must be inserted and scanned separately to account for possible mis-burns."
3026 "APT システムに手作業で CD を追加するのは難しいため、<command>apt-cdrom</"
3027 "command> が必要になります。その上、複数の CD のディスクを 1 枚づつ、焼き損じ"
3028 "を補正できるか評価しなければなりません。"
3030 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3031 #: apt-cdrom.8.xml:58
3033 "<literal>add</literal> is used to add a new disc to the source list. It will "
3034 "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
3035 "to scan it and copy the index files. If the disc does not have a proper "
3036 "<filename>.disk</filename> directory you will be prompted for a descriptive "
3039 "<literal>add</literal> は、新しいディスクを取得元リストに追加します。CD-ROM "
3040 "デバイスのアンマウントやディスク挿入のプロンプト表示の後に、ディスクのスキャ"
3041 "ンとインデックスファイルのコピーを行います。ディスクに正しい <filename>."
3042 "disk</filename> ディレクトリが存在しない場合、タイトルを入力するよう促しま"
3045 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3046 #: apt-cdrom.8.xml:66
3048 "APT uses a CD-ROM ID to track which disc is currently in the drive and "
3049 "maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
3052 "APT は、現在ドライブにあるディスクのトラックから取得した、CD-ROM ID を使用し"
3053 "ます。またその ID を、<filename>&statedir;/cdroms.list</filename> 内のデータ"
3056 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3057 #: apt-cdrom.8.xml:74
3059 "A debugging tool to report the identity of the current disc as well as the "
3062 "格納されているファイル名と現在のディスクが同一かどうかをレポートする、デバッ"
3065 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3066 #: apt-cdrom.8.xml:87
3069 #| "Mount point; specify the location to mount the CD-ROM. This mount point "
3070 #| "must be listed in <filename>/etc/fstab</filename> and properly "
3071 #| "configured. Configuration Item: <literal>Acquire::cdrom::mount</literal>."
3073 "Do not try to auto-detect the CD-ROM path. Usually combined with the "
3074 "<option>--cdrom</option> option. Configuration Item: <literal>Acquire::"
3075 "cdrom::AutoDetect</literal>."
3077 "マウントポイント - CD-ROM をマウントする場所を指定します。このマウントポイン"
3078 "トは、<filename>/etc/fstab</filename> に正しく設定されている必要があります。"
3079 "設定項目: <literal>Acquire::cdrom::mount</literal>"
3081 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3082 #: apt-cdrom.8.xml:95
3084 "Mount point; specify the location to mount the CD-ROM. This mount point must "
3085 "be listed in <filename>/etc/fstab</filename> and properly configured. "
3086 "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
3088 "マウントポイント - CD-ROM をマウントする場所を指定します。このマウントポイン"
3089 "トは、<filename>/etc/fstab</filename> に正しく設定されている必要があります。"
3090 "設定項目: <literal>Acquire::cdrom::mount</literal>"
3092 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3093 #: apt-cdrom.8.xml:104
3095 "Rename a disc; change the label of a disc or override the disc's given "
3096 "label. This option will cause <command>apt-cdrom</command> to prompt for a "
3097 "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
3099 "ディスクの名前変更 - ディスクのラベル変更や、指定したラベルでのラベルの上書き"
3100 "を行います。このオプションにより、<command>apt-cdrom</command> が新しいラベル"
3101 "を入力するよう促します。設定項目: <literal>APT::CDROM::Rename</literal>"
3103 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3104 #: apt-cdrom.8.xml:113
3106 "No mounting; prevent <command>apt-cdrom</command> from mounting and "
3107 "unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
3108 "NoMount</literal>."
3110 "マウントなし - <command>apt-cdrom</command> が、マウントポイントにマウント・"
3111 "アンマウントしないようにします。設定項目: <literal>APT::CDROM::NoMount</"
3114 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3115 #: apt-cdrom.8.xml:121
3117 "Fast Copy; Assume the package files are valid and do not check every "
3118 "package. This option should be used only if <command>apt-cdrom</command> has "
3119 "been run on this disc before and did not detect any errors. Configuration "
3120 "Item: <literal>APT::CDROM::Fast</literal>."
3122 "高速コピー - パッケージファイルが妥当であると仮定し、チェックを全く行いませ"
3123 "ん。このオプションは、このディスクで以前 <command>apt-cdrom</command> を行っ"
3124 "ており、エラーを検出しなかった場合のみ使用すべきです。設定項目: "
3125 "<literal>APT::CDROM::Fast</literal>"
3127 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3128 #: apt-cdrom.8.xml:131
3130 "Thorough Package Scan; This option may be needed with some old Debian "
3131 "1.1/1.2 discs that have Package files in strange places. It takes much "
3132 "longer to scan the CD but will pick them all up."
3134 "完全パッケージスキャン - 古い Debian 1.1/1.2 のディスクは、パッケージファイル"
3135 "が違う場所にあるため、このオプションを使う必要があるかもしれません。CD をス"
3136 "キャンするのに非常に時間がかかりますが、全パッケージファイルを抽出することが"
3139 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3140 #: apt-cdrom.8.xml:142
3142 "No Changes; Do not change the &sources-list; file and do not write index "
3143 "files. Everything is still checked however. Configuration Item: "
3144 "<literal>APT::CDROM::NoAct</literal>."
3146 "変更なし - &sources-list; ファイルの変更や、インデックスファイルの書き込みを"
3147 "行いません。とはいえ、すべてのチェックは行います。設定項目: <literal>APT::"
3148 "CDROM::NoAct</literal>"
3150 #. type: Content of: <refentry><refsect1><para>
3151 #: apt-cdrom.8.xml:155
3152 msgid "&apt-conf;, &apt-get;, &sources-list;"
3153 msgstr "&apt-conf;, &apt-get;, &sources-list;"
3155 #. type: Content of: <refentry><refsect1><para>
3156 #: apt-cdrom.8.xml:160
3158 "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
3161 "<command>apt-cdrom</command> は正常終了時に 0 を返します。エラー時には十進の "
3164 #. type: Content of: <refentry><refnamediv><refpurpose>
3165 #: apt-config.8.xml:35
3166 msgid "APT Configuration Query program"
3167 msgstr "APT 設定取得プログラム"
3169 #. type: Content of: <refentry><refsect1><para>
3170 #: apt-config.8.xml:41
3172 "<command>apt-config</command> is an internal program used by various "
3173 "portions of the APT suite to provide consistent configurability. It accesses "
3174 "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
3175 "manner that is easy to use for scripted applications."
3177 "<command>apt-config</command> は、APT スイートの様々な所で一貫した設定を行う"
3178 "ために使用する、内部プログラムです。スクリプトアプリケーションで使いやすい方"
3179 "法で、メイン設定ファイル <filename>/etc/apt/apt.conf</filename> にアクセスし"
3182 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3183 #: apt-config.8.xml:53
3185 "shell is used to access the configuration information from a shell script. "
3186 "It is given pairs of arguments, the first being a shell variable and the "
3187 "second the configuration value to query. As output it lists shell assignment "
3188 "commands for each value present. In a shell script it should be used as "
3191 "shell は、シェルスクリプトから設定情報にアクセスするのに使用します。引数とし"
3192 "て、まずシェル変数、次に取得したい設定値をペアで与えます。出力として、現在の"
3193 "値ごとのシェル代入コマンドを列挙します。シェルスクリプト内では、以下のように"
3196 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
3197 #: apt-config.8.xml:61
3201 "RES=`apt-config shell OPTS MyApp::options`\n"
3205 "RES=`apt-config shell OPTS MyApp::options`\n"
3208 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3209 #: apt-config.8.xml:66
3211 "This will set the shell environment variable $OPTS to the value of MyApp::"
3212 "options with a default of <option>-f</option>."
3214 "これは、MyApp::options の値をシェル環境変数 $OPTS にセットします。デフォルト"
3215 "値は <option>-f</option> となります。"
3217 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3218 #: apt-config.8.xml:70
3220 "The configuration item may be postfixed with a /[fdbi]. f returns file "
3221 "names, d returns directories, b returns true or false and i returns an "
3222 "integer. Each of the returns is normalized and verified internally."
3224 "設定項目は /[fdbi] を後ろに付けられます。f はファイル名を、d はディレクトリ"
3225 "を、b は true か false を、i は整数を返します。返り値ごとに内部で正規化と検証"
3228 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3229 #: apt-config.8.xml:79
3230 msgid "Just show the contents of the configuration space."
3231 msgstr "設定箇所の内容を表示するだけです。"
3233 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3234 #: apt-config.8.xml:92
3236 "Include options which have an empty value. This is the default, so use --no-"
3237 "empty to remove them from the output."
3239 "値が空のオプションを含めます。これはデフォルトですので、出力から取り除くには "
3240 "--no-empty としてください。"
3242 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
3243 #: apt-config.8.xml:97
3244 msgid "%f "%v";%n"
3245 msgstr "%f "%v";%n"
3247 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3248 #: apt-config.8.xml:98
3250 "Defines the output of each config option. %t will be replaced with "
3251 "its individual name, %f with its full hierarchical name and %v "
3252 "with its value. Use uppercase letters and special characters in the value "
3253 "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
3254 "as defined by RFC822. Additionally %n will be replaced by a newline, "
3255 "and %N by a tab. A % can be printed by using %%."
3257 "各設定オプションの出力を定義します。%t はオプション名に、%f は"
3258 "完全オプション名に、%v はオプションの値に置換されます。大文字や特殊文"
3259 "字を使用する値は、安全を保証するために、RFC822 で定義されている quoted-"
3260 "string でエンコードされることになります。さらに、%n は改行に、%"
3261 "N はタブ文字になります。% を出力するには、%% としてくだ"
3264 #. type: Content of: <refentry><refsect1><para>
3265 #: apt-config.8.xml:112 apt-extracttemplates.1.xml:73 apt-sortpkgs.1.xml:66
3266 #: apt-ftparchive.1.xml:610
3270 #. type: Content of: <refentry><refsect1><para>
3271 #: apt-config.8.xml:117
3273 "<command>apt-config</command> returns zero on normal operation, decimal 100 "
3276 "<command>apt-config</command> は正常終了時に 0 を返します。エラー時には十進"
3279 #. type: Content of: <refentry><refentryinfo><author><contrib>
3280 #: apt.conf.5.xml:22
3281 msgid "Initial documentation of Debug::*."
3282 msgstr "Debug::* に関する最初のドキュメント"
3284 #. type: Content of: <refentry><refentryinfo><author><email>
3285 #: apt.conf.5.xml:23
3286 msgid "dburrows@debian.org"
3287 msgstr "dburrows@debian.org"
3289 #. type: Content of: <refentry><refmeta><manvolnum>
3290 #: apt.conf.5.xml:33 apt_preferences.5.xml:27 sources.list.5.xml:28
3294 #. type: Content of: <refentry><refnamediv><refpurpose>
3295 #: apt.conf.5.xml:40
3296 msgid "Configuration file for APT"
3297 msgstr "APT の設定ファイル"
3299 #. type: Content of: <refentry><refsect1><para>
3300 #: apt.conf.5.xml:44
3302 "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
3303 "by all the tools in the APT suite of tools, though it is by no means the "
3304 "only place options can be set. The suite also shares a common command line "
3305 "parser to provide a uniform environment."
3307 "<filename>/etc/apt/apt.conf</filename> は、APT スイートの全ツールで使用するメ"
3308 "イン設定ファイルです。しかし、間違いなくオプションを設定しておくだけの場所な"
3309 "どではありません。そのため、APT スイートは統一環境を提供するため、共通のコマ"
3312 #. type: Content of: <refentry><refsect1><orderedlist><para>
3313 #: apt.conf.5.xml:50
3315 "When an APT tool starts up it will read the configuration files in the "
3317 msgstr "APT ツールの起動時に、設定ファイルを以下の順番で読み込みます。"
3319 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3320 #: apt.conf.5.xml:52
3322 "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
3324 msgstr "<envar>APT_CONFIG</envar> 環境変数で指定したファイル (存在する場合)"
3326 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3327 #: apt.conf.5.xml:54
3329 "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
3330 "order which have either no or \"<literal>conf</literal>\" as filename "
3331 "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
3332 "and period (.) characters. Otherwise APT will print a notice that it has "
3333 "ignored a file, unless that file matches a pattern in the <literal>Dir::"
3334 "Ignore-Files-Silently</literal> configuration list - in which case it will "
3335 "be silently ignored."
3337 "<literal>Dir::Etc::Parts</literal> にあるすべてのファイルを英数字の昇順になり"
3338 "ます。ファイル名には拡張子がないか、\"<literal>conf</literal>\" となってお"
3339 "り、英数字、ハイフン (-)、アンダースコア (_)、ピリオド (.) で構成されていま"
3340 "す。そうでなければ、<literal>Dir::Ignore-Files-Silently</literal> 設定リスト"
3341 "のパターンに一致するもの以外に対して、ファイルを無視するという注意を APT が出"
3342 "力します。一致する場合は黙って無視します。"
3344 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3345 #: apt.conf.5.xml:61
3347 "the main configuration file specified by <literal>Dir::Etc::main</literal>"
3348 msgstr "<literal>Dir::Etc::Main</literal> で指定される、メイン設定ファイル"
3350 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
3351 #: apt.conf.5.xml:63
3353 "the command line options are applied to override the configuration "
3354 "directives or to load even more configuration files."
3356 "コマンドラインオプションにより、設定ディレクティブの上書きや設定ファイルの追"
3359 #. type: Content of: <refentry><refsect1><title>
3360 #: apt.conf.5.xml:67
3364 #. type: Content of: <refentry><refsect1><para>
3365 #: apt.conf.5.xml:68
3367 "The configuration file is organized in a tree with options organized into "
3368 "functional groups. Option specification is given with a double colon "
3369 "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
3370 "within the APT tool group, for the Get tool. Options do not inherit from "
3371 "their parent groups."
3373 "設定ファイルは、機能グループごとに系統立てられたオプションを木構造で表しま"
3374 "す。オプションの指定は、2 つのコロンで区切ります。例えば <literal>APT::Get::"
3375 "Assume-Yes</literal> は、APT ツールグループの Get ツール用オプションです。オ"
3376 "プションは、親グループからは継承しません。"
3378 #. type: Content of: <refentry><refsect1><para>
3379 #: apt.conf.5.xml:74
3381 "Syntactically the configuration language is modeled after what the ISC tools "
3382 "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
3383 "treated as comments (ignored), as well as all text between <literal>/*</"
3384 "literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
3385 "of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The "
3386 "quotation marks and trailing semicolon are required. The value must be on "
3387 "one line, and there is no kind of string concatenation. Values must not "
3388 "include backslashes or extra quotation marks. Option names are made up of "
3389 "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
3390 "opened with curly braces, like this:"
3392 "設定言語の構文は、bind や dhcp のような ISC ツールをモデルにしています。"
3393 "<literal>//</literal> で始まる行はコメントとして扱われます (無視)。同様に C/C"
3394 "++ のコメントのような <literal>/*</literal> と <literal>*/</literal> の間もコ"
3395 "メントとして扱います。いずれの行も、<literal>APT::Get::Assume-Yes \"true\";</"
3396 "literal> のような形式です。引用符と行末のセミコロンは必須です。値は1行でなけ"
3397 "ればならず、文字列結合はありません。値の中にバックスラッシュや余計な引用符が"
3398 "あってはいけません。オプション名は、英数字と \"/-:._+\" が使用できます。以下"
3399 "のように波カッコを使うと、新しいスコープを開くことができます。"
3401 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
3402 #: apt.conf.5.xml:87
3407 " Assume-Yes \"true\";\n"
3408 " Fix-Broken \"true\";\n"
3414 " Assume-Yes \"true\";\n"
3415 " Fix-Broken \"true\";\n"
3419 #. type: Content of: <refentry><refsect1><para>
3420 #: apt.conf.5.xml:95
3422 "with newlines placed to make it more readable. Lists can be created by "
3423 "opening a scope and including a single string enclosed in quotes followed by "
3424 "a semicolon. Multiple entries can be included, separated by a semicolon."
3426 "また適宜改行することで、より読みやすくなります。リストは、開いたスコープ、"
3427 "クォートで囲まれた 1 単語、そしてセミコロンと続けることで作成できます。セミコ"
3428 "ロンで区切って、複数のエントリを表せます。"
3430 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
3431 #: apt.conf.5.xml:100
3433 msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
3434 msgstr "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
3436 #. type: Content of: <refentry><refsect1><para>
3437 #: apt.conf.5.xml:103
3439 "In general the sample configuration file &configureindex; is a good guide "
3440 "for how it should look."
3442 "&configureindex; は一般的な設定ファイルのサンプルです。どのように設定するか参"
3445 #. type: Content of: <refentry><refsect1><para>
3446 #: apt.conf.5.xml:106
3448 "Case is not significant in names of configuration items, so in the previous "
3449 "example you could use <literal>dpkg::pre-install-pkgs</literal>."
3451 "設定項目の名前にある文字の大小は、重要ではありません。そのため、前述の例を "
3452 "<literal>dpkg::pre-install-pkgs</literal> とすることもできます。"
3454 #. type: Content of: <refentry><refsect1><para>
3455 #: apt.conf.5.xml:109
3457 "Names for the configuration items are optional if a list is defined as can "
3458 "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
3459 "you don't specify a name a new entry will simply add a new option to the "
3460 "list. If you specify a name you can override the option in the same way as "
3461 "any other option by reassigning a new value to the option."
3463 "前述した <literal>DPkg::Pre-Install-Pkgs</literal> の例で見られるように、リス"
3464 "トを定義した場合、設定項目名はオプションになります。名前を指定しない場合、新"
3465 "しいエントリは、単純に新しいオプションをリストに追加します。名前を指定して同"
3466 "様にすると、あらゆる他の選択肢をオプションに再割り当てし、オプションを上書き"
3469 #. type: Content of: <refentry><refsect1><para>
3470 #: apt.conf.5.xml:114
3472 "Two special commands are defined: <literal>#include</literal> (which is "
3473 "deprecated and not supported by alternative implementations) and "
3474 "<literal>#clear</literal>. <literal>#include</literal> will include the "
3475 "given file, unless the filename ends in a slash, in which case the whole "
3476 "directory is included. <literal>#clear</literal> is used to erase a part of "
3477 "the configuration tree. The specified element and all its descendants are "
3478 "erased. (Note that these lines also need to end with a semicolon.)"
3480 "<literal>#include</literal> (これは廃止予定でサポートしない他の実装もありま"
3481 "す) と <literal>#clear</literal> の 2 つの特別なコマンドがあります。"
3482 "<literal>#include</literal> は指定したファイルを取り込みます。ファイル名がス"
3483 "ラッシュで終わった場合には、そのディレクトリをすべて取り込みます。"
3484 "<literal>#clear</literal> は、設定ツリーの一部を削除するのに使用します。指定"
3485 "した要素と、それ以下の要素を削除します (これらの行も、セミコロンで終わる必要"
3488 #. type: Content of: <refentry><refsect1><para>
3489 #: apt.conf.5.xml:124
3491 "The <literal>#clear</literal> command is the only way to delete a list or a "
3492 "complete scope. Reopening a scope (or using the syntax described below with "
3493 "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
3494 "previously written entries. Options can only be overridden by addressing a "
3495 "new value to them - lists and scopes can't be overridden, only cleared."
3497 "<literal>#clear</literal> コマンドは、リストや完全なスコープを削除する唯一の"
3498 "方法です。スコープの再オープン (や後述する <literal>::</literal> スタイル)"
3499 "は、それまで書いたエントリを<emphasis>上書きしません</emphasis>。オプションで"
3500 "は新しい値を与えて上書きするしかありませんが、リストやスコープは上書きできま"
3503 #. type: Content of: <refentry><refsect1><para>
3504 #: apt.conf.5.xml:132
3506 "All of the APT tools take an -o option which allows an arbitrary "
3507 "configuration directive to be specified on the command line. The syntax is a "
3508 "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
3509 "followed by an equals sign then the new value of the option. To append a new "
3510 "element to a list, add a trailing <literal>::</literal> to the name of the "
3511 "list. (As you might suspect, the scope syntax can't be used on the command "
3514 "すべての APT ツールでは、コマンドラインで任意の設定ディレクティブを指定でき"
3515 "る -o オプションが使用できます。構文は、完全なオプション名 (例: "
3516 "<literal>APT::Get::Assume-Yes</literal>) に続き等号、その後オプションの新しい"
3517 "値となります。リスト名に続き <literal>::</literal> を加えることで、リストを追"
3518 "加できます (疑問に思われたように、スコープ構文はコマンドラインで使用できませ"
3521 #. type: Content of: <refentry><refsect1><para>
3522 #: apt.conf.5.xml:140
3524 "Note that appending items to a list using <literal>::</literal> only works "
3525 "for one item per line, and that you should not use it in combination with "
3526 "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
3527 "syntaxes together will trigger a bug which some users unfortunately depend "
3528 "on: an option with the unusual name \"<literal>::</literal>\" which acts "
3529 "like every other option with a name. This introduces many problems; for one "
3530 "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
3531 "syntax in the hope of appending to a list will achieve the opposite, as only "
3532 "the last assignment for this option \"<literal>::</literal>\" will be used. "
3533 "Future versions of APT will raise errors and stop working if they encounter "
3534 "this misuse, so please correct such statements now while APT doesn't "
3535 "explicitly complain about them."
3537 "<literal>::</literal> を用いたリストへの項目追加は、1 行で 1 項目の場合にのみ"
3538 "使用でき、スコープ構文と組み合わせるべきではないことに注意してください (ス"
3539 "コープ構文には暗黙で <literal>::</literal> が追加されます)。両方の構文を同時"
3540 "に使用すると、「他のオプションと同様に名前と共に動作する、通常ではありえない"
3541 "名前 \"<literal>::</literal>\" のオプションである」といった、(残念なことに) "
3542 "複数のユーザに渡るバグの引き金になります。たくさんの問題の中には、リストに追"
3543 "加しようと<emphasis>誤った</emphasis>構文で複数行書いたユーザが、このオプショ"
3544 "ン \"<literal>::</literal>\" を最後に割り当てようとして、正反対の結果を得ると"
3545 "いうことも含まれます。APT の次期バージョンでは、この誤用を検出すると、動作を"
3546 "停止しエラーを上げるようになります。そのため、APT がこの件で明白にエラーを吐"
3547 "かない限りは、自分でそのような構文を修正してください。"
3549 #. type: Content of: <refentry><refsect1><title>
3550 #: apt.conf.5.xml:155
3551 msgid "The APT Group"
3554 #. type: Content of: <refentry><refsect1><para>
3555 #: apt.conf.5.xml:156
3557 "This group of options controls general APT behavior as well as holding the "
3558 "options for all of the tools."
3560 "このオプショングループは、ツール全体に影響のある、一般的な APT の振る舞いを制"
3563 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3564 #: apt.conf.5.xml:161
3566 "System Architecture; sets the architecture to use when fetching files and "
3567 "parsing package lists. The internal default is the architecture apt was "
3570 "システムアーキテクチャ - ファイルを取得したり、パッケージリストを解析するとき"
3571 "に使用するアーキテクチャをセットします。内部でのデフォルトは、apt をコンパイ"
3574 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3575 #: apt.conf.5.xml:168
3577 "All Architectures the system supports. For instance, CPUs implementing the "
3578 "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
3579 "instruction set are also able to execute binaries compiled for the "
3580 "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
3581 "is used when fetching files and parsing package lists. The initial default "
3582 "is always the system's native architecture (<literal>APT::Architecture</"
3583 "literal>), and foreign architectures are added to the default list when they "
3584 "are registered via <command>dpkg --add-architecture</command>."
3586 "システムがサポートする、すべてのアーキテクチャです。例えば、<literal>amd64</"
3587 "literal> (<literal>x86-64</literal> とも呼ばれます) 命令セットを実装した CPU "
3588 "は、<literal>i386</literal> (<literal>x86</literal>) 命令セット用にコンパイル"
3589 "されたバイナリも実行できます。このリストは、ファイルを取得しパッケージリスト"
3590 "を解析する際に利用されます。初期のデフォルト値は、常にシステムのネイティブ"
3591 "アーキテクチャ (<literal>APT::Architecture</literal>) です。<command>dpkg --"
3592 "add-architecture</command> を用いて、外部アーキテクチャをデフォルトリストに追"
3595 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3596 #: apt.conf.5.xml:182
3598 "List of all build profiles enabled for build-dependency resolution, without "
3599 "the \"<literal>profile.</literal>\" namespace prefix. By default this list "
3600 "is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by &dpkg-"
3601 "buildpackage; overrides the list notation."
3604 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3605 #: apt.conf.5.xml:190
3607 "Default release to install packages from if more than one version is "
3608 "available. Contains release name, codename or release version. Examples: "
3609 "'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', "
3610 "'4.0', '5.0*'. See also &apt-preferences;."
3612 "ひとつ以上のバージョンがある場合に、パッケージをインストールを行うデフォルト"
3613 "リリースです。リリース名や、コード名、リリースバージョンがあります。例えば "
3614 "'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', "
3615 "'4.0', '5.0*' となります。&apt-preferences; も参照してください。"
3617 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3618 #: apt.conf.5.xml:196
3620 "Ignore held packages; this global option causes the problem resolver to "
3621 "ignore held packages in its decision making."
3623 "保留パッケージの無視 - このグローバルオプションは、問題解決器に保留と指定した"
3626 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3627 #: apt.conf.5.xml:201
3629 "Defaults to on. When turned on the autoclean feature will remove any "
3630 "packages which can no longer be downloaded from the cache. If turned off "
3631 "then packages that are locally installed are also excluded from cleaning - "
3632 "but note that APT provides no direct means to reinstall them."
3634 "デフォルトで有効です。on の時、autoclean 機能は、ダウンロードできなくなった"
3635 "パッケージを、すべてキャッシュから削除します。off の場合、ローカルにインス"
3636 "トールされているパッケージは、削除対象から外します。しかし、 APT はキャッシュ"
3637 "から削除したパッケージの再インストール方法を、直接提供するわけではないことに"
3640 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3641 #: apt.conf.5.xml:209
3643 "Defaults to on, which will cause APT to install essential and important "
3644 "packages as soon as possible in an install/upgrade operation, in order to "
3645 "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
3646 "treats an important package in the same way as an extra package: between the "
3647 "unpacking of the package A and its configuration there can be many other "
3648 "unpack or configuration calls for other unrelated packages B, C etc. If "
3649 "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
3650 "scripts generate an error), this results in a system state in which package "
3651 "A is unpacked but unconfigured - so any package depending on A is now no "
3652 "longer guaranteed to work, as its dependency on A is no longer satisfied."
3654 "デフォルトは on です。&dpkg; の呼び出し失敗の影響を最小限にするため、インス"
3655 "トール・更新操作の中で、APT は不可欠パッケージや重要パッケージを、可能な限り"
3656 "早くインストールするようになります。このオプションを無効にすると、以下のよう"
3657 "に、重要パッケージを特別パッケージと同様に扱うようになります。パッケージ A の"
3658 "展開とその設定の間に、パッケージ B や C などの関係ない、たくさんの他のパッ"
3659 "ケージの展開と設定が行えます。&dpkg; の呼び出しに失敗した場合 (例: パッケー"
3660 "ジ B のメンテナスクリプトでエラー発生)、システムの状態は、パッケージ A は展開"
3661 "したが未設定になります。そのため、A に依存したパッケージの動作が保証されなく"
3662 "なり、A への依存関係は、もう満たせません。"
3664 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3665 #: apt.conf.5.xml:221
3667 "The immediate configuration marker is also applied in the potentially "
3668 "problematic case of circular dependencies, since a dependency with the "
3669 "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
3670 "to recognise a situation in which it is unable to perform immediate "
3671 "configuration, abort, and suggest to the user that the option should be "
3672 "temporarily deactivated in order to allow the operation to proceed. Note "
3673 "the use of the word \"theory\" here; in the real world this problem has "
3674 "rarely been encountered, in non-stable distribution versions, and was caused "
3675 "by wrong dependencies of the package in question or by a system in an "
3676 "already broken state; so you should not blindly disable this option, as the "
3677 "scenario mentioned above is not the only problem it can help to prevent in "
3680 "即時 (immediate) フラグは事前依存関係と等価なため、即時設定マーカも潜在的に、"
3681 "循環依存関係の問題に対して適用されます。理論上 APT は、即時設定不能と認識し、"
3682 "中断し、操作を継続するためにこのオプションを一時的に無効にするよう提案できま"
3683 "す。ここで言う「理論上」という言葉に注意してください。現実世界では、安定版で"
3684 "はないバージョンでも、この問題にはほとんど遭遇していませんし、問題のパッケー"
3685 "ジの依存関係が誤っているか、システムの状態がすでに破損している場合に発生して"
3686 "いました。そのため、盲目的にこのオプションを無効にするべきではありません。前"
3687 "述のシナリオを解決する方法の、1つにしかすぎないのです。"
3689 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3690 #: apt.conf.5.xml:234
3692 "Before a big operation like <literal>dist-upgrade</literal> is run with this "
3693 "option disabled you should try to explicitly <literal>install</literal> the "
3694 "package APT is unable to configure immediately; but please make sure you "
3695 "also report your problem to your distribution and to the APT team with the "
3696 "buglink below, so they can work on improving or correcting the upgrade "
3699 "このオプションを無効にして <literal>dist-upgrade</literal> のような大きな操作"
3700 "を実行する前に、パッケージに <literal>install</literal> を明示して、即時設定"
3701 "が行われないようにするべきです。ですが、動作の改善とアップグレードプロセスの"
3702 "修正のため、以下のバグリンクから、問題をディストリビューションと APT チームに"
3705 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3706 #: apt.conf.5.xml:245
3708 "Never enable this option unless you <emphasis>really</emphasis> know what "
3709 "you are doing. It permits APT to temporarily remove an essential package to "
3710 "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
3711 "essential packages. <emphasis>Such a loop should never exist and is a grave "
3712 "bug</emphasis>. This option will work if the essential packages are not "
3713 "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
3714 "<command>dpkg</command>, <command>dash</command> or anything that those "
3715 "packages depend on."
3717 "何をしようとしているのか<emphasis>本当に</emphasis>判っているのでなければ、絶"
3718 "対にこのオプションを有効にしないでください。不可欠 (essential) パッケージ同士"
3719 "で、競合 (Conflicts) /競合や競合/事前依存 (Pre-Depend) のループに落ち込んだと"
3720 "きに、不可欠パッケージを一時的に削除してループを抜けられるようにします。"
3721 "<emphasis>そんなループはあり得ないはずで、あるとすれば重大なバグです。</"
3722 "emphasis>このオプションは、<command>tar</command>, <command>gzip</command>, "
3723 "<command>libc</command>, <command>dpkg</command>, <command>dash</command> と"
3724 "それらが依存しているパッケージ以外の不可欠パッケージで動作します。"
3726 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3727 #: apt.conf.5.xml:257
3729 "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
3730 "the available information. <literal>Cache-Start</literal> acts as a hint of "
3731 "the size the cache will grow to, and is therefore the amount of memory APT "
3732 "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
3733 "that this amount of space needs to be available for APT; otherwise it will "
3734 "likely fail ungracefully, so for memory restricted devices this value should "
3735 "be lowered while on systems with a lot of configured sources it should be "
3736 "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
3737 "of 1048576 (~1 MB) how much the cache size will be increased in the event "
3738 "the space defined by <literal>Cache-Start</literal> is not enough. This "
3739 "value will be applied again and again until either the cache is big enough "
3740 "to store all information or the size of the cache reaches the <literal>Cache-"
3741 "Limit</literal>. The default of <literal>Cache-Limit</literal> is 0 which "
3742 "stands for no limit. If <literal>Cache-Grow</literal> is set to 0 the "
3743 "automatic growth of the cache is disabled."
3745 "APT は、バージョン 0.7.26 から、利用できる情報を格納するため、サイズ可変なメ"
3746 "モリマップキャッシュファイルを使用します。<literal>Cache-Start</literal> は、"
3747 "キャッシュサイズが増大していくヒントとして動作し、従って APT が起動時に要求す"
3748 "るメモリ量です。デフォルト値は、20971520 バイト (~20 MB) です。この領域の量"
3749 "が、APT に利用可能になっている必要があることに注意してください。そうでなけれ"
3750 "ば、無様に失敗することになります。そのため、メモリに制限のあるデバイスで、た"
3751 "くさんのソースが設定され、それが増加していくシステムでは、この値をより低くし"
3752 "ておくべきです。<literal>Cache-Grow</literal> は、<literal>Cache-Start</"
3753 "literal> が足りなくなったという領域定義イベントにより、どの程度キャッシュサイ"
3754 "ズを増加させるかを、バイト数で定義します。デフォルトは 1048576 (~1 MB) です。"
3755 "この値は全情報を格納できる量になるか、<literal>Cache-Limit</literal> に達する"
3756 "まで、繰り返し適用されます。<literal>Cache-Limit</literal> のデフォルトは 0 "
3757 "で、無制限です。<literal>Cache-Grow</literal> に 0 をセットすると、キャッシュ"
3760 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3761 #: apt.conf.5.xml:273
3762 msgid "Defines which packages are considered essential build dependencies."
3763 msgstr "構築依存関係で不可欠なパッケージを定義します。"
3765 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3766 #: apt.conf.5.xml:277
3768 "The Get subsection controls the &apt-get; tool; please see its documentation "
3769 "for more information about the options here."
3771 "Get サブセクションは &apt-get; ツールを制御します。このオプションの詳細は "
3772 "&apt-get; の文書を参照してください。"
3774 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3775 #: apt.conf.5.xml:282
3777 "The Cache subsection controls the &apt-cache; tool; please see its "
3778 "documentation for more information about the options here."
3780 "Cache サブセクションは &apt-cache; ツールを制御します。このオプションの詳細"
3781 "は &apt-cache; の文書を参照してください。"
3783 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3784 #: apt.conf.5.xml:287
3786 "The CDROM subsection controls the &apt-cdrom; tool; please see its "
3787 "documentation for more information about the options here."
3789 "CDROM サブセクションは &apt-cdrom; ツールを制御します。このオプションの詳細"
3790 "は &apt-cdrom; の文書を参照してください。"
3792 #. type: Content of: <refentry><refsect1><title>
3793 #: apt.conf.5.xml:293
3794 msgid "The Acquire Group"
3795 msgstr "Acquire グループ"
3797 #. type: Content of: <refentry><refsect1><para>
3798 #: apt.conf.5.xml:294
3800 "The <literal>Acquire</literal> group of options controls the download of "
3801 "packages as well as the various \"acquire methods\" responsible for the "
3802 "download itself (see also &sources-list;)."
3804 "オプションの <literal>Acquire</literal> グループは、パッケージのダウンロード"
3805 "やダウンロードに関して責任を持つ、様々な「取得 (acquire) 方法」 を制御します "
3806 "(&sources-list; も参照)。"
3808 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3809 #: apt.conf.5.xml:301
3811 "Security related option defaulting to true, as giving a Release file's "
3812 "validation an expiration date prevents replay attacks over a long timescale, "
3813 "and can also for example help users to identify mirrors that are no longer "
3814 "updated - but the feature depends on the correctness of the clock on the "
3815 "user system. Archive maintainers are encouraged to create Release files with "
3816 "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
3817 "value is desired the <literal>Max-ValidTime</literal> option below can be "
3820 "セキュリティ関連のオプションで、デフォルトは true です。Release ファイルの有"
3821 "効期限検証により、長期間のリプレイ攻撃を防ぎます。さらに、例えばユーザが、も"
3822 "う更新されないミラーサイトを識別するのを支援します。しかしこの機能は、ユーザ"
3823 "のシステム時計が正確であることに依存しています。アーカイブメンテナは、"
3824 "<literal>Valid-Until</literal> ヘッダがある Release ファイルを作成するよう推"
3825 "奨されていますが、このヘッダを付与しない、またはより厳密な値が必要な場合、以"
3826 "下の <literal>Max-ValidTime</literal> オプションを使用できます。"
3828 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3829 #: apt.conf.5.xml:314
3831 "Maximum time (in seconds) after its creation (as indicated by the "
3832 "<literal>Date</literal> header) that the <filename>Release</filename> file "
3833 "should be considered valid. If the Release file itself includes a "
3834 "<literal>Valid-Until</literal> header the earlier date of the two is used as "
3835 "the expiration date. The default value is <literal>0</literal> which stands "
3836 "for \"valid forever\". Archive specific settings can be made by appending "
3837 "the label of the archive to the option name."
3839 "<filename>Release</filename> ファイルを作成してから (<literal>Date</literal> "
3840 "ヘッダ)、有効であるとみなせる最大時間 (秒数) です。Release ファイル自体に "
3841 "<literal>Valid-Until</literal> ヘッダがある場合、その 2 つのうち、より早い日"
3842 "付が有効期間として使用されます。デフォルト値は <literal>0</literal> で「無期"
3843 "限」を表します。オプション名にアーカイブのラベルを付与することで、アーカイブ"
3846 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3847 #: apt.conf.5.xml:326
3849 "Minimum time (in seconds) after its creation (as indicated by the "
3850 "<literal>Date</literal> header) that the <filename>Release</filename> file "
3851 "should be considered valid. Use this if you need to use a seldom updated "
3852 "(local) mirror of a more frequently updated archive with a <literal>Valid-"
3853 "Until</literal> header instead of completely disabling the expiration date "
3854 "checking. Archive specific settings can and should be used by appending the "
3855 "label of the archive to the option name."
3857 "<filename>Release</filename> ファイルを作成してから (<literal>Date</literal> "
3858 "ヘッダ)、有効であるとみなせる最小時間 (秒数) です。<literal>Valid-Until</"
3859 "literal> がある頻繁に更新されるアーカイブの、ほとんど更新されない (ローカル) "
3860 "ミラーを使用する場合に、完全に有効期限チェックを無効にする代わりに使用してく"
3861 "ださい。オプション名にアーカイブのラベルを付与することで、アーカイブ固有の設"
3864 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3865 #: apt.conf.5.xml:338
3867 "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
3868 "<filename>Packages</filename> files) instead of downloading whole ones. True "
3871 "(<filename>Packages</filename> のような) インデックス全体をダウンロードするの"
3872 "ではなく、<literal>PDiffs</literal> と呼ばれる差分をダウンロードしようとしま"
3873 "す。デフォルトでは True です。"
3875 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3876 #: apt.conf.5.xml:341
3878 "Two sub-options to limit the use of PDiffs are also available: "
3879 "<literal>FileLimit</literal> can be used to specify a maximum number of "
3880 "PDiff files should be downloaded to update a file. <literal>SizeLimit</"
3881 "literal> on the other hand is the maximum percentage of the size of all "
3882 "patches compared to the size of the targeted file. If one of these limits is "
3883 "exceeded the complete file is downloaded instead of the patches."
3885 "PDiffs の使用を制限するふたつのサブオプションがあります。<literal>FileLimit</"
3886 "literal> では、ファイルを更新するのに、PDiff ファイルをダウンロードできる最大"
3887 "数を指定します。一方、<literal>SizeLimit</literal> は、対象ファイルのサイズに"
3888 "対して、全パッチサイズの最大パーセンテージを指定します。どちらの制限を超えて"
3889 "も、パッチをダウンロードする代わりに、完全なファイルをダウンロードします。"
3891 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3892 #: apt.conf.5.xml:351
3894 "Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
3895 "literal> or <literal>access</literal> which determines how APT parallelizes "
3896 "outgoing connections. <literal>host</literal> means that one connection per "
3897 "target host will be opened, <literal>access</literal> means that one "
3898 "connection per URI type will be opened."
3900 "キューモード - <literal>Queue-Mode</literal> は、APT がどのように並列接続を行"
3901 "うか、<literal>host</literal> か <literal>access</literal> で指定できます。"
3902 "<literal>host</literal> は、ターゲットホストごとに 1 接続を開きます。"
3903 "<literal>access</literal> は、URI タイプごとに 1 接続を開きます。"
3905 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3906 #: apt.conf.5.xml:359
3908 "Number of retries to perform. If this is non-zero APT will retry failed "
3909 "files the given number of times."
3911 "リトライの回数を設定します。0 でない場合、APT は失敗したファイルに対して、与"
3912 "えられた回数だけリトライを行います。"
3914 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3915 #: apt.conf.5.xml:364
3917 "Use symlinks for source archives. If set to true then source archives will "
3918 "be symlinked when possible instead of copying. True is the default."
3920 "ソースアーカイブのシンボリックリンクを使用します。true がセットされていると"
3921 "き、可能ならコピーの代わりにシンボリックリンクを張ります。true がデフォルトで"
3924 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3925 #: apt.conf.5.xml:369
3927 "<literal>http::Proxy</literal> sets the default proxy to use for HTTP URIs. "
3928 "It is in the standard form of <literal>http://[[user][:pass]@]host[:port]/</"
3929 "literal>. Per host proxies can also be specified by using the form "
3930 "<literal>http::Proxy::<host></literal> with the special keyword "
3931 "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
3932 "settings is specified, <envar>http_proxy</envar> environment variable will "
3935 "<literal>http::Proxy</literal> には、HTTP URI で使用するデフォルトプロキシを"
3936 "設定します。<literal>http://[[user][:pass]@]host[:port]/</literal> という標準"
3937 "形で表します。ホストごとのプロキシを、<literal>http::Proxy::<host></"
3938 "literal> という形で指定できます。この時、プロキシを使用しないという意味の特殊"
3939 "キーワード <literal>DIRECT</literal> も使用できます。上記の設定をなにも指定し"
3940 "ないと、環境変数 <envar>http_proxy</envar> を使用します。"
3942 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3943 #: apt.conf.5.xml:377
3945 "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
3946 "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
3947 "response under any circumstances. <literal>Max-Age</literal> sets the "
3948 "allowed maximum age (in seconds) of an index file in the cache of the "
3949 "proxy. <literal>No-Store</literal> specifies that the proxy should not "
3950 "store the requested archive files in its cache, which can be used to prevent "
3951 "the proxy from polluting its cache with (big) .deb files."
3953 "HTTP/1.1 準拠のプロキシキャッシュの制御について 3 種類の設定があります。"
3954 "<literal>No-Cache</literal> はプロキシに対して、いかなる時もキャッシュを使用"
3955 "しないと伝えます。<literal>Max-Age</literal> は、プロキシのキャッシュにあるイ"
3956 "ンデックスファイルの最大利用期間 (秒) を設定します。<literal>No-Store</"
3957 "literal> は、リクエストしたアーカイブファイルを、プロキシがキャッシュに格納し"
3958 "ないように指定します。これにより (大きな) .deb ファイルでプロキシのキャッシュ"
3961 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3962 #: apt.conf.5.xml:387 apt.conf.5.xml:475
3964 "The option <literal>timeout</literal> sets the timeout timer used by the "
3965 "method; this value applies to the connection as well as the data timeout."
3967 "<literal>timeout</literal> オプションは、この方法でのタイムアウトまでの時間を"
3968 "設定します。これには、接続のタイムアウトとデータのタイムアウトが含まれていま"
3971 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3972 #: apt.conf.5.xml:390
3975 #| "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used "
3976 #| "to enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be "
3977 #| "beneficial e.g. on high-latency connections. It specifies how many "
3978 #| "requests are sent in a pipeline. Previous APT versions had a default of "
3979 #| "10 for this setting, but the default value is now 0 (= disabled) to avoid "
3980 #| "problems with the ever-growing amount of webservers and proxies which "
3981 #| "choose to not conform to the HTTP/1.1 specification."
3983 "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
3984 "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial e."
3985 "g. on high-latency connections. It specifies how many requests are sent in a "
3986 "pipeline. APT tries to detect and workaround misbehaving webservers and "
3987 "proxies at runtime, but if you know that yours does not conform to the "
3988 "HTTP/1.1 specification pipelining can be disabled by setting the value to 0. "
3989 "It is enabled by default with the value 10."
3991 "<literal>Acquire::http::Pipeline-Depth</literal> の設定は、例えばレイテンシの"
3992 "高い接続で有益な、HTTP パイプライン (RFC 2616 8.1.2.2 節) を有効にするのに使"
3993 "用できます。これにより、パイプラインを用いて送信する、リクエスト数を指定でき"
3994 "ます。旧バージョンの APT は、デフォルトで 10 でしたが、HTTP/1.1 仕様に対応し"
3995 "ないウェブサーバやプロキシの数が、増え続けることによる問題を回避するため、デ"
3996 "フォルト値は 0 (= 無効) です。"
3998 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3999 #: apt.conf.5.xml:397
4001 "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
4002 "follow redirects, which is enabled by default."
4004 "<literal>Acquire::http::AllowRedirect</literal> は APT がリダイレクトをたどる"
4005 "かどうかを制御します。デフォルトでは有効です。"
4007 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4008 #: apt.conf.5.xml:400
4011 #| "The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
4012 #| "literal> which accepts integer values in kilobytes. The default value is "
4013 #| "0 which deactivates the limit and tries to use all available bandwidth "
4014 #| "(note that this option implicitly disables downloading from multiple "
4015 #| "servers at the same time.)"
4017 "The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
4018 "literal> which accepts integer values in kilobytes per second. The default "
4019 "value is 0 which deactivates the limit and tries to use all available "
4020 "bandwidth. Note that this option implicitly disables downloading from "
4021 "multiple servers at the same time."
4023 "使用する帯域を制限するには、<literal>Acquire::http::Dl-Limit</literal> にキロ"
4024 "バイトで整数値を与えます。デフォルト値は 0 で、制限を解除し、使用できる帯域を"
4025 "すべて使おうとします (このオプションは暗黙的に、同時に複数のサーバからダウン"
4026 "ロードしなくなることに注意してください)。"
4028 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4029 #: apt.conf.5.xml:407
4031 "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
4032 "User-Agent for the http download method as some proxies allow access for "
4033 "clients only if the client uses a known identifier."
4035 "クライアントが既知の識別子を使用する場合にのみ、プロキシがアクセスを許可する"
4036 "場合、<literal>Acquire::http::User-Agent</literal> を使用して、http でダウン"
4037 "ロードするための、異なる User-Agent を設定できます。"
4039 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4040 #: apt.conf.5.xml:411
4042 "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
4043 "an external command to discover the http proxy to use. Apt expects the "
4044 "command to output the proxy on stdout in the style <literal>http://proxy:"
4045 "port/</literal>. This will override the generic <literal>Acquire::http::"
4046 "Proxy</literal> but not any specific host proxy configuration set via "
4047 "<literal>Acquire::http::Proxy::$HOST</literal>. See the &squid-deb-proxy-"
4048 "client; package for an example implementation that uses avahi. This option "
4049 "takes precedence over the legacy option name <literal>ProxyAutoDetect</"
4053 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4054 #: apt.conf.5.xml:429
4056 "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
4057 "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
4058 "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
4059 "the <literal>http</literal> method, and default to the same values if they "
4060 "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
4063 "<literal>Cache-control</literal>, <literal>Timeout</literal>, "
4064 "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal>, "
4065 "<literal>proxy</literal> の各オプションは、HTTPS URI でも <literal>http</"
4066 "literal> メソッドと同様に動作します。また、明示的に値を指定しない場合のデフォ"
4067 "ルト値も同様です。<literal>Pipeline-Depth</literal> オプションはまだサポート"
4070 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4071 #: apt.conf.5.xml:437
4073 "<literal>CaInfo</literal> suboption specifies place of file that holds info "
4074 "about trusted certificates. <literal><host>::CaInfo</literal> is the "
4075 "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
4076 "suboption determines whether or not the server's host certificate should be "
4077 "verified against trusted certificates. <literal><host>::Verify-Peer</"
4078 "literal> is the corresponding per-host option. <literal>Verify-Host</"
4079 "literal> boolean suboption determines whether or not the server's hostname "
4080 "should be verified. <literal><host>::Verify-Host</literal> is the "
4081 "corresponding per-host option. <literal>SslCert</literal> determines what "
4082 "certificate to use for client authentication. <literal><host>::"
4083 "SslCert</literal> is the corresponding per-host option. <literal>SslKey</"
4084 "literal> determines what private key to use for client authentication. "
4085 "<literal><host>::SslKey</literal> is the corresponding per-host "
4086 "option. <literal>SslForceVersion</literal> overrides default SSL version to "
4087 "use. It can contain either of the strings '<literal>TLSv1</literal>' or "
4088 "'<literal>SSLv3</literal>'. <literal><host>::SslForceVersion</"
4089 "literal> is the corresponding per-host option."
4091 "<literal>CaInfo</literal> サブオプションは、信頼済み証明書情報の保持場所を指"
4092 "定します。<literal><host>::CaInfo</literal> は、同様のホストごとのオプ"
4093 "ションです。<literal>Verify-Peer</literal> 真偽値サブオプションは、信頼済み証"
4094 "明書に対してサーバのホスト証明書を、検証するかどうかを決定します。"
4095 "<literal><host>::Verify-Peer</literal> は、同様のホストごとのオプション"
4096 "です。<literal>Verify-Host</literal> 真偽値サブオプションは、サーバのホスト名"
4097 "を検証するかどうかを決定します。<literal><host>::Verify-Host</literal> "
4098 "は、同様のホストごとのオプションです。<literal>SslCert</literal> は、クライア"
4099 "ント認証に使用する証明書を決定します。<literal><host>::SslCert</"
4100 "literal> は、同様のホストごとのオプションです。<literal>SslKey</literal> は、"
4101 "クライアント認証に使用する秘密鍵を決定します。<literal><host>::SslKey</"
4102 "literal> は、同様のホストごとのオプションです。<literal>SslForceVersion</"
4103 "literal> は、デフォルトで使用する SSL のバージョンを上書きしま"
4104 "す。'<literal>TLSv1</literal>' か '<literal>SSLv3</literal>' という文字列を指"
4105 "定できます。<literal><host>::SslForceVersion</literal> は、同様のホスト"
4108 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4109 #: apt.conf.5.xml:458
4111 "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
4112 "It is in the standard form of <literal>ftp://[[user][:pass]@]host[:port]/</"
4113 "literal>. Per host proxies can also be specified by using the form "
4114 "<literal>ftp::Proxy::<host></literal> with the special keyword "
4115 "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
4116 "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
4117 "used. To use an FTP proxy you will have to set the <literal>ftp::ProxyLogin</"
4118 "literal> script in the configuration file. This entry specifies the commands "
4119 "to send to tell the proxy server what to connect to. Please see "
4120 "&configureindex; for an example of how to do this. The substitution "
4121 "variables representing the corresponding URI component are <literal>"
4122 "$(PROXY_USER)</literal>, <literal>$(PROXY_PASS)</literal>, <literal>"
4123 "$(SITE_USER)</literal>, <literal>$(SITE_PASS)</literal>, <literal>$(SITE)</"
4124 "literal> and <literal>$(SITE_PORT)</literal>."
4126 "<literal>ftp::Proxy</literal> は、FTP URI を使用する際のデフォルトプロキシを"
4127 "設定します。<literal>ftp://[[user][:pass]@]host[:port]/</literal> という標準"
4128 "形で表します。ホストごとのプロキシを、<literal>ftp::Proxy::<host></"
4129 "literal> という形で指定できます。この時、プロキシを使用しないという意味の特殊"
4130 "キーワード <literal>DIRECT</literal> も使用できます。上記の設定をなにも指定し"
4131 "ないと、環境変数 <envar>ftp_proxy</envar> を使用します。FTP プロキシを使用す"
4132 "るには、設定ファイルに <literal>ftp::ProxyLogin</literal> スクリプトを設定す"
4133 "る必要があります。このエントリには、接続する際にプロキシサーバに送信するコマ"
4134 "ンドを設定します。どのようにするのかは &configureindex; の例を参照してくださ"
4135 "い。URI を構成するコンポーネントに対応する置換変数は、<literal>"
4136 "$(PROXY_USER)</literal>, <literal>$(PROXY_PASS)</literal>, <literal>"
4137 "$(SITE_USER)</literal>, <literal>$(SITE_PASS)</literal>, <literal>$(SITE)</"
4138 "literal>, <literal>$(SITE_PORT)</literal> です。"
4140 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4141 #: apt.conf.5.xml:478
4143 "Several settings are provided to control passive mode. Generally it is safe "
4144 "to leave passive mode on; it works in nearly every environment. However, "
4145 "some situations require that passive mode be disabled and port mode FTP used "
4146 "instead. This can be done globally or for connections that go through a "
4147 "proxy or for a specific host (see the sample config file for examples)."
4149 "設定のいくつかは、パッシブモードを制御するものです。一般的に、パッシブモード"
4150 "のままにしておく方が安全で、ほぼどんな環境でも動作します。しかしある状況下で"
4151 "は、パッシブモードが無効のため、代わりにポートモード FTP を使用する必要があり"
4152 "ます。この設定は、プロキシを通る接続や特定のホストへの接続全般に有効です (設"
4153 "定例はサンプル設定ファイルを参照してください)。"
4155 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4156 #: apt.conf.5.xml:485
4158 "It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
4159 "envar> environment variable to an HTTP URL - see the discussion of the http "
4160 "method above for syntax. You cannot set this in the configuration file and "
4161 "it is not recommended to use FTP over HTTP due to its low efficiency."
4163 "環境変数 <envar>ftp_proxy</envar> に HTTP URL を指定すると FTP over HTTP のプ"
4164 "ロキシが利用可能になります。構文は前述の http についての説明を参照してくださ"
4165 "い。設定ファイルの中でこれをセットすることはできません。また、効率が悪いため "
4166 "FTP over HTTP を使用するのは推奨しません。"
4168 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4169 #: apt.conf.5.xml:490
4171 "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
4172 "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
4173 "false, which means these commands are only used if the control connection is "
4174 "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
4175 "that most FTP servers do not support RFC2428."
4177 "<literal>ForceExtended</literal> の設定は RFC2428 の <literal>EPSV</literal> "
4178 "コマンドと <literal>EPRT</literal> コマンドの使用を制御します。デフォルトで"
4179 "は false で、コントロールコネクションが IPv6 の時にのみ、このコマンドを使用す"
4180 "るということです。これを true にセットすると、IPv4 コネクションでも、強制的に"
4181 "このコマンドを使用します。ほとんどの FTP サーバは RFC2428 をサポートしていな"
4184 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
4185 #: apt.conf.5.xml:504
4187 msgid "/cdrom/::Mount \"foo\";"
4188 msgstr "/cdrom/::Mount \"foo\";"
4190 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4191 #: apt.conf.5.xml:499
4193 "For URIs using the <literal>cdrom</literal> method, the only configurable "
4194 "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
4195 "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
4196 "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
4197 "and unmount commands if your mount point cannot be listed in the fstab. The "
4198 "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
4199 "<literal>cdrom</literal> block. It is important to have the trailing slash. "
4200 "Unmount commands can be specified using UMount."
4202 "<literal>cdrom</literal> メソッドを利用する URI では、設定できるオプションは"
4203 "マウントポイントだけです。<filename>/etc/fstab</filename> で設定されているよ"
4204 "うに、CD-ROM (または DVD など) ドライブのマウントポイントを <literal>cdrom::"
4205 "Mount</literal> に設定しなければなりません。マウントポイントが fstab に記述で"
4206 "きない場合、かわりにマウント・アンマウントコマンドも使用できます。構文は、"
4207 "<literal>cdrom</literal> ブロックを <placeholder type=\"literallayout\" id="
4208 "\"0\"/> の形で記述します。スラッシュを後につけるのが重要です。アンマウントコ"
4209 "マンドは UMount で指定することができます。"
4211 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4212 #: apt.conf.5.xml:512
4214 "For GPGV URIs the only configurable option is <literal>gpgv::Options</"
4215 "literal>, which passes additional parameters to gpgv."
4217 "GPGV URI 用の唯一のオプションは、gpgv に渡す追加パラメータのオプションであ"
4218 "る、<literal>gpgv::Options</literal> です。"
4220 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
4221 #: apt.conf.5.xml:523
4223 msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
4224 msgstr "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
4226 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4227 #: apt.conf.5.xml:518
4229 "List of compression types which are understood by the acquire methods. "
4230 "Files like <filename>Packages</filename> can be available in various "
4231 "compression formats. By default the acquire methods can decompress "
4232 "<command>bzip2</command>, <command>lzma</command> and <command>gzip</"
4233 "command> compressed files; with this setting more formats can be added on "
4234 "the fly or the used method can be changed. The syntax for this is: "
4235 "<placeholder type=\"synopsis\" id=\"0\"/>"
4237 "acquire メソッドが理解できる、圧縮法のリストです。<filename>Packages</"
4238 "filename> のようなファイルは、さまざまな圧縮形式が利用できます。デフォルトで"
4239 "は acquire メソッドは、<command>bzip2</command>, <command>lzma</command>, "
4240 "<command>gzip</command> で圧縮されたファイルを伸張できます。この設定では、よ"
4241 "り多くの形式を、オンザフライで追加したり、使用するメソッドで変更したりできま"
4242 "す。構文は以下のようになります。<placeholder type=\"synopsis\" id=\"0\"/>"
4244 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
4245 #: apt.conf.5.xml:528
4247 msgid "Acquire::CompressionTypes::Order:: \"gz\";"
4248 msgstr "Acquire::CompressionTypes::Order:: \"gz\";"
4250 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
4251 #: apt.conf.5.xml:531
4253 msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
4254 msgstr "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
4256 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4257 #: apt.conf.5.xml:524
4259 "Also, the <literal>Order</literal> subgroup can be used to define in which "
4260 "order the acquire system will try to download the compressed files. The "
4261 "acquire system will try the first and proceed with the next compression type "
4262 "in this list on error, so to prefer one over the other type simply add the "
4263 "preferred type first - default types not already added will be implicitly "
4264 "appended to the end of the list, so e.g. <placeholder type=\"synopsis\" id="
4265 "\"0\"/> can be used to prefer <command>gzip</command> compressed files over "
4266 "<command>bzip2</command> and <command>lzma</command>. If <command>lzma</"
4267 "command> should be preferred over <command>gzip</command> and "
4268 "<command>bzip2</command> the configure setting should look like this: "
4269 "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
4270 "<literal>bz2</literal> to the list explicitly as it will be added "
4273 "また、<literal>Order</literal> サブグループを使用して、取得システムが、圧縮"
4274 "ファイルのダウンロードを試みる順番を定義できます。取得システムは先頭のものを"
4275 "試行し、エラーが発生すると次の圧縮タイプのダウンロードを開始します。そのた"
4276 "め、どれかを他のものより優先したい場合、単にそのタイプを先頭に追加してくださ"
4277 "い。まだ追加していないデフォルトタイプは、リストの最後に追加されます。つま"
4278 "り、<placeholder type=\"synopsis\" id=\"0\"/> とすると、<command>gzip</"
4279 "command> で圧縮されたファイルを <command>bzip2</command> や <command>lzma</"
4280 "command> よりも優先的に使用します。もし <command>lzma</command> を "
4281 "<command>gzip</command> や <command>bzip2</command> よりも優先するべきなら、"
4282 "設定を以下のようにしてください。<placeholder type=\"synopsis\" id=\"1\"/> "
4283 "<literal>bz2</literal> は自動的に追加されるため、明示する必要はありません。"
4285 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
4286 #: apt.conf.5.xml:538
4288 msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
4289 msgstr "Dir::Bin::bzip2 \"/bin/bzip2\";"
4291 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4292 #: apt.conf.5.xml:533
4294 "Note that the <literal>Dir::Bin::<replaceable>Methodname</replaceable></"
4295 "literal> will be checked at run time. If this option has been set, the "
4296 "method will only be used if this file exists; e.g. for the <literal>bzip2</"
4297 "literal> method (the inbuilt) setting is: <placeholder type=\"literallayout"
4298 "\" id=\"0\"/> Note also that list entries specified on the command line will "
4299 "be added at the end of the list specified in the configuration files, but "
4300 "before the default entries. To prefer a type in this case over the ones "
4301 "specified in the configuration files you can set the option direct - not in "
4302 "list style. This will not override the defined list; it will only prefix "
4303 "the list with this type."
4305 "実行時に <literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> "
4306 "をチェックすることに注意してください。このオプションが設定されていると、ファ"
4307 "イルがある場合に、この方法しか使われなくなります。例えば、bzip2 メソッド (内"
4308 "蔵) の設定は以下になります。<placeholder type=\"literallayout\" id=\"0\"/> ま"
4309 "た、コマンドラインに指定した一覧のエントリは設定ファイルに指定したものの後、"
4310 "デフォルトエントリの前に追加されることに注意してください。この場合、設定ファ"
4311 "イルに指定した内容よりも前に指定するには、オプションを直接 (一覧スタイルでな"
4312 "く) 指定してください。これにより定義された一覧が上書きされ、このタイプのもの"
4315 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4316 #: apt.conf.5.xml:543
4318 "The special type <literal>uncompressed</literal> can be used to give "
4319 "uncompressed files a preference, but note that most archives don't provide "
4320 "uncompressed files so this is mostly only useable for local mirrors."
4322 "特殊なタイプ <literal>uncompressed</literal> は、非圧縮ファイルを優先するため"
4323 "に使用できますが、ほとんどのアーカイブは非圧縮ファイルを提供しないため、ほと"
4324 "んどローカルミラーでのみ有効になることに注意してください。"
4326 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4327 #: apt.conf.5.xml:550
4329 "When downloading <literal>gzip</literal> compressed indexes (Packages, "
4330 "Sources, or Translations), keep them gzip compressed locally instead of "
4331 "unpacking them. This saves quite a lot of disk space at the expense of more "
4332 "CPU requirements when building the local package caches. False by default."
4334 "<literal>gzip</literal> 圧縮インデックス (Packages, Sources, Translations) を"
4335 "ダウンロードする際、ローカルで展開せずに、gzip で圧縮したままにします。これに"
4336 "より、かなりディスク領域を節約できますが、ローカルパッケージキャッシュを構築"
4337 "する際に、CPU の能力を余計に消費します。デフォルトでは false です。"
4339 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4340 #: apt.conf.5.xml:558
4342 "The Languages subsection controls which <filename>Translation</filename> "
4343 "files are downloaded and in which order APT tries to display the description-"
4344 "translations. APT will try to display the first available description in the "
4345 "language which is listed first. Languages can be defined with their short or "
4346 "long language codes. Note that not all archives provide "
4347 "<filename>Translation</filename> files for every language - the long "
4348 "language codes are especially rare."
4350 "Languages サブセクションは、<filename>Translation</filename> ファイルをダウン"
4351 "ロードし、APT が説明の翻訳を表示しようとする場合の挙動を制御します。APT はリ"
4352 "ストの先頭にある言語で、まず有効な説明を表示しようとします。Languages は 短い"
4353 "形式や長い形式の言語コードで、定義できます。すべてのアーカイブが、全言語の "
4354 "<filename>Translation</filename> ファイルを、提供しているわけではないことに注"
4355 "意してください。長い言語コードは特に見かけません。"
4357 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
4358 #: apt.conf.5.xml:575
4360 msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
4361 msgstr "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
4363 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4364 #: apt.conf.5.xml:563
4366 "The default list includes \"environment\" and \"en\". "
4367 "\"<literal>environment</literal>\" has a special meaning here: it will be "
4368 "replaced at runtime with the language codes extracted from the "
4369 "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
4370 "that these codes are not included twice in the list. If "
4371 "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
4372 "<filename>Translation-en</filename> file (if available) will be used. To "
4373 "force APT to use no Translation file use the setting <literal>Acquire::"
4374 "Languages=none</literal>. \"<literal>none</literal>\" is another special "
4375 "meaning code which will stop the search for a suitable "
4376 "<filename>Translation</filename> file. This tells APT to download these "
4377 "translations too, without actually using them unless the environment "
4378 "specifies the languages. So the following example configuration will result "
4379 "in the order \"en, de\" in an English locale or \"de, en\" in a German one. "
4380 "Note that \"fr\" is downloaded, but not used unless APT is used in a French "
4381 "locale (where the order would be \"fr, de, en\"). <placeholder type="
4382 "\"programlisting\" id=\"0\"/>"
4384 "デフォルトのリストには \"environment\" と \"en\" がありま"
4385 "す。\"<literal>environment</literal>\" はここでは特殊な意味があります。これは"
4386 "実行時に、<literal>LC_MESSAGES</literal> 環境変数から取得した言語コードに置換"
4387 "されます。また、このリストには、同じコードが2度現れないように確認してくださ"
4388 "い。<literal>LC_MESSAGES</literal> が \"C\" に設定されているだけの場合、"
4389 "<filename>Translation-en</filename> ファイルを (利用可能であれば) 使用しま"
4390 "す。強制的に APT が Translation ファイルを使用しないようにするには、"
4391 "<literal>Acquire::Languages=none</literal> と設定してくださ"
4392 "い。\"<literal>none</literal>\" はもうひとつの特殊な意味を持つコードで、適切"
4393 "な <filename>Translation</filename> ファイルの検索を中止します。環境から実際"
4394 "の言語を指定されなかった場合、この値を用いて APT に翻訳をダウンロードさせま"
4395 "す。そのため、以下の設定例では、英語ロケールの場合 \"en, de\" の順になり、ド"
4396 "イツ語ロケールの場合 \"de, en\" の順になります。\"fr\" はダウンロードされます"
4397 "が、フランス語ロケール (\"fr, de, en\" の順になる) でないと、APT が使用しない"
4398 "ことに注意してください。<placeholder type=\"programlisting\" id=\"0\"/>"
4400 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4401 #: apt.conf.5.xml:576
4403 "Note: To prevent problems resulting from APT being executed in different "
4404 "environments (e.g. by different users or by other programs) all Translation "
4405 "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
4406 "added to the end of the list (after an implicit \"<literal>none</literal>\")."
4408 "注意: 異なる環境 (例: 異なるユーザや他のプログラム) で APT を実行したことによ"
4409 "る問題を防ぐため、<filename>/var/lib/apt/lists/</filename> にあるすべての "
4410 "Translation ファイルを、リストの最後 (暗黙の \"<literal>none</literal>\" の"
4413 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4414 #: apt.conf.5.xml:585
4415 msgid "When downloading, force to use only the IPv4 protocol."
4418 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4419 #: apt.conf.5.xml:591
4420 msgid "When downloading, force to use only the IPv6 protocol."
4423 #. type: Content of: <refentry><refsect1><title>
4424 #: apt.conf.5.xml:598
4428 #. type: Content of: <refentry><refsect1><para>
4429 #: apt.conf.5.xml:600
4431 "The <literal>Dir::State</literal> section has directories that pertain to "
4432 "local state information. <literal>lists</literal> is the directory to place "
4433 "downloaded package lists in and <literal>status</literal> is the name of the "
4434 "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
4435 "<filename>preferences</filename> file. <literal>Dir::State</literal> "
4436 "contains the default directory to prefix on all sub-items if they do not "
4437 "start with <filename>/</filename> or <filename>./</filename>."
4439 "<literal>Dir::State</literal> セクションは、ローカル状態情報に関するディレク"
4440 "トリを保持します。<literal>lists</literal> は、ダウンロードしたパッケージ一覧"
4441 "を格納するディレクトリで、<literal>status</literal> は &dpkg; の状態ファイル"
4442 "の名前を表します。<literal>preferences</literal> は APT の "
4443 "<filename>preferences</filename> ファイルの名前です。<literal>Dir::State</"
4444 "literal> には、<filename>/</filename> や <filename>./</filename> で始まらない"
4445 "サブアイテムすべてに、前に付加するデフォルトディレクトリを含んでいます。"
4447 #. type: Content of: <refentry><refsect1><para>
4448 #: apt.conf.5.xml:607
4450 "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
4451 "information, such as the two package caches <literal>srcpkgcache</literal> "
4452 "and <literal>pkgcache</literal> as well as the location to place downloaded "
4453 "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
4454 "be turned off by setting their names to the empty string. This will slow "
4455 "down startup but save disk space. It is probably preferable to turn off the "
4456 "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
4457 "default directory is contained in <literal>Dir::Cache</literal>"
4459 "<literal>Dir::Cache</literal> は、ローカルキャッシュ情報に関する場所を格納し"
4460 "ています。これは、ダウンロード済アーカイブの場所を示す <literal>Dir::Cache::"
4461 "archives</literal> と同様に、<literal>srcpkgcache</literal> と "
4462 "<literal>pkgcache</literal> のパッケージキャッシュの場所になります。それぞれ"
4463 "に空文字をセットすることで、キャッシュの生成を無効にできます。これにより起動"
4464 "時に遅くなりますが、ディスク容量を節約できます。おそらく、srcpkgcache よりも "
4465 "pkgcache を無効にすることが多いと思います。<literal>Dir::State</literal> と同"
4466 "様、<literal>Dir::Cache</literal> はデフォルトディレクトリを含んでいます。"
4468 #. type: Content of: <refentry><refsect1><para>
4469 #: apt.conf.5.xml:616
4471 "<literal>Dir::Etc</literal> contains the location of configuration files, "
4472 "<literal>sourcelist</literal> gives the location of the sourcelist and "
4473 "<literal>main</literal> is the default configuration file (setting has no "
4474 "effect, unless it is done from the config file specified by "
4475 "<envar>APT_CONFIG</envar>)."
4477 "<literal>Dir::Etc</literal> は設定ファイルの場所を格納しています。"
4478 "<literal>sourcelist</literal> はソースリストの場所を示し、<literal>main</"
4479 "literal> はデフォルトの設定ファイルです。(<envar>APT_CONFIG</envar> で設定"
4480 "ファイルを指定された場合のみ、この設定の効果があります)"
4482 #. type: Content of: <refentry><refsect1><para>
4483 #: apt.conf.5.xml:622
4485 "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
4486 "in lexical order from the directory specified. After this is done then the "
4487 "main config file is loaded."
4489 "<literal>Dir::Parts</literal> 設定は、指定されたディレクトリから、字句単位の"
4490 "全ての設定断片を読みこみます。これを設定した後に、メイン設定ファイルをロード"
4493 #. type: Content of: <refentry><refsect1><para>
4494 #: apt.conf.5.xml:626
4496 "Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
4497 "Bin::Methods</literal> specifies the location of the method handlers and "
4498 "<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
4499 "<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
4500 "literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
4501 "literal> specify the location of the respective programs."
4503 "バイナリプログラムは <literal>Dir::Bin</literal> で指定します。<literal>Dir::"
4504 "Bin::Methods</literal> はメソッドハンドラの場所を指定し、<literal>gzip</"
4505 "literal>, <literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</"
4506 "literal>, <literal>apt-get</literal> <literal>dpkg-source</literal> "
4507 "<literal>dpkg-buildpackage</literal>, <literal>apt-cache</literal> はそれぞれ"
4510 #. type: Content of: <refentry><refsect1><para>
4511 #: apt.conf.5.xml:634
4513 "The configuration item <literal>RootDir</literal> has a special meaning. If "
4514 "set, all paths in <literal>Dir::</literal> will be relative to "
4515 "<literal>RootDir</literal>, <emphasis>even paths that are specified "
4516 "absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
4517 "set to <filename>/tmp/staging</filename> and <literal>Dir::State::status</"
4518 "literal> is set to <filename>/var/lib/dpkg/status</filename>, then the "
4519 "status file will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</"
4522 "設定項目 <literal>RootDir</literal> は特別な意味を持ちます。設定されている"
4523 "と、<literal>Dir::</literal> のすべてのパスは、<emphasis>絶対パスとして指定し"
4524 "ても</emphasis><literal>RootDir</literal> からの相対パスとなります。そのため"
4525 "例えば、<literal>RootDir</literal> が <filename>/tmp/staging</filename> に"
4526 "セットされており、<literal>Dir::State::status</literal> が <filename>/var/"
4527 "lib/dpkg/status</filename> にセットされている場合、status ファイルを "
4528 "<filename>/tmp/staging/var/lib/dpkg/status</filename> から探します。"
4530 #. type: Content of: <refentry><refsect1><para>
4531 #: apt.conf.5.xml:647
4533 "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
4534 "which files APT should silently ignore while parsing the files in the "
4535 "fragment directories. Per default a file which end with <literal>.disabled</"
4536 "literal>, <literal>~</literal>, <literal>.bak</literal> or <literal>.dpkg-[a-"
4537 "z]+</literal> is silently ignored. As seen in the last default value these "
4538 "patterns can use regular expression syntax."
4540 "<literal>Ignore-Files-Silently</literal> リストは、断片ディレクトリの解析中"
4541 "に、APT が黙って無視をするファイルを指定します。デフォルトではそれぞれ、"
4542 "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal>, "
4543 "<literal>.dpkg-[a-z]+</literal> で終わるものが、黙って無視されます。最後のデ"
4544 "フォルト値を見ればわかる通り、このパターンには正規表現を使用できます。"
4546 #. type: Content of: <refentry><refsect1><title>
4547 #: apt.conf.5.xml:656
4548 msgid "APT in DSelect"
4549 msgstr "DSelect での APT"
4551 #. type: Content of: <refentry><refsect1><para>
4552 #: apt.conf.5.xml:658
4554 "When APT is used as a &dselect; method several configuration directives "
4555 "control the default behavior. These are in the <literal>DSelect</literal> "
4558 "&dselect; メソッドで APT を使用する際、いくつかの設定ディレクティブでデフォル"
4559 "トの動作を制御します。これは <literal>DSelect</literal> セクション以下にあり"
4562 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4563 #: apt.conf.5.xml:663
4565 "Cache Clean mode; this value may be one of <literal>always</literal>, "
4566 "<literal>prompt</literal>, <literal>auto</literal>, <literal>pre-auto</"
4567 "literal> and <literal>never</literal>. <literal>always</literal> and "
4568 "<literal>prompt</literal> will remove all packages from the cache after "
4569 "upgrading, <literal>prompt</literal> (the default) does so conditionally. "
4570 "<literal>auto</literal> removes only those packages which are no longer "
4571 "downloadable (replaced with a new version for instance). <literal>pre-auto</"
4572 "literal> performs this action before downloading new packages."
4574 "キャッシュクリーンモード - この値は <literal>always</literal>, "
4575 "<literal>prompt</literal>, <literal>auto</literal>, <literal>pre-auto</"
4576 "literal>, <literal>never</literal> のうちひとつを取ります。<literal>always</"
4577 "literal> と <literal>prompt</literal> は更新後、全パッケージをキャッシュから"
4578 "削除します。<literal>prompt</literal> (デフォルト) では条件付きで削除します。"
4579 "<literal>auto</literal> はダウンロード不能パッケージ (例えば新バージョンで置"
4580 "き換えられたもの) を削除します。<literal>pre-auto</literal> はこの動作を、新"
4581 "パッケージをダウンロードする直前に行います。"
4583 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4584 #: apt.conf.5.xml:677
4586 "The contents of this variable are passed to &apt-get; as command line "
4587 "options when it is run for the install phase."
4589 "この変数の内容は、install 時のコマンドラインオプションと同様に &apt-get; に渡"
4592 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4593 #: apt.conf.5.xml:682
4595 "The contents of this variable are passed to &apt-get; as command line "
4596 "options when it is run for the update phase."
4598 "この変数の内容は、update 時のコマンドラインオプションと同様に &apt-get; に渡"
4601 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4602 #: apt.conf.5.xml:687
4604 "If true the [U]pdate operation in &dselect; will always prompt to continue. "
4605 "The default is to prompt only on error."
4607 "true の場合、&dselect; の [U]pdate 実行時に、続行のためのプロンプトを毎回表示"
4608 "します。デフォルトはエラーが発生した場合のみです。"
4610 #. type: Content of: <refentry><refsect1><title>
4611 #: apt.conf.5.xml:693
4612 msgid "How APT calls &dpkg;"
4613 msgstr "APT が &dpkg; を呼ぶ方法"
4615 #. type: Content of: <refentry><refsect1><para>
4616 #: apt.conf.5.xml:694
4618 "Several configuration directives control how APT invokes &dpkg;. These are "
4619 "in the <literal>DPkg</literal> section."
4621 "いくつかの設定項目で APT がどのように &dpkg; を呼び出すかを制御できます。"
4622 "<literal>DPkg</literal> セクションにあります。"
4624 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4625 #: apt.conf.5.xml:699
4627 "This is a list of options to pass to &dpkg;. The options must be specified "
4628 "using the list notation and each list item is passed as a single argument to "
4631 "&dpkg; に渡すオプションのリストです。オプションは、リスト記法を使用して指定し"
4632 "なければなりません。また、各リストは単一の引数として &dpkg; に渡されます。"
4634 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4635 #: apt.conf.5.xml:705
4637 "This is a list of shell commands to run before/after invoking &dpkg;. Like "
4638 "<literal>options</literal> this must be specified in list notation. The "
4639 "commands are invoked in order using <filename>/bin/sh</filename>; should any "
4640 "fail APT will abort."
4642 "&dpkg; を呼び出す前後で実行するシェルコマンドのリストです。<literal>options</"
4643 "literal> のようにリスト記法で指定しなければなりません。コマンドは <filename>/"
4644 "bin/sh</filename> を通して呼び出され、何か問題があれば APT が異常終了します。"
4646 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4647 #: apt.conf.5.xml:712
4650 #| "This is a list of shell commands to run before invoking &dpkg;. Like "
4651 #| "<literal>options</literal> this must be specified in list notation. The "
4652 #| "commands are invoked in order using <filename>/bin/sh</filename>; should "
4653 #| "any fail APT will abort. APT will pass the filenames of all .deb files it "
4654 #| "is going to install to the commands, one per line on standard input."
4656 "This is a list of shell commands to run before invoking &dpkg;. Like "
4657 "<literal>options</literal> this must be specified in list notation. The "
4658 "commands are invoked in order using <filename>/bin/sh</filename>; should any "
4659 "fail APT will abort. APT will pass the filenames of all .deb files it is "
4660 "going to install to the commands, one per line on the requested file "
4661 "descriptor, defaulting to standard input."
4663 "&dpkg; を呼び出す前に実行するシェルコマンドのリストです。<literal>options</"
4664 "literal> のようにリスト記法で指定しなければなりません。コマンドは <filename>/"
4665 "bin/sh</filename> を通して呼び出され、何か問題があれば、APT は異常終了しま"
4666 "す。APT はインストールしようとする全 .deb ファイルのファイル名を、1 行ずつコ"
4669 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4670 #: apt.conf.5.xml:719
4673 #| "Version 2 of this protocol dumps more information, including the protocol "
4674 #| "version, the APT configuration space and the packages, files and versions "
4675 #| "being changed. Version 2 is enabled by setting <literal>DPkg::Tools::"
4676 #| "options::cmd::Version</literal> to 2. <literal>cmd</literal> is a command "
4677 #| "given to <literal>Pre-Install-Pkgs</literal>."
4679 "Version 2 of this protocol dumps more information, including the protocol "
4680 "version, the APT configuration space and the packages, files and versions "
4681 "being changed. Version 3 adds the architecture and <literal>MultiArch</"
4682 "literal> flag to each version being dumped."
4684 "このプロトコルのバージョン 2 では、(プロトコルのバージョンや APT 設定スペー"
4685 "ス、パッケージを含む) 詳細情報やファイル、変更されているバージョンを出力しま"
4686 "す。<literal>DPkg::Tools::options::cmd::Version</literal> に 2 を設定すると、"
4687 "バージョン 2 を有効にできます。<literal>cmd</literal> は <literal>Pre-"
4688 "Install-Pkgs</literal> で与えられるコマンドです。"
4690 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4691 #: apt.conf.5.xml:724
4693 "The version of the protocol to be used for the command "
4694 "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
4695 "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</"
4696 "literal> accordingly, the default being version 1. If APT isn't supporting "
4697 "the requested version it will send the information in the highest version it "
4698 "has support for instead."
4701 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4702 #: apt.conf.5.xml:731
4704 "The file descriptor to be used to send the information can be requested with "
4705 "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</"
4706 "literal> which defaults to <literal>0</literal> for standard input and is "
4707 "available since version 0.9.11. Support for the option can be detected by "
4708 "looking for the environment variable <envar>APT_HOOK_INFO_FD</envar> which "
4709 "contains the number of the used file descriptor as a confirmation."
4712 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4713 #: apt.conf.5.xml:741
4715 "APT chdirs to this directory before invoking &dpkg;, the default is "
4716 "<filename>/</filename>."
4718 "APT は &dpkg; を呼び出す前にこのディレクトリに移動します。デフォルトは "
4719 "<filename>/</filename> です。"
4721 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4722 #: apt.conf.5.xml:746
4724 "These options are passed to &dpkg-buildpackage; when compiling packages; the "
4725 "default is to disable signing and produce all binaries."
4727 "これらのオプションは、パッケージのコンパイル時に &dpkg-buildpackage; に渡され"
4728 "ます。デフォルトでは署名を無効にし、全バイナリを生成します。"
4730 #. type: Content of: <refentry><refsect1><refsect2><title>
4731 #: apt.conf.5.xml:751
4732 msgid "dpkg trigger usage (and related options)"
4733 msgstr "dpkg トリガの使い方 (および関連オプション)"
4735 #. type: Content of: <refentry><refsect1><refsect2><para>
4736 #: apt.conf.5.xml:752
4738 "APT can call &dpkg; in such a way as to let it make aggressive use of "
4739 "triggers over multiple calls of &dpkg;. Without further options &dpkg; will "
4740 "use triggers once each time it runs. Activating these options can therefore "
4741 "decrease the time needed to perform the install or upgrade. Note that it is "
4742 "intended to activate these options per default in the future, but as it "
4743 "drastically changes the way APT calls &dpkg; it needs a lot more testing. "
4744 "<emphasis>These options are therefore currently experimental and should not "
4745 "be used in production environments.</emphasis> It also breaks progress "
4746 "reporting such that all front-ends will currently stay around half (or more) "
4747 "of the time in the 100% state while it actually configures all packages."
4749 "APT は、複数の &dpkg; 呼び出しトリガを、積極的に行わせる方法で &dpkg; を呼び"
4750 "出せます。オプションがなければ、実行のたびに &dpkg; は一度トリガを引くだけで"
4751 "す。そのため、このオプションを有効にすると、インストールやアップグレードにか"
4752 "かる時間を、短くできます。将来、このオプションを、デフォルトで有効にする方向"
4753 "であることに注意してください。しかし、APT が &dpkg; を呼ぶ方法といった大幅な"
4754 "変更を行うには、もっとたくさんのテストが必要です。<emphasis>したがって、この"
4755 "オプションは現在実験中で、本番環境では使用するべきではありません。</emphasis>"
4756 "さらに、すべてのフロントエンドが、実際には全パッケージを設定中なのに、半分 "
4757 "(もしくはそれ以上) の時間 100% のままとなり、進捗レポートを壊してしまいます。"
4759 #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
4760 #: apt.conf.5.xml:767
4763 "DPkg::NoTriggers \"true\";\n"
4764 "PackageManager::Configure \"smart\";\n"
4765 "DPkg::ConfigurePending \"true\";\n"
4766 "DPkg::TriggersPending \"true\";"
4768 "DPkg::NoTriggers \"true\";\n"
4769 "PackageManager::Configure \"smart\";\n"
4770 "DPkg::ConfigurePending \"true\";\n"
4771 "DPkg::TriggersPending \"true\";"
4773 #. type: Content of: <refentry><refsect1><refsect2><para>
4774 #: apt.conf.5.xml:761
4776 "Note that it is not guaranteed that APT will support these options or that "
4777 "these options will not cause (big) trouble in the future. If you have "
4778 "understand the current risks and problems with these options, but are brave "
4779 "enough to help testing them, create a new configuration file and test a "
4780 "combination of options. Please report any bugs, problems and improvements "
4781 "you encounter and make sure to note which options you have used in your "
4782 "reports. Asking &dpkg; for help could also be useful for debugging proposes, "
4783 "see e.g. <command>dpkg --audit</command>. A defensive option combination "
4784 "would be <placeholder type=\"literallayout\" id=\"0\"/>"
4786 "APT がこのオプションをサポートすることや、将来このオプションが (大きな) トラ"
4787 "ブルの原因にならないことは、保証されないことに注意してください。このオプショ"
4788 "ンの現在のリスクと問題を理解し、テストを手伝う十分な勇気があるなら、新しい設"
4789 "定ファイルを作成し、オプションの組み合わせのテストをお願いしたいです。遭遇し"
4790 "たどんなバグ、問題、改善点を、どのようなオプションを使用したかと添えて報告し"
4791 "てください。デバッグに役立つ可能性のある情報を &dpkg; に問い合わせることを提"
4792 "案します (例: <command>dpkg --audit</command> を参照)。防御的なオプションの組"
4793 "み合わせは、以下のようになります。<placeholder type=\"literallayout\" id="
4796 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
4797 #: apt.conf.5.xml:774
4799 "Add the no triggers flag to all &dpkg; calls (except the ConfigurePending "
4800 "call). See &dpkg; if you are interested in what this actually means. In "
4801 "short: &dpkg; will not run the triggers when this flag is present unless it "
4802 "is explicitly called to do so in an extra call. Note that this option "
4803 "exists (undocumented) also in older APT versions with a slightly different "
4804 "meaning: Previously these option only append --no-triggers to the configure "
4805 "calls to &dpkg; - now APT will also add this flag to the unpack and remove "
4808 "&dpkg; を呼び出すすべてのフラグ (ConfigurePending 呼び出し以外) を付与しませ"
4809 "ん。実際にこれが何を意味するのか興味があるなら、&dpkg; を参照してください。要"
4810 "するに、追加呼び出しで明示的に呼び出されない限り、このフラグがあると、&dpkg; "
4811 "はトリガを実行しません。また、古いバージョンの APT に、意味がわずかに異なる、"
4812 "このオプションが存在することに注意してください (ドキュメントなし)。以前のこの"
4813 "オプションは、&dpkg; の呼び出し設定に、--no-triggers を追加するだけでした。現"
4814 "在 APT は、このフラグを、展開呼び出しや削除呼び出しにも追加します。"
4816 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
4817 #: apt.conf.5.xml:782
4819 "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
4820 "and \"<literal>no</literal>\". The default value is \"<literal>all</literal>"
4821 "\", which causes APT to configure all packages. The \"<literal>smart</"
4822 "literal>\" way is to configure only packages which need to be configured "
4823 "before another package can be unpacked (Pre-Depends), and let the rest be "
4824 "configured by &dpkg; with a call generated by the ConfigurePending option "
4825 "(see below). On the other hand, \"<literal>no</literal>\" will not configure "
4826 "anything, and totally relies on &dpkg; for configuration (which at the "
4827 "moment will fail if a Pre-Depends is encountered). Setting this option to "
4828 "any value other than <literal>all</literal> will implicitly also activate "
4829 "the next option by default, as otherwise the system could end in an "
4830 "unconfigured and potentially unbootable state."
4832 "有効な値は \"<literal>all</literal>\", \"<literal>smart</literal>\", "
4833 "\"<literal>no</literal>\" です。デフォルト値は \"<literal>all</literal>\" "
4834 "で、APT にすべてのパッケージを設定させます。\"<literal>smart</literal>\" で"
4835 "は、他のパッケージを展開する前に、設定が終わっていなければならないパッケージ "
4836 "(事前依存) のみを設定し、残りを ConfigurePending オプション (後述) で生成し"
4837 "た &dpkg; 呼び出しで設定します。他方では、\"<literal>no</literal>\" は何も設"
4838 "定しません。設定については &dpkg; にすべて依存します (事前依存があると失敗し"
4839 "ます)。このオプションを <literal>all</literal> 以外の値に設定すると、次のオプ"
4840 "ションを暗黙的に有効にします。そうしないと、設定が完了せず、起動しなくなる可"
4843 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
4844 #: apt.conf.5.xml:797
4846 "If this option is set APT will call <command>dpkg --configure --pending</"
4847 "command> to let &dpkg; handle all required configurations and triggers. This "
4848 "option is activated automatically per default if the previous option is not "
4849 "set to <literal>all</literal>, but deactivating it could be useful if you "
4850 "want to run APT multiple times in a row - e.g. in an installer. In these "
4851 "sceneries you could deactivate this option in all but the last run."
4853 "このオプションがセットされると、&dpkg; にすべての必要な設定とトリガを扱わせる"
4854 "ように、APT は <command>dpkg --configure --pending</command> を呼び出します。"
4855 "前述のオプションが <literal>all</literal> に設定されていない場合、このオプ"
4856 "ションは、デフォルトで有効となります。しかし、APT を複数回連続して実行する場"
4857 "合 (インストーラなど) には、無効にしたほうが便利かもしれません。このシナリオ"
4858 "では、最後以外のすべての実行で、無効にできます。"
4860 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
4861 #: apt.conf.5.xml:804
4863 "Useful for the <literal>smart</literal> configuration as a package which has "
4864 "pending triggers is not considered as <literal>installed</literal>, and "
4865 "&dpkg; treats them as <literal>unpacked</literal> currently which is a "
4866 "showstopper for Pre-Dependencies (see debbugs #526774). Note that this will "
4867 "process all triggers, not only the triggers needed to configure this package."
4869 "<literal>installed</literal> として認識されない保留トリガがあるパッケージを、"
4870 "<literal>smart</literal> 設定するのに便利です。&dpkg; は現在、先行依存関係に"
4871 "は無力な <literal>unpacked</literal> として扱います (debbugs #526774 参照)。"
4872 "このパッケージを設定するのに必要なトリガのみでなく、すべてのトリガを処理する"
4875 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
4876 #: apt.conf.5.xml:817
4879 "OrderList::Score {\n"
4881 "\tEssential 200;\n"
4883 "\tPreDepends 50;\n"
4886 "OrderList::Score {\n"
4888 "\tEssential 200;\n"
4890 "\tPreDepends 50;\n"
4893 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
4894 #: apt.conf.5.xml:810
4896 "Essential packages (and their dependencies) should be configured immediately "
4897 "after unpacking. It is a good idea to do this quite early in the upgrade "
4898 "process as these configure calls also currently require <literal>DPkg::"
4899 "TriggersPending</literal> which will run quite a few triggers (which may not "
4900 "be needed). Essentials get per default a high score but the immediate flag "
4901 "is relatively low (a package which has a Pre-Depends is rated higher). "
4902 "These option and the others in the same group can be used to change the "
4903 "scoring. The following example shows the settings with their default "
4904 "values. <placeholder type=\"literallayout\" id=\"0\"/>"
4906 "不可欠パッケージ (と、その依存しているパッケージ) は展開を終えると、すぐに設"
4907 "定するべきです。アップグレードプロセスの初期に、設定してしまうのが良いのです"
4908 "が、現在 <literal>DPkg::TriggersPending</literal> を要求しているパッケージも"
4909 "同時に行うため、かなり多くのトリガ (すべてが必要とは限らない) を処理すること"
4910 "になります。不可欠パッケージは、デフォルトではスコアを高く設定されています"
4911 "が、即時フラグは相対的に低くなっています (先行依存パッケージのほうが高い)。こ"
4912 "のオプションと、これと同じグループに属するものは、このスコア付けを変更するの"
4913 "に使用します。以下の例では、デフォルト値を変更しています。<placeholder type="
4914 "\"literallayout\" id=\"0\"/>"
4916 #. type: Content of: <refentry><refsect1><title>
4917 #: apt.conf.5.xml:830
4918 msgid "Periodic and Archives options"
4919 msgstr "Periodic オプションと Archives オプション"
4921 #. type: Content of: <refentry><refsect1><para>
4922 #: apt.conf.5.xml:831
4924 "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
4925 "of options configure behavior of apt periodic updates, which is done by the "
4926 "<literal>/etc/cron.daily/apt</literal> script. See the top of this script "
4927 "for the brief documentation of these options."
4929 "オプションの <literal>APT::Periodic</literal> グループと <literal>APT::"
4930 "Archives</literal> グループは、<literal>/etc/cron.daily/apt</literal> スクリ"
4931 "プトを使用して、apt の定期更新の挙動を設定します。このオプションのドキュメン"
4932 "トは、このスクリプトの先頭を参照してください。"
4934 #. type: Content of: <refentry><refsect1><title>
4935 #: apt.conf.5.xml:839
4936 msgid "Debug options"
4939 #. type: Content of: <refentry><refsect1><para>
4940 #: apt.conf.5.xml:841
4942 "Enabling options in the <literal>Debug::</literal> section will cause "
4943 "debugging information to be sent to the standard error stream of the program "
4944 "utilizing the <literal>apt</literal> libraries, or enable special program "
4945 "modes that are primarily useful for debugging the behavior of <literal>apt</"
4946 "literal>. Most of these options are not interesting to a normal user, but a "
4949 "<literal>Debug::</literal> セクションのオプションを有効にすると、"
4950 "<literal>apt</literal> ライブラリを利用するプログラムの標準エラー出力に、デ"
4951 "バッグ情報を送るようになったり、主に <literal>apt</literal> の挙動をデバッグ"
4952 "するのに便利な、特殊モードを有効にしたりできます。普通のユーザには、ほとんど"
4953 "のオプションは興味がないでしょうが、以下のものは興味を引くかもしれません。"
4955 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4956 #: apt.conf.5.xml:852
4958 "<literal>Debug::pkgProblemResolver</literal> enables output about the "
4959 "decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
4962 "<literal>Debug::pkgProblemResolver</literal> は、<literal>dist-upgrade, "
4963 "upgrade, install, remove, purge</literal> で行われた判断についての出力を有効"
4966 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4967 #: apt.conf.5.xml:860
4969 "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
4970 "used to run some operations (for instance, <literal>apt-get -s install</"
4971 "literal>) as a non-root user."
4973 "<literal>Debug::NoLocking</literal> はファイルロックをすべて無効にします。こ"
4974 "れは、非 root ユーザとして操作 (例えば <literal>apt-get -s install</"
4975 "literal>) を行う場合に使用します。"
4977 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4978 #: apt.conf.5.xml:869
4980 "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
4981 "time that <literal>apt</literal> invokes &dpkg;."
4983 "<literal>Debug::pkgDPkgPM</literal> は <literal>apt</literal> が実際に "
4984 "&dpkg; を起動する際の各コマンドラインを表示します。"
4987 #. motivating example, except I haven't a clue why you'd want
4989 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4990 #: apt.conf.5.xml:877
4992 "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
4995 "<literal>Debug::IdentCdrom</literal> は CD-ROM ID にある statfs データを含め"
4998 #. type: Content of: <refentry><refsect1><para>
4999 #: apt.conf.5.xml:887
5000 msgid "A full list of debugging options to apt follows."
5001 msgstr "以下は apt に対するデバッグオプションのすべてです。"
5003 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5004 #: apt.conf.5.xml:896
5006 "Print information related to accessing <literal>cdrom://</literal> sources."
5008 "<literal>cdrom://</literal> ソースへのアクセスに関する情報を出力します。"
5010 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5011 #: apt.conf.5.xml:907
5012 msgid "Print information related to downloading packages using FTP."
5013 msgstr "FTP を用いたパッケージのダウンロードに関する情報を出力します。"
5015 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5016 #: apt.conf.5.xml:918
5017 msgid "Print information related to downloading packages using HTTP."
5018 msgstr "HTTP を用いたパッケージのダウンロードに関する情報を出力します。"
5020 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5021 #: apt.conf.5.xml:929
5022 msgid "Print information related to downloading packages using HTTPS."
5023 msgstr "HTTPS を用いたパッケージのダウンロードに関する情報を出力します。"
5025 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5026 #: apt.conf.5.xml:940
5028 "Print information related to verifying cryptographic signatures using "
5029 "<literal>gpg</literal>."
5031 "<literal>gpg</literal> を用いた暗号署名の検証に関する情報を出力します。"
5033 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5034 #: apt.conf.5.xml:951
5036 "Output information about the process of accessing collections of packages "
5037 "stored on CD-ROMs."
5039 "CD-ROM にあるパッケージ集合に対して、アクセスするプロセスについての情報を出力"
5042 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5043 #: apt.conf.5.xml:961
5044 msgid "Describes the process of resolving build-dependencies in &apt-get;."
5045 msgstr "&apt-get; での構築依存関係解決のプロセスを説明します。"
5047 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5048 #: apt.conf.5.xml:971
5050 "Output each cryptographic hash that is generated by the <literal>apt</"
5051 "literal> libraries."
5053 "<literal>apt</literal> ライブラリが生成した、暗号化ハッシュを出力します。"
5055 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5056 #: apt.conf.5.xml:981
5058 "Do not include information from <literal>statfs</literal>, namely the number "
5059 "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
5062 "CD-ROM の ID を生成する際に <literal>statfs</literal> という、CD-ROM ファイル"
5063 "システムにある使用済・未使用ブロックの数からの情報を含めないようにします。"
5065 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5066 #: apt.conf.5.xml:992
5068 "Disable all file locking. For instance, this will allow two instances of "
5069 "<quote><literal>apt-get update</literal></quote> to run at the same time."
5071 "ファイルのロックをすべて無効にします。例えば、同時にふたつの "
5072 "<quote><literal>apt-get update</literal></quote> を実行できるようになります。"
5074 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5075 #: apt.conf.5.xml:1004
5076 msgid "Log when items are added to or removed from the global download queue."
5078 "グローバルダウンロードキューに対する項目の追加・削除の際にログを出力します。"
5080 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5081 #: apt.conf.5.xml:1014
5083 "Output status messages and errors related to verifying checksums and "
5084 "cryptographic signatures of downloaded files."
5086 "ダウンロードしたファイルのチェックサムや暗号署名の確認に関する、状態メッセー"
5089 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5090 #: apt.conf.5.xml:1024
5092 "Output information about downloading and applying package index list diffs, "
5093 "and errors relating to package index list diffs."
5095 "パッケージインデックスリスト差分のダウンロード・適用時の、情報やエラーを出力"
5098 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5099 #: apt.conf.5.xml:1036
5101 "Output information related to patching apt package lists when downloading "
5102 "index diffs instead of full indices."
5104 "インデックス全体ではなくインデックス差分のダウンロードの際に、apt パッケージ"
5105 "リストへのパッチ適用に関する情報を出力します。"
5107 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5108 #: apt.conf.5.xml:1047
5110 "Log all interactions with the sub-processes that actually perform downloads."
5112 "実際のダウンロードを行う際の、サブプロセスとのやりとりをログに出力します。"
5114 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5115 #: apt.conf.5.xml:1058
5117 "Log events related to the automatically-installed status of packages and to "
5118 "the removal of unused packages."
5120 "パッケージの自動インストールや、不要パッケージの削除に関するイベントを、ログ"
5123 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5124 #: apt.conf.5.xml:1068
5126 "Generate debug messages describing which packages are being automatically "
5127 "installed to resolve dependencies. This corresponds to the initial auto-"
5128 "install pass performed in, e.g., <literal>apt-get install</literal>, and not "
5129 "to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
5130 "pkgProblemResolver</literal> for that."
5132 "依存関係解決のために、どのパッケージが自動的にインストールされたかのデバッグ"
5133 "メッセージを生成します。これは完全な <literal>apt</literal> 依存関係解決プロ"
5134 "グラム (<literal>Debug::pkgProblemResolver</literal> を参照) ではなく、例え"
5135 "ば <literal>apt-get install</literal> で実行された、初期の自動インストール経"
5138 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5139 #: apt.conf.5.xml:1082
5141 "Generate debug messages describing which packages are marked as keep/install/"
5142 "remove while the ProblemResolver does his work. Each addition or deletion "
5143 "may trigger additional actions; they are shown indented two additional "
5144 "spaces under the original entry. The format for each line is "
5145 "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
5146 "<literal>MarkInstall</literal> followed by <literal>package-name <a.b.c -"
5147 "> d.e.f | x.y.z> (section)</literal> where <literal>a.b.c</literal> is "
5148 "the current version of the package, <literal>d.e.f</literal> is the version "
5149 "considered for installation and <literal>x.y.z</literal> is a newer version, "
5150 "but not considered for installation (because of a low pin score). The later "
5151 "two can be omitted if there is none or if it is the same as the installed "
5152 "version. <literal>section</literal> is the name of the section the package "
5155 "ProblemResolver が動作する際に、一時保留・インストール・削除としてマークされ"
5156 "たパッケージに関する、デバッグメッセージを生成します。各追加・削除は追加アク"
5157 "ションのトリガとなり、これをオリジナルのエントリの下に、空白 2 個でインデント"
5158 "して表示します。各行は、<literal>MarkKeep</literal>, <literal>MarkDelete</"
5159 "literal>, <literal>MarkInstall</literal> となり、<literal>package-name <a."
5160 "b.c -> d.e.f | x.y.z> (section)</literal> が続きます。ここで、"
5161 "<literal>a.b.c</literal> は、そのパッケージの現在のバージョン、<literal>d.e."
5162 "f</literal>は、インストール予定のバージョン、<literal>x.y.z</literal> はより"
5163 "新しいけれどインストール対象外のバージョン (pin のスコアが低いため) です。後"
5164 "のふたつは、存在しない、ないしインストール中のバージョンと同じ場合、省略され"
5165 "ます。<literal>section</literal> はパッケージが現れるセクション名です。"
5167 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5168 #: apt.conf.5.xml:1103
5170 "When invoking &dpkg;, output the precise command line with which it is being "
5171 "invoked, with arguments separated by a single space character."
5173 "&dpkg; 起動時に、起動した際の正確なコマンドラインを出力します。引数は空白で区"
5176 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5177 #: apt.conf.5.xml:1114
5179 "Output all the data received from &dpkg; on the status file descriptor and "
5180 "any errors encountered while parsing it."
5182 "状態ファイルディスクリプタに、&dpkg; から受信したすべてのデータと、そのデータ"
5183 "を解析中に発生したエラーを出力します。"
5185 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5186 #: apt.conf.5.xml:1125
5188 "Generate a trace of the algorithm that decides the order in which "
5189 "<literal>apt</literal> should pass packages to &dpkg;."
5191 "<literal>apt</literal> が &dpkg; にパッケージを渡す順番を決める、アルゴリズム"
5194 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5195 #: apt.conf.5.xml:1137
5197 "Output status messages tracing the steps performed when invoking &dpkg;."
5198 msgstr "&dpkg; を呼び出す際に、実行手順を追跡した状態メッセージを出力します。"
5200 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5201 #: apt.conf.5.xml:1148
5202 msgid "Output the priority of each package list on startup."
5203 msgstr "起動時の各パッケージの優先度を表示します。"
5205 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5206 #: apt.conf.5.xml:1158
5208 "Trace the execution of the dependency resolver (this applies only to what "
5209 "happens when a complex dependency problem is encountered)."
5211 "依存関係解決システムの実行内容を追跡します (これは複雑な依存関係の問題に遭遇"
5214 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5215 #: apt.conf.5.xml:1169
5217 "Display a list of all installed packages with their calculated score used by "
5218 "the pkgProblemResolver. The description of the package is the same as "
5219 "described in <literal>Debug::pkgDepCache::Marker</literal>"
5221 "全インストール済みパッケージの、pkgProblemResolver が計算したスコアを一覧表示"
5222 "します。パッケージの説明は、<literal>Debug::pkgDepCache::Marker</literal> で"
5225 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5226 #: apt.conf.5.xml:1181
5228 "Print information about the vendors read from <filename>/etc/apt/vendors."
5231 "<filename>/etc/apt/vendors.list</filename> から読み込んだ、ベンダの情報を出力"
5234 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5235 #: apt.conf.5.xml:1191
5237 "Display the external commands that are called by apt hooks. This includes e."
5238 "g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
5239 "<literal>APT::Update::{Pre,Post}-Invoke</literal>."
5242 #. type: Content of: <refentry><refsect1><title>
5243 #: apt.conf.5.xml:1215 apt_preferences.5.xml:547 sources.list.5.xml:239
5244 #: apt-ftparchive.1.xml:598
5248 #. type: Content of: <refentry><refsect1><para>
5249 #: apt.conf.5.xml:1216
5251 "&configureindex; is a configuration file showing example values for all "
5254 "&configureindex; は、全利用可能オプション値のサンプルを参照できる、設定ファイ"
5257 #. ? reading apt.conf
5258 #. type: Content of: <refentry><refsect1><para>
5259 #: apt.conf.5.xml:1228
5260 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
5261 msgstr "&apt-cache;, &apt-config;, &apt-preferences;."
5263 #. type: Content of: <refentry><refnamediv><refpurpose>
5264 #: apt_preferences.5.xml:34
5265 msgid "Preference control file for APT"
5266 msgstr "APT 用選択制御ファイル"
5268 #. type: Content of: <refentry><refsect1><para>
5269 #: apt_preferences.5.xml:39
5271 "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
5272 "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
5273 "can be used to control which versions of packages will be selected for "
5276 "APT プリファレンスファイル <filename>/etc/apt/preferences</filename> と "
5277 "<filename>/etc/apt/preferences.d/</filename> フォルダにある断片ファイルは、イ"
5278 "ンストールするパッケージのバージョンを制御するのに使用します。"
5280 #. type: Content of: <refentry><refsect1><para>
5281 #: apt_preferences.5.xml:44
5283 "Several versions of a package may be available for installation when the "
5284 "&sources-list; file contains references to more than one distribution (for "
5285 "example, <literal>stable</literal> and <literal>testing</literal>). APT "
5286 "assigns a priority to each version that is available. Subject to dependency "
5287 "constraints, <command>apt-get</command> selects the version with the highest "
5288 "priority for installation. The APT preferences override the priorities that "
5289 "APT assigns to package versions by default, thus giving the user control "
5290 "over which one is selected for installation."
5292 "&sources-list; ファイルに複数のディストリビューション (<literal>stable</"
5293 "literal> と <literal>testing</literal> など) が指定されていて、パッケージに対"
5294 "し複数のバージョンがインストールできることがあります。このとき APT は、利用で"
5295 "きるバージョンごとに優先度を割り当てます。依存関係規則を条件として、"
5296 "<command>apt-get</command> は、最も高い優先度を持つバージョンをインストールす"
5297 "るよう選択します。APT プリファレンスファイルは、APT がデフォルトで割り当て"
5298 "た、パッケージのバージョンの優先度を上書きします。その結果インストールするも"
5299 "のの選択を、ユーザが選択できるようになります。"
5301 #. type: Content of: <refentry><refsect1><para>
5302 #: apt_preferences.5.xml:54
5304 "Several instances of the same version of a package may be available when the "
5305 "&sources-list; file contains references to more than one source. In this "
5306 "case <command>apt-get</command> downloads the instance listed earliest in "
5307 "the &sources-list; file. The APT preferences do not affect the choice of "
5308 "instance, only the choice of version."
5310 "&sources-list; ファイルに複数の参照が書かれている場合、パッケージの同じバー"
5311 "ジョンのインスタンスが複数利用できる可能性があります。この場合、<command>apt-"
5312 "get</command> は &sources-list; ファイルの初めの方に指定されているところから"
5313 "ダウンロードします。APT プリファレンスファイルはバージョンの選択にのみ影響"
5314 "し、インスタンスの選択には影響しません。"
5316 #. type: Content of: <refentry><refsect1><para>
5317 #: apt_preferences.5.xml:61
5319 "Preferences are a strong power in the hands of a system administrator but "
5320 "they can become also their biggest nightmare if used without care! APT will "
5321 "not question the preferences, so wrong settings can lead to uninstallable "
5322 "packages or wrong decisions while upgrading packages. Even more problems "
5323 "will arise if multiple distribution releases are mixed without a good "
5324 "understanding of the following paragraphs. Packages included in a specific "
5325 "release aren't tested in (and therefore don't always work as expected in) "
5326 "older or newer releases, or together with other packages from different "
5327 "releases. You have been warned."
5329 "プリファレンスファイルは、システム管理者の強い力ですが、注意して使わないと大"
5330 "きな悪夢にもなります! APT はプリファレンスについて問い合わせることはしませ"
5331 "ん。そのため、設定を誤ったことにより、インストールできないパッケージに誘導さ"
5332 "れたり、パッケージのアップグレード中に誤った判断をしたりという事がありえま"
5333 "す。以降の段落の内容をよく理解しないで、複数のディストリビューションリリース"
5334 "を混ぜてしまうと、より多くの問題が発生する事になります。特定のリリースに含ま"
5335 "れるパッケージは、古い/新しいリリースや、異なるリリースから持ってきた他のパッ"
5336 "ケージとでは、テストされていません (し、予想通りに常に動作するとは限りませ"
5339 #. type: Content of: <refentry><refsect1><para>
5340 #: apt_preferences.5.xml:72
5342 "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
5343 "directory are parsed in alphanumeric ascending order and need to obey the "
5344 "following naming convention: The files have either no or \"<literal>pref</"
5345 "literal>\" as filename extension and only contain alphanumeric, hyphen (-), "
5346 "underscore (_) and period (.) characters. Otherwise APT will print a notice "
5347 "that it has ignored a file, unless that file matches a pattern in the "
5348 "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
5349 "case it will be silently ignored."
5351 "<filename>/etc/apt/preferences.d</filename> ディレクトリにあるファイルは、英"
5352 "数字の昇順で解析され、以下の命名規約に従う必要があることに注意してください。"
5353 "ファイル名の拡張子はないか、\"<literal>pref</literal>\" となっており、英数"
5354 "字、ハイフン (-)、アンダースコア (_)、ピリオド (.) でできています。そうでなけ"
5355 "れば、<literal>Dir::Ignore-Files-Silently</literal> 設定リストのパターンに一"
5356 "致するもの以外に対して、ファイルを無視するという注意を APT が出力します。一致"
5359 #. type: Content of: <refentry><refsect1><refsect2><title>
5360 #: apt_preferences.5.xml:81
5361 msgid "APT's Default Priority Assignments"
5362 msgstr "APT のデフォルト優先度の割り当て"
5364 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5365 #: apt_preferences.5.xml:96
5367 msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
5368 msgstr "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
5370 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5371 #: apt_preferences.5.xml:99
5373 msgid "APT::Default-Release \"stable\";\n"
5374 msgstr "APT::Default-Release \"stable\";\n"
5376 #. type: Content of: <refentry><refsect1><refsect2><para>
5377 #: apt_preferences.5.xml:83
5379 "If there is no preferences file or if there is no entry in the file that "
5380 "applies to a particular version then the priority assigned to that version "
5381 "is the priority of the distribution to which that version belongs. It is "
5382 "possible to single out a distribution, \"the target release\", which "
5383 "receives a higher priority than other distributions do by default. The "
5384 "target release can be set on the <command>apt-get</command> command line or "
5385 "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
5386 "that this has precedence over any general priority you set in the <filename>/"
5387 "etc/apt/preferences</filename> file described later, but not over "
5388 "specifically pinned packages. For example, <placeholder type="
5389 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
5391 "プリファレンスファイルがなかったり、プリファレンスファイルに特定のパッケージ"
5392 "を割り当てるエントリがない場合、そのバージョンの優先度は、そのバージョンが属"
5393 "しているディストリビューションの優先度となります。デフォルトで他のディストリ"
5394 "ビューションより高い優先度を持つ、特定のディストリビューションを「ターゲット"
5395 "リリース」としておけます。ターゲットリリースは、<command>apt-get</command> の"
5396 "コマンドラインや、APT 設定ファイル <filename>/etc/apt/apt.conf</filename> で"
5397 "設定できます。後述する <filename>/etc/apt/preferences</filename> ファイルで設"
5398 "定した一般優先度よりもこれは優先されますが、pin 止めしたパッケージには及ばな"
5399 "いことに注意してください。例えば以下のようになります。<placeholder type="
5400 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
5402 #. type: Content of: <refentry><refsect1><refsect2><para>
5403 #: apt_preferences.5.xml:103
5405 "If the target release has been specified then APT uses the following "
5406 "algorithm to set the priorities of the versions of a package. Assign:"
5408 "ターゲットリリースが指定されると、APT は以下のアルゴリズムで、パッケージの"
5409 "バージョンの優先度を設定します。以下のように割り当てます。"
5411 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5412 #: apt_preferences.5.xml:108
5416 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5417 #: apt_preferences.5.xml:109
5419 "to the versions coming from archives which in their <filename>Release</"
5420 "filename> files are marked as \"NotAutomatic: yes\" but <emphasis>not</"
5421 "emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
5422 "<literal>experimental</literal> archive."
5424 "Debian の <literal>experimental</literal> アーカイブのように、"
5425 "<filename>Release</filename> ファイルに \"NotAutomatic: yes\" とマークさ"
5426 "れ、\"ButAutomaticUpgrades: yes\" とマークされて<emphasis>いない</emphasis>"
5429 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5430 #: apt_preferences.5.xml:115
5431 msgid "priority 100"
5434 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5435 #: apt_preferences.5.xml:116
5437 "to the version that is already installed (if any) and to the versions coming "
5438 "from archives which in their <filename>Release</filename> files are marked "
5439 "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
5440 "backports archive since <literal>squeeze-backports</literal>."
5442 "(もしあれば) 既にインストール済みのバージョンや、<literal>squeeze-backports</"
5443 "literal> 以降である Debian のバックポートアーカイブのような、"
5444 "<filename>Release</filename> ファイルに \"NotAutomatic: yes\" かつ "
5445 "\"ButAutomaticUpgrades: yes\" とマークされているアーカイブ由来のバージョン。"
5447 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5448 #: apt_preferences.5.xml:123
5449 msgid "priority 500"
5452 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5453 #: apt_preferences.5.xml:124
5455 "to the versions that are not installed and do not belong to the target "
5457 msgstr "インストールされておらず、ターゲットリリースに含まれないバージョン。"
5459 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5460 #: apt_preferences.5.xml:128
5461 msgid "priority 990"
5464 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5465 #: apt_preferences.5.xml:129
5467 "to the versions that are not installed and belong to the target release."
5468 msgstr "インストールされておらず、ターゲットリリースに含まれるバージョン。"
5470 #. type: Content of: <refentry><refsect1><refsect2><para>
5471 #: apt_preferences.5.xml:134
5473 "If the target release has not been specified then APT simply assigns "
5474 "priority 100 to all installed package versions and priority 500 to all "
5475 "uninstalled package versions, except versions coming from archives which in "
5476 "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
5477 "- these versions get the priority 1 or priority 100 if it is additionally "
5478 "marked as \"ButAutomaticUpgrades: yes\"."
5480 "ターゲットリリースが指定されていなければ、APT は単純にインストールしている"
5481 "パッケージのバージョンには優先度 100 を、インストールしていないパッケージの"
5482 "バージョンには優先度 500 を割り当てます。ただし、<filename>Release</"
5483 "filename> ファイルに \"NotAutomatic: yes\" とマークされたアーカイブ由来のバー"
5484 "ジョンは違います。こういったバージョンでは優先度 1 を割り当て、さらに "
5485 "\"ButAutomaticUpgrades: yes\" とマークされている場合には、優先度 100 を割り当"
5488 #. type: Content of: <refentry><refsect1><refsect2><para>
5489 #: apt_preferences.5.xml:141
5491 "APT then applies the following rules, listed in order of precedence, to "
5492 "determine which version of a package to install."
5494 "APT は、インストールするパッケージのバージョンを決定するために、以下のルール"
5497 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5498 #: apt_preferences.5.xml:144
5500 "Never downgrade unless the priority of an available version exceeds 1000. "
5501 "(\"Downgrading\" is installing a less recent version of a package in place "
5502 "of a more recent version. Note that none of APT's default priorities "
5503 "exceeds 1000; such high priorities can only be set in the preferences file. "
5504 "Note also that downgrading a package can be risky.)"
5506 "有効なバージョンの優先度が 1000 を越えない場合、決してダウングレードしませ"
5507 "ん。(「ダウングレード」は、現在のパッケージのバージョンよりも、小さいバージョ"
5508 "ンのものをインストールします。APT のデフォルト優先度が 1000 を越えないことに"
5509 "注意してください。そのような優先度は、プリファレンスファイルでのみ設定できま"
5510 "す。また、パッケージのダウングレードは危険であることにも注意してください)"
5512 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5513 #: apt_preferences.5.xml:150
5514 msgid "Install the highest priority version."
5515 msgstr "最も高い優先度のバージョンをインストールします。"
5517 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5518 #: apt_preferences.5.xml:151
5520 "If two or more versions have the same priority, install the most recent one "
5521 "(that is, the one with the higher version number)."
5523 "同じ優先度のバージョンが複数存在する場合、最も新しいもの (最もバージョン番号"
5524 "が高いもの) をインストールします。"
5526 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5527 #: apt_preferences.5.xml:154
5529 "If two or more versions have the same priority and version number but either "
5530 "the packages differ in some of their metadata or the <literal>--reinstall</"
5531 "literal> option is given, install the uninstalled one."
5533 "優先度・バージョン番号が同じものが複数存在し、そのパッケージのメタデータが異"
5534 "なるか <literal>--reinstall</literal> オプションが与えられている場合、インス"
5535 "トールされていないものをインストールします。"
5537 #. type: Content of: <refentry><refsect1><refsect2><para>
5538 #: apt_preferences.5.xml:160
5540 "In a typical situation, the installed version of a package (priority 100) "
5541 "is not as recent as one of the versions available from the sources listed in "
5542 "the &sources-list; file (priority 500 or 990). Then the package will be "
5543 "upgraded when <command>apt-get install <replaceable>some-package</"
5544 "replaceable></command> or <command>apt-get upgrade</command> is executed."
5546 "よくある状況として、あるインストールされているパッケージのバージョン (優先度 "
5547 "100) が、&sources-list; ファイルのリストから得られるバージョン (優先度 500 "
5548 "か 990) よりも新しくないということがあります。この場合、<command>apt-get "
5549 "install <replaceable>some-package</replaceable></command> や <command>apt-"
5550 "get upgrade</command> を実行するとパッケージが更新されます。"
5552 #. type: Content of: <refentry><refsect1><refsect2><para>
5553 #: apt_preferences.5.xml:167
5555 "More rarely, the installed version of a package is <emphasis>more</emphasis> "
5556 "recent than any of the other available versions. The package will not be "
5557 "downgraded when <command>apt-get install <replaceable>some-package</"
5558 "replaceable></command> or <command>apt-get upgrade</command> is executed."
5560 "まれに、インストールされているパッケージのバージョンが、<emphasis>他の有効な"
5561 "バージョンよりも</emphasis>新しい場合があります。この時 <command>apt-get "
5562 "install <replaceable>some-package</replaceable></command> や <command>apt-"
5563 "get upgrade</command> を実行しても、ダウングレードしません。"
5565 #. type: Content of: <refentry><refsect1><refsect2><para>
5566 #: apt_preferences.5.xml:172
5568 "Sometimes the installed version of a package is more recent than the version "
5569 "belonging to the target release, but not as recent as a version belonging to "
5570 "some other distribution. Such a package will indeed be upgraded when "
5571 "<command>apt-get install <replaceable>some-package</replaceable></command> "
5572 "or <command>apt-get upgrade</command> is executed, because at least "
5573 "<emphasis>one</emphasis> of the available versions has a higher priority "
5574 "than the installed version."
5576 "時々、インストールしているパッケージのバージョンが、ターゲットリリースに属す"
5577 "るバージョンよりも新しく、他のディストリビューションよりも古い場合がありま"
5578 "す。そのようなパッケージに対して <command>apt-get install <replaceable>some-"
5579 "package</replaceable></command> や <command>apt-get upgrade</command> を実行"
5580 "すると、パッケージは更新されます。この場合、インストールされているバージョン"
5581 "よりも、少なくとも<emphasis>ひとつ</emphasis>は、高い優先度を持つ有効なパッ"
5584 #. type: Content of: <refentry><refsect1><refsect2><title>
5585 #: apt_preferences.5.xml:181
5586 msgid "The Effect of APT Preferences"
5587 msgstr "APT プリファレンスファイルの効果"
5589 #. type: Content of: <refentry><refsect1><refsect2><para>
5590 #: apt_preferences.5.xml:183
5592 "The APT preferences file allows the system administrator to control the "
5593 "assignment of priorities. The file consists of one or more multi-line "
5594 "records separated by blank lines. Records can have one of two forms, a "
5595 "specific form and a general form."
5597 "APT プリファレンスファイルを使うと、システム管理者が優先度を割り当てられるよ"
5598 "うになります。ファイルは、空白行で区切られた、複数行からなるレコードで構成さ"
5599 "れています。レコードは特定形式か、汎用形式のどちらかの形式をとります。"
5601 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5602 #: apt_preferences.5.xml:189
5604 "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
5605 "specified packages with a specified version or version range. For example, "
5606 "the following record assigns a high priority to all versions of the "
5607 "<filename>perl</filename> package whose version number begins with "
5608 "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
5611 "特定形式は、優先度 (\"Pin-Priority\") を、指定したバージョンやバージョン範囲"
5612 "の、指定したパッケージについて割り当てます。例えば以下のレコード"
5613 "は、\"<literal>&good-perl;</literal>\" で始まる <filename>perl</filename> "
5614 "パッケージを、高い優先度に設定します。空白で区切り、複数のパッケージを指定で"
5617 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5618 #: apt_preferences.5.xml:196
5622 "Pin: version &good-perl;*\n"
5623 "Pin-Priority: 1001\n"
5626 "Pin: version &good-perl;*\n"
5627 "Pin-Priority: 1001\n"
5629 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5630 #: apt_preferences.5.xml:202
5632 "The general form assigns a priority to all of the package versions in a "
5633 "given distribution (that is, to all the versions of packages that are listed "
5634 "in a certain <filename>Release</filename> file) or to all of the package "
5635 "versions coming from a particular Internet site, as identified by the site's "
5636 "fully qualified domain name."
5638 "汎用形式は、与えられたディストリビューションにある、すべてのパッケージ "
5639 "(<filename>Release</filename> ファイルに列挙したパッケージ) の優先度や、FQDN"
5640 "で指定した、特定のインターネットサイトから取得するパッケージの優先度を割り当"
5643 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5644 #: apt_preferences.5.xml:208
5646 "This general-form entry in the APT preferences file applies only to groups "
5647 "of packages. For example, the following record assigns a high priority to "
5648 "all package versions available from the local site."
5650 "APT プリファレンスファイルに書かれている汎用形式のエントリは、パッケージのグ"
5651 "ループについてのみ適用されます。例えば以下のレコードは、ローカルサイトにある"
5652 "全パッケージについて、高い優先度を割り当てます。"
5654 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5655 #: apt_preferences.5.xml:213
5659 "Pin: origin \"\"\n"
5660 "Pin-Priority: 999\n"
5663 "Pin: origin \"\"\n"
5664 "Pin-Priority: 999\n"
5666 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5667 #: apt_preferences.5.xml:218
5669 "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
5670 "which can be used to match a hostname. The following record will assign a "
5671 "high priority to all versions available from the server identified by the "
5672 "hostname \"ftp.de.debian.org\""
5674 "注意: ここで使われるキーワードは、ホスト名にマッチするのに使われる "
5675 "\"<literal>origin</literal>\" です。以下のレコードは、ホスト名が \"ftp.de."
5676 "debian.org\" で識別されるサーバ由来のすべてのバージョンに、高い優先度を割り当"
5679 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5680 #: apt_preferences.5.xml:222
5684 "Pin: origin \"ftp.de.debian.org\"\n"
5685 "Pin-Priority: 999\n"
5688 "Pin: origin \"ftp.de.debian.org\"\n"
5689 "Pin-Priority: 999\n"
5691 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5692 #: apt_preferences.5.xml:226
5694 "This should <emphasis>not</emphasis> be confused with the Origin of a "
5695 "distribution as specified in a <filename>Release</filename> file. What "
5696 "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
5697 "Internet address but an author or vendor name, such as \"Debian\" or \"Ximian"
5700 "<filename>Release</filename> ファイルに指定されたような、ディストリビューショ"
5701 "ンの Origin と <emphasis>混同しない</emphasis>ようにしてください。"
5702 "<filename>Release</filename> ファイルにある \"Origin:\" タグは、インターネッ"
5703 "トアドレスではなく、\"Debian\" や \"Ximian\" といった作者やベンダ名です。"
5705 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5706 #: apt_preferences.5.xml:231
5708 "The following record assigns a low priority to all package versions "
5709 "belonging to any distribution whose Archive name is \"<literal>unstable</"
5712 "以下のレコードは、アーカイブ名が \"<literal>unstable</literal>\" となっている"
5713 "ディストリビューションに属するパッケージを、すべて低い優先度に割り当てます。"
5715 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5716 #: apt_preferences.5.xml:235
5720 "Pin: release a=unstable\n"
5721 "Pin-Priority: 50\n"
5724 "Pin: release a=unstable\n"
5725 "Pin-Priority: 50\n"
5727 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5728 #: apt_preferences.5.xml:240
5730 "The following record assigns a high priority to all package versions "
5731 "belonging to any distribution whose Codename is \"<literal>&testing-codename;"
5734 "以下のレコードは、コード名が \"<literal>&testing-codename;</literal>\" となっ"
5735 "ているディストリビューションに属するパッケージのバージョンを、高い優先度に割"
5738 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5739 #: apt_preferences.5.xml:244
5743 "Pin: release n=&testing-codename;\n"
5744 "Pin-Priority: 900\n"
5747 "Pin: release n=&testing-codename;\n"
5748 "Pin-Priority: 900\n"
5750 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5751 #: apt_preferences.5.xml:249
5753 "The following record assigns a high priority to all package versions "
5754 "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
5755 "and whose release Version number is \"<literal>&stable-version;</literal>\"."
5757 "以下のレコードは、アーカイブ名が \"<literal>stable</literal>\" で、リリース"
5758 "バージョン番号が \"<literal>&stable-version;</literal>\" となっているリリース"
5759 "に属するパッケージを、すべて高い優先度に割り当てます。"
5761 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5762 #: apt_preferences.5.xml:254
5766 "Pin: release a=stable, v=&stable-version;\n"
5767 "Pin-Priority: 500\n"
5770 "Pin: release a=stable, v=&stable-version;\n"
5771 "Pin-Priority: 500\n"
5773 #. type: Content of: <refentry><refsect1><refsect2><title>
5774 #: apt_preferences.5.xml:264
5775 msgid "Regular expressions and &glob; syntax"
5776 msgstr "正規表現と &glob; 構文"
5778 #. type: Content of: <refentry><refsect1><refsect2><para>
5779 #: apt_preferences.5.xml:266
5781 "APT also supports pinning by &glob; expressions, and regular expressions "
5782 "surrounded by slashes. For example, the following example assigns the "
5783 "priority 500 to all packages from experimental where the name starts with "
5784 "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
5785 "extended regular expression surrounded by slashes)."
5787 "APT は &glob; 表現と、スラッシュで囲んだ正規表現による pin もサポートしていま"
5788 "す。例えば以下の例は、gnome で始まる (&glob; 風表現) か kde を含む (スラッ"
5789 "シュで囲んだ POSIX の拡張正規表現) 名前の、experimental 由来のすべてのパッ"
5790 "ケージに、優先度500を割り当てます。"
5792 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
5793 #: apt_preferences.5.xml:275
5796 "Package: gnome* /kde/\n"
5797 "Pin: release n=experimental\n"
5798 "Pin-Priority: 500\n"
5800 "Package: gnome* /kde/\n"
5801 "Pin: release n=experimental\n"
5802 "Pin-Priority: 500\n"
5804 #. type: Content of: <refentry><refsect1><refsect2><para>
5805 #: apt_preferences.5.xml:281
5807 "The rule for those expressions is that they can occur anywhere where a "
5808 "string can occur. Thus, the following pin assigns the priority 990 to all "
5809 "packages from a release starting with &ubuntu-codename;."
5811 "この表現の規則は、文字が現れうる場所なら、どこでも発生しうるという事です。し"
5812 "たがって、以下の pin は、&ubuntu-codename; で始まるリリース由来の、すべての"
5813 "パッケージに、優先度 990 を割り当てます。"
5815 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
5816 #: apt_preferences.5.xml:287
5820 "Pin: release n=&ubuntu-codename;*\n"
5821 "Pin-Priority: 990\n"
5824 "Pin: release n=&ubuntu-codename;*\n"
5825 "Pin-Priority: 990\n"
5827 #. type: Content of: <refentry><refsect1><refsect2><para>
5828 #: apt_preferences.5.xml:293
5830 "If a regular expression occurs in a <literal>Package</literal> field, the "
5831 "behavior is the same as if this regular expression were replaced with a list "
5832 "of all package names it matches. It is undecided whether this will change in "
5833 "the future; thus you should always list wild-card pins first, so later "
5834 "specific pins override it. The pattern \"<literal>*</literal>\" in a "
5835 "Package field is not considered a &glob; expression in itself."
5837 "<literal>Package</literal> フィールドも正規表現が現れる場合、正規表現を、マッ"
5838 "チするすべてのパッケージ名のリストに置き換えたものとして、動作します。これは"
5839 "将来変更されるかどうか、まだ決定していません。そのため、まずはじめにワイルド"
5840 "カード pin を、常に記述するようにしてください。その後に続く pin で上書きされ"
5841 "ます。Package フィールドの \"<literal>*</literal>\" パターンは、&glob; 表現自"
5844 #. type: Content of: <refentry><refsect1><refsect2><title>
5845 #: apt_preferences.5.xml:309
5846 msgid "How APT Interprets Priorities"
5847 msgstr "APT が優先度に割り込む方法"
5849 #. type: Content of: <refentry><refsect1><refsect2><para>
5850 #: apt_preferences.5.xml:312
5852 "Priorities (P) assigned in the APT preferences file must be positive or "
5853 "negative integers. They are interpreted as follows (roughly speaking):"
5855 "APT プリファレンスファイルで割り当てた優先度 (P) は、正負の整数でなくてはなり"
5856 "ません。これは (おおざっぱにいうと) 以下のように解釈されます。"
5858 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5859 #: apt_preferences.5.xml:317
5860 msgid "P >= 1000"
5861 msgstr "P >= 1000"
5863 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5864 #: apt_preferences.5.xml:318
5866 "causes a version to be installed even if this constitutes a downgrade of the "
5869 "パッケージがダウングレードしても、このバージョンのパッケージをインストール"
5871 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5872 #: apt_preferences.5.xml:322
5873 msgid "990 <= P < 1000"
5874 msgstr "990 <= P < 1000"
5876 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5877 #: apt_preferences.5.xml:323
5879 "causes a version to be installed even if it does not come from the target "
5880 "release, unless the installed version is more recent"
5882 "インストールされているバージョンの方が新しいのでなければ、ターゲットリリース"
5883 "に含まれなくても、このバージョンのパッケージをインストール"
5885 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5886 #: apt_preferences.5.xml:328
5887 msgid "500 <= P < 990"
5888 msgstr "500 <= P < 990"
5890 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5891 #: apt_preferences.5.xml:329
5893 "causes a version to be installed unless there is a version available "
5894 "belonging to the target release or the installed version is more recent"
5896 "ターゲットリリースに属するバージョンがあったり、インストールされているバー"
5897 "ジョンの方が新しいのでなければ、このバージョンのパッケージをインストール"
5899 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5900 #: apt_preferences.5.xml:334
5901 msgid "100 <= P < 500"
5902 msgstr "100 <= P < 500"
5904 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5905 #: apt_preferences.5.xml:335
5907 "causes a version to be installed unless there is a version available "
5908 "belonging to some other distribution or the installed version is more recent"
5910 "他のディストリビューションに属するバージョンがあったり、インストールされてい"
5911 "るバージョンの方が新しいのでなければ、このバージョンのパッケージをインストー"
5914 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5915 #: apt_preferences.5.xml:340
5916 msgid "0 < P < 100"
5917 msgstr "0 < P < 100"
5919 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5920 #: apt_preferences.5.xml:341
5922 "causes a version to be installed only if there is no installed version of "
5925 "このパッケージがインストールされていない場合、このバージョンのパッケージをイ"
5928 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5929 #: apt_preferences.5.xml:345
5933 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5934 #: apt_preferences.5.xml:346
5935 msgid "prevents the version from being installed"
5936 msgstr "このバージョンのインストール禁止"
5938 #. type: Content of: <refentry><refsect1><refsect2><para>
5939 #: apt_preferences.5.xml:351
5941 "If any specific-form records match an available package version then the "
5942 "first such record determines the priority of the package version. Failing "
5943 "that, if any general-form records match an available package version then "
5944 "the first such record determines the priority of the package version."
5946 "特定形式のレコードが利用可能パッケージバージョンに一致した場合、最初のレコー"
5947 "ドが、パッケージバージョンの優先度を決定します。失敗して、汎用形式のレコード"
5948 "が利用可能パッケージバージョンに一致した場合、最初のレコードが、パッケージ"
5951 #. type: Content of: <refentry><refsect1><refsect2><para>
5952 #: apt_preferences.5.xml:357
5954 "For example, suppose the APT preferences file contains the three records "
5955 "presented earlier:"
5957 "例えば、APT プリファレンスファイルの上の方に、以下のレコードが書かれていると"
5960 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
5961 #: apt_preferences.5.xml:361
5965 "Pin: version &good-perl;*\n"
5966 "Pin-Priority: 1001\n"
5969 "Pin: origin \"\"\n"
5970 "Pin-Priority: 999\n"
5973 "Pin: release unstable\n"
5974 "Pin-Priority: 50\n"
5977 "Pin: version &good-perl;*\n"
5978 "Pin-Priority: 1001\n"
5981 "Pin: origin \"\"\n"
5982 "Pin-Priority: 999\n"
5985 "Pin: release unstable\n"
5986 "Pin-Priority: 50\n"
5988 #. type: Content of: <refentry><refsect1><refsect2><para>
5989 #: apt_preferences.5.xml:374
5991 msgstr "すると、以下のように動作します。"
5993 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5994 #: apt_preferences.5.xml:376
5996 "The most recent available version of the <literal>perl</literal> package "
5997 "will be installed, so long as that version's version number begins with "
5998 "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> &good-perl;"
5999 "* version of <literal>perl</literal> is available and the installed version "
6000 "is &bad-perl;*, then <literal>perl</literal> will be downgraded."
6002 "バージョン番号が \"<literal>&good-perl;</literal>\" で始まっていれば、"
6003 "<literal>perl</literal> の最新の利用可能パッケージがインストールされます。"
6004 "バージョン &good-perl;* が利用可能で、バージョン &bad-perl;* がインストールさ"
6005 "れている場合、<literal>perl</literal> はダウングレードされます。"
6007 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6008 #: apt_preferences.5.xml:381
6010 "A version of any package other than <literal>perl</literal> that is "
6011 "available from the local system has priority over other versions, even "
6012 "versions belonging to the target release."
6014 "ローカルシステムで有効な、<literal>perl</literal> 以外のどんなパッケージで"
6015 "も、他のバージョンより (たとえターゲットリリースに属していても) 優先度が高く"
6018 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6019 #: apt_preferences.5.xml:385
6021 "A version of a package whose origin is not the local system but some other "
6022 "site listed in &sources-list; and which belongs to an <literal>unstable</"
6023 "literal> distribution is only installed if it is selected for installation "
6024 "and no version of the package is already installed."
6026 "ローカルシステムにはなくても &sources-list; に列挙されたサイトにあるバージョ"
6027 "ンで、<literal>unstable</literal> ディストリビューションに属しているパッケー"
6028 "ジは、インストールするよう選択され、既にインストールされているバージョンがな"
6031 #. type: Content of: <refentry><refsect1><refsect2><title>
6032 #: apt_preferences.5.xml:395
6033 msgid "Determination of Package Version and Distribution Properties"
6034 msgstr "パッケージのバージョンとディストリビューションプロパティの決定"
6036 #. type: Content of: <refentry><refsect1><refsect2><para>
6037 #: apt_preferences.5.xml:397
6039 "The locations listed in the &sources-list; file should provide "
6040 "<filename>Packages</filename> and <filename>Release</filename> files to "
6041 "describe the packages available at that location."
6043 "&sources-list; ファイルに列挙した場所では、その場所で利用できるパッケージを記"
6044 "述した、<filename>Packages</filename> ファイルや <filename>Release</"
6045 "filename> ファイルを提供します。"
6047 #. type: Content of: <refentry><refsect1><refsect2><para>
6048 #: apt_preferences.5.xml:401
6050 "The <filename>Packages</filename> file is normally found in the directory "
6051 "<filename>.../dists/<replaceable>dist-name</replaceable>/"
6052 "<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
6053 "filename>: for example, <filename>.../dists/stable/main/binary-i386/"
6054 "Packages</filename>. It consists of a series of multi-line records, one for "
6055 "each package available in that directory. Only two lines in each record are "
6056 "relevant for setting APT priorities:"
6058 "<filename>Packages</filename> ファイルは通常 <filename>.../dists/"
6059 "<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/"
6060 "<replaceable>arch</replaceable></filename> ディレクトリにあります。例えば、"
6061 "<filename>.../dists/stable/main/binary-i386/Packages</filename> です。これ"
6062 "は、ディレクトリにある利用可能パッケージごとに、複数行のレコードからできてい"
6063 "ます。APT 優先度の設定は、レコードごとに以下の 2 行だけです。"
6065 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6066 #: apt_preferences.5.xml:409
6067 msgid "the <literal>Package:</literal> line"
6068 msgstr "<literal>Package:</literal> 行"
6070 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6071 #: apt_preferences.5.xml:410
6072 msgid "gives the package name"
6075 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6076 #: apt_preferences.5.xml:413 apt_preferences.5.xml:463
6077 msgid "the <literal>Version:</literal> line"
6078 msgstr "<literal>Version:</literal> 行"
6080 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6081 #: apt_preferences.5.xml:414
6082 msgid "gives the version number for the named package"
6083 msgstr "その名前のパッケージのバージョン番号"
6085 #. type: Content of: <refentry><refsect1><refsect2><para>
6086 #: apt_preferences.5.xml:419
6088 "The <filename>Release</filename> file is normally found in the directory "
6089 "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
6090 "example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
6091 "dists/&stable-codename;/Release</filename>. It consists of a single multi-"
6092 "line record which applies to <emphasis>all</emphasis> of the packages in the "
6093 "directory tree below its parent. Unlike the <filename>Packages</filename> "
6094 "file, nearly all of the lines in a <filename>Release</filename> file are "
6095 "relevant for setting APT priorities:"
6097 "<filename>Release</filename> ファイルは、通常 <filename>.../dists/"
6098 "<replaceable>dist-name</replaceable></filename> ディレクトリにあります。例え"
6099 "ば、<filename>.../dists/stable/Release</filename> や <filename>.../dists/"
6100 "&stable-codename;/Release</filename> です。これは、このディレクトリ以下にある"
6101 "<emphasis>全</emphasis>パッケージに適用する、複数行のレコード 1 つから成って"
6102 "います。<filename>Packages</filename> ファイルと違い <filename>Release</"
6103 "filename> ファイルは、以下のようにほとんどの行が APT 優先度の設定に関連しま"
6106 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6107 #: apt_preferences.5.xml:430
6108 msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
6109 msgstr "<literal>Archive:</literal> 行や <literal>Suite:</literal> 行"
6111 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6112 #: apt_preferences.5.xml:431
6114 "names the archive to which all the packages in the directory tree belong. "
6115 "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
6116 "that all of the packages in the directory tree below the parent of the "
6117 "<filename>Release</filename> file are in a <literal>stable</literal> "
6118 "archive. Specifying this value in the APT preferences file would require "
6121 "このディレクトリツリーに属する全パッケージのアーカイブ名です。例え"
6122 "ば、\"Archive: stable\" や \"Suite: stable\" という行は、<filename>Release</"
6123 "filename> ファイルの親ディレクトリツリー以下にある全パッケージが、"
6124 "<literal>stable</literal> アーカイブだと指定します。APT プリファレンスファイ"
6125 "ルでこの値を指定するには、以下の行が必要になります。"
6127 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6128 #: apt_preferences.5.xml:441
6130 msgid "Pin: release a=stable\n"
6131 msgstr "Pin: release a=stable\n"
6133 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6134 #: apt_preferences.5.xml:447
6135 msgid "the <literal>Codename:</literal> line"
6136 msgstr "<literal>Codename:</literal> 行"
6138 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6139 #: apt_preferences.5.xml:448
6141 "names the codename to which all the packages in the directory tree belong. "
6142 "For example, the line \"Codename: &testing-codename;\" specifies that all of "
6143 "the packages in the directory tree below the parent of the "
6144 "<filename>Release</filename> file belong to a version named "
6145 "<literal>&testing-codename;</literal>. Specifying this value in the APT "
6146 "preferences file would require the line:"
6148 "このディレクトリツリーに属する全パッケージのコード名です。たとえ"
6149 "ば、\"Codename: &testing-codename;\" という行は、<filename>Release</"
6150 "filename> ファイルの親ディレクトリツリー以下にある全パッケージが、"
6151 "<literal>&testing-codename;</literal> と名前のついたバージョンであると指定し"
6152 "ます。APT プリファレンスファイルでこの値を指定するには、以下の行が必要になり"
6155 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6156 #: apt_preferences.5.xml:457
6158 msgid "Pin: release n=&testing-codename;\n"
6159 msgstr "Pin: release n=&testing-codename;\n"
6161 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6162 #: apt_preferences.5.xml:464
6164 "names the release version. For example, the packages in the tree might "
6165 "belong to Debian release version &stable-version;. Note that there is "
6166 "normally no version number for the <literal>testing</literal> and "
6167 "<literal>unstable</literal> distributions because they have not been "
6168 "released yet. Specifying this in the APT preferences file would require one "
6169 "of the following lines."
6171 "リリースバージョン名です。例えば、このツリーのパッケージが、Debian リリース"
6172 "バージョン &stable-version; に属するとします。通常 <literal>testing</"
6173 "literal> ディストリビューションや <literal>unstable</literal> ディストリ"
6174 "ビューションには、まだリリースされていないので、バージョン番号が付きません。"
6175 "APT プリファレンスファイルでこれを指定するには、以下の行のいずれかが必要にな"
6178 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6179 #: apt_preferences.5.xml:473
6182 "Pin: release v=&stable-version;\n"
6183 "Pin: release a=stable, v=&stable-version;\n"
6184 "Pin: release &stable-version;\n"
6186 "Pin: release v=&stable-version;\n"
6187 "Pin: release a=stable, v=&stable-version;\n"
6188 "Pin: release &stable-version;\n"
6190 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6191 #: apt_preferences.5.xml:482
6192 msgid "the <literal>Component:</literal> line"
6193 msgstr "<literal>Component:</literal> 行"
6195 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6196 #: apt_preferences.5.xml:483
6198 "names the licensing component associated with the packages in the directory "
6199 "tree of the <filename>Release</filename> file. For example, the line "
6200 "\"Component: main\" specifies that all the packages in the directory tree "
6201 "are from the <literal>main</literal> component, which entails that they are "
6202 "licensed under terms listed in the Debian Free Software Guidelines. "
6203 "Specifying this component in the APT preferences file would require the line:"
6205 "<filename>Release</filename> ファイルの、ディレクトリツリーにあるパッケージの"
6206 "ライセンスコンポーネント名です。例えば、\"Component: main\" という行は、この"
6207 "ディレクトリ以下の全ファイルが、<literal>main</literal> コンポーネント "
6208 "(Debian フリーソフトウェアガイドラインの元でライセンスされている) であること"
6209 "を表します。APT プリファレンスファイルでこのコンポーネントを指定するには、以"
6212 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6213 #: apt_preferences.5.xml:492
6215 msgid "Pin: release c=main\n"
6216 msgstr "Pin: release c=main\n"
6218 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6219 #: apt_preferences.5.xml:498
6220 msgid "the <literal>Origin:</literal> line"
6221 msgstr "<literal>Origin:</literal> 行"
6223 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6224 #: apt_preferences.5.xml:499
6226 "names the originator of the packages in the directory tree of the "
6227 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6228 "literal>. Specifying this origin in the APT preferences file would require "
6231 "<filename>Release</filename> ファイルのディレクトリツリーにあるパッケージの提"
6232 "供者名です。ほとんど共通で <literal>Debian</literal> です。APT プリファレンス"
6233 "ファイルでこの提供者を指定するには、以下の行が必要になります。"
6235 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6236 #: apt_preferences.5.xml:505
6238 msgid "Pin: release o=Debian\n"
6239 msgstr "Pin: release o=Debian\n"
6241 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6242 #: apt_preferences.5.xml:511
6243 msgid "the <literal>Label:</literal> line"
6244 msgstr "<literal>Label:</literal> 行"
6246 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6247 #: apt_preferences.5.xml:512
6249 "names the label of the packages in the directory tree of the "
6250 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6251 "literal>. Specifying this label in the APT preferences file would require "
6254 "<filename>Release</filename> ファイルのディレクトリツリーにあるパッケージのラ"
6255 "ベル名です。ほとんど共通で <literal>Debian</literal> です。APT プリファレンス"
6256 "ファイルでこのラベルを指定するには、以下の行が必要になります。"
6258 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6259 #: apt_preferences.5.xml:518
6261 msgid "Pin: release l=Debian\n"
6262 msgstr "Pin: release l=Debian\n"
6264 #. type: Content of: <refentry><refsect1><refsect2><para>
6265 #: apt_preferences.5.xml:525
6267 "All of the <filename>Packages</filename> and <filename>Release</filename> "
6268 "files retrieved from locations listed in the &sources-list; file are stored "
6269 "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
6270 "named by the variable <literal>Dir::State::Lists</literal> in the "
6271 "<filename>apt.conf</filename> file. For example, the file <filename>debian."
6272 "lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
6273 "contains the <filename>Release</filename> file retrieved from the site "
6274 "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
6275 "architecture files from the <literal>contrib</literal> component of the "
6276 "<literal>unstable</literal> distribution."
6278 "&sources-list; ファイルに列挙された場所から取得した <filename>Packages</"
6279 "filename> ファイルや <filename>Release</filename> ファイルはすべて、"
6280 "<filename>/var/lib/apt/lists</filename> ディレクトリや、<filename>apt.conf</"
6281 "filename> ファイルの <literal>Dir::State::Lists</literal> 変数で指定した場所"
6282 "に取得されます。例えば、<filename>debian.lcs.mit."
6283 "edu_debian_dists_unstable_contrib_binary-i386_Release</filename> ファイルは、"
6284 "<literal>debian.lcs.mit.edu</literal> から取得した、<literal>unstable</"
6285 "literal> ディストリビューションで、<literal>contrib</literal> コンポーネント"
6286 "な、<literal>binary-i386</literal> アーキテクチャ用の <filename>Release</"
6287 "filename> ファイルを含んでいます。"
6289 #. type: Content of: <refentry><refsect1><refsect2><title>
6290 #: apt_preferences.5.xml:538
6291 msgid "Optional Lines in an APT Preferences Record"
6292 msgstr "APT プリファレンスレコードのオプション行"
6294 #. type: Content of: <refentry><refsect1><refsect2><para>
6295 #: apt_preferences.5.xml:540
6297 "Each record in the APT preferences file can optionally begin with one or "
6298 "more lines beginning with the word <literal>Explanation:</literal>. This "
6299 "provides a place for comments."
6301 "APT プリファレンスファイルのレコードごとに、任意で <literal>Explanation:</"
6302 "literal> で始まる行を持てます。これは、コメント用の場所を確保します。"
6304 #. type: Content of: <refentry><refsect1><refsect2><title>
6305 #: apt_preferences.5.xml:549
6306 msgid "Tracking Stable"
6309 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6310 #: apt_preferences.5.xml:557
6313 "Explanation: Uninstall or do not install any Debian-originated\n"
6314 "Explanation: package versions other than those in the stable distro\n"
6316 "Pin: release a=stable\n"
6317 "Pin-Priority: 900\n"
6320 "Pin: release o=Debian\n"
6321 "Pin-Priority: -10\n"
6323 "Explanation: Uninstall or do not install any Debian-originated\n"
6324 "Explanation: package versions other than those in the stable distro\n"
6326 "Pin: release a=stable\n"
6327 "Pin-Priority: 900\n"
6330 "Pin: release o=Debian\n"
6331 "Pin-Priority: -10\n"
6333 #. type: Content of: <refentry><refsect1><refsect2><para>
6334 #: apt_preferences.5.xml:551
6336 "The following APT preferences file will cause APT to assign a priority "
6337 "higher than the default (500) to all package versions belonging to a "
6338 "<literal>stable</literal> distribution and a prohibitively low priority to "
6339 "package versions belonging to other <literal>Debian</literal> "
6340 "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
6342 "以下の APT プリファレンスファイルは、<literal>stable</literal> ディストリ"
6343 "ビューションに属する全てのパッケージのバージョンに、デフォルト (500) より高い"
6344 "優先度を割り当て、他の <literal>Debian</literal> ディストリビューションのパッ"
6345 "ケージのバージョンには、低くてインストールできないような優先度を割り当てま"
6346 "す。<placeholder type=\"programlisting\" id=\"0\"/>"
6348 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6349 #: apt_preferences.5.xml:574 apt_preferences.5.xml:620
6350 #: apt_preferences.5.xml:678
6353 "apt-get install <replaceable>package-name</replaceable>\n"
6355 "apt-get dist-upgrade\n"
6357 "apt-get install <replaceable>package-name</replaceable>\n"
6359 "apt-get dist-upgrade\n"
6361 #. type: Content of: <refentry><refsect1><refsect2><para>
6362 #: apt_preferences.5.xml:569
6364 "With a suitable &sources-list; file and the above preferences file, any of "
6365 "the following commands will cause APT to upgrade to the latest "
6366 "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
6369 "適切な &sources-list; ファイルと上記のプリファレンスファイルにより、以下のコ"
6370 "マンドのいずれかで最新の <literal>stable</literal> バージョンにアップグレード"
6371 "できます。<placeholder type=\"programlisting\" id=\"0\"/>"
6373 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6374 #: apt_preferences.5.xml:586
6376 msgid "apt-get install <replaceable>package</replaceable>/testing\n"
6377 msgstr "apt-get install <replaceable>package</replaceable>/testing\n"
6379 #. type: Content of: <refentry><refsect1><refsect2><para>
6380 #: apt_preferences.5.xml:580
6382 "The following command will cause APT to upgrade the specified package to the "
6383 "latest version from the <literal>testing</literal> distribution; the package "
6384 "will not be upgraded again unless this command is given again. <placeholder "
6385 "type=\"programlisting\" id=\"0\"/>"
6387 "以下のコマンドで、指定したパッケージを <literal>testing</literal> ディストリ"
6388 "ビューションの最新バージョンにアップグレードします。このパッケージは、再度こ"
6389 "のコマンドを発行しないとアップグレードされません。<placeholder type="
6390 "\"programlisting\" id=\"0\"/>"
6392 #. type: Content of: <refentry><refsect1><refsect2><title>
6393 #: apt_preferences.5.xml:592
6394 msgid "Tracking Testing or Unstable"
6395 msgstr "テスト版や不安定版の追跡"
6397 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6398 #: apt_preferences.5.xml:601
6402 "Pin: release a=testing\n"
6403 "Pin-Priority: 900\n"
6406 "Pin: release a=unstable\n"
6407 "Pin-Priority: 800\n"
6410 "Pin: release o=Debian\n"
6411 "Pin-Priority: -10\n"
6414 "Pin: release a=testing\n"
6415 "Pin-Priority: 900\n"
6418 "Pin: release a=unstable\n"
6419 "Pin-Priority: 800\n"
6422 "Pin: release o=Debian\n"
6423 "Pin-Priority: -10\n"
6425 #. type: Content of: <refentry><refsect1><refsect2><para>
6426 #: apt_preferences.5.xml:594
6428 "The following APT preferences file will cause APT to assign a high priority "
6429 "to package versions from the <literal>testing</literal> distribution, a "
6430 "lower priority to package versions from the <literal>unstable</literal> "
6431 "distribution, and a prohibitively low priority to package versions from "
6432 "other <literal>Debian</literal> distributions. <placeholder type="
6433 "\"programlisting\" id=\"0\"/>"
6435 "以下の APT プリファレンスファイルは、<literal>testing</literal> ディストリ"
6436 "ビューションのパッケージのバージョンに高い優先度を割り当て、"
6437 "<literal>unstable</literal> ディストリビューションのパッケージのバージョンに"
6438 "は低い優先度を割り当てます。また他の <literal>Debian</literal> ディストリ"
6439 "ビューションのパッケージのバージョンには、低くてインストールできないような優"
6440 "先度を割り当てます。<placeholder type=\"programlisting\" id=\"0\"/>"
6442 #. type: Content of: <refentry><refsect1><refsect2><para>
6443 #: apt_preferences.5.xml:615
6445 "With a suitable &sources-list; file and the above preferences file, any of "
6446 "the following commands will cause APT to upgrade to the latest "
6447 "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
6450 "適切な &sources-list; ファイルと上記のプリファレンスファイルにより、以下のコ"
6451 "マンドのいずれかで最新の <literal>testing</literal> バージョンにアップグレー"
6452 "ドできます。<placeholder type=\"programlisting\" id=\"0\"/>"
6454 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6455 #: apt_preferences.5.xml:635
6457 msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
6458 msgstr "apt-get install <replaceable>package</replaceable>/unstable\n"
6460 #. type: Content of: <refentry><refsect1><refsect2><para>
6461 #: apt_preferences.5.xml:626
6463 "The following command will cause APT to upgrade the specified package to the "
6464 "latest version from the <literal>unstable</literal> distribution. "
6465 "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
6466 "the most recent <literal>testing</literal> version if that is more recent "
6467 "than the installed version, otherwise, to the most recent <literal>unstable</"
6468 "literal> version if that is more recent than the installed version. "
6469 "<placeholder type=\"programlisting\" id=\"0\"/>"
6471 "以下のコマンドで、指定したパッケージを <literal>unstable</literal> ディストリ"
6472 "ビューションの最新バージョンにアップグレードします。それ以降、<command>apt-"
6473 "get upgrade</command> は <literal>testing</literal> バージョンのパッケージが"
6474 "更新されていれば <literal>testing</literal> の最新版に、<literal>unstable</"
6475 "literal> バージョンのパッケージが更新されていれば <literal>unstable</"
6476 "literal> の最新版にアップグレードします。<placeholder type=\"programlisting"
6479 #. type: Content of: <refentry><refsect1><refsect2><title>
6480 #: apt_preferences.5.xml:642
6481 msgid "Tracking the evolution of a codename release"
6482 msgstr "コード名リリースの進化の追跡"
6484 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6485 #: apt_preferences.5.xml:656
6488 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
6489 "Explanation: other than those in the distribution codenamed with &testing-codename; or sid\n"
6491 "Pin: release n=&testing-codename;\n"
6492 "Pin-Priority: 900\n"
6494 "Explanation: Debian unstable is always codenamed with sid\n"
6496 "Pin: release n=sid\n"
6497 "Pin-Priority: 800\n"
6500 "Pin: release o=Debian\n"
6501 "Pin-Priority: -10\n"
6503 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
6504 "Explanation: other than those in the distribution codenamed with &testing-codename; or sid\n"
6506 "Pin: release n=&testing-codename;\n"
6507 "Pin-Priority: 900\n"
6509 "Explanation: Debian unstable is always codenamed with sid\n"
6511 "Pin: release n=sid\n"
6512 "Pin-Priority: 800\n"
6515 "Pin: release o=Debian\n"
6516 "Pin-Priority: -10\n"
6518 #. type: Content of: <refentry><refsect1><refsect2><para>
6519 #: apt_preferences.5.xml:644
6521 "The following APT preferences file will cause APT to assign a priority "
6522 "higher than the default (500) to all package versions belonging to a "
6523 "specified codename of a distribution and a prohibitively low priority to "
6524 "package versions belonging to other <literal>Debian</literal> distributions, "
6525 "codenames and archives. Note that with this APT preference APT will follow "
6526 "the migration of a release from the archive <literal>testing</literal> to "
6527 "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
6528 "want to follow for example the progress in <literal>testing</literal> "
6529 "notwithstanding the codename changes you should use the example "
6530 "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
6532 "以下の APT プリファレンスファイルは、指定したコード名のディストリビューション"
6533 "に属する全てのパッケージのバージョンに、デフォルト (500) より高い優先度を割り"
6534 "当て、他の <literal>Debian</literal> ディストリビューション、コード名、アーカ"
6535 "イブのパッケージのバージョンには、低くてインストールできないような優先度を割"
6536 "り当てます。この APT プリファレンスファイルにより、APT は <literal>testing</"
6537 "literal> アーカイブから、<literal>stable</literal> や最新の "
6538 "<literal>oldstable</literal> へ移行できます。コード名の変更に関係なく "
6539 "<literal>testing</literal> を追跡したい場合は、上記の設定例を使用するべきで"
6540 "す。<placeholder type=\"programlisting\" id=\"0\"/>"
6542 #. type: Content of: <refentry><refsect1><refsect2><para>
6543 #: apt_preferences.5.xml:673
6545 "With a suitable &sources-list; file and the above preferences file, any of "
6546 "the following commands will cause APT to upgrade to the latest version(s) in "
6547 "the release codenamed with <literal>&testing-codename;</literal>. "
6548 "<placeholder type=\"programlisting\" id=\"0\"/>"
6550 "適切な &sources-list; ファイルと上記のプリファレンスファイルにより、以下のコ"
6551 "マンドのいずれかで、リリースコード名が <literal>&testing-codename;</literal> "
6552 "である最新バージョンにアップグレードできます。<placeholder type="
6553 "\"programlisting\" id=\"0\"/>"
6555 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6556 #: apt_preferences.5.xml:693
6558 msgid "apt-get install <replaceable>package</replaceable>/sid\n"
6559 msgstr "apt-get install <replaceable>package</replaceable>/sid\n"
6561 #. type: Content of: <refentry><refsect1><refsect2><para>
6562 #: apt_preferences.5.xml:684
6564 "The following command will cause APT to upgrade the specified package to the "
6565 "latest version from the <literal>sid</literal> distribution. Thereafter, "
6566 "<command>apt-get upgrade</command> will upgrade the package to the most "
6567 "recent <literal>&testing-codename;</literal> version if that is more recent "
6568 "than the installed version, otherwise, to the most recent <literal>sid</"
6569 "literal> version if that is more recent than the installed version. "
6570 "<placeholder type=\"programlisting\" id=\"0\"/>"
6572 "以下のコマンドで、指定したパッケージを <literal>sid</literal> ディストリ"
6573 "ビューションの最新バージョンにアップグレードします。それ以降、<command>apt-"
6574 "get upgrade</command> は <literal>&testing-codename;</literal> バージョンの"
6575 "パッケージが更新されていれば <literal>&testing-codename;</literal> の最新版"
6576 "に、<literal>sid</literal> バージョンのパッケージが更新されていれば "
6577 "<literal>sid</literal>の最新版にアップグレードします。<placeholder type="
6578 "\"programlisting\" id=\"0\"/>"
6580 #. type: Content of: <refentry><refsect1><para>
6581 #: apt_preferences.5.xml:708
6582 msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
6583 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
6585 #. type: Content of: <refentry><refnamediv><refpurpose>
6586 #: sources.list.5.xml:35
6587 msgid "List of configured APT data sources"
6588 msgstr "APT のデータ取得元の設定リスト"
6590 #. type: Content of: <refentry><refsect1><para>
6591 #: sources.list.5.xml:40
6593 "The source list <filename>/etc/apt/sources.list</filename> is designed to "
6594 "support any number of active sources and a variety of source media. The file "
6595 "lists one source per line, with the most preferred source listed first. The "
6596 "information available from the configured sources is acquired by "
6597 "<command>apt-get update</command> (or by an equivalent command from another "
6600 "取得元リスト <filename>/etc/apt/sources.list</filename> は、複数の取得元や"
6601 "様々なメディアをサポートするよう設計されています。ファイルには、1 行にひとつ"
6602 "取得元を記述し、最も優先するものを先頭にします。設定した取得元から利用可能な"
6603 "情報は、<command>apt-get update</command> (や、他の APT フロントエンドの同等"
6606 #. type: Content of: <refentry><refsect1><para>
6607 #: sources.list.5.xml:47
6609 "Each line specifying a source starts with type (e.g. <literal>deb-src</"
6610 "literal>) followed by options and arguments for this type. Individual "
6611 "entries cannot be continued onto a following line. Empty lines are ignored, "
6612 "and a <literal>#</literal> character anywhere on a line marks the remainder "
6613 "of that line as a comment."
6615 "取得元の各行は、タイプ (例: <literal>deb-src</literal>) で始まり、そのタイプ"
6616 "のオプションや引数が続きます。個々のエントリは、次行に続けられません。空行は"
6617 "無視され、<literal>#</literal> 文字を行のどこにおいても、それ以降はコメントに"
6620 #. type: Content of: <refentry><refsect1><title>
6621 #: sources.list.5.xml:55
6622 msgid "sources.list.d"
6623 msgstr "sources.list.d"
6625 #. type: Content of: <refentry><refsect1><para>
6626 #: sources.list.5.xml:56
6628 "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
6629 "add sources.list entries in separate files. The format is the same as for "
6630 "the regular <filename>sources.list</filename> file. File names need to end "
6631 "with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
6632 "digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
6633 "Otherwise APT will print a notice that it has ignored a file, unless that "
6634 "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
6635 "configuration list - in which case it will be silently ignored."
6637 "<filename>/etc/apt/sources.list.d</filename> ディレクトリは、個別ファイルで "
6638 "source.list エントリを追加する方法を提供します。フォーマットは、通常の "
6639 "<filename>sources.list</filename> ファイルと同じです。ファイル名は、"
6640 "<filename>.list</filename> で終わる必要があり、文字 (a-z と A-Z)、数字 "
6641 "(0-9)、アンダースコア (_)、ハイフン (-)、ピリオド (.) のみでできていなければ"
6642 "なりません。そうでなければ、<literal>Dir::Ignore-Files-Silently</literal> 設"
6643 "定リストのパターンに一致するもの以外に対して、ファイルを無視するという注意を "
6644 "APT が出力します。一致する場合は黙って無視します。"
6646 #. type: Content of: <refentry><refsect1><title>
6647 #: sources.list.5.xml:67
6648 msgid "The deb and deb-src types"
6649 msgstr "deb タイプと deb-src タイプ"
6651 #. type: Content of: <refentry><refsect1><para>
6652 #: sources.list.5.xml:68
6654 "The <literal>deb</literal> type references a typical two-level Debian "
6655 "archive, <filename>distribution/component</filename>. The "
6656 "<literal>distribution</literal> is generally an archive name like "
6657 "<literal>stable</literal> or <literal>testing</literal> or a codename like "
6658 "<literal>&stable-codename;</literal> or <literal>&testing-codename;</"
6659 "literal> while component is one of <literal>main</literal>, "
6660 "<literal>contrib</literal> or <literal>non-free</literal>. The <literal>deb-"
6661 "src</literal> type references a Debian distribution's source code in the "
6662 "same form as the <literal>deb</literal> type. A <literal>deb-src</literal> "
6663 "line is required to fetch source indexes."
6665 "<literal>deb</literal> タイプでは典型的な 2 段階の Debian アーカイブ "
6666 "<filename>distribution/component</filename> を参照します。"
6667 "<literal>distribution</literal> は通常 <literal>stable</literal> や "
6668 "<literal>testing</literal> または <literal>&stable-codename;</literal> や "
6669 "<literal>&testing-codename;</literal> のようなコード名になります。component "
6670 "は、<literal>main</literal>, <literal>contrib</literal>, <literal>non-free</"
6671 "literal> のどれかです。<literal>deb-src</literal> タイプでは、debian ディスト"
6672 "リビューションのソースコードを、<literal>deb</literal> タイプと同じ形式で参照"
6673 "します。<literal>deb-src</literal> 行は、ソースインデックスを取得するのに必要"
6676 #. type: Content of: <refentry><refsect1><para>
6677 #: sources.list.5.xml:79
6679 "The format for a <filename>sources.list</filename> entry using the "
6680 "<literal>deb</literal> and <literal>deb-src</literal> types is:"
6682 "<literal>deb</literal> タイプと <literal>deb-src</literal> タイプで使用する "
6683 "<filename>sources.list</filename> エントリのフォーマットは、以下のようになり"
6686 #. type: Content of: <refentry><refsect1><literallayout>
6687 #: sources.list.5.xml:82
6689 #| msgid "deb [ options ] uri distribution [component1] [component2] [...]"
6690 msgid "deb [ options ] uri suite [component1] [component2] [...]"
6691 msgstr "deb [ オプション ] uri distribution [コンポーネント1] [コンポーネント2] [...]"
6693 #. type: Content of: <refentry><refsect1><para><literallayout>
6694 #: sources.list.5.xml:86
6697 " Types: deb deb-src\n"
6698 " URIs: http://example.com\n"
6699 " Suites: stable testing\n"
6700 " Sections: component1 component2\n"
6701 " Description: short\n"
6703 " [option1]: [option1-value]\n"
6706 " URIs: http://another.example.com\n"
6707 " Suites: experimental\n"
6708 " Sections: component1 component2\n"
6710 " Description: short\n"
6712 " [option1]: [option1-value]\n"
6716 #. type: Content of: <refentry><refsect1><para>
6717 #: sources.list.5.xml:84
6719 "Alternatively a rfc822 style format is also supported: <placeholder type="
6720 "\"literallayout\" id=\"0\"/>"
6723 #. type: Content of: <refentry><refsect1><para>
6724 #: sources.list.5.xml:105
6727 #| "The URI for the <literal>deb</literal> type must specify the base of the "
6728 #| "Debian distribution, from which APT will find the information it needs. "
6729 #| "<literal>distribution</literal> can specify an exact path, in which case "
6730 #| "the components must be omitted and <literal>distribution</literal> must "
6731 #| "end with a slash (<literal>/</literal>). This is useful for the case when "
6732 #| "only a particular sub-section of the archive denoted by the URI is of "
6733 #| "interest. If <literal>distribution</literal> does not specify an exact "
6734 #| "path, at least one <literal>component</literal> must be present."
6736 "The URI for the <literal>deb</literal> type must specify the base of the "
6737 "Debian distribution, from which APT will find the information it needs. "
6738 "<literal>suite</literal> can specify an exact path, in which case the "
6739 "components must be omitted and <literal>suite</literal> must end with a "
6740 "slash (<literal>/</literal>). This is useful for the case when only a "
6741 "particular sub-section of the archive denoted by the URI is of interest. If "
6742 "<literal>suite</literal> does not specify an exact path, at least one "
6743 "<literal>component</literal> must be present."
6745 "<literal>deb</literal> タイプの URI は、APT が必要な情報を見つけられるよう"
6746 "に、Debian ディストリビューションの基底を指定しなければなりません。"
6747 "<literal>distribution</literal> には正確なパスを指定できます。その場合 "
6748 "component を省略し、<literal>distribution</literal> はスラッシュ (<literal>/"
6749 "</literal>) で終わらなくてはなりません。これは URL で指定されたアーカイブの、"
6750 "特定のサブセクションのみに関心があるときに役に立ちます。"
6751 "<literal>distribution</literal> に正確なパスを指定しないのなら、少なくともひ"
6752 "とつは <literal>component</literal> を指定しなければなりません。"
6754 #. type: Content of: <refentry><refsect1><para>
6755 #: sources.list.5.xml:114
6758 #| "<literal>distribution</literal> may also contain a variable, <literal>"
6759 #| "$(ARCH)</literal> which expands to the Debian architecture (such as "
6760 #| "<literal>amd64</literal> or <literal>armel</literal>) used on the system. "
6761 #| "This permits architecture-independent <filename>sources.list</filename> "
6762 #| "files to be used. In general this is only of interest when specifying an "
6763 #| "exact path, <literal>APT</literal> will automatically generate a URI with "
6764 #| "the current architecture otherwise."
6766 "<literal>suite</literal> may also contain a variable, <literal>$(ARCH)</"
6767 "literal> which expands to the Debian architecture (such as <literal>amd64</"
6768 "literal> or <literal>armel</literal>) used on the system. This permits "
6769 "architecture-independent <filename>sources.list</filename> files to be used. "
6770 "In general this is only of interest when specifying an exact path, "
6771 "<literal>APT</literal> will automatically generate a URI with the current "
6772 "architecture otherwise."
6774 "<literal>distribution</literal> は、<literal>$(ARCH)</literal> 変数を含む場合"
6775 "があります。<literal>$(ARCH)</literal> 変数は、システムで使用している Debian "
6776 "アーキテクチャ (<literal>amd64</literal> や <literal>armel</literal> など) に"
6777 "展開されます。これにより、アーキテクチャに依存しない <filename>sources.list</"
6778 "filename> ファイルを使用できます。一般的に、これは正しいパスを指定するときに"
6779 "気にするだけです。そうでない場合は、<literal>APT</literal> は現在のアーキテク"
6780 "チャで URI を自動的に生成します。"
6782 #. type: Content of: <refentry><refsect1><para>
6783 #: sources.list.5.xml:122
6786 #| "Since only one distribution can be specified per line it may be necessary "
6787 #| "to have multiple lines for the same URI, if a subset of all available "
6788 #| "distributions or components at that location is desired. APT will sort "
6789 #| "the URI list after it has generated a complete set internally, and will "
6790 #| "collapse multiple references to the same Internet host, for instance, "
6791 #| "into a single connection, so that it does not inefficiently establish an "
6792 #| "FTP connection, close it, do something else, and then re-establish a "
6793 #| "connection to that same host. This feature is useful for accessing busy "
6794 #| "FTP sites with limits on the number of simultaneous anonymous users. APT "
6795 #| "also parallelizes connections to different hosts to more effectively deal "
6796 #| "with sites with low bandwidth."
6798 "In the traditional style sources.list format since only one distribution can "
6799 "be specified per line it may be necessary to have multiple lines for the "
6800 "same URI, if a subset of all available distributions or components at that "
6801 "location is desired. APT will sort the URI list after it has generated a "
6802 "complete set internally, and will collapse multiple references to the same "
6803 "Internet host, for instance, into a single connection, so that it does not "
6804 "inefficiently establish an FTP connection, close it, do something else, and "
6805 "then re-establish a connection to that same host. This feature is useful for "
6806 "accessing busy FTP sites with limits on the number of simultaneous anonymous "
6807 "users. APT also parallelizes connections to different hosts to more "
6808 "effectively deal with sites with low bandwidth."
6810 "有効な全 distribution, component の場所から、一部が必要な場合、1 行につき 1 "
6811 "distribution しか指定できないため、同じ URI の行を複数記述することになるで"
6812 "しょう。APT は内部で URI リストを生成してから、並べ替えます。そして、同じイン"
6813 "ターネットホストに対しては複数の参照をまとめます。例えば FTP 接続後、切断して"
6814 "からまた同じホストに再接続するといった、効率の悪いことをせずに、1 接続にまと"
6815 "めます。この機能は、同時接続匿名ユーザ数を制限している、混んでいる FTP サイト"
6816 "にアクセスするのに便利です。APT は、帯域の狭いサイトを効率よく扱うのに、異な"
6817 "るホストへは、接続を並行して行うようにもしています。"
6819 #. type: Content of: <refentry><refsect1><para>
6820 #: sources.list.5.xml:136
6822 "<literal>options</literal> is always optional and needs to be surrounded by "
6823 "square brackets. It can consist of multiple settings in the form "
6824 "<literal><replaceable>setting</replaceable>=<replaceable>value</"
6825 "replaceable></literal>. Multiple settings are separated by spaces. The "
6826 "following settings are supported by APT (note however that unsupported "
6827 "settings will be ignored silently):"
6829 "<literal>オプション</literal> は、常に省略可能で、角カッコで囲む必要がありま"
6830 "す。複数の設定を <literal><replaceable>設定</replaceable>=<replaceable>値</"
6831 "replaceable></literal> の形式で定義できます。複数の設定は空白で区切ります。以"
6832 "下の設定は APT がサポートしているものです (未サポートのものは黙って無視しま"
6835 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
6836 #: sources.list.5.xml:142
6838 "<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</"
6839 "replaceable>,…</literal> can be used to specify for which architectures "
6840 "information should be downloaded. If this option is not set all "
6841 "architectures defined by the <literal>APT::Architectures</literal> option "
6842 "will be downloaded."
6844 "<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</"
6845 "replaceable>,…</literal> により、どのアーキテクチャ情報をダウンロードするか指"
6846 "定します。このオプションを指定していないと、<literal>APT::Architectures</"
6847 "literal> オプションに定義してある、全アーキテクチャをダウンロードします。"
6849 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
6850 #: sources.list.5.xml:146
6853 #| "<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</"
6854 #| "replaceable>,…</literal> can be used to specify for which architectures "
6855 #| "information should be downloaded. If this option is not set all "
6856 #| "architectures defined by the <literal>APT::Architectures</literal> option "
6857 #| "will be downloaded."
6859 "<literal>arch+=<replaceable>arch1</replaceable>,<replaceable>arch2</"
6860 "replaceable>,…</literal> and <literal>arch-=<replaceable>arch1</replaceable>,"
6861 "<replaceable>arch2</replaceable>,…</literal> which can be used to add/remove "
6862 "architectures from the set which will be downloaded."
6864 "<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</"
6865 "replaceable>,…</literal> により、どのアーキテクチャ情報をダウンロードするか指"
6866 "定します。このオプションを指定していないと、<literal>APT::Architectures</"
6867 "literal> オプションに定義してある、全アーキテクチャをダウンロードします。"
6869 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
6870 #: sources.list.5.xml:149
6872 "<literal>trusted=yes</literal> can be set to indicate that packages from "
6873 "this source are always authenticated even if the <filename>Release</"
6874 "filename> file is not signed or the signature can't be checked. This "
6875 "disables parts of &apt-secure; and should therefore only be used in a local "
6876 "and trusted context. <literal>trusted=no</literal> is the opposite which "
6877 "handles even correctly authenticated sources as not authenticated."
6879 "<literal>trusted=yes</literal> により、<filename>Release</filename> ファイル"
6880 "が未署名だったり、署名がチェックできなかったりしても、この取得元からのパッ"
6881 "ケージを常に認証すると指定します。これは &apt-secure; の一部を無効にしてしま"
6882 "うため、ローカルで信頼できる場合にのみ、使用するようにしてください。"
6883 "<literal>trusted=no</literal> は反対に、正しく認証された取得元であっても、未"
6886 #. type: Content of: <refentry><refsect1><para>
6887 #: sources.list.5.xml:156
6889 "It is important to list sources in order of preference, with the most "
6890 "preferred source listed first. Typically this will result in sorting by "
6891 "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
6892 "followed by distant Internet hosts, for example)."
6894 "最優先する取得元を最初に記述するというように、優先順に取得元を記述するのは重"
6895 "要です。一般的には、スピードの速い順に並べることになる (例えば、CD-ROM に続い"
6896 "てローカルネットワークのホスト、さらに続いて彼方のインターネットホスト) で"
6899 #. type: Content of: <refentry><refsect1><para>
6900 #: sources.list.5.xml:161
6901 msgid "Some examples:"
6904 #. type: Content of: <refentry><refsect1><literallayout>
6905 #: sources.list.5.xml:163
6908 "deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
6909 "deb http://security.debian.org/ &stable-codename;/updates main contrib non-free\n"
6912 "deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
6913 "deb http://security.debian.org/ &stable-codename;/updates main contrib non-free\n"
6916 #. type: Content of: <refentry><refsect1><title>
6917 #: sources.list.5.xml:169
6918 msgid "URI specification"
6921 #. type: Content of: <refentry><refsect1><para>
6922 #: sources.list.5.xml:171
6923 msgid "The currently recognized URI types are:"
6924 msgstr "現在認識できる URI タイプは以下のとおりです。"
6926 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6927 #: sources.list.5.xml:175
6929 "The file scheme allows an arbitrary directory in the file system to be "
6930 "considered an archive. This is useful for NFS mounts and local mirrors or "
6933 "file スキームは、システム内の任意のディレクトリを、アーカイブとして扱えるよう"
6934 "にします。これは NFS マウントやローカルミラーで便利です。"
6936 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6937 #: sources.list.5.xml:182
6939 "The cdrom scheme allows APT to use a local CD-ROM drive with media swapping. "
6940 "Use the &apt-cdrom; program to create cdrom entries in the source list."
6942 "cdrom スキームは、APT がローカル CD-ROM ドライブを、メディア交換しながら使え"
6943 "るようにします。取得元リストに cdrom エントリを追加するには、&apt-cdrom; プロ"
6946 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6947 #: sources.list.5.xml:189
6949 "The http scheme specifies an HTTP server for the archive. If an environment "
6950 "variable <envar>http_proxy</envar> is set with the format http://server:"
6951 "port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
6952 "Users of authenticated HTTP/1.1 proxies may use a string of the format "
6953 "http://user:pass@server:port/. Note that this is an insecure method of "
6956 "http スキームはアーカイブとして、HTTP サーバを指定します。環境変数 "
6957 "<envar>http_proxy</envar> が、http://server:port/ と言った形で指定されていれ"
6958 "ば、<envar>http_proxy</envar> で指定したプロキシサーバを使用します。ユーザ認"
6959 "証が必要な HTTP/1.1 プロキシの場合、http://user:pass@server:port/ という形で"
6960 "指定してください。この認証方法は安全ではないことに注意してください。"
6962 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6963 #: sources.list.5.xml:200
6965 "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
6966 "is highly configurable; for more information see the &apt-conf; manual page. "
6967 "Please note that an FTP proxy can be specified by using the "
6968 "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
6969 "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
6970 "environment variable and <emphasis>only</emphasis> this environment "
6971 "variable. Proxies using HTTP specified in the configuration file will be "
6974 "ftp スキームは、アーカイブに FTP サーバを指定します。APT の FTP の振る舞い"
6975 "は、高度に設定できます。詳細は、&apt-conf; のマニュアルページをご覧ください。"
6976 "FTP プロキシは、<envar>ftp_proxy</envar> 環境変数で指定することに注意してくだ"
6977 "さい。この環境変数、さらにこの<emphasis>環境変数のみ</emphasis>を使用して、"
6978 "HTTP プロキシを使用できます (HTTP プロキシサーバは大抵 FTP URL も理解できま"
6979 "す)。設定ファイルで HTTP を利用するプロキシが指定してあっても、無視されます。"
6981 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6982 #: sources.list.5.xml:212
6984 "The copy scheme is identical to the file scheme except that packages are "
6985 "copied into the cache directory instead of used directly at their location. "
6986 "This is useful for people using removable media to copy files around with "
6989 "copy スキームは、file スキームと同様ですが、パッケージをその場で使用せず、"
6990 "キャッシュディレクトリにコピーするところが違います。リムーバブルメディアを使"
6991 "用していて、APT でコピーを行う場合に便利です。"
6993 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6994 #: sources.list.5.xml:219
6996 "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
6997 "the files as a given user. Prior configuration of rhosts or RSA keys is "
6998 "recommended. The standard <command>find</command> and <command>dd</command> "
6999 "commands are used to perform the file transfers from the remote host."
7001 "rsh/ssh メソッドは、与えられたユーザでリモートホストに接続し、ファイルにアク"
7002 "セスするのに rsh/ssh を使用します。あらかじめ rhosts や RSA キーの設定をして"
7003 "おくことをお勧めします。リモートホストからのファイル転送に、標準の "
7004 "<command>find</command> コマンドと <command>dd</command> コマンドを使用しま"
7007 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7008 #: sources.list.5.xml:226
7009 msgid "adding more recognizable URI types"
7010 msgstr "さらに認識できる URI タイプの追加"
7012 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7013 #: sources.list.5.xml:228
7015 "APT can be extended with more methods shipped in other optional packages, "
7016 "which should follow the naming scheme <package>apt-transport-"
7017 "<replaceable>method</replaceable></package>. For instance, the APT team "
7018 "also maintains the package <package>apt-transport-https</package>, which "
7019 "provides access methods for HTTPS URIs with features similar to the http "
7020 "method. Methods for using e.g. debtorrent are also available - see &apt-"
7021 "transport-debtorrent;."
7023 "APT は他の追加パッケージ (<package>apt-transport-<replaceable>method</"
7024 "replaceable></package> という命名規則) により、より多くの方法を使えるよう拡張"
7025 "できます。例えば、APT チームは、http メソッドと似た機能で HTTPS URI でのアク"
7026 "セス方法を提供する <package>apt-transport-https</package> パッケージも保守し"
7027 "ています。使用するメソッドには、例えば debtorrent も利用できます。&apt-"
7028 "transport-debtorrent; を参照してください。"
7030 #. type: Content of: <refentry><refsect1><para>
7031 #: sources.list.5.xml:240
7033 "Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
7034 "stable/main, stable/contrib, and stable/non-free."
7036 "/home/jason/debian に格納されている stable/main, stable/contrib, stable/non-"
7037 "free 用のローカル (または NFS) アーカイブを使用します。"
7039 #. type: Content of: <refentry><refsect1><literallayout>
7040 #: sources.list.5.xml:242
7042 msgid "deb file:/home/jason/debian stable main contrib non-free"
7043 msgstr "deb file:/home/jason/debian stable main contrib non-free"
7045 #. type: Content of: <refentry><refsect1><para>
7046 #: sources.list.5.xml:244
7047 msgid "As above, except this uses the unstable (development) distribution."
7048 msgstr "上記と同様ですが、不安定版 (開発版) を使用します。"
7050 #. type: Content of: <refentry><refsect1><literallayout>
7051 #: sources.list.5.xml:245
7053 msgid "deb file:/home/jason/debian unstable main contrib non-free"
7054 msgstr "deb file:/home/jason/debian unstable main contrib non-free"
7056 #. type: Content of: <refentry><refsect1><para>
7057 #: sources.list.5.xml:247
7058 msgid "Source line for the above"
7059 msgstr "上記のソース行は以下のようになります。"
7061 #. type: Content of: <refentry><refsect1><literallayout>
7062 #: sources.list.5.xml:248
7064 msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
7065 msgstr "deb-src file:/home/jason/debian unstable main contrib non-free"
7067 #. type: Content of: <refentry><refsect1><para>
7068 #: sources.list.5.xml:250
7070 "The first line gets package information for the architectures in "
7071 "<literal>APT::Architectures</literal> while the second always retrieves "
7072 "<literal>amd64</literal> and <literal>armel</literal>."
7074 "1 行目は <literal>APT::Architectures</literal> にあるアーキテクチャのパッケー"
7075 "ジ情報を取得し、2 行目は常に <literal>amd64</literal> アーキテクチャと "
7076 "<literal>armel</literal> アーキテクチャのパッケージ情報を取得します。"
7078 #. type: Content of: <refentry><refsect1><literallayout>
7079 #: sources.list.5.xml:252
7082 "deb http://ftp.debian.org/debian &stable-codename; main\n"
7083 "deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main"
7085 "deb http://ftp.debian.org/debian &stable-codename; main\n"
7086 "deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main"
7088 #. type: Content of: <refentry><refsect1><para>
7089 #: sources.list.5.xml:255
7091 "Uses HTTP to access the archive at archive.debian.org, and uses only the "
7094 "archive.debian.org のアーカイブに HTTP アクセスし、hamm/main のみを使用しま"
7097 #. type: Content of: <refentry><refsect1><literallayout>
7098 #: sources.list.5.xml:257
7100 msgid "deb http://archive.debian.org/debian-archive hamm main"
7101 msgstr "deb http://archive.debian.org/debian-archive hamm main"
7103 #. type: Content of: <refentry><refsect1><para>
7104 #: sources.list.5.xml:259
7106 "Uses FTP to access the archive at ftp.debian.org, under the debian "
7107 "directory, and uses only the &stable-codename;/contrib area."
7109 "ftp.debian.org のアーカイブに FTP アクセスし、debian ディレクトリ以下の "
7110 "&stable-codename;/contrib のみを使用します。"
7112 #. type: Content of: <refentry><refsect1><literallayout>
7113 #: sources.list.5.xml:261
7115 msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
7116 msgstr "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
7118 #. type: Content of: <refentry><refsect1><para>
7119 #: sources.list.5.xml:263
7121 "Uses FTP to access the archive at ftp.debian.org, under the debian "
7122 "directory, and uses only the unstable/contrib area. If this line appears as "
7123 "well as the one in the previous example in <filename>sources.list</filename> "
7124 "a single FTP session will be used for both resource lines."
7126 "ftp.debian.org のアーカイブに FTP アクセスし、debian ディレクトリ以下の "
7127 "unstable/contrib のみを使用します。<filename>sources.list</filename> に上記サ"
7128 "ンプルと一緒に指定された場合、両方のリソース行に対応する FTP セッションはひと"
7131 #. type: Content of: <refentry><refsect1><literallayout>
7132 #: sources.list.5.xml:267
7134 msgid "deb ftp://ftp.debian.org/debian unstable contrib"
7135 msgstr "deb ftp://ftp.debian.org/debian unstable contrib"
7137 #. type: Content of: <refentry><refsect1><para><literallayout>
7138 #: sources.list.5.xml:276
7140 msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
7141 msgstr "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
7143 #. type: Content of: <refentry><refsect1><para>
7144 #: sources.list.5.xml:269
7146 "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
7147 "directory, and uses only files found under <filename>unstable/binary-i386</"
7148 "filename> on i386 machines, <filename>unstable/binary-amd64</filename> on "
7149 "amd64, and so forth for other supported architectures. [Note this example "
7150 "only illustrates how to use the substitution variable; official debian "
7151 "archives are not structured like this] <placeholder type=\"literallayout\" "
7154 "ftp.tlh.debian.org のアーカイブに HTTP アクセスし、universe ディレクトリ以下"
7155 "を使用します。また、i386 マシンでは <filename>unstable/binary-i386</"
7156 "filename> 以下にあるファイル、amd64 マシンでは <filename>unstable/binary-"
7157 "amd64</filename> 以下にあるファイル、その他サポートするアーキテクチャごとの"
7158 "ファイルのみ使用します。[このサンプルは変数展開の使用法の説明でしかないことに"
7159 "注意してください。公式 debian アーカイブはこのような構造になっていません] "
7160 "<placeholder type=\"literallayout\" id=\"0\"/>"
7162 #. type: Content of: <refentry><refsect1><para>
7163 #: sources.list.5.xml:281
7164 msgid "&apt-cache; &apt-conf;"
7165 msgstr "&apt-cache; &apt-conf;"
7167 #. type: Content of: <refentry><refmeta><manvolnum>
7168 #: apt-extracttemplates.1.xml:28 apt-sortpkgs.1.xml:28 apt-ftparchive.1.xml:28
7172 #. type: Content of: <refentry><refnamediv><refpurpose>
7173 #: apt-extracttemplates.1.xml:35
7175 "Utility to extract <command>debconf</command> config and templates from "
7178 "Debian パッケージから <command>debconf</command> の設定とテンプレートを抽出す"
7181 #. type: Content of: <refentry><refsect1><para>
7182 #: apt-extracttemplates.1.xml:41
7184 "<command>apt-extracttemplates</command> will take one or more Debian package "
7185 "files as input and write out (to a temporary directory) all associated "
7186 "config scripts and template files. For each passed in package that contains "
7187 "config scripts and templates, one line of output will be generated in the "
7190 "<command>apt-extracttemplates</command> は、入力に複数の Debian パッケージを"
7191 "とり、関連する設定スクリプトとテンプレートファイルを (一時ディレクトリに) 出"
7192 "力します。設定スクリプト・テンプレートファイルを持つ、渡されたパッケージそれ"
7193 "ぞれに対し、以下の形式で 1 行ずつ出力します。"
7195 #. type: Content of: <refentry><refsect1><para>
7196 #: apt-extracttemplates.1.xml:46
7197 msgid "package version template-file config-script"
7198 msgstr "package version template-file config-script"
7200 #. type: Content of: <refentry><refsect1><para>
7201 #: apt-extracttemplates.1.xml:47
7203 "template-file and config-script are written to the temporary directory "
7204 "specified by the <option>-t</option> or <option>--tempdir</option> "
7205 "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
7206 "filenames of the form <filename>package.template.XXXXXX</filename> and "
7207 "<filename>package.config.XXXXXX</filename>"
7209 "テンプレートファイルや、設定スクリプトは、<option>-t</option> や <option>--"
7210 "tempdir</option> で指定した一時ディレクトリ (<literal>APT::ExtractTemplates::"
7211 "TempDir</literal>) に書き出され、ファイル名は、<filename>package.template."
7212 "XXXXXX</filename> や <filename>package.config.XXXXXX</filename> といった形に"
7215 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7216 #: apt-extracttemplates.1.xml:60
7218 "Temporary directory in which to write extracted <command>debconf</command> "
7219 "template files and config scripts. Configuration Item: <literal>APT::"
7220 "ExtractTemplates::TempDir</literal>"
7222 "抽出した <command>debconf</command> テンプレートファイルや設定スクリプトを書"
7223 "き出す一時ディレクトリ。設定項目: <literal>APT::ExtractTemplates::TempDir</"
7226 #. type: Content of: <refentry><refsect1><para>
7227 #: apt-extracttemplates.1.xml:77
7229 "<command>apt-extracttemplates</command> returns zero on normal operation, "
7230 "decimal 100 on error."
7232 "<command>apt-extracttemplates</command> は正常終了時に 0 を返します。エラー時"
7235 #. type: Content of: <refentry><refnamediv><refpurpose>
7236 #: apt-sortpkgs.1.xml:35
7237 msgid "Utility to sort package index files"
7238 msgstr "パッケージインデックスファイルのソートユーティリティ"
7240 #. type: Content of: <refentry><refsect1><para>
7241 #: apt-sortpkgs.1.xml:41
7243 "<command>apt-sortpkgs</command> will take an index file (source index or "
7244 "package index) and sort the records so that they are ordered by the package "
7245 "name. It will also sort the internal fields of each record according to the "
7246 "internal sorting rules."
7248 "<command>apt-sortpkgs</command> は、インデックスファイル (ソースインデックス"
7249 "やパッケージインデックス) からレコードをソートし、パッケージ名順に整えます。"
7250 "また、内部のソート規則に従って、内部フィールドについてもソートを行います。"
7252 #. type: Content of: <refentry><refsect1><para>
7253 #: apt-sortpkgs.1.xml:47
7255 "All output is sent to standard output; the input must be a seekable file."
7257 "出力はすべて標準出力に送られ、入力は検索できるファイルでなければなりません。"
7259 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7260 #: apt-sortpkgs.1.xml:56
7262 "Use source index field ordering. Configuration Item: <literal>APT::"
7263 "SortPkgs::Source</literal>."
7265 "ソースインデックスフィールド順に並べ替えに使用します。設定項目: "
7266 "<literal>APT::SortPkgs::Source</literal>"
7268 #. type: Content of: <refentry><refsect1><para>
7269 #: apt-sortpkgs.1.xml:70
7271 "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
7274 "<command>apt-sortpkgs</command> は正常終了時に 0 を返します。エラー時には十進"
7277 #. type: Content of: <refentry><refnamediv><refpurpose>
7278 #: apt-ftparchive.1.xml:35
7279 msgid "Utility to generate index files"
7280 msgstr "インデックスファイル生成ユーティリティ"
7282 #. type: Content of: <refentry><refsect1><para>
7283 #: apt-ftparchive.1.xml:41
7285 "<command>apt-ftparchive</command> is the command line tool that generates "
7286 "the index files that APT uses to access a distribution source. The index "
7287 "files should be generated on the origin site based on the content of that "
7290 "<command>apt-ftparchive</command> は、APT が取得元にアクセスするのに必要な、"
7291 "インデックスファイルを生成するコマンドラインツールです。インデックスファイル"
7292 "は、元のサイトの内容に基づき生成されるべきです。"
7294 #. type: Content of: <refentry><refsect1><para>
7295 #: apt-ftparchive.1.xml:45
7297 "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
7298 "program, incorporating its entire functionality via the <literal>packages</"
7299 "literal> command. It also contains a contents file generator, "
7300 "<literal>contents</literal>, and an elaborate means to 'script' the "
7301 "generation process for a complete archive."
7303 "<command>apt-ftparchive</command> は、&dpkg-scanpackages; プログラムのスー"
7304 "パーセットで、<literal>packages</literal> コマンド経由で機能全体を取り込んで"
7305 "います。また、contents ファイルジェネレータ <literal>contents</literal> と完"
7306 "全なアーカイブの生成プロセス「スクリプト」である綿密な手段を含んでいます。"
7308 #. type: Content of: <refentry><refsect1><para>
7309 #: apt-ftparchive.1.xml:51
7311 "Internally <command>apt-ftparchive</command> can make use of binary "
7312 "databases to cache the contents of a .deb file and it does not rely on any "
7313 "external programs aside from &gzip;. When doing a full generate it "
7314 "automatically performs file-change checks and builds the desired compressed "
7317 "本質的に <command>apt-ftparchive</command> は、.deb ファイルの内容をキャッ"
7318 "シュするのにバイナリデータベースを使用できます。また、&gzip; 以外のいかなる外"
7319 "部プログラムにも依存しません。すべて生成する際には、ファイル変更点の検出と希"
7320 "望した圧縮出力ファイルの作成を自動的に実行します。"
7322 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7323 #: apt-ftparchive.1.xml:62
7325 "The packages command generates a package file from a directory tree. It "
7326 "takes the given directory and recursively searches it for .deb files, "
7327 "emitting a package record to stdout for each. This command is approximately "
7328 "equivalent to &dpkg-scanpackages;."
7330 "packages コマンドは、ディレクトリツリーからパッケージファイルを生成します。与"
7331 "えられたディレクトリから再帰検索し、.deb ファイルを取得します。またパッケージ"
7332 "レコードを標準出力にそれぞれ出力します。このコマンドは、&dpkg-scanpackages; "
7335 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7336 #: apt-ftparchive.1.xml:67 apt-ftparchive.1.xml:91
7338 "The option <option>--db</option> can be used to specify a binary caching DB."
7339 msgstr "<option>--db</option> オプションで、キャッシュ DB を指定できます。"
7341 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7342 #: apt-ftparchive.1.xml:72
7344 "The <literal>sources</literal> command generates a source index file from a "
7345 "directory tree. It takes the given directory and recursively searches it "
7346 "for .dsc files, emitting a source record to stdout for each. This command is "
7347 "approximately equivalent to &dpkg-scansources;."
7349 "<literal>sources</literal> コマンドは、ディレクトリツリーからソースインデック"
7350 "スファイルを生成します。与えられたディレクトリから再帰検索し、.dsc ファイルを"
7351 "取得します。またソースレコードを標準出力にそれぞれ出力します。このコマンド"
7352 "は、&dpkg-scansources; とほぼ同じです。"
7354 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7355 #: apt-ftparchive.1.xml:77
7357 "If an override file is specified then a source override file will be looked "
7358 "for with an extension of .src. The --source-override option can be used to "
7359 "change the source override file that will be used."
7361 "override ファイルを指定した場合、src 拡張子がついたソースオーバーライドファイ"
7362 "ルを探します。使用するソースオーバーライドファイルを変更するのには、--source-"
7363 "override オプションを使用します。"
7365 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7366 #: apt-ftparchive.1.xml:84
7368 "The <literal>contents</literal> command generates a contents file from a "
7369 "directory tree. It takes the given directory and recursively searches it "
7370 "for .deb files, and reads the file list from each file. It then sorts and "
7371 "writes to stdout the list of files matched to packages. Directories are not "
7372 "written to the output. If multiple packages own the same file then each "
7373 "package is separated by a comma in the output."
7375 "<literal>contents</literal> コマンドは、ディレクトリツリーからコンテンツファ"
7376 "イルを生成します。与えられたディレクトリから再帰検索し、.deb ファイルを取得し"
7377 "ます。またファイルごとにファイル一覧を読み取ります。その後、パッケージに対応"
7378 "するファイル一覧を標準出力にソートして出力します。ディレクトリは出力に含まれ"
7379 "ません。複数のパッケージが同じファイルを持つ場合、パッケージ名をカンマ区切り"
7382 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7383 #: apt-ftparchive.1.xml:96
7385 "The <literal>release</literal> command generates a Release file from a "
7386 "directory tree. It recursively searches the given directory for uncompressed "
7387 "<filename>Packages</filename> and <filename>Sources</filename> files and "
7388 "ones compressed with <command>gzip</command>, <command>bzip2</command> or "
7389 "<command>lzma</command> as well as <filename>Release</filename> and "
7390 "<filename>md5sum.txt</filename> files by default (<literal>APT::FTPArchive::"
7391 "Release::Default-Patterns</literal>). Additional filename patterns can be "
7392 "added by listing them in <literal>APT::FTPArchive::Release::Patterns</"
7393 "literal>. It then writes to stdout a <filename>Release</filename> file "
7394 "containing an MD5, SHA1 and SHA256 digest for each file."
7396 "<literal>release</literal> コマンドは、ディレクトリツリーから Release ファイ"
7397 "ルを生成します。与えたディレクトリを再帰的に検索し、未圧縮の "
7398 "<filename>Packages</filename> ファイルと <filename>Sources</filename> ファイ"
7399 "ル、およびそれらを <command>gzip</command>, <command>bzip2</command>, "
7400 "<command>lzma</command> で圧縮したもの、<filename>Release</filename> ファイル"
7401 "や <filename>md5sum.txt</filename> ファイルをデフォルト (<literal>APT::"
7402 "FTPArchive::Release::Default-Patterns</literal>) で探します。また "
7403 "<literal>APT::FTPArchive::Release::Patterns</literal> に列挙して、さらにファ"
7404 "イル名のパターンを追加できます。その後、MD5, SHA1, SHA256 の各ダイジェストを"
7405 "ファイルごとに格納した <filename>Release</filename> ファイルを標準出力に書き"
7408 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7409 #: apt-ftparchive.1.xml:106
7411 "Values for the additional metadata fields in the Release file are taken from "
7412 "the corresponding variables under <literal>APT::FTPArchive::Release</"
7413 "literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
7414 "supported fields are: <literal>Origin</literal>, <literal>Label</literal>, "
7415 "<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
7416 "literal>, <literal>Date</literal>, <literal>Valid-Until</literal>, "
7417 "<literal>Architectures</literal>, <literal>Components</literal>, "
7418 "<literal>Description</literal>."
7420 "Release ファイルの追加メタデータフィールドの値は、<literal>APT::FTPArchive::"
7421 "Release</literal> 以下の相当する値 (例: <literal>APT::FTPArchive::Release::"
7422 "Origin</literal>) をとります。サポートするフィールドは、<literal>Origin</"
7423 "literal>, <literal>Label</literal>, <literal>Suite</literal>, "
7424 "<literal>Version</literal>, <literal>Codename</literal>, <literal>Date</"
7425 "literal>, <literal>Valid-Until</literal>, <literal>Architectures</literal>, "
7426 "<literal>Components</literal>, <literal>Description</literal> です。"
7428 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7429 #: apt-ftparchive.1.xml:119
7431 "The <literal>generate</literal> command is designed to be runnable from a "
7432 "cron script and builds indexes according to the given config file. The "
7433 "config language provides a flexible means of specifying which index files "
7434 "are built from which directories, as well as providing a simple means of "
7435 "maintaining the required settings."
7437 "<literal>generate</literal> コマンドは、cron スクリプトから実行できるよう設計"
7438 "されており、与えられた設定ファイルに従ってインデックスを生成します。設定言語"
7439 "は、必要な設定を維持する簡単な方法を提供すると共に、インデックスファイルをど"
7440 "のディレクトリから作成するかを指定する、柔軟な方法を提供します。"
7442 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7443 #: apt-ftparchive.1.xml:128
7445 "The <literal>clean</literal> command tidies the databases used by the given "
7446 "configuration file by removing any records that are no longer necessary."
7448 "<literal>clean</literal> コマンドは、設定ファイルで与えられたデータベースを、"
7449 "もう必要ないレコードを削除して整理します。"
7451 #. type: Content of: <refentry><refsect1><title>
7452 #: apt-ftparchive.1.xml:134
7453 msgid "The Generate Configuration"
7454 msgstr "Generate 設定"
7456 #. type: Content of: <refentry><refsect1><para>
7457 #: apt-ftparchive.1.xml:136
7459 "The <literal>generate</literal> command uses a configuration file to "
7460 "describe the archives that are going to be generated. It follows the typical "
7461 "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
7462 "conf; contains a description of the syntax. Note that the generate "
7463 "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
7464 "tree manner. This only effects how the scope tag is handled."
7466 "<literal>generate</literal> コマンドは、生成するアーカイブに関する記述をした"
7467 "設定ファイルを使用します。設定ファイルは、bind 8 や dhcpd といった ISC ツール"
7468 "に見られるような、ISC 設定フォーマットに従います。&apt-conf; に、構文の説明が"
7469 "あります。Generate 設定はセクション法で解析しますが、&apt-conf; はツリー法で"
7470 "解析するのに注意してください。これはスコープタグの扱い方に違いがあるだけで"
7473 #. type: Content of: <refentry><refsect1><para>
7474 #: apt-ftparchive.1.xml:144
7476 "The generate configuration has four separate sections, each described below."
7478 "generate 設定には 4 個の独立したセクションがあります。以下それぞれ説明しま"
7481 #. type: Content of: <refentry><refsect1><refsect2><title>
7482 #: apt-ftparchive.1.xml:146
7483 msgid "<literal>Dir</literal> Section"
7484 msgstr "<literal>Dir</literal> セクション"
7486 #. type: Content of: <refentry><refsect1><refsect2><para>
7487 #: apt-ftparchive.1.xml:148
7489 "The <literal>Dir</literal> section defines the standard directories needed "
7490 "to locate the files required during the generation process. These "
7491 "directories are prepended certain relative paths defined in later sections "
7492 "to produce a complete an absolute path."
7494 "<literal>Dir</literal> セクションは、生成プロセスで必要なファイルを配置するた"
7495 "めに必要な、標準ディレクトリを定義します。このディレクトリは、完全な絶対パス"
7496 "を生成するため、後のセクションで定義される相対パスの前に結合されます。"
7498 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7499 #: apt-ftparchive.1.xml:155
7501 "Specifies the root of the FTP archive, in a standard Debian configuration "
7502 "this is the directory that contains the <filename>ls-LR</filename> and dist "
7505 "FTP アーカイブのルートを指定します。標準的な Debian 設定では、このディレクト"
7506 "リには <filename>ls-LR</filename> と dist ノードがあります。"
7508 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7509 #: apt-ftparchive.1.xml:162
7510 msgid "Specifies the location of the override files."
7511 msgstr "オーバーライドファイルの場所を指定します。"
7513 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7514 #: apt-ftparchive.1.xml:167
7515 msgid "Specifies the location of the cache files."
7516 msgstr "キャッシュファイルの場所を指定します。"
7518 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7519 #: apt-ftparchive.1.xml:172
7521 "Specifies the location of the file list files, if the <literal>FileList</"
7522 "literal> setting is used below."
7524 "<literal>FileList</literal> 設定が以下で使用されている場合、ファイルリスト"
7527 #. type: Content of: <refentry><refsect1><refsect2><title>
7528 #: apt-ftparchive.1.xml:178
7529 msgid "<literal>Default</literal> Section"
7530 msgstr "<literal>Default</literal> セクション"
7532 #. type: Content of: <refentry><refsect1><refsect2><para>
7533 #: apt-ftparchive.1.xml:180
7535 "The <literal>Default</literal> section specifies default values, and "
7536 "settings that control the operation of the generator. Other sections may "
7537 "override these defaults with a per-section setting."
7539 "<literal>Default</literal> セクションではデフォルト値を指定します。また、生成"
7540 "器の動作を制御する設定も行います。他のセクションでは、ここにあるデフォルト値"
7541 "を、セクションごとの設定で上書きします。"
7543 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7544 #: apt-ftparchive.1.xml:186
7546 "Sets the default compression schemes to use for the package index files. It "
7547 "is a string that contains a space separated list of at least one of: '.' (no "
7548 "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
7551 "パッケージインデックスファイルのデフォルト圧縮方法を設定します。少なくとも "
7552 "'.' (圧縮なし), 'gzip', 'bzip2' のどれかが入る、空白区切りの文字列です。圧縮"
7553 "方法のデフォルトはすべて '. gzip' です。"
7555 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7556 #: apt-ftparchive.1.xml:194
7558 "Sets the default list of file extensions that are package files. This "
7559 "defaults to '.deb'."
7561 "パッケージファイル拡張子のデフォルト値を列挙します。このデフォルト値は '."
7564 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7565 #: apt-ftparchive.1.xml:200
7567 "This is similar to <literal>Packages::Compress</literal> except that it "
7568 "controls the compression for the Sources files."
7570 "<literal>Packages::Compress</literal> と同様に、Sources ファイルの圧縮方法を"
7573 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7574 #: apt-ftparchive.1.xml:206
7576 "Sets the default list of file extensions that are source files. This "
7577 "defaults to '.dsc'."
7579 "ソースファイル拡張子のデフォルト値を列挙します。このデフォルト値は '.dsc' で"
7582 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7583 #: apt-ftparchive.1.xml:212
7585 "This is similar to <literal>Packages::Compress</literal> except that it "
7586 "controls the compression for the Contents files."
7588 "<literal>Packages::Compress</literal> と同様に、Contents ファイルの圧縮方法を"
7591 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7592 #: apt-ftparchive.1.xml:218
7594 "This is similar to <literal>Packages::Compress</literal> except that it "
7595 "controls the compression for the Translation-en master file."
7597 "<literal>Packages::Compress</literal> と同様に、Translation-en マスターファイ"
7600 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7601 #: apt-ftparchive.1.xml:224
7603 "Specifies the number of kilobytes to delink (and replace with hard links) "
7604 "per run. This is used in conjunction with the per-section <literal>External-"
7605 "Links</literal> setting."
7607 "実行するごとに delink (及びハードリンクの置き換え) する量を、キロバイト単位で"
7608 "指定します。セクションごとの <literal>External-Links</literal> 設定と合わせて"
7611 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7612 #: apt-ftparchive.1.xml:231
7614 "Specifies the mode of all created index files. It defaults to 0644. All "
7615 "index files are set to this mode with no regard to the umask."
7617 "作成したインデックスファイルのモードを指定します。デフォルトは 0644 です。全"
7618 "インデックスファイルは、umask を無視してこのモードを使用します。"
7620 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7621 #: apt-ftparchive.1.xml:238 apt-ftparchive.1.xml:384
7623 "Specifies whether long descriptions should be included in the "
7624 "<filename>Packages</filename> file or split out into a master "
7625 "<filename>Translation-en</filename> file."
7627 "長い説明文を <filename>Packages</filename> ファイルに含めるか、マスター "
7628 "<filename>Translation-en</filename> ファイルに分割するかを指定します。"
7630 #. type: Content of: <refentry><refsect1><refsect2><title>
7631 #: apt-ftparchive.1.xml:244
7632 msgid "<literal>TreeDefault</literal> Section"
7633 msgstr "<literal>TreeDefault</literal> セクション"
7635 #. type: Content of: <refentry><refsect1><refsect2><para>
7636 #: apt-ftparchive.1.xml:246
7638 "Sets defaults specific to <literal>Tree</literal> sections. All of these "
7639 "variables are substitution variables and have the strings $(DIST), "
7640 "$(SECTION) and $(ARCH) replaced with their respective values."
7642 "特定の <literal>Tree</literal> セクションのデフォルトを設定します。これらの変"
7643 "数はすべて置換変数であり、文字列 $(DIST), $(SECTION), $(ARCH) をそれぞれの値"
7646 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7647 #: apt-ftparchive.1.xml:253
7649 "Sets the number of kilobytes of contents files that are generated each day. "
7650 "The contents files are round-robined so that over several days they will all "
7653 "日毎に生成する contents ファイルをキロバイト単位で設定します。contents ファイ"
7654 "ルをラウンドロビンし、数日経つとすべて再生成します。"
7656 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7657 #: apt-ftparchive.1.xml:260
7659 "Controls the number of days a contents file is allowed to be checked without "
7660 "changing. If this limit is passed the mtime of the contents file is updated. "
7661 "This case can occur if the package file is changed in such a way that does "
7662 "not result in a new contents file [override edit for instance]. A hold off "
7663 "is allowed in hopes that new .debs will be installed, requiring a new file "
7664 "anyhow. The default is 10, the units are in days."
7666 "変更がない contents ファイルをチェックする日数を指定します。この制限を越えた "
7667 "contents ファイルの mtime を、更新します。パッケージファイルが変更されても、"
7668 "[例えば上書き編集で] contents ファイルが更新されないような場合、こういったこ"
7669 "とが発生します。新しい .deb ファイルをインストールしたい場合、保留を解除で"
7670 "き、少なくとも新しいファイルが必要です。デフォルトは 10 で、単位は日です。"
7672 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7673 #: apt-ftparchive.1.xml:271
7675 "Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
7676 "$(SECTION)/binary-$(ARCH)/</filename>"
7678 ".deb ディレクトリツリーの先頭を設定します。デフォルトは <filename>$(DIST)/"
7679 "$(SECTION)/binary-$(ARCH)/</filename> です。"
7681 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7682 #: apt-ftparchive.1.xml:277
7684 "Sets the top of the source package directory tree. Defaults to <filename>"
7685 "$(DIST)/$(SECTION)/source/</filename>"
7687 "ソースパッケージディレクトリツリーの先頭を設定します。デフォルトは <filename>"
7688 "$(DIST)/$(SECTION)/source/</filename> です。"
7690 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7691 #: apt-ftparchive.1.xml:283
7693 "Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
7694 "binary-$(ARCH)/Packages</filename>"
7696 "Packages ファイルの出力先を設定します。デフォルトは <filename>$(DIST)/"
7697 "$(SECTION)/binary-$(ARCH)/Packages</filename> です。"
7699 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7700 #: apt-ftparchive.1.xml:289
7702 "Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
7703 "source/Sources</filename>"
7705 "Sources ファイルの出力先を設定します。デフォルトは <filename>$(DIST)/"
7706 "$(SECTION)/source/Sources</filename> です。"
7708 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7709 #: apt-ftparchive.1.xml:295
7711 "Sets the output Translation-en master file with the long descriptions if "
7712 "they should be not included in the Packages file. Defaults to <filename>"
7713 "$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
7715 "万一 Packages ファイルに含まれていない場合、長い説明文がある Translation-en "
7716 "マスターファイルの出力先を設定します。デフォルトは、<filename>$(DIST)/"
7717 "$(SECTION)/i18n/Translation-en</filename> です。"
7719 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7720 #: apt-ftparchive.1.xml:302
7722 "Sets the path prefix that causes a symlink to be considered an internal link "
7723 "instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
7726 "外部リンクではなく、内部リンクと見なす判断材料となる、パスのプレフィックスを"
7727 "設定します。デフォルトは、<filename>$(DIST)/$(SECTION)/</filename> です。"
7729 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7730 #: apt-ftparchive.1.xml:309
7732 "Sets the output Contents file. Defaults to <filename>$(DIST)/$(SECTION)/"
7733 "Contents-$(ARCH)</filename>. If this setting causes multiple Packages files "
7734 "to map onto a single Contents file (as is the default) then <command>apt-"
7735 "ftparchive</command> will integrate those package files together "
7738 "Contents ファイルの出力先を設定します。デフォルトは、<filename>$(DIST)/"
7739 "$(SECTION)/Contents-$(ARCH)</filename> です。複数の Packages ファイルをひとつ"
7740 "の Contents ファイルにまとめられる設定 (デフォルト) の場合、<command>apt-"
7741 "ftparchive</command> は自動でパッケージファイルをまとめます。"
7743 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7744 #: apt-ftparchive.1.xml:318
7745 msgid "Sets header file to prepend to the contents output."
7746 msgstr "contents の出力に付けるヘッダファイルを設定します。"
7748 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7749 #: apt-ftparchive.1.xml:323
7751 "Sets the binary cache database to use for this section. Multiple sections "
7752 "can share the same database."
7754 "このセクションで使用するバイナリキャッシュデータベースを設定します。複数のセ"
7755 "クションで同じデータベースを共有できます。"
7757 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7758 #: apt-ftparchive.1.xml:329
7760 "Specifies that instead of walking the directory tree, <command>apt-"
7761 "ftparchive</command> should read the list of files from the given file. "
7762 "Relative files names are prefixed with the archive directory."
7764 "ディレクトリツリーを走査する代わりに、<command>apt-ftparchive</command> が読"
7765 "み込むファイル一覧ファイルを指定します。相対ファイル名は、アーカイブディレク"
7768 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7769 #: apt-ftparchive.1.xml:336
7771 "Specifies that instead of walking the directory tree, <command>apt-"
7772 "ftparchive</command> should read the list of files from the given file. "
7773 "Relative files names are prefixed with the archive directory. This is used "
7774 "when processing source indexes."
7776 "ディレクトリツリーを走査する代わりに、<command>apt-ftparchive</command> が読"
7777 "み込むファイル一覧ファイルを指定します。相対ファイル名は、アーカイブディレク"
7778 "トリが先頭につきます。ソースインデックスを処理する際に使用します。"
7780 #. type: Content of: <refentry><refsect1><refsect2><title>
7781 #: apt-ftparchive.1.xml:344
7782 msgid "<literal>Tree</literal> Section"
7783 msgstr "<literal>Tree</literal> セクション"
7785 #. type: Content of: <refentry><refsect1><refsect2><para>
7786 #: apt-ftparchive.1.xml:346
7788 "The <literal>Tree</literal> section defines a standard Debian file tree "
7789 "which consists of a base directory, then multiple sections in that base "
7790 "directory and finally multiple Architectures in each section. The exact "
7791 "pathing used is defined by the <literal>Directory</literal> substitution "
7794 "<literal>Tree</literal> セクションでは、ベースディレクトリからの標準 Debian "
7795 "ファイルツリー、ベースディレクトリの複数のセクション、最終的にはセクションご"
7796 "との複数のアーキテクチャを定義します。使用する正確なパスは、"
7797 "<literal>Directory</literal> 変数で定義されます。"
7799 #. type: Content of: <refentry><refsect1><refsect2><para>
7800 #: apt-ftparchive.1.xml:351
7802 "The <literal>Tree</literal> section takes a scope tag which sets the "
7803 "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
7804 "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
7805 "setting such as <filename>dists/&stable-codename;</filename>."
7807 "<literal>Tree</literal> セクションは、<literal>$(DIST)</literal> 変数で設定さ"
7808 "れているスコープタグをとり、ツリーのルート (<literal>ArchiveDir</literal>が先"
7809 "頭につくパス) を定義します。通常、この設定は <filename>dists/&stable-"
7810 "codename;</filename> のようになります。"
7812 #. type: Content of: <refentry><refsect1><refsect2><para>
7813 #: apt-ftparchive.1.xml:356
7815 "All of the settings defined in the <literal>TreeDefault</literal> section "
7816 "can be used in a <literal>Tree</literal> section as well as three new "
7819 "<literal>TreeDefault</literal> セクションで定義される設定はすべて、3 個の新し"
7820 "い変数と同様に、<literal>Tree</literal> セクションで使用できます。"
7822 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7823 #: apt-ftparchive.1.xml:362
7826 "for i in Sections do \n"
7827 " for j in Architectures do\n"
7828 " Generate for DIST=scope SECTION=i ARCH=j\n"
7831 "for i in Sections do \n"
7832 " for j in Architectures do\n"
7833 " Generate for DIST=scope SECTION=i ARCH=j\n"
7836 #. type: Content of: <refentry><refsect1><refsect2><para>
7837 #: apt-ftparchive.1.xml:359
7839 "When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
7840 "command> performs an operation similar to: <placeholder type=\"programlisting"
7843 "<literal>Tree</literal> セクションを処理する際、<command>apt-ftparchive</"
7844 "command> は以下のような操作を行います。<placeholder type=\"programlisting\" "
7847 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7848 #: apt-ftparchive.1.xml:370
7850 "This is a space separated list of sections which appear under the "
7851 "distribution; typically this is something like <literal>main contrib non-"
7854 "distribution 以下に現れるセクションを、空白区切りで指定したリストです。通常、"
7855 "<literal>main contrib non-free</literal> のようになります。"
7857 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7858 #: apt-ftparchive.1.xml:377
7860 "This is a space separated list of all the architectures that appear under "
7861 "search section. The special architecture 'source' is used to indicate that "
7862 "this tree has a source archive."
7864 "search セクション以下に現れるアーキテクチャを、空白区切りで指定したリストで"
7865 "す。特殊アーキテクチャ 'source' は、ソースアーカイブのツリーであることを示し"
7868 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7869 #: apt-ftparchive.1.xml:390
7871 "Sets the binary override file. The override file contains section, priority "
7872 "and maintainer address information."
7874 "バイナリオーバーライドファイルを設定します。このオーバーライドファイルには、"
7875 "セクション、優先度、メンテナのアドレスといった情報が含まれています。"
7877 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7878 #: apt-ftparchive.1.xml:396
7880 "Sets the source override file. The override file contains section "
7883 "ソースオーバーライドファイルを設定します。このオーバーライドファイルには、セ"
7886 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7887 #: apt-ftparchive.1.xml:402 apt-ftparchive.1.xml:448
7888 msgid "Sets the binary extra override file."
7889 msgstr "バイナリ特別オーバーライドファイルを設定します。"
7891 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7892 #: apt-ftparchive.1.xml:407 apt-ftparchive.1.xml:453
7893 msgid "Sets the source extra override file."
7894 msgstr "ソース特別オーバーライドファイルを設定します。"
7896 #. type: Content of: <refentry><refsect1><refsect2><title>
7897 #: apt-ftparchive.1.xml:412
7898 msgid "<literal>BinDirectory</literal> Section"
7899 msgstr "<literal>BinDirectory</literal> セクション"
7901 #. type: Content of: <refentry><refsect1><refsect2><para>
7902 #: apt-ftparchive.1.xml:414
7904 "The <literal>bindirectory</literal> section defines a binary directory tree "
7905 "with no special structure. The scope tag specifies the location of the "
7906 "binary directory and the settings are similar to the <literal>Tree</literal> "
7907 "section with no substitution variables or <literal>Section</"
7908 "literal><literal>Architecture</literal> settings."
7910 "<literal>bindirectory</literal> セクションでは、特殊な構造を持たないバイナリ"
7911 "ディレクトリツリーを定義します。スコープタグはバイナリディレクトリの場所を指"
7912 "定し、設定は変数展開のない <literal>Tree</literal> セクションや "
7913 "<literal>Section</literal><literal>Architecture</literal> 設定に似ています。"
7915 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7916 #: apt-ftparchive.1.xml:422
7917 msgid "Sets the Packages file output."
7918 msgstr "Packages ファイルの出力先を設定します。"
7920 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7921 #: apt-ftparchive.1.xml:427
7923 "Sets the Sources file output. At least one of <literal>Packages</literal> or "
7924 "<literal>Sources</literal> is required."
7926 "Sources ファイルの出力先を設定します。少なくとも <literal>Packages</literal> "
7927 "か <literal>Sources</literal> のうち、ひとつは必要です。"
7929 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7930 #: apt-ftparchive.1.xml:433
7931 msgid "Sets the Contents file output (optional)."
7932 msgstr "Contents ファイルの出力先を設定します (オプション)。"
7934 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7935 #: apt-ftparchive.1.xml:438
7936 msgid "Sets the binary override file."
7937 msgstr "バイナリオーバーライドファイルを設定します。"
7939 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7940 #: apt-ftparchive.1.xml:443
7941 msgid "Sets the source override file."
7942 msgstr "ソースオーバーライドファイルを設定します。"
7944 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7945 #: apt-ftparchive.1.xml:458
7946 msgid "Sets the cache DB."
7947 msgstr "キャッシュ DB を設定します。"
7949 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7950 #: apt-ftparchive.1.xml:463
7951 msgid "Appends a path to all the output paths."
7952 msgstr "全出力パスに付加するパス。"
7954 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
7955 #: apt-ftparchive.1.xml:468
7956 msgid "Specifies the file list file."
7957 msgstr "ファイル一覧ファイルを指定します。"
7959 #. type: Content of: <refentry><refsect1><title>
7960 #: apt-ftparchive.1.xml:475
7961 msgid "The Binary Override File"
7962 msgstr "バイナリオーバーライドファイル"
7964 #. type: Content of: <refentry><refsect1><para>
7965 #: apt-ftparchive.1.xml:476
7967 "The binary override file is fully compatible with &dpkg-scanpackages;. It "
7968 "contains four fields separated by spaces. The first field is the package "
7969 "name, the second is the priority to force that package to, the third is the "
7970 "section to force that package to and the final field is the maintainer "
7971 "permutation field."
7973 "バイナリオーバーライドファイルは、&dpkg-scanpackages; と完全に互換性がありま"
7974 "す。ここには、空白区切りでフィールドが 4 個あります。先頭のフィールドはパッ"
7975 "ケージ名、2 番目のフィールドはパッケージに強制する優先度、3 番目のフィールド"
7976 "はパッケージに強制するセクション、最後のフィールドはメンテナ順列フィールドで"
7979 #. type: Content of: <refentry><refsect1><para><literallayout>
7980 #: apt-ftparchive.1.xml:482
7982 msgid "old [// oldn]* => new"
7983 msgstr "old [// oldn]* => new"
7985 #. type: Content of: <refentry><refsect1><para><literallayout>
7986 #: apt-ftparchive.1.xml:484
7991 #. type: Content of: <refentry><refsect1><para>
7992 #: apt-ftparchive.1.xml:481
7994 "The general form of the maintainer field is: <placeholder type="
7995 "\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
7996 "id=\"1\"/> The first form allows a double-slash separated list of old email "
7997 "addresses to be specified. If any of those are found then new is substituted "
7998 "for the maintainer field. The second form unconditionally substitutes the "
8001 "メンテナフィールドの一般的な形は以下のようになります。<placeholder type="
8002 "\"literallayout\" id=\"0\"/> また単純に以下のようにもなります。<placeholder "
8003 "type=\"literallayout\" id=\"1\"/>最初の形式は、// で区切られた古い email アド"
8004 "レスのリストを許可します。この形式がある場合は、メンテナフィールドになるよう "
8005 "new に置換してください。2 番目の形式は無条件にメンテナフィールドに置換しま"
8008 #. type: Content of: <refentry><refsect1><title>
8009 #: apt-ftparchive.1.xml:492
8010 msgid "The Source Override File"
8011 msgstr "ソースオーバーライドファイル"
8013 #. type: Content of: <refentry><refsect1><para>
8014 #: apt-ftparchive.1.xml:494
8016 "The source override file is fully compatible with &dpkg-scansources;. It "
8017 "contains two fields separated by spaces. The first field is the source "
8018 "package name, the second is the section to assign it."
8020 "ソースオーバーライドファイルは、&dpkg-scansources; と完全に互換性があります。"
8021 "ここには、空白区切りでフィールドが 2 個あります。先頭のフィールドはソースパッ"
8022 "ケージ名、2 番目のフィールドは割り当てるセクションです。"
8024 #. type: Content of: <refentry><refsect1><title>
8025 #: apt-ftparchive.1.xml:499
8026 msgid "The Extra Override File"
8027 msgstr "特別オーバーライドファイル"
8029 #. type: Content of: <refentry><refsect1><para>
8030 #: apt-ftparchive.1.xml:501
8032 "The extra override file allows any arbitrary tag to be added or replaced in "
8033 "the output. It has three columns, the first is the package, the second is "
8034 "the tag and the remainder of the line is the new value."
8036 "特別オーバーライドファイルは、出力中に任意のタグを追加・置換できるようにしま"
8037 "す。3 列からなり、先頭はパッケージ、2番目はタグ、残りは新しい値です。"
8039 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8040 #: apt-ftparchive.1.xml:512
8042 "Generate the given checksum. These options default to on, when turned off "
8043 "the generated index files will not have the checksum fields where possible. "
8044 "Configuration Items: <literal>APT::FTPArchive::<replaceable>Checksum</"
8045 "replaceable></literal> and <literal>APT::FTPArchive::<replaceable>Index</"
8046 "replaceable>::<replaceable>Checksum</replaceable></literal> where "
8047 "<literal><replaceable>Index</replaceable></literal> can be "
8048 "<literal>Packages</literal>, <literal>Sources</literal> or <literal>Release</"
8049 "literal> and <literal><replaceable>Checksum</replaceable></literal> can be "
8050 "<literal>MD5</literal>, <literal>SHA1</literal> or <literal>SHA256</literal>."
8052 "与えたチェックサムを生成します。このオプションはデフォルトで on です。off に"
8053 "すると生成したインデックスファイルには checksum フィールドが含まれません。設"
8054 "定項目: <literal>APT::FTPArchive::<replaceable>Checksum</replaceable></"
8055 "literal> と <literal>APT::FTPArchive::<replaceable>Index</replaceable>::"
8056 "<replaceable>Checksum</replaceable></literal>。ここで "
8057 "<literal><replaceable>Index</replaceable></literal> は <literal>Packages</"
8058 "literal>, <literal>Sources</literal>, <literal>Release</literal> になります。"
8059 "<literal><replaceable>Checksum</replaceable></literal> は <literal>MD5</"
8060 "literal>, <literal>SHA1</literal>, <literal>SHA256</literal> になります。"
8062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8063 #: apt-ftparchive.1.xml:523
8065 "Use a binary caching DB. This has no effect on the generate command. "
8066 "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
8068 "バイナリキャッシュ DB を使用します。generate コマンドには影響しません。設定項"
8069 "目: <literal>APT::FTPArchive::DB</literal>"
8071 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8072 #: apt-ftparchive.1.xml:529
8074 "Quiet; produces output suitable for logging, omitting progress indicators. "
8075 "More q's will produce more quiet up to a maximum of 2. You can also use "
8076 "<option>-q=#</option> to set the quiet level, overriding the configuration "
8077 "file. Configuration Item: <literal>quiet</literal>."
8079 "静粛 - 進捗表示を省略し、ログをとるのに便利な出力を行います。最大 2 つまで q "
8080 "を重ねることでより静粛にできます。また、<option>-q=#</option> のように静粛レ"
8081 "ベルを指定して、設定ファイルを上書きすることもできます。設定項目: "
8082 "<literal>quiet</literal>"
8084 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8085 #: apt-ftparchive.1.xml:537
8087 "Perform Delinking. If the <literal>External-Links</literal> setting is used "
8088 "then this option actually enables delinking of the files. It defaults to on "
8089 "and can be turned off with <option>--no-delink</option>. Configuration "
8090 "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
8092 "Delink を実行します。<literal>External-Links</literal> 設定を使用している場"
8093 "合、このオプションはファイルの delink を有効にします。デフォルトは on で、"
8094 "off にするには <option>--no-delink</option> としてください。設定項目: "
8095 "<literal>APT::FTPArchive::DeLinkAct</literal>"
8097 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8098 #: apt-ftparchive.1.xml:545
8100 "Perform contents generation. When this option is set and package indexes are "
8101 "being generated with a cache DB then the file listing will also be extracted "
8102 "and stored in the DB for later use. When using the generate command this "
8103 "option also allows the creation of any Contents files. The default is on. "
8104 "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
8106 "contents の生成を行います。このオプションを指定し、パッケージインデックスを"
8107 "キャッシュ DB と共に生成する際、ファイルリストを後で使用するように、抽出し "
8108 "DB に格納します。generate コマンドを使用する際、このオプションでいずれの "
8109 "Contents ファイルも作成できます。デフォルトは on です。設定項目: "
8110 "<literal>APT::FTPArchive::Contents</literal>"
8112 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8113 #: apt-ftparchive.1.xml:555
8115 "Select the source override file to use with the <literal>sources</literal> "
8116 "command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
8119 "<literal>sources</literal> コマンドで使用する、ソースオーバーライドファイルを"
8120 "選択します。設定項目: <literal>APT::FTPArchive::SourceOverride</literal>"
8122 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8123 #: apt-ftparchive.1.xml:561
8125 "Make the caching databases read only. Configuration Item: <literal>APT::"
8126 "FTPArchive::ReadOnlyDB</literal>."
8128 "キャッシュデータベースを読み取り専用にします。設定項目: <literal>APT::"
8129 "FTPArchive::ReadOnlyDB</literal>"
8131 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8132 #: apt-ftparchive.1.xml:566
8134 "Accept in the <literal>packages</literal> and <literal>contents</literal> "
8135 "commands only package files matching <literal>*_arch.deb</literal> or "
8136 "<literal>*_all.deb</literal> instead of all package files in the given "
8137 "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
8139 "<literal>packages</literal> コマンドや <literal>contents</literal> コマンド"
8140 "で、与えたパスにあるすべてのパッケージファイルではなく、<literal>*_arch.deb</"
8141 "literal> や <literal>*_all.deb</literal> に一致したパッケージファイルのみを受"
8142 "け付けます。設定項目: <literal>APT::FTPArchive::Architecture</literal>"
8144 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8145 #: apt-ftparchive.1.xml:574
8147 "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
8148 "packages are recompiled and/or republished with the same version again, this "
8149 "will lead to problems as the now outdated cached metadata like size and "
8150 "checksums will be used. With this option enabled this will no longer happen "
8151 "as it will be checked if the file was changed. Note that this option is set "
8152 "to \"<literal>false</literal>\" by default as it is not recommend to upload "
8153 "multiply versions/builds of a package with the same versionnumber, so in "
8154 "theory nobody will have these problems and therefore all these extra checks "
8157 "&apt-ftparchive; は cachedb のメタデータに可能な限りキャッシュします。パッ"
8158 "ケージを再コンパイルし、また同じバージョンで再発行されると、古くなってしまっ"
8159 "たキャッシュのメタデータ (サイズやチェックサム) が使われ、これが問題になるこ"
8160 "とがあります。このオプションを有効にすると、ファイルを更新するとチェックが行"
8161 "われるため、問題が起こらなくなります。デフォルトでは、このオプションは "
8162 "\"<literal>false</literal>\" にセットされていることに注意してください。バー"
8163 "ジョンや、同じバージョン番号のパッケージのビルドを、増やしてアップロードする"
8164 "のは推奨しないからです。そのため理論上、誰もその問題に行き会わず、すべての追"
8167 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
8168 #: apt-ftparchive.1.xml:586
8170 "This configuration option defaults to \"<literal>true</literal>\" and should "
8171 "only be set to <literal>\"false\"</literal> if the Archive generated with "
8172 "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
8173 "that the <filename>Translation-en</filename> master file can only be created "
8174 "in the generate command."
8176 "この設定オプションはデフォルトで \"<literal>true</literal>\" で、&apt-"
8177 "ftparchive; が生成したアーカイブが <filename>Translation</filename> ファイル"
8178 "も提供する場合にのみ <literal>\"false\"</literal> に設定してください。"
8179 "<filename>Translation-en</filename> マスターファイルは generate コマンドでの"
8180 "み生成できることに注意してください。"
8182 #. type: Content of: <refentry><refsect1><para><programlisting>
8183 #: apt-ftparchive.1.xml:604
8185 msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
8186 msgstr "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
8188 #. type: Content of: <refentry><refsect1><para>
8189 #: apt-ftparchive.1.xml:600
8191 "To create a compressed Packages file for a directory containing binary "
8192 "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
8194 "バイナリパッケージ (.deb) があるディレクトリの Packages ファイルを生成するに"
8195 "は、以下のようにします。<placeholder type=\"programlisting\" id=\"0\"/>"
8197 #. type: Content of: <refentry><refsect1><para>
8198 #: apt-ftparchive.1.xml:614
8200 "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
8203 "<command>apt-ftparchive</command> は正常終了時に 0 を返します。エラー時には十"
8206 #. type: Attribute 'lang' of: <book>
8207 #: guide.dbk:8 offline.dbk:8
8211 #. type: Content of: <book><title>
8213 msgid "APT User's Guide"
8216 #. type: Content of: <book><bookinfo><authorgroup><author><personname>
8217 #: guide.dbk:16 offline.dbk:16
8218 msgid "Jason Gunthorpe"
8219 msgstr "Jason Gunthorpe"
8221 #. type: Content of: <book><bookinfo><authorgroup><author><email>
8222 #: guide.dbk:16 offline.dbk:16
8223 msgid "jgg@debian.org"
8224 msgstr "jgg@debian.org"
8226 #. type: Content of: <book><bookinfo><releaseinfo>
8227 #: guide.dbk:20 offline.dbk:20
8228 msgid "Version &apt-product-version;"
8231 #. type: Content of: <book><bookinfo><abstract><para>
8234 "This document provides an overview of how to use the the APT package manager."
8235 msgstr "本文書は APT パッケージマネージャの使い方の概要を提供します。"
8237 #. type: Content of: <book><bookinfo>
8240 "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
8242 "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
8244 #. type: Content of: <book><bookinfo><legalnotice><title>
8245 #: guide.dbk:31 offline.dbk:32
8246 msgid "License Notice"
8249 #. type: Content of: <book><bookinfo><legalnotice><para>
8250 #: guide.dbk:33 offline.dbk:34
8252 "\"APT\" and this document are free software; you can redistribute them and/"
8253 "or modify them under the terms of the GNU General Public License as "
8254 "published by the Free Software Foundation; either version 2 of the License, "
8255 "or (at your option) any later version."
8257 "\"APT\" and this document are free software; you can redistribute them and/"
8258 "or modify them under the terms of the GNU General Public License as "
8259 "published by the Free Software Foundation; either version 2 of the License, "
8260 "or (at your option) any later version."
8262 #. type: Content of: <book><bookinfo><legalnotice><para>
8263 #: guide.dbk:42 offline.dbk:40
8265 "For more details, on Debian systems, see the file /usr/share/common-licenses/"
8266 "GPL for the full license."
8268 "For more details, on Debian systems, see the file /usr/share/common-licenses/"
8269 "GPL for the full license."
8271 #. type: Content of: <book><chapter><title>
8276 #. type: Content of: <book><chapter><para>
8279 "The APT package currently contains two sections, the APT <command>dselect</"
8280 "command> method and the <command>apt-get</command> command line user "
8281 "interface. Both provide a way to install and remove packages as well as "
8282 "download new packages from the Internet."
8285 #. type: Content of: <book><chapter><section><title>
8287 msgid "Anatomy of the Package System"
8288 msgstr "パッケージシステムの構造"
8290 #. type: Content of: <book><chapter><section><para>
8293 "The Debian packaging system has a large amount of information associated "
8294 "with each package to help assure that it integrates cleanly and easily into "
8295 "the system. The most prominent of its features is the dependency system."
8298 #. type: Content of: <book><chapter><section><para>
8301 "The dependency system allows individual programs to make use of shared "
8302 "elements in the system such as libraries. It simplifies placing infrequently "
8303 "used portions of a program in separate packages to reduce the number of "
8304 "things the average user is required to install. Also, it allows for choices "
8305 "in mail transport agents, X servers and so on."
8308 #. type: Content of: <book><chapter><section><para>
8311 "The first step to understanding the dependency system is to grasp the "
8312 "concept of a simple dependency. The meaning of a simple dependency is that a "
8313 "package requires another package to be installed at the same time to work "
8317 #. type: Content of: <book><chapter><section><para>
8320 "For instance, mailcrypt is an emacs extension that aids in encrypting email "
8321 "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
8322 "simple dependency on GPG. Also, because it is an emacs extension it has a "
8323 "simple dependency on emacs, without emacs it is completely useless."
8326 #. type: Content of: <book><chapter><section><para>
8329 "The other important dependency to understand is a conflicting dependency. It "
8330 "means that a package, when installed with another package, will not work and "
8331 "may possibly be extremely harmful to the system. As an example consider a "
8332 "mail transport agent such as sendmail, exim or qmail. It is not possible to "
8333 "have two mail transport agents installed because both need to listen to the "
8334 "network to receive mail. Attempting to install two will seriously damage the "
8335 "system so all mail transport agents have a conflicting dependency with all "
8336 "other mail transport agents."
8339 #. type: Content of: <book><chapter><section><para>
8342 "As an added complication there is the possibility for a package to pretend "
8343 "to be another package. Consider that exim and sendmail for many intents are "
8344 "identical, they both deliver mail and understand a common interface. Hence, "
8345 "the package system has a way for them to declare that they are both mail-"
8346 "transport-agents. So, exim and sendmail both declare that they provide a "
8347 "mail-transport-agent and other packages that need a mail transport agent "
8348 "depend on mail-transport-agent. This can add a great deal of confusion when "
8349 "trying to manually fix packages."
8352 #. type: Content of: <book><chapter><section><para>
8355 "At any given time a single dependency may be met by packages that are "
8356 "already installed or it may not be. APT attempts to help resolve dependency "
8357 "issues by providing a number of automatic algorithms that help in selecting "
8358 "packages for installation."
8361 #. type: Content of: <book><chapter><title>
8366 #. type: Content of: <book><chapter><para>
8369 "<command>apt-get</command> provides a simple way to install packages from "
8370 "the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
8371 "does not understand .deb files, it works with the package's proper name and "
8372 "can only install .deb archives from a <emphasis>Source</emphasis>."
8375 #. type: Content of: <book><chapter><para><footnote><para>
8378 "If you are using an http proxy server you must set the http_proxy "
8379 "environment variable first, see sources.list(5)"
8382 #. type: Content of: <book><chapter><para>
8385 "The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
8386 "done before using <command>apt-get</command> is to fetch the package lists "
8387 "from the <emphasis>Sources</emphasis> so that it knows what packages are "
8388 "available. This is done with <literal>apt-get update</literal>. For instance,"
8391 #. type: Content of: <book><chapter><screen>
8395 "# apt-get update\n"
8396 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
8397 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
8398 "Reading Package Lists... Done\n"
8399 "Building Dependency Tree... Done\n"
8401 "# apt-get update\n"
8402 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
8403 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
8404 "Reading Package Lists... Done\n"
8405 "Building Dependency Tree... Done\n"
8407 #. type: Content of: <book><chapter><para>
8409 msgid "Once updated there are several commands that can be used:"
8412 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
8417 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
8420 "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
8421 "install a new package or remove an existing package, nor will it ever "
8422 "upgrade a package that might cause some other package to break. This can be "
8423 "used daily to relatively safely upgrade the system. Upgrade will list all of "
8424 "the packages that it could not upgrade, this usually means that they depend "
8425 "on new packages or conflict with some other package. <command>dselect</"
8426 "command> or <literal>apt-get install</literal> can be used to force these "
8427 "packages to install."
8430 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
8435 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
8438 "Install is used to install packages by name. The package is automatically "
8439 "fetched and installed. This can be useful if you already know the name of "
8440 "the package to install and do not want to go into a GUI to select it. Any "
8441 "number of packages may be passed to install, they will all be fetched. "
8442 "Install automatically attempts to resolve dependency problems with the "
8443 "listed packages and will print a summary and ask for confirmation if "
8444 "anything other than its arguments are changed."
8447 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
8449 msgid "dist-upgrade"
8450 msgstr "dist-upgrade"
8452 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
8455 "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
8456 "releases of Debian. It uses a sophisticated algorithm to determine the best "
8457 "set of packages to install, upgrade and remove to get as much of the system "
8458 "to the newest release. In some situations it may be desired to use dist-"
8459 "upgrade rather than spend the time manually resolving dependencies in "
8460 "<command>dselect</command>. Once dist-upgrade has completed then "
8461 "<command>dselect</command> can be used to install any packages that may have "
8465 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
8468 "It is important to closely look at what dist-upgrade is going to do, its "
8469 "decisions may sometimes be quite surprising."
8472 #. type: Content of: <book><chapter><para>
8475 "<command>apt-get</command> has several command line options that are "
8476 "detailed in its man page, <citerefentry><refentrytitle>apt-get</"
8477 "refentrytitle><manvolnum>8</manvolnum></citerefentry>. The most useful "
8478 "option is <literal>-d</literal> which does not install the fetched files. If "
8479 "the system has to download a large number of package it would be undesired "
8480 "to start installing them in case something goes wrong. When <literal>-d</"
8481 "literal> is used the downloaded archives can be installed by simply running "
8482 "the command that caused them to be downloaded again without <literal>-d</"
8486 #. type: Content of: <book><chapter><title>
8491 #. type: Content of: <book><chapter><para>
8494 "The APT <command>dselect</command> method provides the complete APT system "
8495 "with the <command>dselect</command> package selection GUI. <command>dselect</"
8496 "command> is used to select the packages to be installed or removed and APT "
8497 "actually installs them."
8500 #. type: Content of: <book><chapter><para>
8503 "To enable the APT method you need to select [A]ccess in <command>dselect</"
8504 "command> and then choose the APT method. You will be prompted for a set of "
8505 "<emphasis>Sources</emphasis> which are places to fetch archives from. These "
8506 "can be remote Internet sites, local Debian mirrors or CD-ROMs. Each source "
8507 "can provide a fragment of the total Debian archive, APT will automatically "
8508 "combine them to form a complete set of packages. If you have a CD-ROM then "
8509 "it is a good idea to specify it first and then specify a mirror so that you "
8510 "have access to the latest bug fixes. APT will automatically use packages on "
8511 "your CD-ROM before downloading from the Internet."
8514 #. type: Content of: <book><chapter><screen>
8518 " Set up a list of distribution source locations\n"
8520 " Please give the base URL of the debian distribution.\n"
8521 " The access schemes I know about are: http file\n"
8524 " file:/mnt/debian,\n"
8525 " ftp://ftp.debian.org/debian,\n"
8526 " http://ftp.de.debian.org/debian,\n"
8529 " URL [http://llug.sep.bnl.gov/debian]:\n"
8532 #. type: Content of: <book><chapter><para>
8535 "The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
8536 "Debian archive, defaulting to a HTTP mirror. Next it asks for the "
8537 "distribution to get."
8540 #. type: Content of: <book><chapter><screen>
8544 " Please give the distribution tag to get or a path to the\n"
8545 " package file ending in a /. The distribution\n"
8546 " tags are typically something like: stable unstable testing non-US\n"
8548 " Distribution [stable]:\n"
8551 #. type: Content of: <book><chapter><para>
8554 "The distribution refers to the Debian version in the archive, "
8555 "<emphasis>stable</emphasis> refers to the latest released version and "
8556 "<emphasis>unstable</emphasis> refers to the developmental version. "
8557 "<emphasis>non-US</emphasis> is only available on some mirrors and refers to "
8558 "packages that contain encryption technology or other things that cannot be "
8559 "exported from the United States. Importing these packages into the US is "
8563 #. type: Content of: <book><chapter><screen>
8567 " Please give the components to get\n"
8568 " The components are typically something like: main contrib non-free\n"
8570 " Components [main contrib non-free]:\n"
8573 #. type: Content of: <book><chapter><para>
8576 "The components list refers to the list of sub distributions to fetch. The "
8577 "distribution is split up based on software licenses, main being DFSG free "
8578 "packages while contrib and non-free contain things that have various "
8579 "restrictions placed on their use and distribution."
8582 #. type: Content of: <book><chapter><para>
8585 "Any number of sources can be added, the setup script will continue to prompt "
8586 "until you have specified all that you want."
8589 #. type: Content of: <book><chapter><para>
8592 "Before starting to use <command>dselect</command> it is necessary to update "
8593 "the available list by selecting [U]pdate from the menu. This is a superset "
8594 "of <literal>apt-get update</literal> that makes the fetched information "
8595 "available to <command>dselect</command>. [U]pdate must be performed even if "
8596 "<literal>apt-get update</literal> has been run before."
8599 #. type: Content of: <book><chapter><para>
8602 "You can then go on and make your selections using [S]elect and then perform "
8603 "the installation using [I]nstall. When using the APT method the [C]onfig and "
8604 "[R]emove commands have no meaning, the [I]nstall command performs both of "
8608 #. type: Content of: <book><chapter><para>
8611 "By default APT will automatically remove the package (.deb) files once they "
8612 "have been successfully installed. To change this behavior place "
8613 "<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
8616 #. type: Content of: <book><chapter><title>
8618 msgid "The Interface"
8621 #. type: Content of: <book><chapter><para><footnote><para>
8624 "The <command>dselect</command> method actually is a set of wrapper scripts "
8625 "to <command>apt-get</command>. The method actually provides more "
8626 "functionality than is present in <command>apt-get</command> alone."
8629 #. type: Content of: <book><chapter><para>
8632 "Both that APT <command>dselect</command> method and <command>apt-get</"
8633 "command> share the same interface. It is a simple system that generally "
8634 "tells you what it will do and then goes and does it. <placeholder type="
8635 "\"footnote\" id=\"0\"/> After printing out a summary of what will happen APT "
8636 "then will print out some informative status messages so that you can "
8637 "estimate how far along it is and how much is left to do."
8640 #. type: Content of: <book><chapter><section><title>
8645 #. type: Content of: <book><chapter><section><para>
8648 "Before all operations except update, APT performs a number of actions to "
8649 "prepare its internal state. It also does some checks of the system's state. "
8650 "At any time these operations can be performed by running <literal>apt-get "
8654 #. type: Content of: <book><chapter><section><screen>
8659 "Reading Package Lists... Done\n"
8660 "Building Dependency Tree... Done\n"
8663 "Reading Package Lists... Done\n"
8664 "Building Dependency Tree... Done\n"
8666 #. type: Content of: <book><chapter><section><para>
8669 "The first thing it does is read all the package files into memory. APT uses "
8670 "a caching scheme so this operation will be faster the second time it is run. "
8671 "If some of the package files are not found then they will be ignored and a "
8672 "warning will be printed when apt-get exits."
8675 #. type: Content of: <book><chapter><section><para>
8678 "The final operation performs a detailed analysis of the system's "
8679 "dependencies. It checks every dependency of every installed or unpacked "
8680 "package and considers if it is OK. Should this find a problem then a report "
8681 "will be printed out and <command>apt-get</command> will refuse to run."
8684 #. type: Content of: <book><chapter><section><screen>
8689 "Reading Package Lists... Done\n"
8690 "Building Dependency Tree... Done\n"
8691 "You might want to run apt-get -f install' to correct these.\n"
8692 "Sorry, but the following packages have unmet dependencies:\n"
8693 " 9fonts: Depends: xlib6g but it is not installed\n"
8694 " uucp: Depends: mailx but it is not installed\n"
8695 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8696 " adduser: Depends: perl-base but it is not installed\n"
8697 " aumix: Depends: libgpmg1 but it is not installed\n"
8698 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
8699 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
8700 " cthugha: Depends: svgalibg1 but it is not installed\n"
8701 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8702 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)\n"
8705 "Reading Package Lists... Done\n"
8706 "Building Dependency Tree... Done\n"
8707 "You might want to run apt-get -f install' to correct these.\n"
8708 "Sorry, but the following packages have unmet dependencies:\n"
8709 " 9fonts: Depends: xlib6g but it is not installed\n"
8710 " uucp: Depends: mailx but it is not installed\n"
8711 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8712 " adduser: Depends: perl-base but it is not installed\n"
8713 " aumix: Depends: libgpmg1 but it is not installed\n"
8714 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
8715 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
8716 " cthugha: Depends: svgalibg1 but it is not installed\n"
8717 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8718 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)\n"
8720 #. type: Content of: <book><chapter><section><para>
8723 "In this example the system has many problems, including a serious problem "
8724 "with libreadlineg2. For each package that has unmet dependencies a line is "
8725 "printed out indicating the package with the problem and the dependencies "
8726 "that are unmet. A short explanation of why the package has a dependency "
8727 "problem is also included."
8730 #. type: Content of: <book><chapter><section><para><footnote><para>
8733 "APT however considers all known dependencies and attempts to prevent broken "
8737 #. type: Content of: <book><chapter><section><para>
8740 "There are two ways a system can get into a broken state like this. The first "
8741 "is caused by <command>dpkg</command> missing some subtle relationships "
8742 "between packages when performing upgrades. <placeholder type=\"footnote\" id="
8743 "\"0\"/>. The second is if a package installation fails during an operation. "
8744 "In this situation a package may have been unpacked without its dependents "
8748 #. type: Content of: <book><chapter><section><para>
8751 "The second situation is much less serious than the first because APT places "
8752 "certain constraints on the order that packages are installed. In both cases "
8753 "supplying the <literal>-f</literal> option to <command>apt-get</command> "
8754 "will cause APT to deduce a possible solution to the problem and then "
8755 "continue on. The APT <command>dselect</command> method always supplies the "
8756 "<literal>-f</literal> option to allow for easy continuation of failed "
8757 "maintainer scripts."
8760 #. type: Content of: <book><chapter><section><para>
8763 "However, if the <literal>-f</literal> option is used to correct a seriously "
8764 "broken system caused by the first case then it is possible that it will "
8765 "either fail immediately or the installation sequence will fail. In either "
8766 "case it is necessary to manually use dpkg (possibly with forcing options) to "
8767 "correct the situation enough to allow APT to proceed."
8770 #. type: Content of: <book><chapter><section><title>
8772 msgid "The Status Report"
8775 #. type: Content of: <book><chapter><section><para>
8778 "Before proceeding <command>apt-get</command> will present a report on what "
8779 "will happen. Generally the report reflects the type of operation being "
8780 "performed but there are several common elements. In all cases the lists "
8781 "reflect the final state of things, taking into account the <literal>-f</"
8782 "literal> option and any other relevant activities to the command being "
8786 #. type: Content of: <book><chapter><section><section><title>
8788 msgid "The Extra Package list"
8791 #. type: Content of: <book><chapter><section><section><screen>
8795 "The following extra packages will be installed:\n"
8796 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
8797 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
8798 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
8799 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
8802 "The following extra packages will be installed:\n"
8803 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
8804 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
8805 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
8806 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
8809 #. type: Content of: <book><chapter><section><section><para>
8812 "The Extra Package list shows all of the packages that will be installed or "
8813 "upgraded in excess of the ones mentioned on the command line. It is only "
8814 "generated for an <literal>install</literal> command. The listed packages are "
8815 "often the result of an Auto Install."
8818 #. type: Content of: <book><chapter><section><section><title>
8820 msgid "The Packages to Remove"
8823 #. type: Content of: <book><chapter><section><section><screen>
8827 "The following packages will be REMOVED:\n"
8828 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
8829 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
8830 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
8831 " nas xpilot xfig\n"
8833 "The following packages will be REMOVED:\n"
8834 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
8835 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
8836 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
8837 " nas xpilot xfig\n"
8839 #. type: Content of: <book><chapter><section><section><para>
8842 "The Packages to Remove list shows all of the packages that will be removed "
8843 "from the system. It can be shown for any of the operations and should be "
8844 "given a careful inspection to ensure nothing important is to be taken off. "
8845 "The <literal>-f</literal> option is especially good at generating packages "
8846 "to remove so extreme care should be used in that case. The list may contain "
8847 "packages that are going to be removed because they are only partially "
8848 "installed, possibly due to an aborted installation."
8851 #. type: Content of: <book><chapter><section><section><title>
8853 msgid "The New Packages list"
8856 #. type: Content of: <book><chapter><section><section><screen>
8860 "The following NEW packages will installed:\n"
8861 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
8863 "The following NEW packages will installed:\n"
8864 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
8866 #. type: Content of: <book><chapter><section><section><para>
8869 "The New Packages list is simply a reminder of what will happen. The packages "
8870 "listed are not presently installed in the system but will be when APT is "
8874 #. type: Content of: <book><chapter><section><section><title>
8876 msgid "The Kept Back list"
8879 #. type: Content of: <book><chapter><section><section><screen>
8883 "The following packages have been kept back\n"
8884 " compface man-db tetex-base msql libpaper svgalib1\n"
8885 " gs snmp arena lynx xpat2 groff xscreensaver\n"
8887 "The following packages have been kept back\n"
8888 " compface man-db tetex-base msql libpaper svgalib1\n"
8889 " gs snmp arena lynx xpat2 groff xscreensaver\n"
8891 #. type: Content of: <book><chapter><section><section><para>
8894 "Whenever the whole system is being upgraded there is the possibility that "
8895 "new versions of packages cannot be installed because they require new things "
8896 "or conflict with already installed things. In this case the package will "
8897 "appear in the Kept Back list. The best way to convince packages listed there "
8898 "to install is with <literal>apt-get install</literal> or by using "
8899 "<command>dselect</command> to resolve their problems."
8902 #. type: Content of: <book><chapter><section><section><title>
8904 msgid "Held Packages warning"
8907 #. type: Content of: <book><chapter><section><section><screen>
8911 "The following held packages will be changed:\n"
8914 "The following held packages will be changed:\n"
8917 #. type: Content of: <book><chapter><section><section><para>
8920 "Sometimes you can ask APT to install a package that is on hold, in such a "
8921 "case it prints out a warning that the held package is going to be changed. "
8922 "This should only happen during dist-upgrade or install."
8925 #. type: Content of: <book><chapter><section><section><title>
8927 msgid "Final summary"
8930 #. type: Content of: <book><chapter><section><section><para>
8933 "Finally, APT will print out a summary of all the changes that will occur."
8936 #. type: Content of: <book><chapter><section><section><screen>
8940 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
8941 "12 packages not fully installed or removed.\n"
8942 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
8944 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
8945 "12 packages not fully installed or removed.\n"
8946 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
8948 #. type: Content of: <book><chapter><section><section><para>
8951 "The first line of the summary simply is a reduced version of all of the "
8952 "lists and includes the number of upgrades - that is packages already "
8953 "installed that have new versions available. The second line indicates the "
8954 "number of poorly configured packages, possibly the result of an aborted "
8955 "installation. The final line shows the space requirements that the "
8956 "installation needs. The first pair of numbers refer to the size of the "
8957 "archive files. The first number indicates the number of bytes that must be "
8958 "fetched from remote locations and the second indicates the total size of all "
8959 "the archives required. The next number indicates the size difference between "
8960 "the presently installed packages and the newly installed packages. It is "
8961 "roughly equivalent to the space required in /usr after everything is done. "
8962 "If a large number of packages are being removed then the value may indicate "
8963 "the amount of space that will be freed."
8966 #. type: Content of: <book><chapter><section><section><para>
8969 "Some other reports can be generated by using the -u option to show packages "
8970 "to upgrade, they are similar to the previous examples."
8973 #. type: Content of: <book><chapter><section><title>
8975 msgid "The Status Display"
8978 #. type: Content of: <book><chapter><section><para>
8981 "During the download of archives and package files APT prints out a series of "
8985 #. type: Content of: <book><chapter><section><screen>
8989 "# apt-get update\n"
8990 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
8991 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
8992 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
8993 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
8994 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
8995 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
8997 "# apt-get update\n"
8998 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
8999 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
9000 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
9001 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
9002 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
9003 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
9005 #. type: Content of: <book><chapter><section><para>
9008 "The lines starting with <emphasis>Get</emphasis> are printed out when APT "
9009 "begins to fetch a file while the last line indicates the progress of the "
9010 "download. The first percent value on the progress line indicates the total "
9011 "percent done of all files. Unfortunately since the size of the Package files "
9012 "is unknown <literal>apt-get update</literal> estimates the percent done "
9013 "which causes some inaccuracies."
9016 #. type: Content of: <book><chapter><section><para>
9019 "The next section of the status line is repeated once for each download "
9020 "thread and indicates the operation being performed and some useful "
9021 "information about what is happening. Sometimes this section will simply read "
9022 "<emphasis>Forking</emphasis> which means the OS is loading the download "
9023 "module. The first word after the [ is the fetch number as shown on the "
9024 "history lines. The next word is the short form name of the object being "
9025 "downloaded. For archives it will contain the name of the package that is "
9029 #. type: Content of: <book><chapter><section><para>
9032 "Inside of the single quote is an informative string indicating the progress "
9033 "of the negotiation phase of the download. Typically it progresses from "
9034 "<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
9035 "<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
9036 "value is the number of bytes downloaded from the remote site. Once the "
9037 "download begins this is represented as <literal>102/10.2k</literal> "
9038 "indicating that 102 bytes have been fetched and 10.2 kilobytes is expected. "
9039 "The total size is always shown in 4 figure notation to preserve space. After "
9040 "the size display is a percent meter for the file itself. The second last "
9041 "element is the instantaneous average speed. This values is updated every 5 "
9042 "seconds and reflects the rate of data transfer for that period. Finally is "
9043 "shown the estimated transfer time. This is updated regularly and reflects "
9044 "the time to complete everything at the shown transfer rate."
9047 #. type: Content of: <book><chapter><section><para>
9050 "The status display updates every half second to provide a constant feedback "
9051 "on the download progress while the Get lines scroll back whenever a new file "
9052 "is started. Since the status display is constantly updated it is unsuitable "
9053 "for logging to a file, use the <literal>-q</literal> option to remove the "
9057 #. type: Content of: <book><chapter><section><title>
9062 #. type: Content of: <book><chapter><section><para>
9065 "APT uses <command>dpkg</command> for installing the archives and will switch "
9066 "over to the <command>dpkg</command> interface once downloading is completed. "
9067 "<command>dpkg</command> will also ask a number of questions as it processes "
9068 "the packages and the packages themselves may also ask several questions. "
9069 "Before each question there is usually a description of what it is asking and "
9070 "the questions are too varied to discuss completely here."
9073 #. type: Content of: <book><title>
9075 msgid "Using APT Offline"
9076 msgstr "オフラインでの APT の使用法"
9078 #. type: Content of: <book><bookinfo><abstract><para>
9081 "This document describes how to use APT in a non-networked environment, "
9082 "specifically a 'sneaker-net' approach for performing upgrades."
9084 "このドキュメントはネットワークがない環境での APT の使用方法を説明しています。"
9085 "具体的には、アップグレード時の「スニーカーネット」アプローチです。"
9087 #. type: Content of: <book><bookinfo>
9090 "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
9093 #. type: Content of: <book><chapter><title>
9095 msgid "Introduction"
9098 #. type: Content of: <book><chapter><section><title>
9099 #: offline.dbk:49 offline.dbk:79 offline.dbk:191
9103 #. type: Content of: <book><chapter><section><para>
9106 "Normally APT requires direct access to a Debian archive, either from a local "
9107 "media or through a network. Another common complaint is that a Debian "
9108 "machine is on a slow link, such as a modem and another machine has a very "
9109 "fast connection but they are physically distant."
9112 #. type: Content of: <book><chapter><section><para>
9115 "The solution to this is to use large removable media such as a Zip disc or a "
9116 "SuperDisk disc. These discs are not large enough to store the entire Debian "
9117 "archive but can easily fit a subset large enough for most users. The idea is "
9118 "to use APT to generate a list of packages that are required and then fetch "
9119 "them onto the disc using another machine with good connectivity. It is even "
9120 "possible to use another Debian machine with APT or to use a completely "
9121 "different OS and a download tool like wget. Let <emphasis>remote host</"
9122 "emphasis> mean the machine downloading the packages, and <emphasis>target "
9123 "host</emphasis> the one with bad or no connection."
9126 #. type: Content of: <book><chapter><section><para>
9129 "This is achieved by creatively manipulating the APT configuration file. The "
9130 "essential premise to tell APT to look on a disc for it's archive files. Note "
9131 "that the disc should be formated with a filesystem that can handle long file "
9132 "names such as ext2, fat32 or vfat."
9135 #. type: Content of: <book><chapter><title>
9137 msgid "Using APT on both machines"
9138 msgstr "両方のマシンでの APT の使用法"
9140 #. type: Content of: <book><chapter><section><para>
9143 "APT being available on both machines gives the simplest configuration. The "
9144 "basic idea is to place a copy of the status file on the disc and use the "
9145 "remote machine to fetch the latest package files and decide which packages "
9146 "to download. The disk directory structure should look like:"
9149 #. type: Content of: <book><chapter><section><screen>
9171 #. type: Content of: <book><chapter><section><title>
9173 msgid "The configuration file"
9176 #. type: Content of: <book><chapter><section><para>
9179 "The configuration file should tell APT to store its files on the disc and to "
9180 "use the configuration files on the disc as well. The sources.list should "
9181 "contain the proper sites that you wish to use from the remote machine, and "
9182 "the status file should be a copy of <emphasis>/var/lib/dpkg/status</"
9183 "emphasis> from the <emphasis>target host</emphasis>. Please note, if you are "
9184 "using a local archive you must use copy URIs, the syntax is identical to "
9188 #. type: Content of: <book><chapter><section><para>
9191 "<emphasis>apt.conf</emphasis> must contain the necessary information to make "
9195 #. type: Content of: <book><chapter><section><screen>
9201 " /* This is not necessary if the two machines are the same arch, it tells\n"
9202 " the remote APT what architecture the target machine is */\n"
9203 " Architecture \"i386\";\n"
9205 " Get::Download-Only \"true\";\n"
9210 " /* Use the disc for state information and redirect the status file from\n"
9211 " the /var/lib/dpkg default */\n"
9212 " State \"/disc/\";\n"
9213 " State::status \"status\";\n"
9215 " // Binary caches will be stored locally\n"
9216 " Cache::archives \"/disc/archives/\";\n"
9217 " Cache \"/tmp/\";\n"
9219 " // Location of the source list.\n"
9220 " Etc \"/disc/\";\n"
9225 " /* This is not necessary if the two machines are the same arch, it tells\n"
9226 " the remote APT what architecture the target machine is */\n"
9227 " Architecture \"i386\";\n"
9229 " Get::Download-Only \"true\";\n"
9234 " /* Use the disc for state information and redirect the status file from\n"
9235 " the /var/lib/dpkg default */\n"
9236 " State \"/disc/\";\n"
9237 " State::status \"status\";\n"
9239 " // Binary caches will be stored locally\n"
9240 " Cache::archives \"/disc/archives/\";\n"
9241 " Cache \"/tmp/\";\n"
9243 " // Location of the source list.\n"
9244 " Etc \"/disc/\";\n"
9247 #. type: Content of: <book><chapter><section><para>
9250 "More details can be seen by examining the apt.conf man page and the sample "
9251 "configuration file in <emphasis>/usr/share/doc/apt/examples/apt.conf</"
9255 #. type: Content of: <book><chapter><section><para>
9258 "On the target machine the first thing to do is mount the disc and copy "
9259 "<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
9260 "create the directories outlined in the Overview, <emphasis>archives/partial/"
9261 "</emphasis> and <emphasis>lists/partial/</emphasis>. Then take the disc to "
9262 "the remote machine and configure the sources.list. On the remote machine "
9263 "execute the following:"
9266 #. type: Content of: <book><chapter><section><screen>
9270 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
9271 " # apt-get update\n"
9272 " [ APT fetches the package files ]\n"
9273 " # apt-get dist-upgrade\n"
9274 " [ APT fetches all the packages needed to upgrade the target machine ]\n"
9276 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
9277 " # apt-get update\n"
9278 " [ package ファイルを APT が取得します ]\n"
9279 " # apt-get dist-upgrade\n"
9280 " [ 対象マシンをアップグレードするのに必要なパッケージを、APT が取得します ]\n"
9282 #. type: Content of: <book><chapter><section><para>
9285 "The dist-upgrade command can be replaced with any other standard APT "
9286 "commands, particularly dselect-upgrade. You can even use an APT front end "
9287 "such as <emphasis>dselect</emphasis>. However this presents a problem in "
9288 "communicating your selections back to the local computer."
9291 #. type: Content of: <book><chapter><section><para>
9294 "Now the disc contains all of the index files and archives needed to upgrade "
9295 "the target machine. Take the disc back and run:"
9298 #. type: Content of: <book><chapter><section><screen>
9302 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
9303 " # apt-get check\n"
9304 " [ APT generates a local copy of the cache files ]\n"
9305 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
9306 " [ Or any other APT command ]\n"
9308 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
9309 " # apt-get check\n"
9310 " [ キャッシュファイルのローカルコピーを生成します ]\n"
9311 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
9312 " [ もしくはその他の APT コマンド ]\n"
9314 #. type: Content of: <book><chapter><section><para>
9317 "It is necessary for proper function to re-specify the status file to be the "
9318 "local one. This is very important!"
9321 #. type: Content of: <book><chapter><section><para>
9324 "If you are using dselect you can do the very risky operation of copying disc/"
9325 "status to /var/lib/dpkg/status so that any selections you made on the remote "
9326 "machine are updated. I highly recommend that people only make selections on "
9327 "the local machine - but this may not always be possible. DO NOT copy the "
9328 "status file if dpkg or APT have been run in the mean time!!"
9331 #. type: Content of: <book><chapter><title>
9333 msgid "Using APT and wget"
9334 msgstr "APT と wget の使用法"
9336 #. type: Content of: <book><chapter><section><para>
9339 "<emphasis>wget</emphasis> is a popular and portable download tool that can "
9340 "run on nearly any machine. Unlike the method above this requires that the "
9341 "Debian machine already has a list of available packages."
9344 #. type: Content of: <book><chapter><section><para>
9347 "The basic idea is to create a disc that has only the archive files "
9348 "downloaded from the remote site. This is done by using the --print-uris "
9349 "option to apt-get and then preparing a wget script to actually fetch the "
9353 #. type: Content of: <book><chapter><section><title>
9358 #. type: Content of: <book><chapter><section><para>
9361 "Unlike the previous technique no special configuration files are required. "
9362 "We merely use the standard APT commands to generate the file list."
9365 #. type: Content of: <book><chapter><section><screen>
9369 " # apt-get dist-upgrade\n"
9370 " [ Press no when prompted, make sure you are happy with the actions ]\n"
9371 " # apt-get -qq --print-uris dist-upgrade > uris\n"
9372 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script\n"
9374 " # apt-get dist-upgrade\n"
9375 " [ Press no when prompted, make sure you are happy with the actions ]\n"
9376 " # apt-get -qq --print-uris dist-upgrade > uris\n"
9377 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script\n"
9379 #. type: Content of: <book><chapter><section><para>
9382 "Any command other than dist-upgrade could be used here, including dselect-"
9386 #. type: Content of: <book><chapter><section><para>
9389 "The /disc/wget-script file will now contain a list of wget commands to "
9390 "execute in order to fetch the necessary archives. This script should be run "
9391 "with the current directory as the disc's mount point so as to save the "
9392 "output on the disc."
9395 #. type: Content of: <book><chapter><section><para>
9397 msgid "The remote machine would do something like"
9398 msgstr "リモートマシンでは以下のようにします。"
9400 #. type: Content of: <book><chapter><section><screen>
9405 " # sh -x ./wget-script\n"
9409 " # sh -x ./wget-script\n"
9412 #. type: Content of: <book><chapter><section><para>
9415 "Once the archives are downloaded and the disc returned to the Debian machine "
9416 "installation can proceed using,"
9419 #. type: Content of: <book><chapter><section><screen>
9422 msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
9423 msgstr " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
9425 #. type: Content of: <book><chapter><section><para>
9427 msgid "Which will use the already fetched archives on the disc."
9428 msgstr "これで、disc にある取得済みのアーカイブを使用するようになります。"
9433 #~ msgid "16 June 1998"
9434 #~ msgstr "16 June 1998"
9442 #~ msgid "apt - Advanced Package Tool"
9443 #~ msgstr "apt - 高度パッケージツール"
9451 #~ msgid "DESCRIPTION"
9456 #~| "APT is a management system for software packages. For normal day to day "
9457 #~| "package management there are several frontends available, such as "
9458 #~| "B<aptitude>(8) for the command line or B<synaptic>(8) for the X Window "
9459 #~| "System. Some options are only implemented in B<apt-get>(8) though."
9461 #~ "For normal day to day package management there are several frontends "
9462 #~ "available, such as B<aptitude>(8) for the command line or "
9463 #~ "B<synaptic>(8) for the X Window System. Some options are only "
9464 #~ "implemented in B<apt-get>(8) though."
9466 #~ "APT はソフトウェアパッケージの管理システムです。日々のパッケージ管理のため"
9467 #~ "に、コマンドライン用の B<aptitude>(8) や、X Window System 用の "
9468 #~ "B<synaptic>(8) といった、いくつかのフロントエンドが用意されています。いく"
9469 #~ "つかのオプションは B<apt-get>(8) にしか実装されていません。"
9476 #~| "B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
9477 #~| "B<apt_preferences>(5), B<apt-secure>(8)"
9479 #~ "B<apt>(8), B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources."
9480 #~ "list>(5), B<apt_preferences>(5), B<apt-secure>(8)"
9482 #~ "B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
9483 #~ "B<apt_preferences>(5), B<apt-secure>(8)"
9485 #~ msgid "DIAGNOSTICS"
9488 #~ msgid "apt returns zero on normal operation, decimal 100 on error."
9490 #~ "apt は正常終了時に 0 を返します。エラー時には十進の 100 を返します。"
9495 #~ msgid "This manpage isn't even started."
9496 #~ msgstr "このマニュアルページは、始まってさえいません。"
9499 #~ "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
9500 #~ "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
9501 #~ "B<reportbug>(1) command."
9503 #~ "E<lt>http://bugs.debian.org/aptE<gt> をご覧ください。B<apt> のバグを報告す"
9504 #~ "る場合は、I</usr/share/doc/debian/bug-reporting.txt> や B<reportbug>(1) コ"
9510 #~ msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
9512 #~ "apt は APT チーム E<lt>apt@packages.debian.orgE<gt> によって書かれました。"
9514 #~ msgid "Debian GNU/Linux"
9515 #~ msgstr "Debian GNU/Linux"
9517 #~ msgid "&apt-commonoptions;"
9518 #~ msgstr "&apt-commonoptions;"
9520 #~ msgid "&file-sourceslist; &file-statelists;"
9521 #~ msgstr "&file-sourceslist; &file-statelists;"
9524 #~ "Unless the <option>-h</option>, or <option>--help</option> option is "
9525 #~ "given one of the commands below must be present. <placeholder type="
9526 #~ "\"variablelist\" id=\"0\"/>"
9528 #~ "<option>-h</option> オプションや <option>--help</option> オプションを除"
9529 #~ "き、以下に挙げるコマンドが必要です。<placeholder type=\"variablelist\" id="
9533 #~ "Unless the <option>-h</option>, or <option>--help</option> option is "
9534 #~ "given one of the commands below must be present."
9536 #~ "<option>-h</option> オプションや <option>--help</option> オプションを除"
9537 #~ "き、以下に挙げるコマンドが必要です。"
9539 #~ msgid "Dir Section"
9540 #~ msgstr "Dir セクション"
9542 #~ msgid "Default Section"
9543 #~ msgstr "Default セクション"
9545 #~ msgid "TreeDefault Section"
9546 #~ msgstr "TreeDefault セクション"
9548 #~ msgid "Tree Section"
9549 #~ msgstr "Tree セクション"
9552 #~ "&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
9553 #~ "&file-statelists;"
9555 #~ "&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
9556 #~ "&file-statelists;"
9558 #~ msgid "&file-trustedgpg;"
9559 #~ msgstr "&file-trustedgpg;"