diff options
Diffstat (limited to 'doc')
35 files changed, 6453 insertions, 2714 deletions
diff --git a/doc/apt-cache.8.xml b/doc/apt-cache.8.xml index 0e1d2f8d9..2779f2501 100644 --- a/doc/apt-cache.8.xml +++ b/doc/apt-cache.8.xml @@ -191,7 +191,7 @@ Reverse Provides: <varlistentry><term>show <replaceable>pkg(s)</replaceable></term> <listitem><para><literal>show</literal> performs a function similar to - <command>dpkg --print-avail</command>i; it displays the package records for the + <command>dpkg --print-avail</command>; it displays the package records for the named packages.</para></listitem> </varlistentry> @@ -277,7 +277,7 @@ Reverse Provides: <listitem><para>Select the file to store the source cache. The source is used only by <literal>gencaches</literal> and it stores a parsed version of the package information from remote sources. When building the package cache the - source cache is used to advoid reparsing all of the package files. + source cache is used to avoid reparsing all of the package files. Configuration Item: <literal>Dir::Cache::srcpkgcache</literal>.</para></listitem> </varlistentry> diff --git a/doc/apt-ftparchive.1.xml b/doc/apt-ftparchive.1.xml index 7c1ae9432..8cfbc72e9 100644 --- a/doc/apt-ftparchive.1.xml +++ b/doc/apt-ftparchive.1.xml @@ -407,10 +407,10 @@ for i in Sections do Sets the Packages file output.</para></listitem> </varlistentry> - <varlistentry><term>SrcPackages</term> + <varlistentry><term>Sources</term> <listitem><para> Sets the Sources file output. At least one of - <literal>Packages</literal> or <literal>SrcPackages</literal> is required.</para></listitem> + <literal>Packages</literal> or <literal>Sources</literal> is required.</para></listitem> </varlistentry> <varlistentry><term>Contents</term> diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index ac84f342a..b98d58737 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -468,7 +468,7 @@ <refsect1><title>See Also</title> <para>&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, &apt-config;, - The APT User's guide in &docdir;, &apt-preferences;, the APT Howto.</para> + The APT User's guide in &guidesdir;, &apt-preferences;, the APT Howto.</para> </refsect1> <refsect1><title>Diagnostics</title> diff --git a/doc/apt-secure.8.xml b/doc/apt-secure.8.xml index e22446030..fa13ddc0f 100644 --- a/doc/apt-secure.8.xml +++ b/doc/apt-secure.8.xml @@ -120,7 +120,7 @@ <listitem><para><literal>Mirror network compromise</literal>. Without signature checking, a malicious agent can compromise a - mirror host and modify the files in it to propage malicious + mirror host and modify the files in it to propagate malicious software to all users downloading packages from that host.</para></listitem> </itemizedlist> diff --git a/doc/apt.ent b/doc/apt.ent index cf22df6d2..99fe443cf 100644 --- a/doc/apt.ent +++ b/doc/apt.ent @@ -2,6 +2,7 @@ <!-- Some common paths.. --> <!ENTITY docdir "/usr/share/doc/apt/"> +<!ENTITY guidesdir "/usr/share/doc/apt-doc/"> <!ENTITY configureindex "<filename>&docdir;examples/configure-index.gz</filename>"> <!ENTITY aptconfdir "<filename>/etc/apt.conf</filename>"> <!ENTITY statedir "/var/lib/apt"> diff --git a/doc/examples/apt-ftparchive.conf b/doc/examples/apt-ftparchive.conf index 657ec5440..c9d352ab6 100644 --- a/doc/examples/apt-ftparchive.conf +++ b/doc/examples/apt-ftparchive.conf @@ -20,21 +20,21 @@ Default { // Contents file for these in the main section of the sid release BinDirectory "pool/main" { Packages "dists/sid/main/binary-i386/Packages"; - SrcPackages "dists/sid/main/source/Sources"; + Sources "dists/sid/main/source/Sources"; Contents "dists/sid/Contents-i386"; } // This is the same for the contrib section BinDirectory "pool/contrib" { Packages "dists/sid/contrib/binary-i386/Packages"; - SrcPackages "dists/sid/contrib/source/Sources"; + Sources "dists/sid/contrib/source/Sources"; Contents "dists/sid/Contents-i386"; } // This is the same for the non-free section BinDirectory "pool/non-free" { Packages "dists/sid/non-free/binary-i386/Packages"; - SrcPackages "dists/sid/non-free/source/Sources"; + Sources "dists/sid/non-free/source/Sources"; Contents "dists/sid/Contents-i386"; }; diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 5ab84fe05..5b3c1a55c 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -24,11 +24,15 @@ APT { Architecture "i386"; Build-Essential "build-essential"; - + + NeverAutoRemove { "linux-kernel.*"; }; // packages that should never + // considered for autoRemove + // Options for apt-get Get { Arch-Only "false"; + AutomaticRemove "false"; Download-Only "false"; Simulate "false"; Assume-Yes "false"; @@ -74,7 +78,7 @@ APT Authentication { - Trust-CDROM "false"; // consider the CDROM always trusted + TrustCDROM "false"; // consider the CDROM always trusted }; GPGV @@ -90,6 +94,10 @@ APT Cache-Limit "4194304"; Default-Release ""; + // consider Recommends, Suggests as important dependencies that should + // be installed by default + APT::Install-Recommends "false"; + APT::Install-Suggests "false"; // Write progress messages on this fd (for stuff like base-config) Status-Fd "-1"; @@ -117,6 +125,7 @@ Acquire No-Cache "false"; Max-Age "86400"; // 1 Day age on index files No-Store "false"; // Prevent the cache from storing archives + Dl-Limit "7"; // 7Kb/sec maximum download rate }; ftp @@ -243,12 +252,15 @@ DPkg Debug { pkgProblemResolver "false"; + pkgDepCache::AutoInstall "false"; // what packages apt install to satify dependencies pkgAcquire "false"; pkgAcquire::Worker "false"; + pkgAcquire::Auth "false"; pkgDPkgPM "false"; pkgDPkgProgressReporting "false"; pkgOrderList "false"; - + pkgAutoRemove "false"; // show information about automatic removes + pkgInitialize "false"; // This one will dump the configuration space NoLocking "false"; Acquire::Ftp "false"; // Show ftp command traffic diff --git a/doc/examples/sources.list b/doc/examples/sources.list index 9f2343277..a958899ae 100644 --- a/doc/examples/sources.list +++ b/doc/examples/sources.list @@ -1,10 +1,11 @@ # See sources.list(5) for more information, especialy # Remember that you can only use http, ftp or file URIs # CDROMs are managed through the apt-cdrom tool. -deb http://http.us.debian.org/debian stable main contrib non-free -deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free -deb http://security.debian.org stable/updates main contrib non-free +deb http://us.archive.ubuntu.com/ubuntu dapper main restricted +deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted -# Uncomment if you want the apt-get source function to work -#deb-src http://http.us.debian.org/debian stable main contrib non-free -#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free +deb http://security.ubuntu.com/ubuntu dapper-security main restricted +deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted + +deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted +deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted diff --git a/doc/fr/apt-ftparchive.fr.1.xml b/doc/fr/apt-ftparchive.fr.1.xml index 61cdfa2ec..9ae6506fc 100644 --- a/doc/fr/apt-ftparchive.fr.1.xml +++ b/doc/fr/apt-ftparchive.fr.1.xml @@ -451,10 +451,10 @@ Indique le fichier « Packages » créé. </para></listitem> </varlistentry> -<varlistentry><term>SrcPackages</term> +<varlistentry><term>Sources</term> <listitem><para> Indique le fichier « Sources » créé. L'un des deux fichiers, -<literal>Packages</literal> ou <literal>SrcPackages</literal> est nécessaire. +<literal>Packages</literal> ou <literal>Sources</literal> est nécessaire. </para></listitem> </varlistentry> @@ -628,4 +628,4 @@ décimal 100 en cas d'erreur. &manbugs; &traducteur; -</refentry>
\ No newline at end of file +</refentry> diff --git a/doc/fr/apt-get.fr.8.xml b/doc/fr/apt-get.fr.8.xml index 8832dd22e..cfaa76c7d 100644 --- a/doc/fr/apt-get.fr.8.xml +++ b/doc/fr/apt-get.fr.8.xml @@ -571,6 +571,11 @@ le guide APT. </para> </refsect1> + <refsect1><title>Diagnostic</title> + <para><command>apt-get</command> renvoie zéro après une opération normale, le décimal 100 +en cas d'erreur.</para> + </refsect1> + &manbugs; &deux-traducteurs; </refentry> diff --git a/doc/fr/apt-key.fr.8.xml b/doc/fr/apt-key.fr.8.xml index 29ba237e2..73a61ea41 100644 --- a/doc/fr/apt-key.fr.8.xml +++ b/doc/fr/apt-key.fr.8.xml @@ -18,7 +18,7 @@ <!-- Man page title --> <refnamediv> <refname>apt-key</refname> - <refpurpose>APT key management utility</refpurpose> + <refpurpose>Utilitaire de gestion des clés</refpurpose> </refnamediv> <!-- Arguments --> @@ -103,7 +103,7 @@ Debian et supprimer les clés qui sont périmées. <varlistentry><term><filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename> </term> - <listitem><para>>Trousseau des clés fiables supprimées de l'archive Debian.</para></listitem> + <listitem><para>Trousseau des clés fiables supprimées de l'archive Debian.</para></listitem> </varlistentry> </variablelist> diff --git a/doc/fr/apt.ent.fr b/doc/fr/apt.ent.fr index 81130d9ef..d705b9e3e 100644 --- a/doc/fr/apt.ent.fr +++ b/doc/fr/apt.ent.fr @@ -11,36 +11,38 @@ <!ENTITY apt-conf "<citerefentry> <refentrytitle><filename>apt.conf</filename></refentrytitle> <manvolnum>5</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY apt-get "<citerefentry> <refentrytitle><command>apt-get</command></refentrytitle> <manvolnum>8</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY apt-config "<citerefentry> <refentrytitle><command>apt-config</command></refentrytitle> <manvolnum>8</manvolnum> - </citerefentry>"> + </citerefentry>" +> <!ENTITY apt-cdrom "<citerefentry> <refentrytitle><command>apt-cdrom</command></refentrytitle> <manvolnum>8</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY apt-cache "<citerefentry> <refentrytitle><command>apt-cache</command></refentrytitle> <manvolnum>8</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY apt-preferences "<citerefentry> <refentrytitle><command>apt_preferences</command></refentrytitle> <manvolnum>5</manvolnum> - </citerefentry>"> + </citerefentry>" +> <!ENTITY apt-key "<citerefentry> <refentrytitle><command>apt-key</command></refentrytitle> @@ -69,43 +71,44 @@ <!ENTITY reportbug "<citerefentry> <refentrytitle><command>reportbug</command></refentrytitle> <manvolnum>1</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY dpkg "<citerefentry> <refentrytitle><command>dpkg</command></refentrytitle> <manvolnum>8</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY dpkg-buildpackage "<citerefentry> <refentrytitle><command>dpkg-buildpackage</command></refentrytitle> <manvolnum>1</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY gzip "<citerefentry> <refentrytitle><command>gzip</command></refentrytitle> <manvolnum>1</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY dpkg-scanpackages "<citerefentry> <refentrytitle><command>dpkg-scanpackages</command></refentrytitle> <manvolnum>8</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY dpkg-scansources "<citerefentry> <refentrytitle><command>dpkg-scansources</command></refentrytitle> <manvolnum>8</manvolnum> - </citerefentry> -"> + </citerefentry>" +> <!ENTITY dselect "<citerefentry> <refentrytitle><command>dselect</command></refentrytitle> <manvolnum>8</manvolnum> - </citerefentry>"> + </citerefentry>" +> <!ENTITY aptitude "<citerefentry> <refentrytitle><command>aptitude</command></refentrytitle> @@ -188,12 +191,12 @@ <!ENTITY manbugs " <refsect1><title>Bogues</title> <para> -Voyez la <ulink url='http://bugs.debian.org/src:apt'> page concernant les bogues de APT</ulink>. - Si vous voulez rapporter un bogue, consultez le texte +Voyez la <ulink url='http://bugs.debian.org/src:apt'> page concernant les bogues d'APT</ulink>. + Si vous voulez signaler un bogue, consultez le texte <filename>/usr/share/doc/debian/bug-reporting.txt</filename> ou utilisez la commande &reportbug;.</para> - </refsect1> - "> + </refsect1>" +> <!-- Boiler plate Author section --> <!ENTITY manauthor " @@ -201,17 +204,17 @@ commande &reportbug;.</para> <para> APT a été écrit par l'équipe APT <email>apt@packages.debian.org</email>. </para> - </refsect1> -"> + </refsect1>" +> <!-- Section traduction --> <!ENTITY deux-traducteurs " <refsect1><title>Traduction</title> <para> Jérôme Marant. 2000 ; mise à jour : Philippe Batailler. 2005. -</para> -</refsect1> -"> +<email>debian-l10n-french@lists.debian.org</email>.</para> +</refsect1>" +> <!ENTITY traducteur " <refsect1><title>Traduction</title> diff --git a/doc/fr/sources.list.fr.5.xml b/doc/fr/sources.list.fr.5.xml index 4abd9c95e..4235480f8 100644 --- a/doc/fr/sources.list.fr.5.xml +++ b/doc/fr/sources.list.fr.5.xml @@ -25,16 +25,15 @@ <refnamediv> <refname>sources.list</refname> -<refpurpose>Une liste, utilisée par APT, indiquant les ressources de paquets</refpurpose> +<refpurpose>Liste des sources de paquets</refpurpose> </refnamediv> <refsect1><title>Description</title> <para> -La liste des ressources de paquets indique où trouver les archives +La liste des sources de paquets indique où trouver les archives du système de distribution de paquets utilisé. Pour l'instant, cette page de manuel ne documente que le système d'empaquetage utilisé par le système -Debian GNU/Linux. Ce fichier de contrôle est situé dans -<filename>/etc/apt/sources.list</filename>. +Debian GNU/Linux. Ce fichier de contrôle est <filename>/etc/apt/sources.list</filename>. </para> <para> La liste des sources est conçue pour prendre en compte un nombre quelconque @@ -49,17 +48,26 @@ ligne peut être un commentaire commençant par un caractère #. </para> </refsect1> +<refsect1><title>sources.list.d</title> +<para> Le répertoire <filename>/etc/apt/sources.list.d</filename> permet de +lister des sources de paquets dans des fichiers distincts qui se terminent +par <literal>.list</literal>. Leur format est le même que celui du fichier +<filename>sources.list</filename>. +</para> + </refsect1> + <refsect1><title>Les types deb et deb-src.</title> <para> Le type <literal>deb</literal> décrit une archive Debian classique à deux niveaux, <filename>distribution/composant</filename>. <literal>distribution</literal> peut prendre l'une des valeurs suivantes : <literal>stable</literal>, <literal>unstable</literal>, ou -<literal>testing</literal>, et composant : <literal>main</literal>, <literal>contrib</literal>, -<literal>non-free</literal>, ou <literal>non-us</literal>. Le type <literal>deb-src</literal> -décrit le +<literal>testing</literal>, et composant : <literal>main</literal>, +<literal>contrib</literal>, +<literal>non-free</literal>, ou <literal>non-us</literal>. +Le type <literal>deb-src</literal> décrit le code source pour une distribution Debian dans le même format que le type <literal>deb</literal>. Une ligne <literal>deb-src</literal> est nécessaire pour récupérer les -index de sources. +index des sources. </para> <para> Le format d'une entrée dans <filename>sources.list</filename> utilisant les types @@ -73,7 +81,7 @@ dans laquelle APT trouvera les informations dont il a besoin. doit omettre les composants et <literal>distribution</literal> doit se terminer par une barre oblique (/). C'est utile quand seule une sous-section particulière de l'archive décrite par cet URI est intéressante. Quand <literal>distribution</literal> -n'indique pas un chemin exact, un <literal>component</literal> au moins doit être +n'indique pas un chemin exact, un <literal>composant</literal> au moins doit être présent. </para> <para> @@ -101,8 +109,8 @@ efficacement parti des sites à faible bande passante. <para> Il est important d'indiquer les sources par ordre de préférence, la source principale apparaissant en premier. Un tri est fait, de la plus -rapide à la plus lente ; par exemple, CD-ROM suivi par les hôtes d'un -réseau local, puis les hôtes Internet distants. +rapide à la plus lente ; par exemple, un cédérom suivi par les hôtes d'un +réseau local, puis les hôtes distants. </para> <para>Voici quelques exemples : </para> @@ -127,9 +135,9 @@ montages NFS, les miroirs et les archives locaux. <varlistentry><term>cdrom</term> <listitem><para> -Le procédé <literal>cdrom</literal> permet l'utilisation d'un lecteur de CDROM local +Le procédé <literal>cdrom</literal> permet l'utilisation d'un lecteur de cédérom avec la possibilité de changer de media. Utilisez le programme &apt-cdrom; -pour créer des entrées dans la liste de sources. +pour créer des entrées dans la liste des sources. </para> </listitem> </varlistentry> @@ -149,8 +157,8 @@ méthode d'authentification peu sûre. <varlistentry><term>ftp</term> <listitem><para> Le procédé <literal>ftp</literal> indique un serveur FTP comme archive. Le -fonctionnement en mode ftp est grandement configurable ; référez-vous -à la page de manuel de &apt-cdrom; pour davantage de renseignements. On +fonctionnement en mode ftp est largement configurable ; référez-vous +à la page de manuel de &apt-cdrom; pour d'autres informations. On remarquera qu'on peut indiquer un mandataire ftp avec la variable d'environnement <envar>ftp_proxy</envar>. On peut aussi spécifier un mandataire http (les serveurs mandataires http comprennent souvent les URL ftp) en utilisant diff --git a/doc/ja/apt-cache.ja.8.sgml b/doc/ja/apt-cache.ja.8.sgml deleted file mode 100644 index 020137021..000000000 --- a/doc/ja/apt-cache.ja.8.sgml +++ /dev/null @@ -1,638 +0,0 @@ -<!-- -*- mode: sgml; mode: fold -*- --> -<!-- translation of version 1.10 --> -<!-- Bug#175611 is fixed in translation --> -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ - -<!ENTITY % aptent SYSTEM "apt.ent.ja"> -%aptent; - -]> - -<refentry lang=ja> - &apt-docinfo; - - <refmeta> - <refentrytitle>apt-cache</> - <manvolnum>8</> - </refmeta> - - <!-- Man page title --> - <refnamediv> - <refname>apt-cache</> -<!-- <refpurpose>APT package handling utility - - cache manipulator</> --> - <refpurpose>APT ¥Ñ¥Ã¥±¡¼¥¸Áàºî¥æ¡¼¥Æ¥£¥ê¥Æ¥£ -- ¥¥ã¥Ã¥·¥åÁàºî</> - </refnamediv> - - <!-- Arguments --> - <refsynopsisdiv> - <cmdsynopsis> - <command>apt-cache</> - <arg><option>-hvsn</></arg> - <arg><option>-o=<replaceable/config string/</></arg> - <arg><option>-c=<replaceable/file/</></arg> - <group choice=req> - <arg>add <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg></arg> - <arg>gencaches</> - <arg>showpkg <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> - <arg>showsrc <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> - <arg>stats</> - <arg>dump</> - <arg>dumpavail</> - <arg>unmet</> - <arg>search <arg choice="plain"><replaceable>regex</replaceable></arg></arg> - <arg>show <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> -<!-- -Bug#175611 - <arg>showpkg <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> --> - <arg>depends <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> - <arg>pkgnames <arg choice="plain"><replaceable>prefix</replaceable></arg></arg> - <arg>dotty <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> - <arg>policy <arg choice="plain" rep="repeat"><replaceable>pkgs</replaceable></arg></arg> - </group> - </cmdsynopsis> - </refsynopsisdiv> - -<!-- <RefSect1><Title>Description</>--> - <RefSect1><Title>ÀâÌÀ</> - <para> -<!-- - <command/apt-cache/ performs a variety of operations on APT's package - cache. <command/apt-cache/ does not manipulate the state of the system - but does provide operations to search and generate interesting output - from the package metadata. ---> - <command/apt-cache/ ¤Ï APT ¤Î¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤ËÂФ·¤Æ¤¤¤í¤¤¤í¤ÊÁàºî¤ò¹Ô¤¤¤Þ¤¹¡£ - <command/apt-cache/ ¤Ï¡¢¥·¥¹¥Æ¥à¾õÂÖ¤ÎÁàºî¤Ï¹Ô¤¤¤Þ¤»¤ó¤¬¡¢ - ¥Ñ¥Ã¥±¡¼¥¸¤Î¥á¥¿¥Ç¡¼¥¿¤è¤ê¸¡º÷¤·¤¿¤ê¡¢¶½Ì£¿¼¤¤½ÐÎϤòÀ¸À®¤¹¤ë¤È¤¤¤Ã¤¿Áàºî¤ò - Ä󶡤·¤Þ¤¹¡£ - <para> -<!-- - Unless the <option/-h/, or <option/-/-help/ option is given one of the - commands below must be present. ---> - <option/-h/ ¤ä <option/--help/ ¤ò½ü¤¡¢°Ê²¼¤Ëµó¤²¤ë¥³¥Þ¥ó¥É¤¬É¬ÍפǤ¹¡£ - <VariableList> - <VarListEntry><Term>add</Term> - <ListItem><Para> -<!-- - <literal/add/ adds the named package index files to the package cache. - This is for debugging only. ---> - <literal/add/ ¤Ï¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤Ë¡¢»ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¥¤¥ó¥Ç¥Ã¥¯¥¹ - ¥Õ¥¡¥¤¥ë¤òÄɲä·¤Þ¤¹¡£¥Ç¥Ð¥Ã¥°ÀìÍѤǤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>gencaches</Term> - <ListItem><Para> -<!-- - <literal/gencaches/ performs the same opration as - <command/apt-get check/. It builds the source and package caches from - the sources in &sources-list; and from <filename>/var/lib/dpkg/status</>. ---> - <literal/gencaches/ ¤Ï <command/apt-get check/ ¤ÈƱ¤¸Æ°ºî¤òÄ󶡤·¤Þ¤¹¡£ - ¤³¤ì¤Ï &sources-list; Æâ¤Î¼èÆÀ¸µ¤È <filename>/var/lib/dpkg/status</> - ¤«¤é¡¢¥½¡¼¥¹¤È¥Ñ¥Ã¥±¡¼¥¸¤Î¥¥ã¥Ã¥·¥å¤ò¹½ÃÛ¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>showpkg</Term> - <ListItem><Para> -<!-- - <literal/showpkg/ displays information about the packages listed on the - command line. Remaining arguments are package names. The available - versions and reverse dependencies of each package listed are listed, as - well as forward dependencies for each version. Forward (normal) - dependencies are those packages upon which the package in question - depends; reverse dependencies are those packages that depend upon the - package in question. Thus, forward dependencies must be satisfied for a - package, but reverse dependencies need not be. - For instance, <command>apt-cache showpkg libreadline2</> would produce - output similar to the following: ---> - <literal/showpkg/ ¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤ËÎóµó¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¾ðÊó¤ò - ɽ¼¨¤·¤Þ¤¹¡£»Ä¤ê¤Î°ú¿ô¤Ï¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Ç¤¹¡£ - Îóµó¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ä¤¤¤Æ¡¢³Æ¥Ð¡¼¥¸¥ç¥ó¤Î°Í¸´Ø·¸¤òɽ¼¨¤¹¤ë¤è¤¦¤Ë ¡¢ - ͸ú¤Ê¥Ð¡¼¥¸¥ç¥ó¤ÈÈï°Í¸´Ø·¸¤òÎóµó¤·¤Þ¤¹¡£ - (Àµ)°Í¸´Ø·¸¤È¤Ï¡¢ÂоݤΥѥ屡¼¥¸¤¬°Í¸¤·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¤µ¤·¤Þ¤¹¡£ - ¤Þ¤¿¡¢Èï°Í¸´Ø·¸¤È¤Ï¡¢ÂоݤΥѥ屡¼¥¸¤Ë°Í¸¤·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¤µ¤·¤Þ¤¹¡£ - ½¾¤Ã¤Æ¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î°Í¸´Ø·¸¤ÏËþ¤¿¤µ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¤¬¡¢ - Èï°Í¸´Ø·¸¤Ï¤½¤ÎɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ - ¼ÂÎã¤È¤·¤Æ¡¢°Ê²¼¤Ë <command>apt-cache showpkg libreadline2</> ¤Î - ½ÐÎϤò·Ç¤²¤Þ¤¹¡£ - -<informalexample><programlisting> -Package: libreadline2 -Versions: 2.1-12(/var/state/apt/lists/foo_Packages), -Reverse Depends: - libreadlineg2,libreadline2 - libreadline2-altdev,libreadline2 -Dependencies: -2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null)) -Provides: -2.1-12 - -Reverse Provides: -</programlisting></informalexample> - - <para> -<!-- Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and - ncurses3.0 which must be installed for libreadline2 to work. - In turn, libreadlineg2 and libreadline2-altdev depend on libreadline2. If - libreadline2 is installed, libc5, ncurses3.0, and ldso must also be - installed; libreadlineg2 and libreadline2-altdev do not have to be - installed. For the specific meaning of the remainder of the output it - is best to consult the apt source code. ---> - ¤Ä¤Þ¤ê¡¢libreadline2 ¤Î version 2.1-12 ¤Ï libc5 ¤È ncurses3.0 ¤Ë°Í¸¤·¤Æ - ¤¤¤Æ¡¢libreadline2 ¤¬Æ°ºî¤¹¤ë¤Ë¤Ï¤³¤ì¤é¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפ¬¤¢¤ë¤È - ¤¤¤¦¤³¤È¤¬È½¤ê¤Þ¤¹¡£ - °ìÊý¡¢libreadlineg2 ¤È libreadline2-altdev ¤Ï libreadline2 ¤Ë°Í¸¤·¤Æ¤¤¤Þ¤¹¡£ - libreadline2 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢libc5, ncurses3.0, ldso ¤ò - ¤¹¤Ù¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¤¬¡¢libreadlineg2 ¤È - libreadline2-altdev ¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ - ½ÐÎϤλĤê¤ÎÉôʬ¤Î°ÕÌ£¤Ë¤Ä¤¤¤Æ¤Ï¡¢apt ¤Î¥½¡¼¥¹¥³¡¼¥É¤òÄ´¤Ù¤ë¤Î¤¬ºÇÎɤǤ·¤ç¤¦¡£ - </VarListEntry> - - <VarListEntry><Term>stats</Term> - <ListItem><Para> -<!-- - <literal/stats/ displays some statistics about the cache. - No further arguments are expected. Statistics reported are: ---> - <literal/stats/ ¤Ï¥¥ã¥Ã¥·¥å¤Ë¤Ä¤¤¤Æ¤ÎÅý·×¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£ - ¤½¤ì°Ê¾å¡¢°ú¿ô¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£°Ê²¼¤ÎÅý·×¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£ - <itemizedlist> -<!-- -°Ê²¼ stats ¤Î¥ê¥Æ¥é¥ë¤Ë¤Ä¤¤¤Æ¤Ï¡¢É½¼¨¤µ¤ì¤ë¹àÌÜ̾ (¤½¤ÎÌõʸ) ¤È¤¤¤¦·Á¼°¤Ç -µ½Ò¤·¤Þ¤¹¡£(ɽ¼¨¤µ¤ì¤ë¹àÌܤÈÌõ¤¬¤«¤±Î¥¤ì¤Ê¤¤¤è¤¦¤Ë) -ºÇ½ªÅª¤Ë¥á¥Ã¥»¡¼¥¸¥«¥¿¥í¥°ËÝÌõ¸å¤Ë½¤Àµ¤µ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£(ÁÒß·) ---> - <listitem><para> -<!-- - <literal/Total package names/ is the number of package names found - in the cache. ---> - <literal/Total package names (Áí¥Ñ¥Ã¥±¡¼¥¸·×)/ ¤Ï¡¢ - ¥¥ã¥Ã¥·¥å¤Ë¸ºß¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¿ô¤òɽ¤·¤Þ¤¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Normal packages/ is the number of regular, ordinary package - names; these are packages that bear a one-to-one correspondence between - their names and the names used by other packages for them in - dependencies. The majority of packages fall into this category. ---> - <literal/Normal packages (Ä̾ï¥Ñ¥Ã¥±¡¼¥¸)/ ¤Ï¡¢ - ¸ø¼°¤ÎÉáÄ̤Υѥ屡¼¥¸¿ô¤òɽ¤·¤Þ¤¹¡£ - ¤³¤ì¤Ï¡¢Â¾¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î°Í¸´Ø·¸¤Ç»ÈÍѤµ¤ì¤¿Ì¾¾Î¤Ç¡¢¤½¤ì¤¬°ìÂаì¤ËÂбþ - ¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ç¤¹¡£ - Âç¿¿ô¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï¤³¤Î¥«¥Æ¥´¥ê¤ËÆþ¤ê¤Þ¤¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Pure virtual packages/ is the number of packages that exist - only as a virtual package name; that is, packages only "provide" the - virtual package name, and no package actually uses the name. For - instance, "mail-transport-agent" in the Debian GNU/Linux system is a - pure virtual package; several packages provide "mail-transport-agent", - but there is no package named "mail-transport-agent". ---> - <literal/Pure virtual packages (½ã²¾Áۥѥ屡¼¥¸)/ ¤Ï¡¢ - ²¾Áۥѥ屡¼¥¸Ì¾¤È¤·¤Æ¤Î¤ß¸ºß¤¹¤ë - ¥Ñ¥Ã¥±¡¼¥¸ (²¾Áۥѥ屡¼¥¸Ì¾¤Î¤ß¤ò¡ÖÄ󶡡פ·¡¢¼ÂºÝ¤Ë¤Ï¤¤¤«¤Ê¤ë - ¥Ñ¥Ã¥±¡¼¥¸¤â¤½¤Î̾¾Î¤ò»ý¤¿¤Ê¤¤) ¤Î¿ô¤òɽ¤·¤Þ¤¹¡£ - Î㤨¤Ð¡¢Debian GNU/Linux ¥·¥¹¥Æ¥à¤Ç¤Ï "mail-transport-agent" ¤Ï - ½ã²¾Áۥѥ屡¼¥¸¤Ç¤¹¡£"mail-transport-agent" ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï - ¤¤¤¯¤Ä¤â¤¢¤ê¤Þ¤¹¤¬¡¢"mail-transport-agent" ¤È¤¤¤¦Ì¾¾Î¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï - ¤¢¤ê¤Þ¤»¤ó¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Single virtual packages/ is the number of packages with only - one package providing a particular virtual package. For example, in the - Debian GNU/Linux system, "X11-text-viewer" is a virtual package, but - only one package, xless, provides "X11-text-viewer". ---> - <literal/Single virtual packages (ñ²¾Áۥѥ屡¼¥¸)/ ¤Ï¡¢ - ÆÃÄê¤Î²¾Áۥѥ屡¼¥¸Ì¾¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤¬¡¢ - ¤¿¤À°ì¤Ä¤Î¾ì¹ç¤Î¿ô¤òɽ¤·¤Þ¤¹¡£ - Î㤨¤Ð¡¢Debian GNU/Linux ¥·¥¹¥Æ¥à¤Ç¤Ï¡¢"X11-text-viewer" ¤Ï - ²¾Áۥѥ屡¼¥¸¤Ç¤¹¤¬¡¢"X11-text-viewer" ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢ - xless ¥Ñ¥Ã¥±¡¼¥¸¤Î¤ß¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Mixed virtual packages/ is the number of packages that either - provide a particular virtual package or have the virtual package name - as the package name. For instance, in the Debian GNU/Linux system, - debconf is both an actual package, and provided by the debconf-tiny - package. ---> - <literal/Mixed virtual packages (Ê£²¾Áۥѥ屡¼¥¸)/ ¤Ï¡¢ - ¤½¤Î²¾Áۥѥ屡¼¥¸Ì¾¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤¬Ê£¿ô¤¢¤ë¤«¡¢ - ¤Þ¤¿¥Ñ¥Ã¥±¡¼¥¸Ì¾¤ÈƱ¤¸²¾Áۥѥ屡¼¥¸Ì¾¤ò»ý¤Ä¥Ñ¥Ã¥±¡¼¥¸¿ô¤òɽ¤·¤Þ¤¹¡£ - Î㤨¤Ð¡¢Debian GNU/Linux ¥·¥¹¥Æ¥à¤Ç¤Ï¡¢debconf ¤Ï¼ÂºÝ¤Î¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Ç¤â - ¤¢¤ê¤Þ¤¹¤¬¡¢debconf-tiny ¤Ë¤è¤Ã¤ÆÄ󶡤⤵¤ì¤Æ¤¤¤Þ¤¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Missing/ is the number of package names that were referenced in - a dependency but were not provided by any package. Missing packages may - be in evidence if a full distribution is not accesssed, or if a package - (real or virtual) has been dropped from the distribution. Usually they - are referenced from Conflicts statements. ---> - <literal/Missing (·çÍî)/ ¤Ï¡¢°Í¸´Ø·¸Ãæ¤Ë¤Ï¸ºß¤¹¤ë¤Î¤Ë¡¢¤É¤Î¥Ñ¥Ã¥±¡¼¥¸ - ¤Ë¤âÄ󶡤µ¤ì¤Æ¤¤¤Ê¤¤¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Î¿ô¤òɽ¤·¤Þ¤¹¡£ - ¥Ñ¥Ã¥±¡¼¥¸¤¬¤¢¤ë¤È¤¤¤¦¤³¤È¤Ï¡¢Á´¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ë¥¢¥¯¥»¥¹¤Ç - ¤¤Æ¤¤¤Ê¤¤¤«¡¢(¼Â¤Ê¤¤¤·²¾ÁÛ) ¥Ñ¥Ã¥±¡¼¥¸¤¬¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤«¤é - ¤Ï¤º¤µ¤ì¤Æ¤·¤Þ¤Ã¤¿¤«¤â¤·¤ì¤Ê¤¤¤³¤È¤òɽ¤·¤Þ¤¹¡£ - Ä̾¤³¤ì¤Ï¹½Ê¸¤¬Ì·½â¤¹¤ë¤³¤È¤Ç»²¾È¤µ¤ì¤Þ¤¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Total distinct/ versions is the number of package versions - found in the cache; this value is therefore at least equal to the - number of total package names. If more than one distribution (both - "stable" and "unstable", for instance), is being accessed, this value - can be considerably larger than the number of total package names. ---> - <literal/Total distinct versions (¸ÄÊ̥С¼¥¸¥ç¥ó·×)/ ¤Ï¥¥ã¥Ã¥·¥å¤Ë - ¸ºß¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¿ô¤òɽ¤·¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢¤³¤ÎÃÍ¤Ï - ºÇ¾®¤Ç¤âÁí¥Ñ¥Ã¥±¡¼¥¸·×¤È°ìÃפ·¤Þ¤¹¡£ - ¤¿¤È¤¨¤Ð 2 ¼ïÎà°Ê¾å¤Î¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó - ("stable" ¤È "unstable"¤ÎξÊý¤Ê¤É) ¤òÍøÍѤ·¤¿¾ì¹ç¡¢ - ¤³¤ÎÃͤϥѥ屡¼¥¸·×¤è¤ê¤â¤«¤Ê¤êÂ礤¤¿ô¤Ë¤Ê¤ê¤Þ¤¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Total dependencies/ is the number of dependency relationships - claimed by all of the packages in the cache. ---> - <literal/Total dependencies (Áí°Í¸´Ø·¸)/ ¤Ï¥¥ã¥Ã¥·¥åÆâ¤Î¤¹¤Ù¤Æ¤Î - ¥Ñ¥Ã¥±¡¼¥¸¤ÇÍ׵ᤵ¤ì¤¿°Í¸´Ø·¸¤Î¿ô¤Ç¤¹¡£ - </listitem> - </itemizedlist> - </VarListEntry> - - <VarListEntry><Term>showsrc</Term> - <ListItem><Para> -<!-- - <literal/showsrc/ displays all the source package records that match - the given package names. All versions are shown, as well as all - records that declare the name to be a Binary. - named packages. ---> - <literal/showsrc/ ¤Ï»ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸Ì¾¤È°ìÃפ¹¤ë¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¡¢ - ¤¹¤Ù¤Æɽ¼¨¤·¤Þ¤¹¡£»ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ä¤¤¤Æ¡¢¥Ð¥¤¥Ê¥ê¤Ë¤Ê¤ë¤È¤¤Î̾¾Î¤ò - Àë¸À¤·¤¿¥ì¥³¡¼¥ÉƱÍͤˡ¢¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤Ä¤¤¤Æɽ¼¨¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>dump</Term> - <ListItem><Para> -<!-- - <literal/dump/ shows a short listing of every package in the cache. It is - primarily for debugging. ---> - <literal/dump/ ¤Ï¥¥ã¥Ã¥·¥å¤Ë¤¢¤ë¥Ñ¥Ã¥±¡¼¥¸Ëè¤Î¡¢Ã»¤¤°ìÍ÷¤òɽ¼¨¤·¤Þ¤¹¡£ - ¼ç¤Ë¥Ç¥Ð¥Ã¥°ÍѤǤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>dumpavail</Term> - <ListItem><Para> -<!-- - <literal/dumpavail/ prints out an available list to stdout. This is - suitable for use with &dpkg; and is used by the &dselect; method. ---> - <literal/dumpavail/ ¤Ïɸ½à½ÐÎϤˡ¢ÍøÍѲÄǽ¤Ê¤â¤Î¤Î°ìÍ÷¤ò½ÐÎϤ·¤Þ¤¹¡£ - &dpkg; ¤È¶¦¤Ë»ÈÍѤ¹¤ë¤ÈÊØÍø¤Ç¤¹¡£¤Þ¤¿ &dselect; ¤Ç¤â»ÈÍѤµ¤ì¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>unmet</Term> - <ListItem><Para> -<!-- - <literal/unmet/ displays a summary of all unmet dependencies in the - package cache. ---> - <literal/unmet/ ¤Ï¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥åÆâ¤Î¡¢ÉÔŬÅö¤Ê°Í¸´Ø·¸¤Î³µÍפò - ɽ¼¨¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>show</Term> - <ListItem><Para> -<!-- - <literal/show/ performs a function similar to - <command>dpkg - -print-avail</>, it displays the package records for the - named packages. ---> - <literal/show/ ¤Ï <command>dpkg --print-avail</> ¤Ë»÷¤¿µ¡Ç½¤ò¼Â¹Ô¤·¤Þ¤¹¡£ - »ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ñ¥Ã¥±¡¼¥¸¥ì¥³¡¼¥É¤òɽ¼¨¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>search</Term> - <ListItem><Para> -<!-- - <literal/search/ performs a full text search on all available package - files for the regex pattern given. It searchs the package names and the - descriptions for an occurance of the string and prints out the package - name and the short description. If <option/- -full/ is given then output - identical to <literal/show/ is produced for each matched package and - if <option/- -names-only/ is given then the long description is not - searched, only the package name is. ---> - <literal/search/ ¤ÏÍ¿¤¨¤é¤ì¤¿Àµµ¬É½¸½¤Ë¤è¤Ã¤Æ¡¢¤¹¤Ù¤Æ¤ÎÍøÍѲÄǽ¤Ê - ¥Ñ¥Ã¥±¡¼¥¸¤ËÂФ·¤ÆÁ´Ê¸¸¡º÷¤ò¹Ô¤¤¤Þ¤¹¡£¥Ñ¥Ã¥±¡¼¥¸Ì¾¤ÈÀâÌÀ¤ËÂФ·¤Æ¸¡º÷¤ò - ¹Ô¤¤¡¢¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Èû¤¤ÀâÌÀʸ¤òɽ¼¨¤·¤Þ¤¹¡£ - <option/--full/ ¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¡¢¥Þ¥Ã¥Á¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤ËÂФ· - <literal/show/ ¤ÈƱ¤¸¾ðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£ - <option/--names-only/ ¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¡¢ÀâÌÀʸ¤ËÂФ·¤Æ¸¡º÷¤ò¹Ô¤ï¤º¡¢ - ¥Ñ¥Ã¥±¡¼¥¸Ì¾¤ËÂФ·¤Æ¤Î¤ßÂоݤȤ·¤Þ¤¹¡£ - <para> -<!-- - Seperate arguments can be used to specified multiple search patterns that - are and'd together. ---> - ¶õÇò¤Ç¶èÀڤä¿°ú¿ô¤ÇÊ£¿ô¤Î¸¡º÷¥Ñ¥¿¡¼¥ó¤Î and ¤ò¤È¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>depends</Term> - <ListItem><Para> -<!-- - <literal/depends/ shows a listing of each dependency a package has - and all the possible other packages that can fullfill that dependency. ---> - <literal/depends/ ¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤¬»ý¤Ã¤Æ¤¤¤ë°Í¸´Ø·¸¤È¡¢¤½¤Î°Í¸´Ø·¸¤ò - Ëþ¤¿¤¹Â¾¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î°ìÍ÷¤òɽ¼¨¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>pkgnames</Term> - <ListItem><Para> -<!-- - This command prints the name of each package in the system. The optional - argument is a prefix match to filter the name list. The output is suitable - for use in a shell tab complete function and the output is generated - extremly quickly. This command is best used with the - <option/- -generate/ option. ---> - ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥·¥¹¥Æ¥à¤Ç¤Î³Æ¥Ñ¥Ã¥±¡¼¥¸¤Î̾¾Î¤òɽ¼¨¤·¤Þ¤¹¡£ - ¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ë¤è¤ê¡¢¼èÆÀ¤¹¤ë°ìÍ÷¤è¤êÀèƬ°ìÃפÇÃê½Ð¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - ¤³¤Î½ÐÎϤϥ·¥§¥ë¤Î¥¿¥Ö¤Ë¤è¤ëÊä´°µ¡Ç½¤Ç»È¤¤¤ä¤¹¤¯¡¢¤Þ¤¿Èó¾ï¤Ë®¤¯À¸À®¤µ¤ì¤Þ¤¹¡£ - ¤³¤Î¥³¥Þ¥ó¥É¤Ï <option/--generate/ ¥ª¥×¥·¥ç¥ó¤È¶¦¤Ë»ÈÍѤ¹¤ë¤ÈÈó¾ï¤Ë - ÊØÍø¤Ç¤¹¡£ - </VarListEntry> - <VarListEntry><Term>dotty</Term> - <ListItem><Para> -<!-- - <literal/dotty/ takes a list of packages on the command line and - gernerates output suitable for use by dotty from the - <ulink url="http://www.research.att.com/sw/tools/graphviz/">GraphViz</> - package. The result will be a set of nodes and edges representing the - relationships between the packages. By default the given packages will - trace out all dependent packages which can produce a very large graph. - This can be turned off by setting the - <literal>APT::Cache::GivenOnly</> option. ---> - <literal/dotty/ ¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Î¥Ñ¥Ã¥±¡¼¥¸Ì¾¤«¤é¡¢ - <ulink url="http://www.research.att.com/sw/tools/graphviz/">GraphViz</> - ¥Ñ¥Ã¥±¡¼¥¸¤Î dotty ¥³¥Þ¥ó¥É¤ÇÍøÍѤ¹¤ë¤Î¤ËÊØÍø¤Ê½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£ - ·ë²Ì¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î´Ø·¸¤òɽ¤ï¤¹¡¢¥Î¡¼¥É¡¦¥¨¥Ã¥¸¤Î¥»¥Ã¥È¤Çɽ¸½¤µ¤ì¤Þ¤¹¡£ - ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¤¹¤Ù¤Æ¤Î°Í¸¥Ñ¥Ã¥±¡¼¥¸¤ò¥È¥ì¡¼¥¹¤¹¤ë¤Î¤Ç¡¢Èó¾ï¤ËÂ礤¤ - ¿Þ¤¬ÆÀ¤é¤ì¤Þ¤¹¡£ - ¤³¤ì¤Ï¡¢<literal>APT::Cache::GivenOnly</> ¥ª¥×¥·¥ç¥ó¤ÎÀßÄê¤Ç²ò½ü¤¹¤ë - ¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - <para> -<!-- - The resulting nodes will have several shapse, normal packages are boxes, - pure provides are triangles, mixed provides are diamonds, - hexagons are missing packages. Orange boxes mean recursion was stopped - [leaf packages], blue lines are prre-depends, green lines are conflicts. ---> - ·ë²Ì¤Î¥Î¡¼¥É¤Ï¿ô¼ïÎà¤Î·Á¾õ¤È¤Ê¤ê¤Þ¤¹¡£ - Ä̾ï¥Ñ¥Ã¥±¡¼¥¸¤Ï»Í³Ñ¡¢½ã²¾Áۥѥ屡¼¥¸¤Ï»°³Ñ¡¢Ê£²¾Áۥѥ屡¼¥¸¤ÏÉ©·Á¡¢ - Ï»³Ñ·Á¤Ï·çÍî¥Ñ¥Ã¥±¡¼¥¸¤ò¤½¤ì¤¾¤ìɽ¤·¤Þ¤¹¡£ - ¥ª¥ì¥ó¥¸¤Î»Í³Ñ¤ÏºÆµ¯¤¬½ªÎ»¤·¤¿¡Ö¥ê¡¼¥Õ¥Ñ¥Ã¥±¡¼¥¸¡×¡¢ÀĤ¤Àþ¤Ï pre-depends¡¢ - ÎФÎÀþ¤Ï¶¥¹ç¤òɽ¤·¤Þ¤¹¡£ - <para> -<!-- - Caution, dotty cannot graph larger sets of packages. ---> - Ãí°Õ) dotty ¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î¤è¤êÂ礤ʥ»¥Ã¥È¤Î¥°¥é¥Õ¤ÏÉÁ¤±¤Þ¤»¤ó¡£ - <VarListEntry><Term>policy</Term> - <ListItem><Para> -<!-- - <literal/policy/ is ment to help debug issues relating to the - preferences file. With no arguments it will print out the - priorities of each source. Otherwise it prints out detailed information - about the priority selection of the named package. ---> - <literal/policy/ ¤ÏÀßÄê¥Õ¥¡¥¤¥ë´Ø·¸¤ÎÌäÂê¤Ë¤Ä¤¤¤Æ¡¢¥Ç¥Ð¥Ã¥°¤ò»Ù±ç¤·¤Þ¤¹¡£ - °ú¿ô¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¼èÆÀ¸µ¤´¤È¤ÎÍ¥Àè½ç°Ì¤òɽ¼¨¤·¤Þ¤¹¡£ - °ìÊý¡¢¥Ñ¥Ã¥±¡¼¥¸Ì¾¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Í¥Àè½ç¤Î¾ÜºÙ¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Options</> ---> - <RefSect1><Title>¥ª¥×¥·¥ç¥ó</> - &apt-cmdblurb; - - <VariableList> - <VarListEntry><term><option/-p/</><term><option/--pkg-cache/</> - <ListItem><Para> -<!-- - Select the file to store the package cache. The package cache is the - primary cache used by all operations. - Configuration Item: <literal/Dir::Cache::pkgcache/. ---> - ¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤ò³ÊǼ¤¹¤ë¥Õ¥¡¥¤¥ë¤òÁªÂò¤·¤Þ¤¹¡£ - ¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤Ï¡¢¤¹¤Ù¤Æ¤ÎÁàºî¤Ç»ÈÍѤµ¤ì¤ë°ì¼¡¥¥ã¥Ã¥·¥å¤Ç¤¹¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Cache::pkgcache/ - </VarListEntry> - - <VarListEntry><term><option/-s/</><term><option/--src-cache/</> - <ListItem><Para> -<!-- - Select the file to store the source cache. The source is used only by - <literal/gencaches/ and it stores a parsed version of the package - information from remote sources. When building the package cache the - source cache is used to advoid reparsing all of the package files. - Configuration Item: <literal/Dir::Cache::srcpkgcache/. ---> - ¥½¡¼¥¹¥¥ã¥Ã¥·¥å¤ò³ÊǼ¤¹¤ë¥Õ¥¡¥¤¥ë¤òÁªÂò¤·¤Þ¤¹¡£ - ¤³¤Î¥½¡¼¥¹¥¥ã¥Ã¥·¥å¤Ï <literal/gencaches/ ¤Ç¤Î¤ß»ÈÍѤµ¤ì¡¢ - ¤³¤³¤Ë²òÀϤµ¤ì¤¿¼èÆÀ¸µ¤Î¥Ñ¥Ã¥±¡¼¥¸¾ðÊ󤬳ÊǼ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ - ¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤ò¹½ÃÛ¤¹¤ëºÝ¤Ë¡¢¥½¡¼¥¹¥¥ã¥Ã¥·¥å¤Ï¡¢ - Á´¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤òºÆ²òÀϤòÈò¤±¤ë¾å¤ÇÊØÍø¤Ç¤¹¡£ - <!--advoid ¤Ï avoid ¤Î¥ß¥¹¥¹¥Ú¥ë¡© --> - ÀßÄê¹àÌÜ - <literal/Dir::Cache::srcpkgcache/ - </VarListEntry> - - <VarListEntry><term><option/-q/</><term><option/--quiet/</> - <ListItem><Para> -<!-- - Quiet; produces output suitable for logging, omitting progress indicators. - More qs will produce more quite up to a maximum of 2. You can also use - <option/-q=#/ to set the quiet level, overriding the configuration file. - Configuration Item: <literal/quiet/. ---> - ÀŲº - ¿ÊĽɽ¼¨¤ò¾Êά¤·¤Æ¥í¥°¤ò¤È¤ë¤Î¤ËÊØÍø¤Ê½ÐÎϤò¹Ô¤¤¤Þ¤¹¡£ - ºÇÂç 2 ¤Ä¤Þ¤Ç q ¤ò½Å¤Í¤ë¤³¤È¤Ç¤è¤êÀŤ«¤Ë¤Ç¤¤Þ¤¹¡£ - ¤Þ¤¿¡¢<option/-q=#/ ¤Î¤è¤¦¤ËÀŲº¥ì¥Ù¥ë¤ò»ØÄꤷ¤Æ¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤ò - ¾å½ñ¤¤¹¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/quiet/ - </VarListEntry> - - <VarListEntry><term><option/-i/</><term><option/--important/</> - <ListItem><Para> -<!-- - Print only important deps; for use with unmet causes only Depends and - Pre-Depends relations to be printed. - Configuration Item: <literal/APT::Cache::Important/. ---> - ¡Ö½ÅÍספΤßɽ¼¨ - Dipends ¤È Pre-Depends ¤Î¤ßɽ¼¨¤¹¤ë¤¿¤á¡¢ - unmet ¤È¶¦¤Ë»ÈÍѤ·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::Important/ - </VarListEntry> - - <VarListEntry><term><option/-f/</><term><option/--full/</> - <ListItem><Para> -<!-- - Print full package records when searching. - Configuration Item: <literal/APT::Cache::ShowFull/. ---> - search »þ¤ËÁ´¥Ñ¥Ã¥±¡¼¥¸¥ì¥³¡¼¥É¤òɽ¼¨¤·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::ShowFull/ - </VarListEntry> - - <VarListEntry><term><option/-a/</><term><option/--all-versions/</> - <ListItem><Para> -<!-- - Print full records for all available versions, this is only applicable to - the show command. - Configuration Item: <literal/APT::Cache::AllVersions/. ---> - Á´ÍøÍѲÄǽ¥Ð¡¼¥¸¥ç¥ó¤ÎÁ´¥ì¥³¡¼¥É¤òɽ¼¨¤·¤Þ¤¹¡£ - show ¥³¥Þ¥ó¥É¤Ç¤Î¤ßŬÍѤǤ¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::AllVersions/ - </VarListEntry> - - <VarListEntry><term><option/-g/</><term><option/--generate/</> - <ListItem><Para> -<!-- - Perform automatic package cache regeneration, rather than use the cache - as it is. This is the default, to turn it off use <option/- -no-generate/. - Configuration Item: <literal/APT::Cache::Generate/. ---> - ¤½¤Î¤Þ¤Þ¥¥ã¥Ã¥·¥å¤ò»ÈÍѤ¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢¼«Æ°Åª¤Ë¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤ò - ºÆÀ¸À®¤·¤Þ¤¹¡£¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤Ç¤¹¤¬¡¢<option/--no-generate/ ¤ò - »ÈÍѤ¹¤ë¤È̵¸ú¤Ë¤Ç¤¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::Generate/ - </VarListEntry> - - <VarListEntry><term><option/--names-only/</><term><option/-n/</> - <ListItem><Para> -<!-- - Only search on the package names, not the long description. - Configuration Item: <literal/APT::Cache::NamesOnly/. ---> - ÀâÌÀʸ¤Ç¤Ï¤Ê¤¯¡¢¥Ñ¥Ã¥±¡¼¥¸Ì¾¤«¤é¤Î¤ß¸¡º÷¤·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::NamesOnly/ - </VarListEntry> - - <VarListEntry><term><option/--all-names/</> - <ListItem><Para> -<!-- - Make <literal/pkgnames/ print all names, including virtual packages - and missing dependencies. - Configuration Item: <literal/APT::Cache::AllNames/. ---> - <literal/pkgnames/ ¤Ç¡¢²¾Áۥѥ屡¼¥¸¤äÉÔÌÀ¤Ê°Í¸´Ø·¸¤ò´Þ¤á¤¿Á´Ì¾¾Î¤ò - ɽ¼¨¤µ¤»¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::AllNames/ - </VarListEntry> - - <VarListEntry><term><option/--recurse/</> - <ListItem><Para> -<!-- - Make <literal/depends/ recursive so that all packages mentioned are - printed once. - Configuration Item: <literal/APT::Cache::RecurseDepends/. ---> - <literal/depends/ ¤Ç¡¢»ØÄꤷ¤¿Á´¥Ñ¥Ã¥±¡¼¥¸¤òºÆµ¢Åª¤Ë°ìÅÙ¤Ëɽ¼¨¤·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::RecurseDepends/ - </VarListEntry> - - &apt-commonoptions; - - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Files</> ---> - <RefSect1><Title>¥Õ¥¡¥¤¥ë</> - <variablelist> - <VarListEntry><term><filename>/etc/apt/sources.list</></term> - <ListItem><Para> -<!-- - locations to fetch packages from. - Configuration Item: <literal/Dir::Etc::SourceList/. ---> - ¥Ñ¥Ã¥±¡¼¥¸¤Î¼èÆÀ¸µ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Etc::SourceList/ - </VarListEntry> - - <VarListEntry><term><filename>&statedir;/lists/</></term> - <ListItem><Para> -<!-- - storage area for state information for each package resource specified in - &sources-list; - Configuration Item: <literal/Dir::State::Lists/. ---> - &sources-list; ¤Ë»ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¥ê¥½¡¼¥¹¤´¤È¤Î¾õÂÖ¾ðÊó³ÊǼ¥¨¥ê¥¢¡£ - ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ - </VarListEntry> - - <VarListEntry><term><filename>&statedir;/lists/partial/</></term> - <ListItem><Para> -<!-- - storage area for state information in transit. - Configuration Item: <literal/Dir::State::Lists/ (implicit partial). ---> - ¼èÆÀÃæ¾õÂÖ¾ðÊó³ÊǼ¥¨¥ê¥¢¡£ - ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ (ɬÁ³Åª¤ËÉÔ´°Á´¤Ç¤¹) - </VarListEntry> - </variablelist> - </RefSect1> - -<!-- - <RefSect1><Title>See Also</> ---> - <RefSect1><Title>´ØÏ¢¹àÌÜ</> - <para> - &apt-conf;, &sources-list;, &apt-get; - </RefSect1> - -<!-- - <RefSect1><Title>Diagnostics</> ---> - <RefSect1><Title>¿ÇÃÇ¥á¥Ã¥»¡¼¥¸</> - <para> -<!-- - <command/apt-cache/ returns zero on normal operation, decimal 100 on error. ---> - <command/apt-cache/ ¤ÏÀµ¾ï½ªÎ»»þ¤Ë 0 ¤òÊÖ¤·¤Þ¤¹¡£ - ¥¨¥é¡¼»þ¤Ë¤Ï½½¿Ê¤Î 100 ¤òÊÖ¤·¤Þ¤¹¡£ - </RefSect1> - - &manbugs; - &manauthor; - &translator; -</refentry> diff --git a/doc/ja/apt-cache.ja.8.xml b/doc/ja/apt-cache.ja.8.xml new file mode 100644 index 000000000..1d30e224d --- /dev/null +++ b/doc/ja/apt-cache.ja.8.xml @@ -0,0 +1,701 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-cache</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-cache</refname> +<!-- + <refpurpose>APT package handling utility -\- cache manipulator</refpurpose> +--> + <refpurpose>APT パッケージæ“作ユーティリティ -- ã‚ャッシュæ“作</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-cache</command> + <arg><option>-hvsn</option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <group choice="req"> + <arg>add <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg></arg> + <arg>gencaches</arg> + <arg>showpkg <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>showsrc <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>stats</arg> + <arg>dump</arg> + <arg>dumpavail</arg> + <arg>unmet</arg> + <arg>search <arg choice="plain"><replaceable>regex</replaceable></arg></arg> + <arg>show <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>depends <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>rdepends <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>pkgnames <arg choice="plain"><replaceable>prefix</replaceable></arg></arg> + <arg>dotty <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>policy <arg choice="plain" rep="repeat"><replaceable>pkgs</replaceable></arg></arg> + <arg>madison <arg choice="plain" rep="repeat"><replaceable>pkgs</replaceable></arg></arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> +<!-- + <para><command>apt-cache</command> performs a variety of operations on APT's package + cache. <command>apt-cache</command> does not manipulate the state of the system + but does provide operations to search and generate interesting output + from the package metadata.</para> +--> + <para><command>apt-cache</command> 㯠APT ã®ãƒ‘ッケージã‚ャッシュã«å¯¾ã—ã¦ã€ + ã•ã¾ã–ã¾ãªæ“作を行ã„ã¾ã™ã€‚ + <command>apt-cache</command> ã¯ã€ã‚·ã‚¹ãƒ†ãƒ 状態ã®æ“作ã¯è¡Œã„ã¾ã›ã‚“ãŒã€ + パッケージã®ãƒ¡ã‚¿ãƒ‡ãƒ¼ã‚¿ã‚ˆã‚Šæ¤œç´¢ã—ãŸã‚Šã€ + 興味深ã„出力を生æˆã™ã‚‹ã¨ã„ã£ãŸæ“作をæä¾›ã—ã¾ã™ã€‚</para> + +<!-- + <para>Unless the <option>-h</option>, or <option>-\-help</option> option is given, one of the + commands below must be present.</para> +--> + <para><option>-h</option> オプションや <option>--help</option> オプションを除ã〠+ 以下ã«æŒ™ã’るコマンドãŒå¿…è¦ã§ã™ã€‚</para> + + <variablelist> +<!-- + <varlistentry><term>add <replaceable>file(s)</replaceable></term> + <listitem><para><literal>add</literal> adds the named package index files to the package cache. + This is for debugging only.</para></listitem> +--> + <varlistentry><term>add <replaceable>file(s)</replaceable></term> + <listitem><para><literal>add</literal> ã¯ã€ + パッケージã‚ャッシュã«æŒ‡å®šã—ãŸãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¿½åŠ ã—ã¾ã™ã€‚ + デãƒãƒƒã‚°å°‚用ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>gencaches</term> +<!-- + <listitem><para><literal>gencaches</literal> performs the same operation as + <command>apt-get check</command>. It builds the source and package caches from + the sources in &sources-list; and from + <filename>/var/lib/dpkg/status</filename>.</para></listitem> +--> + <listitem><para><literal>gencaches</literal> ã¯ã€ + <command>apt-get check</command> ã¨åŒã˜å‹•ä½œã‚’æä¾›ã—ã¾ã™ã€‚ + ã“れ㯠&sources-list; 内ã®å–得元㨠+ <filename>/var/lib/dpkg/status</filename>ã‹ã‚‰ã€ + ソースã¨ãƒ‘ッケージã®ã‚ャッシュを構築ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>showpkg <replaceable>pkg(s)</replaceable></term> +<!-- + <listitem><para><literal>showpkg</literal> displays information about the packages listed on the + command line. Remaining arguments are package names. The available + versions and reverse dependencies of each package listed are listed, as + well as forward dependencies for each version. Forward (normal) + dependencies are those packages upon which the package in question + depends; reverse dependencies are those packages that depend upon the + package in question. Thus, forward dependencies must be satisfied for a + package, but reverse dependencies need not be. + For instance, <command>apt-cache showpkg libreadline2</command> would produce + output similar to the following:</para> +--> + <listitem><para><literal>showpkg</literal> ã¯ã€ + コマンドライン上ã«åˆ—挙ã—ãŸãƒ‘ッケージã®æƒ…å ±ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚ + 後ã«ç¶šã引数ã¯ãƒ‘ッケージåã¨ãªã‚Šã¾ã™ã€‚ + å„パッケージã«ã¤ã„ã¦ã€æœ‰åŠ¹ãªãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¨è¢«ä¾å˜é–¢ä¿‚を列挙ã—〠+ ã•ã‚‰ã«ãã®å„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã¤ã„ã¦ä¾å˜é–¢ä¿‚を表示ã—ã¾ã™ã€‚ + (通常ã®) ä¾å˜é–¢ä¿‚ã¨ã¯ã€å¯¾è±¡ã®ãƒ‘ッケージãŒä¾å˜ã—ã¦ã„るパッケージを指ã—ã¾ã™ã€‚ + ã¾ãŸã€è¢«ä¾å˜é–¢ä¿‚ã¨ã¯ã€å¯¾è±¡ã®ãƒ‘ッケージã«ä¾å˜ã—ã¦ã„るパッケージを指ã—ã¾ã™ã€‚ + 従ã£ã¦ã€ãƒ‘ッケージã®ä¾å˜é–¢ä¿‚ã¯æº€ãŸã•ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“ãŒã€ + 被ä¾å˜é–¢ä¿‚ã¯æº€ãŸã™å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“。 + 実例ã¨ã—ã¦ã€ä»¥ä¸‹ã« <command>apt-cache showpkg libreadline2</command> ã® + 出力を掲ã’ã¾ã™ã€‚</para> + +<informalexample><programlisting> +Package: libreadline2 +Versions: 2.1-12(/var/state/apt/lists/foo_Packages), +Reverse Depends: + libreadlineg2,libreadline2 + libreadline2-altdev,libreadline2 +Dependencies: +2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null)) +Provides: +2.1-12 - +Reverse Provides: +</programlisting></informalexample> + +<!-- + <para>Thus it may be seen that libreadline2, version 2.1-12, depends on + libc5 and ncurses3.0 which must be installed for libreadline2 to work. + In turn, libreadlineg2 and libreadline2-altdev depend on libreadline2. If + libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be + installed; libreadlineg2 and libreadline2-altdev do not have to be + installed. For the specific meaning of the remainder of the output it + is best to consult the apt source code.</para></listitem> + </varlistentry> +--> + <para>ã¤ã¾ã‚Šã€libreadline2 ã® version 2.1-12 ã¯ã€ + libc5 㨠ncurses3.0 ã«ä¾å˜ã—ã¦ã„ã¦ã€libreadline2 ãŒå‹•ä½œã™ã‚‹ã«ã¯ã€ + ã“れらをインストールã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã¨ã„ã†ã“ã¨ãŒåˆ¤ã‚Šã¾ã™ã€‚ + 一方ã€libreadlineg2 㨠libreadline2-altdev 㯠libreadline2 ã«ä¾å˜ã—ã¦ã„ã¾ã™ã€‚ + libreadline2 をインストールã™ã‚‹ãŸã‚ã«ã¯ã€libc5, ncurses3.0, ldso ã‚’ + ã™ã¹ã¦ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“ãŒã€libreadlineg2 㨠+ libreadline2-altdev ã¯ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã™ã‚‹å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“。 + 出力ã®æ®‹ã‚Šã®éƒ¨åˆ†ã®æ„味ã«ã¤ã„ã¦ã¯ã€ + apt ã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚’調ã¹ã‚‹ã®ãŒæœ€è‰¯ã§ã—ょã†ã€‚</para></listitem> + </varlistentry> + +<!-- + <varlistentry><term>stats</term><listitem><para><literal>stats</literal> displays some statistics about the cache. + No further arguments are expected. Statistics reported are: +--> + <varlistentry><term>stats</term><listitem><para><literal>stats</literal> + ã¯ã‚ャッシュã«ã¤ã„ã¦ã®çµ±è¨ˆæƒ…å ±ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚ + ãれ以上ã€å¼•æ•°ã¯å¿…è¦ã‚ã‚Šã¾ã›ã‚“。以下ã®çµ±è¨ˆæƒ…å ±ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚ + <itemizedlist> +<!-- + <listitem><para><literal>Total package names</literal> is the number of package names found + in the cache.</para> + </listitem> +--> + <listitem><para><literal>パッケージåç·æ•°</literal>ã¯ã€ + ã‚ャッシュã«å˜åœ¨ã™ã‚‹ãƒ‘ッケージ数を表ã—ã¾ã™ã€‚</para> + </listitem> + +<!-- + <listitem><para><literal>Normal packages</literal> is the number of regular, ordinary package + names; these are packages that bear a one-to-one correspondence between + their names and the names used by other packages for them in + dependencies. The majority of packages fall into this category.</para> + </listitem> +--> + <listitem><para><literal>通常パッケージ</literal>ã¯ã€ + å…¬å¼ã®æ™®é€šã®ãƒ‘ッケージ数を表ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã€ä»–ã®ãƒ‘ッケージã®ä¾å˜é–¢ä¿‚ã§ä½¿ç”¨ã•ã‚ŒãŸå称ã§ã€ãã‚ŒãŒä¸€å¯¾ä¸€ã«å¯¾å¿œ + ã™ã‚‹ãƒ‘ッケージã§ã™ã€‚ + 大多数ã®ãƒ‘ッケージã¯ã“ã®ã‚«ãƒ†ã‚´ãƒªã«å…¥ã‚Šã¾ã™ã€‚</para> + </listitem> + +<!-- + <listitem><para><literal>Pure virtual packages</literal> is the number of packages that exist + only as a virtual package name; that is, packages only "provide" the + virtual package name, and no package actually uses the name. For + instance, "mail-transport-agent" in the Debian GNU/Linux system is a + pure virtual package; several packages provide "mail-transport-agent", + but there is no package named "mail-transport-agent".</para> + </listitem> +--> + <listitem><para><literal>純粋仮想パッケージ</literal>ã¯ã€ + 仮想パッケージåã¨ã—ã¦ã®ã¿å˜åœ¨ã™ã‚‹ãƒ‘ッケージ + (仮想パッケージåã®ã¿ã‚’「æä¾›ã€ã—〠+ 実際ã«ã¯ã„ã‹ãªã‚‹ãƒ‘ッケージもãã®å称をæŒãŸãªã„) ã®æ•°ã‚’表ã—ã¾ã™ã€‚ + 例ãˆã°ã€Debian GNU/Linux システムã§ã¯ "mail-transport-agent" + ã¯ç´”粋仮想パッケージã§ã™ã€‚ + "mail-transport-agent" ã‚’æä¾›ã™ã‚‹ãƒ‘ッケージã¯ã„ãã¤ã‚‚ã‚ã‚Šã¾ã™ãŒã€ + "mail-transport-agent" ã¨ã„ã†å称ã®ãƒ‘ッケージã¯ã‚ã‚Šã¾ã›ã‚“。</para> + </listitem> + +<!-- + <listitem><para><literal>Single virtual packages</literal> is the number of packages with only + one package providing a particular virtual package. For example, in the + Debian GNU/Linux system, "X11-text-viewer" is a virtual package, but + only one package, xless, provides "X11-text-viewer".</para> + </listitem> +--> + <listitem><para><literal>å˜ä¸€ä»®æƒ³ãƒ‘ッケージ</literal>ã¯ã€ + 特定ã®ä»®æƒ³ãƒ‘ッケージåã‚’æä¾›ã™ã‚‹ãƒ‘ッケージãŒã€ + ãŸã 一ã¤ã®å ´åˆã®æ•°ã‚’表ã—ã¾ã™ã€‚ + 例ãˆã°ã€Debian GNU/Linux システムã§ã¯ã€"X11-text-viewer" + ã¯ä»®æƒ³ãƒ‘ッケージã§ã™ãŒã€"X11-text-viewer" ã‚’æä¾›ã™ã‚‹ãƒ‘ッケージã¯ã€ + xless パッケージã®ã¿ã¨ã„ã†ã“ã¨ã§ã™ã€‚</para> + </listitem> + +<!-- + <listitem><para><literal>Mixed virtual packages</literal> is the number of packages that either + provide a particular virtual package or have the virtual package name + as the package name. For instance, in the Debian GNU/Linux system, + "debconf" is both an actual package, and provided by the debconf-tiny + package.</para> + </listitem> +--> + <listitem><para><literal>複åˆä»®æƒ³ãƒ‘ッケージ</literal>ã¯ã€ + ãã®ä»®æƒ³ãƒ‘ッケージåã‚’æä¾›ã™ã‚‹ãƒ‘ッケージãŒè¤‡æ•°ã‚ã‚‹ã‹ã€ + ã¾ãŸãƒ‘ッケージåã¨åŒã˜ä»®æƒ³ãƒ‘ッケージåã‚’æŒã¤ãƒ‘ッケージ数を表ã—ã¾ã™ã€‚ + 例ãˆã°ã€Debian GNU/Linux システムã§ã¯ã€ + debconf ã¯å®Ÿéš›ã®ãƒ‘ッケージåã§ã‚‚ã‚ã‚Šã¾ã™ãŒã€ + debconf-tiny ã«ã‚ˆã£ã¦æ供もã•ã‚Œã¦ã„ã¾ã™ã€‚</para> + </listitem> + +<!-- + <listitem><para><literal>Missing</literal> is the number of package names that were referenced in + a dependency but were not provided by any package. Missing packages may + be in evidence if a full distribution is not accessed, or if a package + (real or virtual) has been dropped from the distribution. Usually they + are referenced from Conflicts statements.</para> + </listitem> +--> + <listitem><para><literal>æ¬ è½</literal>ã¯ã€ä¾å˜é–¢ä¿‚ä¸ã«ã¯å˜åœ¨ã™ã‚‹ã®ã«ã€ + ã©ã®ãƒ‘ッケージã«ã‚‚æä¾›ã•ã‚Œã¦ã„ãªã„パッケージåã®æ•°ã‚’表ã—ã¾ã™ã€‚ + ã“ã®ãƒ‘ッケージãŒã‚ã‚‹ã¨ã„ã†ã“ã¨ã¯ã€ + 全ディストリビューションã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¦ã„ãªã„ã‹ã€ + (実ãªã„ã—仮想) パッケージãŒãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションã‹ã‚‰ã¯ãšã•ã‚Œã¦ã—ã¾ã£ãŸå¯èƒ½æ€§ã‚‚ã‚ã‚Šã¾ã™ã€‚ + 通常ã§ã¯ã€æ§‹æ–‡ãŒçŸ›ç›¾ã™ã‚‹ã¨ã“ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚</para> + </listitem> + +<!-- + <listitem><para><literal>Total distinct</literal> versions is the number of package versions + found in the cache; this value is therefore at least equal to the + number of total package names. If more than one distribution (both + "stable" and "unstable", for instance), is being accessed, this value + can be considerably larger than the number of total package names.</para> + </listitem> +--> + <listitem><para><literal>個別ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç·æ•°</literal>ã¯ã€ + ã‚ャッシュã«å˜åœ¨ã™ã‚‹ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®æ•°ã‚’表ã—ã¾ã™ã€‚ + ãã®ãŸã‚ã€ã“ã®å€¤ã¯æœ€å°ã§ã‚‚パッケージåç·æ•°ã¨ä¸€è‡´ã—ã¾ã™ã€‚ + ã‚‚ã—複数ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューション (例 "stable" 㨠"unstable" ã®ä¸¡æ–¹) + を利用ã—ãŸå ´åˆã€ + ã“ã®å€¤ã¯ãƒ‘ッケージåç·æ•°ã‚ˆã‚Šã‚‚ã‹ãªã‚Šå¤§ãã„æ•°ã«ãªã‚Šã¾ã™ã€‚</para> + </listitem> + +<!-- + <listitem><para><literal>Total dependencies</literal> is the number of dependency relationships + claimed by all of the packages in the cache.</para> + </listitem> +--> + <listitem><para><literal>ä¾å˜é–¢ä¿‚ç·æ•°</literal>ã¯ã€ + ã‚ャッシュã«ã‚ã‚‹ã™ã¹ã¦ã®ãƒ‘ッケージã§è¦æ±‚ã•ã‚ŒãŸä¾å˜é–¢ä¿‚ã®æ•°ã§ã™ã€‚</para> + </listitem> + </itemizedlist> + </para></listitem> + </varlistentry> + + <varlistentry><term>showsrc <replaceable>pkg(s)</replaceable></term> +<!-- + <listitem><para><literal>showsrc</literal> displays all the source package records that match + the given package names. All versions are shown, as well as all + records that declare the name to be a Binary.</para></listitem> + </varlistentry> +--> + <listitem><para><literal>showsrc</literal> ã¯ã€ + 指定ã—ãŸãƒ‘ッケージåã«ä¸€è‡´ã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ‘ッケージをã€ã™ã¹ã¦è¡¨ç¤ºã—ã¾ã™ã€‚ + ãƒã‚¤ãƒŠãƒªã«ãªã‚‹ã¨ãã®å称を宣言ã—ãŸãƒ¬ã‚³ãƒ¼ãƒ‰ã¨åŒæ§˜ã«ã€ + ã™ã¹ã¦ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã¤ã„ã¦è¡¨ç¤ºã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>dump</term> +<!-- + <listitem><para><literal>dump</literal> shows a short listing of every package in the cache. It is + primarily for debugging.</para></listitem> + </varlistentry> +--> + <listitem><para><literal>dump</literal> ã¯ã€ + ã‚ャッシュ内ã®ãƒ‘ッケージãã‚Œãžã‚Œã«ã¤ã„ã¦ã€çŸã„一覧を表示ã—ã¾ã™ã€‚ + 主ã«ãƒ‡ãƒãƒƒã‚°ç”¨ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>dumpavail</term> +<!-- + <listitem><para><literal>dumpavail</literal> prints out an available list to stdout. This is + suitable for use with &dpkg; and is used by the &dselect; method.</para></listitem> +--> + <listitem><para><literal>dumpavail</literal> ã¯ã€ + 標準出力ã«åˆ©ç”¨å¯èƒ½ãªã‚‚ã®ã®ä¸€è¦§ã‚’出力ã—ã¾ã™ã€‚ + &dpkg; ã¨å…±ã«ä½¿ç”¨ã™ã‚‹ã¨ä¾¿åˆ©ã§ã™ã—〠+ &dselect; ã§ã‚‚使用ã•ã‚Œã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>unmet</term> +<!-- + <listitem><para><literal>unmet</literal> displays a summary of all unmet dependencies in the + package cache.</para></listitem> + </varlistentry> +--> + <listitem><para><literal>unmet</literal> ã¯ã€ + パッケージã‚ャッシュ内ã«ã‚る〠+ ä¸é©å½“ãªä¾å˜é–¢ä¿‚ã®æ¦‚è¦ã‚’表示ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>show <replaceable>pkg(s)</replaceable></term> +<!-- + <listitem><para><literal>show</literal> performs a function similar to + <command>dpkg -\-print-avail</command>; it displays the package records for the + named packages.</para></listitem> +--> + <listitem><para><literal>show</literal> ã¯ã€ + <command>dpkg --print-avail</command> ã¨åŒæ§˜ã®æ©Ÿèƒ½ã‚’実行ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã€æŒ‡å®šã—ãŸãƒ‘ッケージã®ãƒ‘ッケージレコードã®è¡¨ç¤ºã§ã™ã€‚</para> + </listitem> + </varlistentry> + + <varlistentry><term>search <replaceable>regex [ regex ... ]</replaceable></term> +<!-- + <listitem><para><literal>search</literal> performs a full text search on all available package + lists for the regex pattern given. It searches the package names and the + descriptions for an occurrence of the regular expression and prints out + the package name and the short description. If <option>-\-full</option> is given + then output identical to <literal>show</literal> is produced for each matched + package, and if <option>-\-names-only</option> is given then the long description + is not searched, only the package name is.</para> +--> + <listitem><para><literal>search</literal> ã¯ã€ä¸Žãˆã‚‰ã‚ŒãŸæ£è¦è¡¨ç¾ã«ã‚ˆã£ã¦ã€ + ã™ã¹ã¦ã®åˆ©ç”¨å¯èƒ½ãªãƒ‘ッケージã«å¯¾ã—ã¦å…¨æ–‡æ¤œç´¢ã‚’è¡Œã„ã¾ã™ã€‚ + パッケージåã¨èª¬æ˜Žã«å¯¾ã—ã¦æ¤œç´¢ã‚’è¡Œã„〠+ パッケージåã¨çŸã„説明文を表示ã—ã¾ã™ã€‚ + <option>--full</option> ãŒä¸Žãˆã‚‰ã‚ŒãŸå ´åˆã€ãƒžãƒƒãƒã—ãŸãƒ‘ッケージã«å¯¾ã— + <literal>show</literal> ã¨åŒã˜æƒ…å ±ã‚’å‡ºåŠ›ã—ã¾ã™ã€‚ + <option>--names-only</option> ãŒä¸Žãˆã‚‰ã‚ŒãŸå ´åˆã¯ã€ + 説明文ã«å¯¾ã—ã¦æ¤œç´¢ã‚’è¡Œã‚ãšã€ãƒ‘ッケージåã«å¯¾ã—ã¦ã®ã¿å¯¾è±¡ã¨ã—ã¾ã™ã€‚</para> + <para> +<!-- + Separate arguments can be used to specify multiple search patterns that + are and'ed together.</para></listitem> +--> + 空白ã§åŒºåˆ‡ã£ãŸå¼•æ•°ã§ã€ + 複数ã®æ¤œç´¢ãƒ‘ターン㮠and ã‚’ã¨ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>depends <replaceable>pkg(s)</replaceable></term> +<!-- + <listitem><para><literal>depends</literal> shows a listing of each dependency a package has + and all the possible other packages that can fulfill that dependency.</para></listitem> +--> + <listitem><para><literal>depends</literal> ã¯ã€ + パッケージãŒæŒã£ã¦ã„ã‚‹ä¾å˜é–¢ä¿‚ã¨ã€ + ãã®ä¾å˜é–¢ä¿‚を満ãŸã™ä»–ã®ãƒ‘ッケージã®ä¸€è¦§ã‚’表示ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>rdepends <replaceable>pkg(s)</replaceable></term> +<!-- + <listitem><para><literal>rdepends</literal> shows a listing of each reverse dependency a + package has.</para></listitem> +--> + <listitem><para><literal>rdepends</literal> ã¯ã€ + パッケージãŒæŒã¤è¢«ä¾å˜é–¢ä¿‚を一覧表示ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>pkgnames <replaceable>[ prefix ]</replaceable></term> +<!-- + <listitem><para>This command prints the name of each package in the system. The optional + argument is a prefix match to filter the name list. The output is suitable + for use in a shell tab complete function and the output is generated + extremely quickly. This command is best used with the + <option>-\-generate</option> option.</para></listitem> +--> + <listitem><para>ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ + システムã§ã®å„パッケージã®å称を表示ã—ã¾ã™ã€‚ + オプションã®å¼•æ•°ã«ã‚ˆã‚Šã€å–å¾—ã™ã‚‹ä¸€è¦§ã‚ˆã‚Šå…ˆé 一致ã§æŠ½å‡ºã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ + ã“ã®å‡ºåŠ›ã¯ã‚·ã‚§ãƒ«ã®ã‚¿ãƒ–ã«ã‚ˆã‚‹è£œå®Œæ©Ÿèƒ½ã«ä½¿ã„ã‚„ã™ã〠+ ã¾ãŸéžå¸¸ã«é€Ÿã生æˆã•ã‚Œã¾ã™ã€‚ + ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ <option>--generate</option> オプションã¨å…±ã«ä½¿ç”¨ã™ã‚‹ã¨ã€ + éžå¸¸ã«ä¾¿åˆ©ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>dotty <replaceable>pkg(s)</replaceable></term> +<!-- + <listitem><para><literal>dotty</literal> takes a list of packages on the command line and + generates output suitable for use by dotty from the + <ulink url="http://www.research.att.com/sw/tools/graphviz/">GraphViz</ulink> + package. The result will be a set of nodes and edges representing the + relationships between the packages. By default the given packages will + trace out all dependent packages; this can produce a very large graph. + To limit the output to only the packages listed on the command line, + set the <literal>APT::Cache::GivenOnly</literal> option.</para> +--> + <listitem><para><literal>dotty</literal> ã¯ã€ + コマンドライン上ã®ãƒ‘ッケージåã‹ã‚‰ã€ + <ulink url="http://www.research.att.com/sw/tools/graphviz/">GraphViz</ulink> + パッケージ㮠dotty コマンドã§åˆ©ç”¨ã™ã‚‹ã®ã«ä¾¿åˆ©ãªå‡ºåŠ›ã‚’生æˆã—ã¾ã™ã€‚ + çµæžœã¯ãƒ‘ッケージã®é–¢ä¿‚を表ã‚ã™ã€ãƒŽãƒ¼ãƒ‰ãƒ»ã‚¨ãƒƒã‚¸ã®ã‚»ãƒƒãƒˆã§è¡¨ç¾ã•ã‚Œã¾ã™ã€‚ + デフォルトã§ã¯ã€ã™ã¹ã¦ã®ä¾å˜ãƒ‘ッケージをトレースã™ã‚‹ã®ã§ã€ + éžå¸¸ã«å¤§ãã„図ãŒå¾—られã¾ã™ã€‚ + ã“ã‚Œã¯ã€<literal>APT::Cache::GivenOnly</literal> + オプションをè¨å®šã—ã¦è§£é™¤ã§ãã¾ã™ã€‚</para> + +<!-- + <para>The resulting nodes will have several shapes; normal packages are boxes, + pure provides are triangles, mixed provides are diamonds, + missing packages are hexagons. Orange boxes mean recursion was stopped + [leaf packages], blue lines are pre-depends, green lines are conflicts.</para> +--> + <para>çµæžœã®ãƒŽãƒ¼ãƒ‰ã¯æ•°ç¨®ã®å½¢çŠ¶ã‚’ã¨ã‚Šã¾ã™ã€‚ + 通常パッケージã¯å››è§’ã€ç´”粋仮想パッケージã¯ä¸‰è§’ã€è¤‡åˆä»®æƒ³ãƒ‘ッケージã¯è±å½¢ã€ + å…角形ã¯æ¬ è½ãƒ‘ッケージをãã‚Œãžã‚Œè¡¨ã—ã¾ã™ã€‚ + オレンジã®å››è§’ã¯å†å¸°ãŒçµ‚了ã—ãŸã€Œãƒªãƒ¼ãƒ•ãƒ‘ッケージã€ã€é’ã„ç·šã¯å…ˆè¡Œä¾å˜ã€ + ç·‘ã®ç·šã¯ç«¶åˆã‚’表ã—ã¾ã™ã€‚</para> + +<!-- + <para>Caution, dotty cannot graph larger sets of packages.</para></listitem> +--> + <para>注æ„) dotty ã¯ã€ + パッケージã®ã‚ˆã‚Šå¤§ããªã‚»ãƒƒãƒˆã®ã‚°ãƒ©ãƒ•ã¯æã‘ã¾ã›ã‚“。</para></listitem> + </varlistentry> + + <varlistentry><term>policy <replaceable>[ pkg(s) ]</replaceable></term> +<!-- + <listitem><para><literal>policy</literal> is meant to help debug issues relating to the + preferences file. With no arguments it will print out the + priorities of each source. Otherwise it prints out detailed information + about the priority selection of the named package.</para></listitem> +--> + <listitem><para><literal>policy</literal> ã¯ã€ + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«é–¢ä¿‚ã®å•é¡Œã«ã¤ã„ã¦ã€ãƒ‡ãƒãƒƒã‚°ã‚’支æ´ã—ã¾ã™ã€‚ + 引数を指定ã—ãªã‹ã£ãŸå ´åˆã€å–å¾—å…ƒã”ã¨ã®å„ªå…ˆé †ä½ã‚’表示ã—ã¾ã™ã€‚ + 一方ã€ãƒ‘ッケージåを指定ã—ãŸå ´åˆã€ + å„ªå…ˆé †ã®è©³ç´°æƒ…å ±ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>madison <replaceable>/[ pkg(s) ]</replaceable></term> +<!-- + <listitem><para><literal>apt-cache</literal>'s <literal>madison</literal> command attempts to mimic + the output format and a subset of the functionality of the Debian + archive management tool, <literal>madison</literal>. It displays + available versions of a package in a tabular format. Unlike the + original <literal>madison</literal>, it can only display information for + the architecture for which APT has retrieved package lists + (<literal>APT::Architecture</literal>).</para></listitem> +--> + <listitem><para><literal>apt-cache</literal> ã® <literal>madison</literal> + コマンドã¯ã€Debian アーカイブ管ç†ãƒ„ール <literal>madison</literal> + ã®æ©Ÿèƒ½ã®ã‚µãƒ–セットã§ã€å‡ºåŠ›ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã‚’真似よã†ã¨ã—ã¾ã™ã€‚ + パッケージã®åˆ©ç”¨å¯èƒ½ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’表形å¼ã§è¡¨ç¤ºã—ã¾ã™ã€‚ + オリジナル㮠<literal>madison</literal> ã¨é•ã„〠+ APT ãŒãƒ‘ッケージ一覧を検索ã—ãŸã‚¢ãƒ¼ã‚テクãƒãƒ£ + (<literal>APT::Architecture</literal>) + ã®æƒ…å ±ã‚’è¡¨ç¤ºã™ã‚‹ã ã‘ã§ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect1> + +<!-- + <refsect1><title>options</title> +--> + <refsect1><title>オプション</title> + &apt-cmdblurb; + + <variablelist> + <varlistentry><term><option>-p</option></term><term><option>--pkg-cache</option></term> +<!-- + <listitem><para>Select the file to store the package cache. The package cache is the + primary cache used by all operations. + Configuration Item: <literal>Dir::Cache::pkgcache</literal>.</para></listitem> +--> + <listitem><para>パッケージã‚ãƒ£ãƒƒã‚·ãƒ¥ã‚’æ ¼ç´ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’é¸æŠžã—ã¾ã™ã€‚ + パッケージã‚ャッシュã¯ã€ã™ã¹ã¦ã®æ“作ã§ä½¿ç”¨ã•ã‚Œã‚‹ä¸€æ¬¡ã‚ャッシュã§ã™ã€‚ + è¨å®šé …ç›® - <literal>Dir::Cache::pkgcache</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-s</option></term><term><option>--src-cache</option></term> +<!-- + <listitem><para>Select the file to store the source cache. The source is used only by + <literal>gencaches</literal> and it stores a parsed version of the package + information from remote sources. When building the package cache the + source cache is used to advoid reparsing all of the package files. + Configuration Item: <literal>Dir::Cache::srcpkgcache</literal>.</para></listitem> +--> + <listitem><para>ソースã‚ãƒ£ãƒƒã‚·ãƒ¥ã‚’æ ¼ç´ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’é¸æŠžã—ã¾ã™ã€‚ + ã“ã®ã‚½ãƒ¼ã‚¹ã‚ャッシュ㯠<literal>gencaches</literal> ã§ã®ã¿ä½¿ç”¨ã•ã‚Œã€ + ã“ã“ã«è§£æžã•ã‚ŒãŸå–å¾—å…ƒã®ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸æƒ…å ±ãŒæ ¼ç´ã•ã‚Œã¦ã„ã¾ã™ã€‚ + パッケージã‚ャッシュを構築ã™ã‚‹éš›ã«ã€ã‚½ãƒ¼ã‚¹ã‚ャッシュã¯ã€ + 全パッケージファイルをå†è§£æžã‚’é¿ã‘る上ã§ä¾¿åˆ©ã§ã™ã€‚ + <!--advoid 㯠avoid ã®ãƒŸã‚¹ã‚¹ãƒšãƒ«ï¼Ÿ --> + è¨å®šé …ç›® - <literal>Dir::Cache::srcpkgcache</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-q</option></term><term><option>--quiet</option></term> +<!-- + <listitem><para>Quiet; produces output suitable for logging, omitting progress indicators. + More q's will produce more quietness up to a maximum of 2. You can also use + <option>-q=#</option> to set the quietness level, overriding the configuration file. + Configuration Item: <literal>quiet</literal>.</para></listitem> +--> + <listitem><para>é™ç²› - 進æ—表示をçœç•¥ã—〠+ ãƒã‚°ã‚’ã¨ã‚‹ã®ã«ä¾¿åˆ©ãªå‡ºåŠ›ã‚’è¡Œã„ã¾ã™ã€‚ + 最大 2 ã¤ã¾ã§ q ã‚’é‡ãã‚‹ã“ã¨ã§ã•ã‚‰ã«é™ç²›ã«ã§ãã¾ã™ã€‚ + ã¾ãŸã€<option>-q=#</option> ã®ã‚ˆã†ã«é™ç²›ãƒ¬ãƒ™ãƒ«ã‚’指定ã—ã¦ã€ + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’上書ãã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>quiet</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-i</option></term><term><option>--important</option></term> +<!-- + <listitem><para>Print only important dependencies; for use with unmet. Causes only Depends and + Pre-Depends relations to be printed. + Configuration Item: <literal>APT::Cache::Important</literal>.</para></listitem> +--> + <listitem><para>「é‡è¦ã€ä¾å˜é–¢ä¿‚ã®ã¿è¡¨ç¤º - unmet ã¨å…±ã«ä½¿ç”¨ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã€Œä¾å˜ã€é–¢ä¿‚ã¨ã€Œå…ˆè¡Œä¾å˜ã€é–¢ä¿‚ã®ã¿ã‚’表示ã™ã‚‹ãŸã‚ã§ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Cache::Important</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-f</option></term><term><option>--full</option></term> +<!-- + <listitem><para>Print full package records when searching. + Configuration Item: <literal>APT::Cache::ShowFull</literal>.</para></listitem> +--> + <listitem><para>search 時ã«å…¨ãƒ‘ッケージレコードを表示ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Cache::ShowFull</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-a</option></term><term><option>--all-versions</option></term> +<!-- + <listitem><para>Print full records for all available versions. This is the + default; to turn it off, use <option>-\-no-all-versions</option>. + If <option>-\-no-all-versions</option> is specified, only the candidate version + will displayed (the one which would be selected for installation). + This option is only applicable to the <literal>show</literal> command. + Configuration Item: <literal>APT::Cache::AllVersions</literal>.</para></listitem> +--> + <listitem><para>全利用å¯èƒ½ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ¬ã‚³ãƒ¼ãƒ‰å…¨ä½“を表示ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®å‹•ä½œã§ã€ + 無効ã«ã™ã‚‹ã«ã¯ <option>--no-all-versions</option> を使用ã—ã¦ãã ã•ã„。 + <option>--no-all-versions</option> を指定ã™ã‚‹ã¨ã€ + 候補ãƒãƒ¼ã‚¸ãƒ§ãƒ³ (インストールã®éš›ã«é¸æŠžã•ã‚Œã‚‹ã‚‚ã®) ã ã‘表示ã—ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ—ションã¯ã€show コマンドã§ã®ã¿é©ç”¨ã§ãã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Cache::AllVersions</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-g</option></term><term><option>--generate</option></term> +<!-- + <listitem><para>Perform automatic package cache regeneration, rather than use the cache + as it is. This is the default; to turn it off, use <option>-\-no-generate</option>. + Configuration Item: <literal>APT::Cache::Generate</literal>.</para></listitem> +--> + <listitem><para>ãã®ã¾ã¾ã‚ャッシュを使用ã™ã‚‹ã®ã§ã¯ãªã〠+ 自動的ã«ãƒ‘ッケージã‚ャッシュをå†ç”Ÿæˆã—ã¾ã™ã€‚ã“ã‚Œã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®å‹•ä½œã§ã€ + 無効ã«ã™ã‚‹ã«ã¯ <option>--no-generate</option> を使用ã—ã¦ãã ã•ã„。 + è¨å®šé …ç›® - <literal>APT::Cache::Generate</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--names-only</option></term><term><option>-n</option></term> +<!-- + <listitem><para>Only search on the package names, not the long descriptions. + Configuration Item: <literal>APT::Cache::NamesOnly</literal>.</para></listitem> +--> + <listitem><para>説明文ã§ã¯ãªãã€ãƒ‘ッケージåã‹ã‚‰ã®ã¿æ¤œç´¢ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Cache::NamesOnly</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--all-names</option></term> +<!-- + <listitem><para>Make <literal>pkgnames</literal> print all names, including virtual packages + and missing dependencies. + Configuration Item: <literal>APT::Cache::AllNames</literal>.</para></listitem> +--> + <listitem><para><literal>pkgnames</literal> ã§ã€ + ä»®æƒ³ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚„æ¬ è½ä¾å˜é–¢ä¿‚ã‚’å«ã‚ãŸå…¨å称を表示ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Cache::AllNames</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--recurse</option></term> +<!-- + <listitem><para>Make <literal>depends</literal> and <literal>rdepends</literal> recursive so + that all packages mentioned are printed once. + Configuration Item: <literal>APT::Cache::RecurseDepends</literal>.</para></listitem> +--> + <listitem><para><literal>depends</literal> ã‚„ <literal>rdepends</literal> + ã§ã€æŒ‡å®šã—ãŸå…¨ãƒ‘ッケージをå†å¸°çš„ã«ä¸€åº¦ã«è¡¨ç¤ºã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Cache::RecurseDepends</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--installed</option></term> +<!-- + <listitem><para> + Limit the output of <literal>depends</literal> and <literal>rdepends</literal> to + packages which are currently installed. + Configuration Item: <literal>APT::Cache::Installed</literal>.</para></listitem> +--> + <listitem><para> + <literal>depends</literal> ã‚„ <literal>rdepends</literal> ã®å‡ºåŠ›ã‚’〠+ ç¾åœ¨ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„るパッケージã«é™å®šã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Cache::Installed</literal></para></listitem> + </varlistentry> + + &apt-commonoptions; + + </variablelist> + </refsect1> + +<!-- + <refsect1><title>Files</title> +--> + <refsect1><title>ファイル</title> + <variablelist> + <varlistentry><term><filename>/etc/apt/sources.list</filename></term> +<!-- + <listitem><para>Locations to fetch packages from. + Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem> +--> + <listitem><para>パッケージã®å–得元。 + è¨å®šé …ç›® - <literal>Dir::Etc::SourceList</literal></para></listitem> + </varlistentry> + + <varlistentry><term><filename>&statedir;/lists/</filename></term> +<!-- + <listitem><para>Storage area for state information for each package resource specified in + &sources-list; + Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem> +--> + <listitem><para>&sources-list; ã«æŒ‡å®šã—ãŸã€ + パッケージリソースã”ã¨ã®çŠ¶æ…‹æƒ…å ±æ ¼ç´ã‚¨ãƒªã‚¢ã€‚ + è¨å®šé …ç›® - <literal>Dir::State::Lists</literal></para></listitem> + </varlistentry> + + <varlistentry><term><filename>&statedir;/lists/partial/</filename></term> +<!-- + <listitem><para>Storage area for state information in transit. + Configuration Item: <literal>Dir::State::Lists</literal> (implicit partial).</para></listitem> +--> + <listitem><para>å–å¾—ä¸çŠ¶æ…‹æƒ…å ±æ ¼ç´ã‚¨ãƒªã‚¢ã€‚ + è¨å®šé …ç›® - <literal>Dir::State::Lists</literal> (必然的ã«ä¸å®Œå…¨)</para></listitem> + </varlistentry> + </variablelist> + </refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> + <para>&apt-conf;, &sources-list;, &apt-get; + </para> + </refsect1> + +<!-- + <refsect1><title>Diagnostics</title> +--> + <refsect1><title>診æ–メッセージ</title> +<!-- + <para><command>apt-cache</command> returns zero on normal operation, decimal 100 on error. + </para> +--> + <para><command>apt-cache</command> ã¯æ£å¸¸çµ‚了時㫠0 ã‚’è¿”ã—ã¾ã™ã€‚ + エラー時ã«ã¯å進㮠100 ã‚’è¿”ã—ã¾ã™ã€‚ + </para> + </refsect1> + + &manbugs; + &translator; +</refentry> diff --git a/doc/ja/apt-cdrom.ja.8.sgml b/doc/ja/apt-cdrom.ja.8.sgml deleted file mode 100644 index 4328ef8c2..000000000 --- a/doc/ja/apt-cdrom.ja.8.sgml +++ /dev/null @@ -1,230 +0,0 @@ -<!-- -*- mode: sgml; mode: fold -*- --> -<!-- translation of version 1.3 --> -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ - -<!ENTITY % aptent SYSTEM "apt.ent.ja"> -%aptent; - -]> - -<refentry lang=ja> - &apt-docinfo; - - <refmeta> - <refentrytitle>apt-cdrom</> - <manvolnum>8</> - </refmeta> - - <!-- Man page title --> - <refnamediv> - <refname>apt-cdrom</> -<!-- - <refpurpose>APT CDROM managment utility</> ---> - <refpurpose>APT CDROM ´ÉÍý¥æ¡¼¥Æ¥£¥ê¥Æ¥£</> - </refnamediv> - - <!-- Arguments --> - <refsynopsisdiv> - <cmdsynopsis> - <command>apt-cdrom</> - <arg><option>-hvrmfan</></arg> - <arg><option>-d=<replaceable/cdrom mount point/</></arg> - <arg><option>-o=<replaceable/config string/</></arg> - <arg><option>-c=<replaceable/file/</></arg> - <group choice=req> - <arg>add</> - <arg>ident</> - </group> - </cmdsynopsis> - </refsynopsisdiv> - -<!-- - <RefSect1><Title>Description</> ---> - <RefSect1><Title>ÀâÌÀ</> - <para> -<!-- - <command/apt-cdrom/ is used to add a new CDROM to APTs list of available - sources. <command/apt-cdrom/ takes care of determining the structure of - the disc as well as correcting for several possible mis-burns and - verifying the index files. ---> - <command/apt-cdrom/ ¤ÏÍøÍѲÄǽ¤Ê¼èÆÀ¸µ¤È¤·¤Æ¡¢APT ¤Î¥ê¥¹¥È¤Ë¿·¤·¤¤ CDROM ¤ò - Äɲ乤ë¤Î¤ËÊØÍø¤Ç¤¹¡£<command/apt-cdrom/ ¤Ï¾Æ¤Â»¤¸¤ò²Äǽ¤Ê¸Â¤êÊäÀµ¤·¡¢ - ¥Ç¥£¥¹¥¯¹½Â¤¤Î³Îǧ¤ò½õ¤±¤Þ¤¹¡£¤Þ¤¿¡¢¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤Î³Îǧ¤ò¹Ô¤¤¤Þ¤¹¡£ - <para> -<!-- - It is necessary to use <command/apt-cdrom/ to add CDs to the APT system, - it cannot be done by hand. Furthermore each disk in a multi-cd set must be - inserted and scanned separately to account for possible mis-burns. ---> - APT ¥·¥¹¥Æ¥à¤Ç CD ¤òÄɲ乤ë¤Î¤Ï¼êºî¶È¤Ç¤ÏÆñ¤·¤¤¤¿¤á¡¢<command/apt-cdrom/ - ¤¬É¬ÍפǤ¹¡£¤½¤Î¾å¡¢CD ¥»¥Ã¥È¤Î¥Ç¥£¥¹¥¯¤ò 1 Ëç¤Å¤Ä¡¢¾Æ¤Â»¤¸¤òÊäÀµ¤Ç¤¤ë¤« - ɾ²Á¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ - <para> -<!-- - Unless the <option/-h/, or <option/- -help/ option is given one of the - commands below must be present. ---> - <option/-h/ ¤ä <option/--help/ ¤ò½ü¤¡¢°Ê²¼¤Ëµó¤²¤ë¥³¥Þ¥ó¥É¤¬É¬ÍפǤ¹¡£ - <VariableList> - <VarListEntry><Term>add</Term> - <ListItem><Para> -<!-- - <literal/add/ is used to add a new disc to the source list. It will unmount the - CDROM device, prompt for a disk to be inserted and then procceed to - scan it and copy the index files. If the disc does not have a proper - <filename>.disk/</> directory you will be prompted for a descriptive - title. ---> - <literal/add/ ¤Ï¡¢¿·¤·¤¤¥Ç¥£¥¹¥¯¤ò¼èÆÀ¸µ¥ê¥¹¥È¤ËÄɲä·¤Þ¤¹¡£ - CDROM ¥Ç¥Ð¥¤¥¹¤Î¥¢¥ó¥Þ¥¦¥ó¥È¡¢¥Ç¥£¥¹¥¯ÁÞÆþ¤Î¥×¥í¥ó¥×¥È¤Îɽ¼¨¤Î¸å¤Ë¡¢ - ¥Ç¥£¥¹¥¯¤Î¥¹¥¥ã¥ó¤È¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤ò¹Ô¤¤¤Þ¤¹¡£ - ¥Ç¥£¥¹¥¯¤ËÀµ¤·¤¤ <filename>.disk/</> ¥Ç¥£¥ì¥¯¥È¥ê¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢ - ¥¿¥¤¥È¥ë¤òÆþÎϤ¹¤ë¤è¤¦Â¥¤·¤Þ¤¹¡£ - <para> -<!-- - APT uses a CDROM ID to track which disc is currently in the drive and - maintains a database of these IDs in - <filename>&statedir;/cdroms.list</> ---> - APT ¤Ï¡¢¸½ºß¥É¥é¥¤¥Ö¤Ë¤¢¤ë¥Ç¥£¥¹¥¯¤Î¥È¥é¥Ã¥¯¤«¤é¼èÆÀ¤·¤¿¡¢CDROM ID ¤ò - »ÈÍѤ·¤Þ¤¹¡£¤Þ¤¿¤½¤Î ID ¤ò¡¢<filename>&statedir;/cdroms.list</> Æâ¤Î - ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç´ÉÍý¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>ident</Term> - <ListItem><Para> -<!-- - A debugging tool to report the identity of the current disc as well - as the stored file name ---> - ³ÊǼ¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë̾¤È¡¢¸½ºß¤Î¥Ç¥£¥¹¥¯¤¬Æ±°ì¤«¤É¤¦¤«¤ò¥ì¥Ý¡¼¥È¤¹¤ë¡¢ - ¥Ç¥Ð¥Ã¥°¥Ä¡¼¥ë¤Ç¤¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Options</> ---> - <RefSect1><Title>¥ª¥×¥·¥ç¥ó</> - - &apt-cmdblurb; - - <VariableList> - <VarListEntry><term><option/-d/</><term><option/--cdrom/</> - <ListItem><Para> -<!-- - Mount point; specify the location to mount the cdrom. This mount - point must be listed in <filename>/etc/fstab</> and propely configured. - Configuration Item: <literal/Acquire::cdrom::mount/. ---> - ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È - cdrom ¤ò¥Þ¥¦¥ó¥È¤¹¤ë¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£ - ¤³¤Î¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ï¡¢<filename>/etc/fstab</> ¤ËÀµ¤·¤¯ÀßÄꤵ¤ì¤Æ¤¤¤ë - ɬÍפ¬¤¢¤ê¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/Acquire::cdrom::mount/ - </VarListEntry> - - <VarListEntry><term><option/-r/</><term><option/--rename/</> - <ListItem><Para> -<!-- - Rename a disc; change the label of a disk or override the disks - given label. This option will cause <command/apt-cdrom/ to prompt for - a new label. - Configuration Item: <literal/APT::CDROM::Rename/. ---> - ¥Ç¥£¥¹¥¯¤Î̾Á°Êѹ¹ - »ØÄꤷ¤¿Ì¾Á°¤Ç¥Ç¥£¥¹¥¯¤Î¥é¥Ù¥ë¤òÊѹ¹¡¦¹¹¿·¤·¤Þ¤¹¡£ - ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤è¤ê¡¢<command/apt-cdrom/ ¤¬¿·¤·¤¤¥é¥Ù¥ë¤òÆþÎϤ¹¤ë¤è¤¦ - Â¥¤·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::CDROM::Rename/ - </VarListEntry> - - <VarListEntry><term><option/-m/</><term><option/--no-mount/</> - <ListItem><Para> -<!-- - No mounting; prevent <command/apt-cdrom/ from mounting and unmounting - the mount point. - Configuration Item: <literal/APT::CDROM::NoMount/. ---> - ¥Þ¥¦¥ó¥È¤Ê¤· - <command/apt-cdrom/ ¤¬¡¢¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ë - ¥Þ¥¦¥ó¥È¡¦¥¢¥ó¥Þ¥¦¥ó¥È¤¹¤ë¤Î¤òËɤ®¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::CDROM::NoMount/ - </VarListEntry> - - <VarListEntry><term><option/-f/</><term><option/--fast/</> - <ListItem><Para> -<!-- - Fast Copy; Assume the package files are valid and do not check - every package. This option should be used only if - <command/apt-cdrom/ has been run on this disc before and did not detect - any errors. - Configuration Item: <literal/APT::CDROM::Fast/. ---> - ¹â®¥³¥Ô¡¼ - ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤¬ÂÅÅö¤Ç¤¢¤ë¤È²¾Äꤷ¡¢ - ¥Á¥§¥Ã¥¯¤òÁ´¤¯¹Ô¤¤¤Þ¤»¤ó¡£¡£ - ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³¤Î¥Ç¥£¥¹¥¯¤Ç°ÊÁ° <command/apt-cdrom/ ¤ò¹Ô¤Ã¤Æ¤ª¤ê¡¢ - ¥¨¥é¡¼¤ò¸¡½Ð¤·¤Ê¤«¤Ã¤¿¾ì¹ç¤Î¤ß»ÈÍѤ¹¤Ù¤¤Ç¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::CDROM::Fast/ - </VarListEntry> - - <VarListEntry><term><option/-a/</><term><option/--thorough/</> - <ListItem><Para> -<!-- - Thorough Package Scan; This option may be needed with some old - Debian 1.1/1.2 discs that have Package files in strange places. It - takes much longer to scan the CD but will pick them all up. ---> - ´°Á´¥Ñ¥Ã¥±¡¼¥¸¥¹¥¥ã¥ó - ¸Å¤¤ Debian 1.1/1.2 ¤Î¥Ç¥£¥¹¥¯¤Ï¡¢ - ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤¬°ã¤¦¾ì½ê¤Ë¤¢¤ë¤¿¤á¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦É¬Íפ¬ - ¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ - CD ¤ò¥¹¥¥ã¥ó¤¹¤ë¤Î¤ËÈó¾ï¤Ë»þ´Ö¤¬¤«¤«¤ê¤Þ¤¹¤¬¡¢Á´¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤ò - Ãê½Ð¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><term><option/-n/</> - <term><option/--just-print/</> - <term><option/--recon/</> - <term><option/--no-act/</> - <ListItem><Para> -<!-- - No Changes; Do not change the &sources-list; file and do not - write index files. Everything is still checked however. - Configuration Item: <literal/APT::CDROM::NoAct/. ---> - Êѹ¹¤Ê¤· - &sources-list; ¥Õ¥¡¥¤¥ë¤ÎÊѹ¹¤ä¡¢¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤Î - ½ñ¤¹þ¤ß¤ò¹Ô¤¤¤Þ¤»¤ó¡£¤È¤Ï¤¤¤¨¡¢¤¹¤Ù¤Æ¤Î¥Á¥§¥Ã¥¯¤Ï¹Ô¤ï¤ì¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::CDROM::NoAct/ - </VarListEntry> - - &apt-commonoptions; - - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>See Also</> ---> - <RefSect1><Title>´ØÏ¢¹àÌÜ</> - <para> - &apt-conf;, &apt-get;, &sources-list; - </RefSect1> - -<!-- - <RefSect1><Title>Diagnostics</> ---> - <RefSect1><Title>¿ÇÃÇ¥á¥Ã¥»¡¼¥¸</> - <para> -<!-- - <command/apt-cdrom/ returns zero on normal operation, decimal 100 on error. ---> - <command/apt-get/ ¤ÏÀµ¾ï½ªÎ»»þ¤Ë 0 ¤òÊÖ¤·¤Þ¤¹¡£ - ¥¨¥é¡¼»þ¤Ë¤Ï½½¿Ê¤Î 100 ¤òÊÖ¤·¤Þ¤¹¡£ - </RefSect1> - - &manbugs; - &manauthor; - &translator; -</refentry> - diff --git a/doc/ja/apt-cdrom.ja.8.xml b/doc/ja/apt-cdrom.ja.8.xml new file mode 100644 index 000000000..bf84b4749 --- /dev/null +++ b/doc/ja/apt-cdrom.ja.8.xml @@ -0,0 +1,255 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <date>14 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-cdrom</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-cdrom</refname> +<!-- + <refpurpose>APT CDROM management utility</refpurpose> +--> + <refpurpose>APT CDROM 管ç†ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-cdrom</command> + <arg><option>-hvrmfan</option></arg> + <arg><option>-d=<replaceable>cdrom mount point</replaceable></option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <group> + <arg>add</arg> + <arg>ident</arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> +<!-- + <para><command>apt-cdrom</command> is used to add a new CDROM to APTs list + of available sources. <command>apt-cdrom</command> takes care of + determining the structure of + the disc as well as correcting for several possible mis-burns and + verifying the index files. + </para> +--> + <para><command>apt-cdrom</command> ã¯åˆ©ç”¨å¯èƒ½ãªå–å¾—å…ƒã¨ã—ã¦ã€ + APT ã®ãƒªã‚¹ãƒˆã«æ–°ã—ã„ CDROM ã‚’è¿½åŠ ã™ã‚‹ã®ã«ä¾¿åˆ©ã§ã™ã€‚ + <command>apt-cdrom</command> ã¯ç„¼ãæã˜ã‚’å¯èƒ½ãªé™ã‚Šè£œæ£ã—〠+ ãƒ‡ã‚£ã‚¹ã‚¯æ§‹é€ ã®ç¢ºèªã‚’助ã‘ã¾ã™ã€‚ã¾ãŸã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã®ç¢ºèªã‚’è¡Œã„ã¾ã™ã€‚ + </para> + +<!-- + <para>It is necessary to use <command>apt-cdrom</command> to add CDs to the + APT system, + it cannot be done by hand. Furthermore each disk in a multi-cd set must be + inserted and scanned separately to account for possible mis-burns. + </para> +--> + <para>APT システムã«æ‰‹ä½œæ¥ã§ CD ã‚’è¿½åŠ ã™ã‚‹ã®ã¯é›£ã—ã„ãŸã‚〠+ <command>apt-cdrom</command> ãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚ + ãã®ä¸Šã€CD セットã®ãƒ‡ã‚£ã‚¹ã‚¯ã‚’ 1 æžšã¥ã¤ã€ + 焼ãæã˜ã‚’補æ£ã§ãã‚‹ã‹è©•ä¾¡ã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。 + </para> + +<!-- + <para>Unless the <option>-h</option>, or <option>-\-help</option> option is + given one of the commands below must be present. +--> + <para><option>-h</option> オプションや <option>--help</option> オプションを除ã〠+ 以下ã«æŒ™ã’るコマンドãŒå¿…è¦ã§ã™ã€‚ + + <variablelist> + <varlistentry><term>add</term> +<!-- + <listitem><para><literal>add</literal> is used to add a new disc to the + source list. It will unmount the + CDROM device, prompt for a disk to be inserted and then procceed to + scan it and copy the index files. If the disc does not have a proper + <filename>disk</filename> directory you will be prompted for a descriptive + title. +--> + <listitem><para><literal>add</literal> ã¯ã€ + æ–°ã—ã„ディスクをå–得元リストã«è¿½åŠ ã—ã¾ã™ã€‚ + CDROM デãƒã‚¤ã‚¹ã®ã‚¢ãƒ³ãƒžã‚¦ãƒ³ãƒˆã€ãƒ‡ã‚£ã‚¹ã‚¯æŒ¿å…¥ã®ãƒ—ãƒãƒ³ãƒ—トã®è¡¨ç¤ºã®å¾Œã«ã€ + ディスクã®ã‚¹ã‚ャンã¨ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚³ãƒ”ーを行ã„ã¾ã™ã€‚ + ディスクã«æ£ã—ã„ <filename>disk</filename> ディレクトリãŒå˜åœ¨ã—ãªã„å ´åˆã€ + タイトルを入力ã™ã‚‹ã‚ˆã†ä¿ƒã—ã¾ã™ã€‚ + </para> + +<!-- + <para>APT uses a CDROM ID to track which disc is currently in the drive and + maintains a database of these IDs in + <filename>&statedir;/cdroms.list</filename> +--> + <para>APT ã¯ã€ç¾åœ¨ãƒ‰ãƒ©ã‚¤ãƒ–ã«ã‚るディスクã®ãƒˆãƒ©ãƒƒã‚¯ã‹ã‚‰å–å¾—ã—ãŸã€ + CDROM ID を使用ã—ã¾ã™ã€‚ã¾ãŸãã® ID を〠+ <filename>&statedir;/cdroms.list</filename> 内ã®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã§ç®¡ç†ã—ã¾ã™ã€‚ + </para> + </listitem> + </varlistentry> + + <varlistentry><term>ident</term> +<!-- + <listitem><para>A debugging tool to report the identity of the current + disc as well as the stored file name +--> + <listitem><para>æ ¼ç´ã•ã‚Œã¦ã„るファイルåã¨ã€ + ç¾åœ¨ã®ãƒ‡ã‚£ã‚¹ã‚¯ãŒåŒä¸€ã‹ã©ã†ã‹ã‚’レãƒãƒ¼ãƒˆã™ã‚‹ã€ãƒ‡ãƒãƒƒã‚°ãƒ„ールã§ã™ã€‚ + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1><title>Options</title> + &apt-cmdblurb; + + <variablelist> + <varlistentry><term><option>-d</option></term><term><option>--cdrom</option></term> +<!-- + <listitem><para>Mount point; specify the location to mount the cdrom. This + mount point must be listed in <filename>/etc/fstab</filename> and + properly configured. + Configuration Item: <literal>Acquire::cdrom::mount</literal>. +--> + <listitem><para>マウントãƒã‚¤ãƒ³ãƒˆ - cdrom をマウントã™ã‚‹å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚ + ã“ã®ãƒžã‚¦ãƒ³ãƒˆãƒã‚¤ãƒ³ãƒˆã¯ã€ + <filename>/etc/fstab</filename> ã«æ£ã—ãè¨å®šã•ã‚Œã¦ã„ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>Acquire::cdrom::mount</literal> + </para> + </listitem> + </varlistentry> + + <varlistentry><term><option>-r</option></term><term><option>--rename</option></term> +<!-- + <listitem><para>Rename a disc; change the label of a disk or override the + disks given label. This option will cause <command>apt-cdrom</command> to + prompt for a new label. + Configuration Item: <literal>APT::CDROM::Rename</literal>. +--> + <listitem><para>ディスクã®åå‰å¤‰æ›´ - + 指定ã—ãŸåå‰ã§ãƒ‡ã‚£ã‚¹ã‚¯ã®ãƒ©ãƒ™ãƒ«ã‚’変更・更新ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã«ã‚ˆã‚Šã€ + <command>apt-cdrom</command> ãŒæ–°ã—ã„ラベルを入力ã™ã‚‹ã‚ˆã†ä¿ƒã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::CDROM::Rename</literal> + </para> + </listitem> + </varlistentry> + + <varlistentry><term><option>-m</option></term><term><option>--no-mount</option></term> +<!-- + <listitem><para>No mounting; prevent <command>apt-cdrom</command> from + mounting and unmounting the mount point. + Configuration Item: <literal>APT::CDROM::NoMount</literal>. +--> + <listitem><para>マウントãªã— - <command>apt-cdrom</command> ãŒã€ + マウントãƒã‚¤ãƒ³ãƒˆã«ãƒžã‚¦ãƒ³ãƒˆãƒ»ã‚¢ãƒ³ãƒžã‚¦ãƒ³ãƒˆã—ãªã„よã†ã«ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::CDROM::NoMount</literal> + </para> + </listitem> + </varlistentry> + + <varlistentry><term><option>-f</option></term><term><option>--fast</option></term> +<!-- + <listitem><para>Fast Copy; Assume the package files are valid and do not + check every package. This option should be used only if + <command>apt-cdrom</command> has been run on this disc before and did not + detect any errors. + Configuration Item: <literal>APT::CDROM::Fast</literal>. +--> + <listitem><para>高速コピー - パッケージファイルãŒå¦¥å½“ã§ã‚ã‚‹ã¨ä»®å®šã—〠+ ãƒã‚§ãƒƒã‚¯ã‚’å…¨ãè¡Œã„ã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションã¯ã€ + ã“ã®ãƒ‡ã‚£ã‚¹ã‚¯ã§ä»¥å‰ <command>apt-cdrom</command> ã‚’è¡Œã£ã¦ãŠã‚Šã€ + エラーを検出ã—ãªã‹ã£ãŸå ´åˆã®ã¿ä½¿ç”¨ã™ã¹ãã§ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::CDROM::Fast</literal> + </para> + </listitem> + </varlistentry> + + <varlistentry><term><option>-a</option></term><term><option>--thorough</option></term> +<!-- + <listitem><para>Thorough Package Scan; This option may be needed with some + old Debian 1.1/1.2 discs that have Package files in strange places. It + takes much longer to scan the CD but will pick them all up. +--> + <listitem><para>完全パッケージスã‚ャン - + å¤ã„ Debian 1.1/1.2 ã®ãƒ‡ã‚£ã‚¹ã‚¯ã¯ã€ãƒ‘ッケージファイルãŒé•ã†å ´æ‰€ã«ã‚ã‚‹ãŸã‚〠+ ã“ã®ã‚ªãƒ—ションを使ã†å¿…è¦ãŒã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。 + CD をスã‚ャンã™ã‚‹ã®ã«éžå¸¸ã«æ™‚é–“ãŒã‹ã‹ã‚Šã¾ã™ãŒã€ + 全パッケージファイルを抽出ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ + </para> + </listitem> + </varlistentry> + + <varlistentry><term><option>-n</option></term> + <term><option>--just-print</option></term> + <term><option>--recon</option></term> + <term><option>--no-act</option></term> +<!-- + <listitem><para>No Changes; Do not change the &sources-list; file and do + not write index files. Everything is still checked however. + Configuration Item: <literal>APT::CDROM::NoAct</literal>. +--> + <listitem><para>変更ãªã— - &sources-list; ファイルã®å¤‰æ›´ã‚„〠+ インデックスファイルã®æ›¸ãè¾¼ã¿ã‚’è¡Œã„ã¾ã›ã‚“。 + ã¨ã¯ã„ãˆã€ã™ã¹ã¦ã®ãƒã‚§ãƒƒã‚¯ã¯è¡Œã„ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::CDROM::NoAct</literal> + </para> + </listitem> + </varlistentry> + + &apt-commonoptions; + + </variablelist> + </refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> + <para>&apt-conf;, &apt-get;, &sources-list; + </para> + </refsect1> + +<!-- + <refsect1><title>Diagnostics</title> +--> + <refsect1><title>診æ–メッセージ</title> +<!-- + <para><command>apt-cdrom</command> returns zero on normal operation, decimal 100 on error. +--> + <para><command>apt-cdrom</command> ã¯æ£å¸¸çµ‚了時㫠0 ã‚’è¿”ã—ã¾ã™ã€‚ + エラー時ã«ã¯å進㮠100 ã‚’è¿”ã—ã¾ã™ã€‚ + </para> + </refsect1> + + &manbugs; + &translator; +</refentry> + diff --git a/doc/ja/apt-config.ja.8.xml b/doc/ja/apt-config.ja.8.xml new file mode 100644 index 000000000..b1d90f5b5 --- /dev/null +++ b/doc/ja/apt-config.ja.8.xml @@ -0,0 +1,165 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-config</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-config</refname> +<!-- + <refpurpose>APT Configuration Query program</refpurpose> +--> + <refpurpose>APT è¨å®šå–得プãƒã‚°ãƒ©ãƒ </refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-config</command> + <arg><option>-hv</option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <group choice="req"> + <arg>shell</arg> + <arg>dump</arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> +<!-- + <para><command>apt-config</command> is an internal program used by various + portions of the APT suite to provide consistent configurability. It accesses + the main configuration file <filename>/etc/apt/apt.conf</filename> in a + manner that is easy to use by scripted applications.</para> +--> + <para><command>apt-config</command> ã¯ã€ + APT スイートã®æ§˜ã€…ãªæ‰€ã§ä¸€è²«ã—ãŸè¨å®šã‚’è¡Œã†ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã€å†…部ツールã§ã™ã€‚ + スクリプトアプリケーションã§ä½¿ã„ã‚„ã™ã„方法ã§ã€ + メインè¨å®šãƒ•ã‚¡ã‚¤ãƒ« <filename>/etc/apt/apt.conf</filename> + ã«ã‚¢ã‚¯ã‚»ã‚¹ã—ã¾ã™ã€‚</para> + +<!-- + <para>Unless the <option>-h</option>, or <option>-\-help</option> option is + given one of the commands below must be present. + </para> +--> + <para><option>-h</option> ã‚„ <option>--help</option> オプションを除ã〠+ 以下ã«æŒ™ã’るコマンドãŒå¿…è¦ã§ã™ã€‚</para> + + <variablelist> + <varlistentry><term>shell</term> + <listitem><para> +<!-- + shell is used to access the configuration information from a shell + script. It is given pairs of arguments, the first being a shell + variable and the second the configuration value to query. As output + it lists a series of shell assignments commands for each present value. + In a shell script it should be used like: +--> + shell ã¯ã€ã‚·ã‚§ãƒ«ã‚¹ã‚¯ãƒªãƒ—トã‹ã‚‰è¨å®šæƒ…å ±ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã®ã«ä½¿ç”¨ã—ã¾ã™ã€‚ + 引数ã¨ã—ã¦ã€ã¾ãšã‚·ã‚§ãƒ«å¤‰æ•°ã€æ¬¡ã«å–å¾—ã—ãŸã„è¨å®šå€¤ã‚’ペアã§ä¸Žãˆã¾ã™ã€‚ + 出力ã¨ã—ã¦ã€ç¾åœ¨ã®å€¤ã”ã¨ã«ã‚·ã‚§ãƒ«ä»£å…¥ã‚³ãƒžãƒ³ãƒ‰ã®ä¸€è¦§ã‚’表示ã—ã¾ã™ã€‚ + シェルスクリプト内ã§ã¯ã€ä»¥ä¸‹ã®ã‚ˆã†ã«ã—ã¦ãã ã•ã„。 + </para> + +<informalexample><programlisting> +OPTS="-f" +RES=`apt-config shell OPTS MyApp::options` +eval $RES +</programlisting></informalexample> + +<!-- + <para>This will set the shell environment variable $OPTS to the value of + MyApp::options with a default of <option>-f</option>.</para> +--> + <para>ã“ã‚Œã¯ã€MyApp::options ã®å€¤ã‚’シェル環境変数 $OPTS ã«ã‚»ãƒƒãƒˆã—ã¾ã™ã€‚ + デフォルト値㯠<option>-f</option> ã¨ãªã‚Šã¾ã™ã€‚</para> + + <!-- + <para>The configuration item may be postfixed with a /[fdbi]. f returns + file names, d returns directories, b returns true or false and i returns + an integer. Each of the returns is normalized and verified + internally.</para> +--> + <para>è¨å®šé …目㯠/[fdbi] を後ã‚ã«ä»˜ã‘られã¾ã™ã€‚ + f ã¯ãƒ•ã‚¡ã‚¤ãƒ«åã‚’ã€d ã¯ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’ã€b 㯠true ã‹ false を〠+ i ã¯æ•´æ•°ã‚’è¿”ã—ã¾ã™ã€‚ + 返り値ã”ã¨ã«å†…部ã§æ£è¦åŒ–ã¨æ¤œè¨¼ã‚’è¡Œã„ã¾ã™ã€‚</para> + + </listitem> + </varlistentry> + + <varlistentry><term>dump</term> + <listitem><para> +<!-- + Just show the contents of the configuration space.</para> +--> + è¨å®šç®‡æ‰€ã®å†…容を表示ã™ã‚‹ã ã‘ã§ã™ã€‚</para> + </listitem> + </varlistentry> + + </variablelist> + </refsect1> + +<!-- + <refsect1><title>options</title> +--> + <refsect1><title>オプション</title> + &apt-cmdblurb; + + <variablelist> + + &apt-commonoptions; + + </variablelist> + </refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> + <para>&apt-conf; + </para> + </refsect1> + +<!-- + <refsect1><title>Diagnostics</title> +--> + <refsect1><title>診æ–メッセージ</title> +<!-- + <para><command>apt-config</command> returns zero on normal operation, decimal 100 on error. +--> + <para><command>apt-config</command> ã¯æ£å¸¸çµ‚了時㫠0 ã‚’è¿”ã—ã¾ã™ã€‚ + エラー時ã«ã¯å進㮠100 ã‚’è¿”ã—ã¾ã™ã€‚ + </para> + </refsect1> + + &manbugs; + &translator; + +</refentry> + diff --git a/doc/ja/apt-extracttemplates.ja.1.xml b/doc/ja/apt-extracttemplates.ja.1.xml new file mode 100644 index 000000000..079c89402 --- /dev/null +++ b/doc/ja/apt-extracttemplates.ja.1.xml @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-extracttemplates</refentrytitle> + <manvolnum>1</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-extracttemplates</refname> +<!-- + <refpurpose>Utility to extract DebConf config and templates from Debian packages</refpurpose> +--> + <refpurpose>Debian パッケージã‹ã‚‰ DebConf è¨å®šã¨ãƒ†ãƒ³ãƒ—レートを抽出ã™ã‚‹ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-extracttemplates</command> + <arg><option>-hv</option></arg> + <arg><option>-t=<replaceable>temporary directory</replaceable></option></arg> + <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> +<!-- + <para><command>apt-extracttemplates</command> will take one or more Debian package files + as input and write out (to a temporary directory) all associated config + scripts and template files. For each passed in package that contains + config scripts and templates, one line of output will be generated + in the format:</para> +--> + <para><command>apt-extracttemplates</command> ã¯ã€ + 入力ã«è¤‡æ•°ã® Debian パッケージをã¨ã‚Šã€ + 関連ã™ã‚‹è¨å®šã‚¹ã‚¯ãƒªãƒ—トã¨ãƒ†ãƒ³ãƒ—レートファイルを + (一時ディレクトリã«) 出力ã—ã¾ã™ã€‚ + è¨å®šã‚¹ã‚¯ãƒªãƒ—ト・テンプレートファイルをæŒã¤ã€ + 渡ã•ã‚ŒãŸãƒ‘ッケージãã‚Œãžã‚Œã«å¯¾ã—ã€ä»¥ä¸‹ã®å½¢å¼ã§ 1 è¡Œãšã¤å‡ºåŠ›ã—ã¾ã™ã€‚</para> + <para>package version template-file config-script</para> +<!-- + <para>template-file and config-script are written to the temporary directory + specified by the -t or -\-tempdir (<literal>APT::ExtractTemplates::TempDir</literal>) + directory, with filenames of the form <filename>package.template.XXXX</filename> and + <filename>package.config.XXXX</filename></para> +--> + <para>テンプレートファイルやã€è¨å®šã‚¹ã‚¯ãƒªãƒ—トã¯ã€ + -t ã‚„ --tempdir ã§æŒ‡å®šã—ãŸä¸€æ™‚ディレクトリ + (<literal>APT::ExtractTemplates::TempDir</literal>) ã«æ›¸ã出ã•ã‚Œã€ + ファイルåã¯ã€<filename>package.template.XXXX</filename> ã‚„ + <filename>package.config.XXXX</filename> ã¨è¨€ã£ãŸå½¢ã«ãªã‚Šã¾ã™ã€‚</para> + </refsect1> + +<!-- + <refsect1><title>options</title> +--> + <refsect1><title>オプション</title> + &apt-cmdblurb; + + <variablelist> + <varlistentry><term><option>-t</option></term><term><option>--tempdir</option></term> +<!-- + <listitem><para> + Temporary directory in which to write extracted debconf template files + and config scripts + Configuration Item: <literal>APT::ExtractTemplates::TempDir</literal></para></listitem> +--> + <listitem><para> + 抽出ã—㟠debconf テンプレートファイルやè¨å®šã‚¹ã‚¯ãƒªãƒ—トを書ã出ã™ã€ + 一時ディレクトリ。 + è¨å®šé …ç›® - <literal>APT::ExtractTemplates::TempDir</literal></para></listitem> + </varlistentry> + + &apt-commonoptions; + + </variablelist> + + + </refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> + <para>&apt-conf;</para> + </refsect1> + +<!-- + <refsect1><title>Diagnostics</title> +--> + <refsect1><title>診æ–メッセージ</title> + <para><command>apt-extracttemplates</command> ã¯æ£å¸¸çµ‚了時㫠0 ã‚’è¿”ã—ã¾ã™ã€‚ + エラー時ã«ã¯å進㮠100 ã‚’è¿”ã—ã¾ã™ã€‚</para> + </refsect1> + + &manbugs; + &translator; + +</refentry> diff --git a/doc/ja/apt-ftparchive.ja.1.xml b/doc/ja/apt-ftparchive.ja.1.xml new file mode 100644 index 000000000..be6bbd767 --- /dev/null +++ b/doc/ja/apt-ftparchive.ja.1.xml @@ -0,0 +1,1020 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-ftparchive</refentrytitle> + <manvolnum>1</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-ftparchive</refname> +<!-- + <refpurpose>Utility to generate index files</refpurpose> +--> + <refpurpose>インデックスファイル生æˆãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-ftparchive</command> + <arg><option>-hvdsq</option></arg> + <arg><option>--md5</option></arg> + <arg><option>--delink</option></arg> + <arg><option>--readonly</option></arg> + <arg><option>--contents</option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <group choice="req"> + <arg>packages<arg choice="plain" rep="repeat"><replaceable>path</replaceable></arg><arg><replaceable>override</replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> + <arg>sources<arg choice="plain" rep="repeat"><replaceable>path</replaceable></arg><arg><replaceable>override</replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> + <arg>contents <arg choice="plain"><replaceable>path</replaceable></arg></arg> + <arg>release <arg choice="plain"><replaceable>path</replaceable></arg></arg> + <arg>generate <arg choice="plain"><replaceable>config-file</replaceable></arg> <arg choice="plain" rep="repeat"><replaceable>section</replaceable></arg></arg> + <arg>clean <arg choice="plain"><replaceable>config-file</replaceable></arg></arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> +<!-- + <para><command>apt-ftparchive</command> is the command line tool that generates the index + files that APT uses to access a distribution source. The index files should + be generated on the origin site based on the content of that site.</para> +--> + <para><command>apt-ftparchive</command> ã¯ã€ + APT ãŒå–å¾—å…ƒã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã®ã«å¿…è¦ãªã€ + インデックスファイルを生æˆã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ„ールã§ã™ã€‚ + インデックスファイルã¯ã€å…ƒã®ã‚µã‚¤ãƒˆã®å†…容ã«åŸºã¥ã生æˆã•ã‚Œã‚‹ã¹ãã§ã™ã€‚</para> + +<!-- + <para><command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; program, + incorporating its entire functionality via the <literal>packages</literal> command. + It also contains a contents file generator, <literal>contents</literal>, and an + elaborate means to 'script' the generation process for a complete + archive.</para> +--> + <para><command>apt-ftparchive</command> ã¯ã€ + &dpkg-scanpackages; プãƒã‚°ãƒ©ãƒ ã®ã‚¹ãƒ¼ãƒ‘ーセットã§ã€ + <literal>packages</literal> コマンド経由ã§æ©Ÿèƒ½å…¨ä½“ã‚’å–り込んã§ã„ã¾ã™ã€‚ + ã¾ãŸã€contents ファイルジェãƒãƒ¬ãƒ¼ã‚¿ <literal>contents</literal> 㨠+ 完全ãªã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã®ç”Ÿæˆãƒ—ãƒã‚»ã‚¹ã€Œã‚¹ã‚¯ãƒªãƒ—トã€ã§ã‚る綿密ãªæ‰‹æ®µã‚’å«ã‚“ã§ã„ã¾ã™ã€‚</para> + +<!-- + <para>Internally <command>apt-ftparchive</command> can make use of binary databases to + cache the contents of a .deb file and it does not rely on any external + programs aside from &gzip;. When doing a full generate it automatically + performs file-change checks and builds the desired compressed output files.</para> +--> + <para>本質的㫠<command>apt-ftparchive</command> ã¯ã€ + .deb ファイルã®å†…容をã‚ャッシュã™ã‚‹ã®ã«ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚’使用ã§ãã¾ã™ã€‚ + ã¾ãŸã€&gzip; 以外ã®ã„ã‹ãªã‚‹å¤–部プãƒã‚°ãƒ©ãƒ ã«ã‚‚ä¾å˜ã—ã¾ã›ã‚“。 + ã™ã¹ã¦ç”Ÿæˆã™ã‚‹éš›ã«ã¯ã€ + ファイル変更点ã®æ¤œå‡ºã¨å¸Œæœ›ã—ãŸåœ§ç¸®å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®ä½œæˆã‚’自動的ã«å®Ÿè¡Œã—ã¾ã™ã€‚</para> + +<!-- + <para>Unless the <option>-h</option>, or <option>-\-help</option> option is given one of the + commands below must be present.</para> +--> + <para><option>-h</option> オプションや <option>--help</option> オプションを除ã〠+ 以下ã«æŒ™ã’るコマンドãŒå¿…è¦ã§ã™ã€‚</para> + + <variablelist> + <varlistentry><term>packages</term> + <listitem><para> +<!-- + The packages command generates a package file from a directory tree. It + takes the given directory and recursively searches it for .deb files, + emitting a package record to stdout for each. This command is + approximately equivalent to &dpkg-scanpackages;.</para> +--> + packages コマンドã¯ã€ + ディレクトリツリーã‹ã‚‰ãƒ‘ッケージファイルを生æˆã—ã¾ã™ã€‚ + 与ãˆã‚‰ã‚ŒãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰å†å¸°æ¤œç´¢ã—ã€.deb ファイルをå–å¾—ã—ã¾ã™ã€‚ + ã¾ãŸãƒ‘ッケージレコードを標準出力ã«ãã‚Œãžã‚Œå‡ºåŠ›ã—ã¾ã™ã€‚ + ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€&dpkg-scanpackages; ã¨ã»ã¼åŒã˜ã§ã™ã€‚</para> + +<!-- + <para>The option <option>-\-db</option> can be used to specify a binary caching DB.</para></listitem> +--> + <para><option>--db</option> オプションã§ã€ + ã‚ャッシュ DB を指定ã§ãã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>sources</term> + <listitem><para> +<!-- + The <literal>sources</literal> command generates a source index file from a directory tree. + It takes the given directory and recursively searches it for .dsc files, + emitting a source record to stdout for each. This command is approximately + equivalent to &dpkg-scansources;.</para> +--> + <literal>sources</literal> コマンドã¯ã€ + ディレクトリツリーã‹ã‚‰ã‚½ãƒ¼ã‚¹ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’生æˆã—ã¾ã™ã€‚ + 与ãˆã‚‰ã‚ŒãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰å†å¸°æ¤œç´¢ã—ã€.dsc ファイルをå–å¾—ã—ã¾ã™ã€‚ + ã¾ãŸã‚½ãƒ¼ã‚¹ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚’標準出力ã«ãã‚Œãžã‚Œå‡ºåŠ›ã—ã¾ã™ã€‚ + ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€&dpkg-scansources; ã¨ã»ã¼åŒã˜ã§ã™ã€‚</para> + <para> +<!-- + If an override file is specified then a source override file will be + looked for with an extension of .src. The -\-source-override option can be + used to change the source override file that will be used.</para></listitem> +--> + override ファイルを指定ã—ãŸå ´åˆã€ + src æ‹¡å¼µåãŒã¤ã„ãŸã‚½ãƒ¼ã‚¹ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’探ã—ã¾ã™ã€‚ + 使用ã™ã‚‹ã‚½ãƒ¼ã‚¹ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’変更ã™ã‚‹ã®ã«ã¯ã€ + --source-override オプションを使用ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>contents</term> + <listitem><para> +<!-- + The <literal>contents</literal> command generates a contents file from a directory tree. It + takes the given directory and recursively searches it for .deb files, + and reads the file list from each file. It then sorts and writes to stdout + the list of files matched to packages. Directories are not written to + the output. If multiple packages own the same file then each package is + separated by a comma in the output.</para> +--> + <literal>contents</literal> コマンドã¯ã€ + ディレクトリツリーã‹ã‚‰ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ファイルを生æˆã—ã¾ã™ã€‚ + 与ãˆã‚‰ã‚ŒãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰å†å¸°æ¤œç´¢ã—ã€.deb ファイルをå–å¾—ã—ã¾ã™ã€‚ + ã¾ãŸãƒ•ã‚¡ã‚¤ãƒ«ã”ã¨ã«ãƒ•ã‚¡ã‚¤ãƒ«ä¸€è¦§ã‚’èªã¿å–ã‚Šã¾ã™ã€‚ + ãã®å¾Œã€ãƒ‘ッケージã«å¯¾å¿œã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ä¸€è¦§ã‚’標準出力ã«ã‚½ãƒ¼ãƒˆã—ã¦å‡ºåŠ›ã—ã¾ã™ã€‚ + ディレクトリã¯å‡ºåŠ›ã«å«ã¾ã‚Œã¾ã›ã‚“。 + 複数ã®ãƒ‘ッケージãŒåŒã˜ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æŒã¤å ´åˆã€ + パッケージåをカンマ区切りã§å‡ºåŠ›ã—ã¾ã™ã€‚</para> + <para> +<!-- + The option <option>-\-db</option> can be used to specify a binary caching DB.</para></listitem> +--> + <option>--db</option> オプションã§ã€ + ã‚ャッシュ DB を指定ã§ãã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>release</term> + <listitem><para> +<!-- + The <literal>release</literal> command generates a Release file from a + directory tree. It recursively searches the given directory for + Packages, Packages.gz, Packages.bz2, Sources, Sources.gz, + Sources.bz2, Release and md5sum.txt files. It then writes to + stdout a Release file containing an MD5 digest and SHA1 digest + for each file.</para> +--> + <literal>release</literal> コマンドã¯ã€ + ディレクトリツリーã‹ã‚‰ Release ファイルを生æˆã—ã¾ã™ã€‚ + 与ãˆã‚‰ã‚ŒãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ã€Packages, Packages.gz, Packages.bz2, Sources, + Sources.gz, Sources.bz2, Release, md5sum.txt + ã¨ã„ã£ãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’å†å¸°æ¤œç´¢ã—ã¾ã™ã€‚ + ãã®å¾Œã€ãƒ•ã‚¡ã‚¤ãƒ«ã”ã¨ã® MD5 ダイジェスト㨠SHA1 ダイジェストをå«ã‚“ã + Release ファイルをã€æ¨™æº–出力ã«æ›¸ã出ã—ã¾ã™ã€‚</para> + <para> +<!-- + Values for the additional metadata fields in the Release file are + taken from the corresponding variables under + <literal>APT::FTPArchive::Release</literal>, + e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported fields + are: <literal>Origin</literal>, <literal>Label</literal>, <literal>Suite</literal>, + <literal>Version</literal>, <literal>Codename</literal>, <literal>Date</literal>, + <literal>Architectures</literal>, <literal>Components</literal>, <literal>Description</literal>.</para></listitem> +--> + Release ファイルã®è¿½åŠ メタデータフィールドã®å€¤ã¯ã€ + <literal>APT::FTPArchive::Release</literal> 以下ã®ç›¸å½“ã™ã‚‹å€¤ + (例: <literal>APT::FTPArchive::Release::Origin</literal>) ã‚’ã¨ã‚Šã¾ã™ã€‚ + サãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯ã€ + <literal>Origin</literal>, <literal>Label</literal>, <literal>Suite</literal>, + <literal>Version</literal>, <literal>Codename</literal>, <literal>Date</literal>, + <literal>Architectures</literal>, <literal>Components</literal>, <literal>Description</literal> ã§ã™ã€‚</para></listitem> + + </varlistentry> + + <varlistentry><term>generate</term> + <listitem><para> +<!-- + The <literal>generate</literal> command is designed to be runnable from a cron script and + builds indexes according to the given config file. The config language + provides a flexible means of specifying which index files are built from + which directories, as well as providing a simple means of maintaining the + required settings.</para></listitem> +--> + <literal>generate</literal> コマンドã¯ã€ + cron スクリプトã‹ã‚‰å®Ÿè¡Œã§ãるよã†è¨è¨ˆã•ã‚Œã¦ãŠã‚Šã€ + 与ãˆã‚‰ã‚ŒãŸè¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã«å¾“ã£ã¦ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã‚’生æˆã—ã¾ã™ã€‚ + è¨å®šè¨€èªžã¯ã€å¿…è¦ãªè¨å®šã‚’ç¶æŒã™ã‚‹ç°¡å˜ãªæ–¹æ³•ã‚’æä¾›ã™ã‚‹ã¨å…±ã«ã€ + インデックスファイルをã©ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ä½œæˆã™ã‚‹ã‹ã‚’指定ã™ã‚‹ã€ + 柔軟ãªæ–¹æ³•ã‚’æä¾›ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>clean</term> + <listitem><para> +<!-- + The <literal>clean</literal> command tidies the databases used by the given + configuration file by removing any records that are no longer necessary.</para></listitem> +--> + <literal>clean</literal> コマンドã¯ã€ + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ä¸Žãˆã‚‰ã‚ŒãŸãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚’〠+ ã‚‚ã†å¿…è¦ãªã„レコードを削除ã—ã¦æ•´ç†ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect1> + +<!-- + <refsect1><title>The Generate Configuration</title> +--> + <refsect1><title>generate è¨å®š</title> + <para> +<!-- + The <literal>generate</literal> command uses a configuration file to describe the + archives that are going to be generated. It follows the typical ISC + configuration format as seen in ISC tools like bind 8 and dhcpd. + &apt-conf; contains a description of the syntax. Note that the generate + configuration is parsed in sectional manner, but &apt-conf; is parsed in a + tree manner. This only effects how the scope tag is handled.</para> +--> + <literal>generate</literal> コマンドã¯ã€ + 生æˆã™ã‚‹ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«é–¢ã™ã‚‹è¨˜è¿°ã‚’ã—ãŸè¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’使用ã—ã¾ã™ã€‚ + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€bind 8 ã‚„ dhcpd ã¨ã„ã£ãŸ ISC ツールã«è¦‹ã‚‰ã‚Œã‚‹ã‚ˆã†ãªã€ + ISC è¨å®šãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã«å¾“ã„ã¾ã™ã€‚ + &apt-conf; ã«ã€æ–‡æ³•ã®èª¬æ˜ŽãŒã‚ã‚Šã¾ã™ã€‚ + generate è¨å®šã¯ã‚»ã‚¯ã‚·ãƒ§ãƒ³æ³•ã§è§£æžã—ã¾ã™ãŒã€ + &apt-conf; ã¯ãƒ„リー法ã§è§£æžã™ã‚‹ã®ã«æ³¨æ„ã—ã¦ãã ã•ã„。 + ã“ã‚Œã¯ã‚¹ã‚³ãƒ¼ãƒ—ã‚¿ã‚°ã®æ‰±ã„æ–¹ã«é•ã„ãŒã‚ã‚‹ã ã‘ã§ã™ã€‚</para> + + <para> +<!-- + The generate configuration has 4 separate sections, each described below.</para> +--> + generate è¨å®šã«ã¯ 4 個ã®ç‹¬ç«‹ã—ãŸã‚»ã‚¯ã‚·ãƒ§ãƒ³ãŒã‚ã‚Šã¾ã™ã€‚ + 以下ãã‚Œãžã‚Œèª¬æ˜Žã—ã¾ã™ã€‚</para> + +<!-- + <refsect2><title>Dir Section</title> +--> + <refsect2><title>Dir セクション</title> + <para> +<!-- + The <literal>Dir</literal> section defines the standard directories needed to + locate the files required during the generation process. These + directories are prepended to certain relative paths defined in later + sections to produce a complete an absolute path.</para> +--> + <literal>Dir</literal> セクションã¯ã€ + 生æˆãƒ—ãƒã‚»ã‚¹ã§å¿…è¦ãªãƒ•ã‚¡ã‚¤ãƒ«ã‚’é…ç½®ã™ã‚‹ãŸã‚ã®ã€ + 標準ディレクトリを定義ã—ã¾ã™ã€‚ + ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã€å®Œå…¨ãªçµ¶å¯¾ãƒ‘スを生æˆã™ã‚‹ãŸã‚〠+ 後ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã§å®šç¾©ã•ã‚Œã‚‹ç›¸å¯¾ãƒ‘スã®å‰ã«çµåˆã—ã¾ã™ã€‚</para> + <variablelist> + <varlistentry><term>ArchiveDir</term> + <listitem><para> +<!-- + Specifies the root of the FTP archive, in a standard + Debian configuration this is the directory that contains the + <filename>ls-LR</filename> and dist nodes.</para></listitem> +--> + FTP アーカイブã®ãƒ«ãƒ¼ãƒˆã‚’指定ã—ã¾ã™ã€‚ + 標準的㪠Debian è¨å®šã§ã¯ã€ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã¯ + <filename>ls-LR</filename> 㨠dist ノードãŒã‚ã‚Šã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>OverrideDir</term> + <listitem><para> +<!-- + Specifies the location of the override files.</para></listitem> +--> + オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã®å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>CacheDir</term> + <listitem><para> +<!-- + Specifies the location of the cache files</para></listitem> +--> + ã‚ャッシュファイルã®å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>FileListDir</term> + <listitem><para> +<!-- + Specifies the location of the file list files, + if the <literal>FileList</literal> setting is used below.</para></listitem> +--> + <literal>FileList</literal> è¨å®šãŒä»¥ä¸‹ã§ä½¿ç”¨ã•ã‚Œã¦ã„ã‚‹å ´åˆã€ + ファイルリストファイルã®å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect2> + +<!-- + <refsect2><title>Default Section</title> +--> + <refsect2><title>Default セクション</title> + <para> +<!-- + The <literal>Default</literal> section specifies default values, and settings + that control the operation of the generator. Other sections may override + these defaults with a per-section setting.</para> +--> + <literal>Default</literal> セクションã§ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’指定ã—ã¾ã™ã€‚ + ã¾ãŸã€ç”Ÿæˆå™¨ã®å‹•ä½œã‚’制御ã™ã‚‹è¨å®šã‚‚è¡Œã„ã¾ã™ã€‚ + ä»–ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã§ã¯ã€ã“ã“ã«ã‚るデフォルト値を〠+ セクションã”ã¨ã®è¨å®šã§ä¸Šæ›¸ãã—ã¾ã™ã€‚</para> + <variablelist> + <varlistentry><term>Packages::Compress</term> + <listitem><para> +<!-- + Sets the default compression schemes to use + for the Package index files. It is a string that contains a space + separated list of at least one of: '.' (no compression), 'gzip' and + 'bzip2'. The default for all compression schemes is '. gzip'.</para></listitem> +--> + Package インデックスファイルã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®åœ§ç¸®æ–¹æ³•ã‚’è¨å®šã—ã¾ã™ã€‚ + å°‘ãªãã¨ã‚‚ã²ã¨ã¤ã¯ '.' (圧縮ãªã—), 'gzip', 'bzip2' ãŒå…¥ã‚‹ã€ + 空白区切りã®æ–‡å—列ã§ã™ã€‚ + 圧縮方法ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ã™ã¹ã¦ '. gzip' ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Packages::Extensions</term> + <listitem><para> +<!-- + Sets the default list of file extensions that are package files. + This defaults to '.deb'.</para></listitem> +--> + パッケージファイル拡張åã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’列挙ã—ã¾ã™ã€‚ + ã“ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã¯ '.deb' ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Sources::Compress</term> + <listitem><para> +<!-- + This is similar to <literal>Packages::Compress</literal> + except that it controls the compression for the Sources files.</para></listitem> +--> + <literal>Packages::Compress</literal> ã¨åŒæ§˜ã«ã€ + Sources ファイルã®åœ§ç¸®æ–¹æ³•ã‚’指定ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Sources::Extensions</term> + <listitem><para> +<!-- + Sets the default list of file extensions that are source files. + This defaults to '.dsc'.</para></listitem> +--> + ソースファイル拡張åã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’列挙ã—ã¾ã™ã€‚ + ã“ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã¯ '.dsc' ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Contents::Compress</term> + <listitem><para> +<!-- + This is similar to <literal>Packages::Compress</literal> + except that it controls the compression for the Contents files.</para></listitem> +--> + <literal>Packages::Compress</literal> ã¨åŒæ§˜ã«ã€ + Contents ファイルã®åœ§ç¸®æ–¹æ³•ã‚’指定ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>DeLinkLimit</term> + <listitem><para> +<!-- + Specifies the number of kilobytes to delink (and + replace with hard links) per run. This is used in conjunction with the + per-section <literal>External-Links</literal> setting.</para></listitem> +--> + 実行ã™ã‚‹ã”ã¨ã« delink (åŠã³ãƒãƒ¼ãƒ‰ãƒªãƒ³ã‚¯ã®ç½®ãæ›ãˆ) ã™ã‚‹é‡ã‚’〠+ ã‚ãƒãƒã‚¤ãƒˆå˜ä½ã§æŒ‡å®šã—ã¾ã™ã€‚セクションã”ã¨ã® + <literal>External-Links</literal> è¨å®šã¨åˆã‚ã›ã¦ä½¿ã„ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>FileMode</term> + <listitem><para> +<!-- + Specifies the mode of all created index files. It + defaults to 0644. All index files are set to this mode with no regard + to the umask.</para></listitem> +--> + 作æˆã—ãŸã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ¢ãƒ¼ãƒ‰ã‚’指定ã—ã¾ã™ã€‚ + デフォルト㯠0644 ã§ã™ã€‚全インデックスファイルã¯ã€ + umask を無視ã—ã¦ã“ã®ãƒ¢ãƒ¼ãƒ‰ã‚’使用ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect2> + +<!-- + <refsect2><title>TreeDefault Section</title> +--> + <refsect2><title>TreeDefault セクション</title> + <para> +<!-- + Sets defaults specific to <literal>Tree</literal> sections. All of these + variables are substitution variables and have the strings $(DIST), + $(SECTION) and $(ARCH) replaced with their respective values.</para> +--> + 特定㮠<literal>Tree</literal> セクションã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã‚’è¨å®šã—ã¾ã™ã€‚ + ã“れらã®å¤‰æ•°ã¯ã™ã¹ã¦ç½®æ›å¤‰æ•°ã§ã‚り〠+ æ–‡å—列 $(DIST), $(SECTION), $(ARCH) ã‚’ãã‚Œãžã‚Œã®å€¤ã«å±•é–‹ã—ã¾ã™ã€‚</para> + + <variablelist> + <varlistentry><term>MaxContentsChange</term> + <listitem><para> +<!-- + Sets the number of kilobytes of contents + files that are generated each day. The contents files are round-robined + so that over several days they will all be rebuilt.</para></listitem> +--> + 日毎ã«ç”Ÿæˆã™ã‚‹ contents ファイルをã‚ãƒãƒã‚¤ãƒˆå˜ä½ã§è¨å®šã—ã¾ã™ã€‚ + contents ファイルをラウンドãƒãƒ“ンã—ã€æ•°æ—¥çµŒã¤ã¨ã™ã¹ã¦å†ç”Ÿæˆã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>ContentsAge</term> + <listitem><para> +<!-- + Controls the number of days a contents file is allowed + to be checked without changing. If this limit is passed the mtime of the + contents file is updated. This case can occur if the package file is + changed in such a way that does not result in a new contents file + [override edit for instance]. A hold off is allowed in hopes that new + .debs will be installed, requiring a new file anyhow. The default is 10, + the units are in days.</para></listitem> +--> + 変更ãŒãªã„ contents ファイルをãƒã‚§ãƒƒã‚¯ã™ã‚‹æ—¥æ•°ã‚’指定ã—ã¾ã™ã€‚ + ã“ã®åˆ¶é™ã‚’越ãˆãŸ contents ファイル㮠mtime ã‚’ã€æ›´æ–°ã—ã¾ã™ã€‚ + パッケージファイルãŒå¤‰æ›´ã•ã‚Œã¦ã‚‚〠+ [例ãˆã°ä¸Šæ›¸ã編集ã§] contents ファイルãŒæ›´æ–°ã•ã‚Œãªã„よã†ãªå ´åˆã€ + ã“ã†ã„ã£ãŸã“ã¨ãŒç™ºç”Ÿã—ã¾ã™ã€‚ + æ–°ã—ã„ .deb ファイルをインストールã—ãŸã„å ´åˆã€ä¿ç•™ã‚’解除ã§ã〠+ å°‘ãªãã¨ã‚‚æ–°ã—ã„ファイルãŒå¿…è¦ã§ã™ã€‚ + デフォルト㯠10 ã§ã€å˜ä½ã¯æ—¥ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Directory</term> + <listitem><para> +<!-- + Sets the top of the .deb directory tree. Defaults to + <filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename></para></listitem> +--> + .deb ディレクトリツリーã®å…ˆé ã‚’è¨å®šã—ã¾ã™ã€‚デフォルト㯠+ <filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename> ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>SrcDirectory</term> + <listitem><para> +<!-- + Sets the top of the source package directory tree. Defaults to + <filename>$(DIST)/$(SECTION)/source/</filename></para></listitem> +--> + ソースパッケージディレクトリツリーã®å…ˆé ã‚’è¨å®šã—ã¾ã™ã€‚デフォルト㯠+ <filename>$(DIST)/$(SECTION)/source/</filename> ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Packages</term> + <listitem><para> +<!-- + Sets the output Packages file. Defaults to + <filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename></para></listitem> +--> + Packages ファイルã®å‡ºåŠ›å…ˆã‚’è¨å®šã—ã¾ã™ã€‚デフォルト㯠+ <filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename> ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Sources</term> + <listitem><para> +<!-- + Sets the output Packages file. Defaults to + <filename>$(DIST)/$(SECTION)/source/Sources</filename></para></listitem> +--> + Packages ファイルã®å‡ºåŠ›å…ˆã‚’è¨å®šã—ã¾ã™ã€‚デフォルト㯠+ <filename>$(DIST)/$(SECTION)/source/Sources</filename> ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>InternalPrefix</term> + <listitem><para> +<!-- + Sets the path prefix that causes a symlink to be + considered an internal link instead of an external link. Defaults to + <filename>$(DIST)/$(SECTION)/</filename></para></listitem> +--> + 外部リンクã§ã¯ãªãã€å†…部リンクã¨è¦‹ãªã™åˆ¤æ–ææ–™ã¨ãªã‚‹ã€ + パスã®ãƒ—レフィックスをè¨å®šã—ã¾ã™ã€‚デフォルトã¯ã€ + <filename>$(DIST)/$(SECTION)/</filename> ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Contents</term> + <listitem><para> +<!-- + Sets the output Contents file. Defaults to + <filename>$(DIST)/Contents-$(ARCH)</filename>. If this setting causes multiple + Packages files to map onto a single Contents file (such as the default) + then <command>apt-ftparchive</command> will integrate those package files + together automatically.</para></listitem> +--> + Contents ファイルã®å‡ºåŠ›å…ˆã‚’è¨å®šã—ã¾ã™ã€‚デフォルトã¯ã€ + <filename>$(DIST)/Contents-$(ARCH)</filename> ã§ã™ã€‚ + 複数㮠Packages ファイルを ã²ã¨ã¤ã® Contents ファイルã«ã¾ã¨ã‚られるè¨å®š + (デフォルト) ã®å ´åˆã€<command>apt-ftparchive</command> + ã¯è‡ªå‹•ã§ãƒ‘ッケージファイルをã¾ã¨ã‚ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Contents::Header</term> + <listitem><para> +<!-- + Sets header file to prepend to the contents output.</para></listitem> +--> + contents ã®å‡ºåŠ›ã«ä»˜ã‘るヘッダファイルをè¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>BinCacheDB</term> + <listitem><para> +<!-- + Sets the binary cache database to use for this + section. Multiple sections can share the same database.</para></listitem> +--> + ã“ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã§ä½¿ç”¨ã™ã‚‹ãƒã‚¤ãƒŠãƒªã‚ャッシュデータベースをè¨å®šã—ã¾ã™ã€‚ + 複数ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã§åŒã˜ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚’共有ã§ãã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>FileList</term> + <listitem><para> +<!-- + Specifies that instead of walking the directory tree, + <command>apt-ftparchive</command> should read the list of files from the given + file. Relative files names are prefixed with the archive directory.</para></listitem> +--> + ディレクトリツリーを走査ã™ã‚‹ä»£ã‚ã‚Šã«ã€<command>apt-ftparchive</command> + ãŒèªã¿è¾¼ã‚€ãƒ•ã‚¡ã‚¤ãƒ«ä¸€è¦§ãƒ•ã‚¡ã‚¤ãƒ«ã‚’指定ã—ã¾ã™ã€‚ + 相対ファイルåã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ディレクトリãŒå…ˆé ã«ã¤ãã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>SourceFileList</term> + <listitem><para> +<!-- + Specifies that instead of walking the directory tree, + <command>apt-ftparchive</command> should read the list of files from the given + file. Relative files names are prefixed with the archive directory. + This is used when processing source indexs.</para></listitem> +--> + ディレクトリツリーを走査ã™ã‚‹ä»£ã‚ã‚Šã«ã€<command>apt-ftparchive</command> + ãŒèªã¿è¾¼ã‚€ãƒ•ã‚¡ã‚¤ãƒ«ä¸€è¦§ãƒ•ã‚¡ã‚¤ãƒ«ã‚’指定ã—ã¾ã™ã€‚ + 相対ファイルåã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ディレクトリãŒå…ˆé ã«ã¤ãã¾ã™ã€‚ + ソースインデックスを処ç†ã™ã‚‹éš›ã«ä½¿ç”¨ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect2> + +<!-- + <refsect2><title>Tree Section</title> +--> + <refsect2><title>Tree セクション</title> + <para> +<!-- + The <literal>Tree</literal> section defines a standard Debian file tree which + consists of a base directory, then multiple sections in that base + directory and finally multiple Architectures in each section. The exact + pathing used is defined by the <literal>Directory</literal> substitution variable.</para> +--> + <literal>Tree</literal> セクションã§ã¯ã€ + ベースディレクトリã‹ã‚‰ã®æ¨™æº– Debian ファイルツリー〠+ ベースディレクトリã®è¤‡æ•°ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã€ + 最終的ã«ã¯ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã”ã¨ã®è¤‡æ•°ã®ã‚¢ãƒ¼ã‚テクãƒãƒ£ã‚’定義ã—ã¾ã™ã€‚ + 使用ã™ã‚‹æ£ç¢ºãªãƒ‘スã¯ã€<literal>Directory</literal> 変数ã§å®šç¾©ã•ã‚Œã¾ã™ã€‚</para> + <para> +<!-- + The <literal>Tree</literal> section takes a scope tag which sets the + <literal>$(DIST)</literal> variable and defines the root of the tree + (the path is prefixed by <literal>ArchiveDir</literal>). + Typically this is a setting such as <filename>dists/woody</filename>.</para> +--> + <literal>Tree</literal> セクションã¯ã€ + <literal>$(DIST)</literal> 変数ã§è¨å®šã•ã‚Œã¦ã„るスコープタグをã¨ã‚Šã€ + ツリーã®ãƒ«ãƒ¼ãƒˆ (<literal>ArchiveDir</literal>ãŒå…ˆé ã«ã¤ãパス) + を定義ã—ã¾ã™ã€‚ + 通常ã€ã“ã®è¨å®šã¯ <filename>dists/woody</filename> ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚</para> + <para> +<!-- + All of the settings defined in the <literal>TreeDefault</literal> section can be + use in a <literal>Tree</literal> section as well as three new variables.</para> +--> + <literal>TreeDefault</literal> セクションã§å®šç¾©ã•ã‚Œã‚‹è¨å®šã¯ã™ã¹ã¦ã€ + 3 個ã®æ–°ã—ã„変数ã¨åŒæ§˜ã«ã€ + <literal>Tree</literal> セクションã§ä½¿ç”¨ã§ãã¾ã™ã€‚</para> + <para> +<!-- + When processing a <literal>Tree</literal> section <command>apt-ftparchive</command> + performs an operation similar to: +--> + <literal>Tree</literal> セクションを処ç†ã™ã‚‹éš›ã€ + <command>apt-ftparchive</command> ã¯ä»¥ä¸‹ã®ã‚ˆã†ãªæ“作を行ã„ã¾ã™ã€‚ +<informalexample><programlisting> +for i in Sections do + for j in Architectures do + Generate for DIST=scope SECTION=i ARCH=j +</programlisting></informalexample></para> + + <variablelist> + <varlistentry><term>Sections</term> + <listitem><para> +<!-- + This is a space separated list of sections which appear + under the distribution, typically this is something like + <literal>main contrib non-free</literal></para></listitem> +--> + distribution 以下ã«ç¾ã‚Œã‚‹ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã‚’ã€ç©ºç™½åŒºåˆ‡ã‚Šã§æŒ‡å®šã—ãŸãƒªã‚¹ãƒˆã§ã™ã€‚ + 通常ã€<literal>main contrib non-free</literal>ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Architectures</term> + <listitem><para> +<!-- + This is a space separated list of all the + architectures that appear under search section. The special architecture + 'source' is used to indicate that this tree has a source archive.</para></listitem> +--> + search セクション以下ã«ç¾ã‚Œã‚‹ã‚¢ãƒ¼ã‚テクãƒãƒ£ã‚’〠+ 空白区切りã§æŒ‡å®šã—ãŸãƒªã‚¹ãƒˆã§ã™ã€‚ + 特殊アーã‚テクãƒãƒ£ 'source' ã¯ã€ + ソースアーカイブã®ãƒ„リーã§ã‚ã‚‹ã“ã¨ã‚’示ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>BinOverride</term> + <listitem><para> +<!-- + Sets the binary override file. The override file + contains section, priority and maintainer address information.</para></listitem> +--> + ãƒã‚¤ãƒŠãƒªã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨å®šã—ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã«ã¯ã€ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã€å„ªå…ˆåº¦ã€ + メンテナã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã¨ã„ã£ãŸæƒ…å ±ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>SrcOverride</term> + <listitem><para> +<!-- + Sets the source override file. The override file + contains section information.</para></listitem> +--> + ソースオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨å®šã—ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã«ã¯ã€ + セクションã®æƒ…å ±ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>ExtraOverride</term> + <listitem><para> +<!-- + Sets the binary extra override file.</para></listitem> +--> + ãƒã‚¤ãƒŠãƒªç‰¹åˆ¥ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>SrcExtraOverride</term> + <listitem><para> +<!-- + Sets the source extra override file.</para></listitem> +--> + ソース特別オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect2> + +<!-- + <refsect2><title>BinDirectory Section</title> +--> + <refsect2><title>BinDirectory セクション</title> + <para> +<!-- + The <literal>bindirectory</literal> section defines a binary directory tree + with no special structure. The scope tag specifies the location of + the binary directory and the settings are similar to the <literal>Tree</literal> + section with no substitution variables or + <literal>Section</literal><literal>Architecture</literal> settings.</para> +--> + <literal>bindirectory</literal> セクションã§ã¯ã€ + 特殊ãªæ§‹é€ ã‚’æŒãŸãªã„ãƒã‚¤ãƒŠãƒªãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ„リーを定義ã—ã¾ã™ã€‚ + スコープタグã¯ãƒã‚¤ãƒŠãƒªãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®å ´æ‰€ã‚’指定ã—〠+ è¨å®šã¯ã€å¤‰æ•°å±•é–‹ã®ãªã„ <literal>Tree</literal> セクションや + <literal>Section</literal><literal>Architecture</literal> è¨å®šã«ä¼¼ã¦ã„ã¾ã™ã€‚</para> + <variablelist> + <varlistentry><term>Packages</term> + <listitem><para> +<!-- + Sets the Packages file output.</para></listitem> +--> + Packages ファイルã®å‡ºåŠ›å…ˆã‚’è¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>SrcPackages</term> + <listitem><para> +<!-- + Sets the Sources file output. At least one of + <literal>Packages</literal> or <literal>SrcPackages</literal> is required.</para></listitem> +--> + Sources ファイルã®å‡ºåŠ›å…ˆã‚’è¨å®šã—ã¾ã™ã€‚ + å°‘ãªãã¨ã‚‚ <literal>Packages</literal> ã‚„ <literal>SrcPackages</literal> + ã¯è¨å®šã•ã‚Œã¦ã„ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。</para></listitem> + </varlistentry> + + <varlistentry><term>Contents</term> + <listitem><para> +<!-- + Sets the Contents file output. (optional)</para></listitem> +--> + Contents ファイルã®å‡ºåŠ›å…ˆã‚’è¨å®šã—ã¾ã™ã€‚(オプション)</para></listitem> + </varlistentry> + + <varlistentry><term>BinOverride</term> + <listitem><para> +<!-- + Sets the binary override file.</para></listitem> +--> + ãƒã‚¤ãƒŠãƒªã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>SrcOverride</term> + <listitem><para> +<!-- + Sets the source override file.</para></listitem> +--> + ソースオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>ExtraOverride</term> + <listitem><para> +<!-- + Sets the binary extra override file.</para></listitem> +--> + ãƒã‚¤ãƒŠãƒªç‰¹åˆ¥ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>SrcExtraOverride</term> + <listitem><para> +<!-- + Sets the source extra override file.</para></listitem> +--> + ソース特別オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>BinCacheDB</term> + <listitem><para> +<!-- + Sets the cache DB.</para></listitem> +--> + ã‚ャッシュ DB ã‚’è¨å®šã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>PathPrefix</term> + <listitem><para> +<!-- + Appends a path to all the output paths.</para></listitem> +--> + 全出力パスã«ä»˜åŠ ã™ã‚‹ãƒ‘ス。</para></listitem> + </varlistentry> + + <varlistentry><term>FileList, SourceFileList</term> + <listitem><para> +<!-- + Specifies the file list file.</para></listitem> +--> + ファイル一覧ファイルを指定ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect2> + </refsect1> + + +<!-- + <refsect1><title>The Binary Override File</title> +--> + <refsect1><title>ãƒã‚¤ãƒŠãƒªã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«</title> +<!-- + <para>The binary override file is fully compatible with &dpkg-scanpackages;. It + contains 4 fields separated by spaces. The first field is the package name, + the second is the priority to force that package to, the third is the + the section to force that package to and the final field is the maintainer + permutation field.</para> +--> + <para>ãƒã‚¤ãƒŠãƒªã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€ + &dpkg-scanpackages; ã¨å®Œå…¨ã«äº’æ›æ€§ãŒã‚ã‚Šã¾ã™ã€‚ + ã“ã“ã«ã¯ã€ç©ºç™½åŒºåˆ‡ã‚Šã§ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãŒ 4 個ã‚ã‚Šã¾ã™ã€‚ + å…ˆé ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯ãƒ‘ッケージå〠+ 2 番目ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯ãƒ‘ッケージã«å¼·åˆ¶ã™ã‚‹å„ªå…ˆåº¦ã€ + 3 番目ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯ãƒ‘ッケージã«å¼·åˆ¶ã™ã‚‹ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã€ + 最後ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯ãƒ¡ãƒ³ãƒ†ãƒŠé †åˆ—フィールドã§ã™ã€‚</para> +<!-- + <para>The general form of the maintainer field is: + <literallayout>old [// oldn]* => new</literallayout> + or simply, + <literallayout>new</literallayout> + The first form allows a double-slash separated list of old email addresses + to be specified. If any of those are found then new is substituted for the + maintainer field. The second form unconditionally substitutes the + maintainer field.</para> +--> + <para>メンテナフィールドã¯ä¸€èˆ¬çš„ã«ã¯ã€ + <literallayout>old [// oldn]* => new</literallayout> + ã¨ã„ã†å½¢å¼ã‹ã€å˜ç´”ã« + <literallayout>new</literallayout> + ã¨ãªã‚Šã¾ã™ã€‚ + 最åˆã®å½¢å¼ã¯ã€// ã§åŒºåˆ‡ã‚‰ã‚ŒãŸå¤ã„ email アドレスã®ãƒªã‚¹ãƒˆã‚’許å¯ã—ã¾ã™ã€‚ + ã“ã®å½¢å¼ãŒã‚ã‚‹å ´åˆã¯ã€ãƒ¡ãƒ³ãƒ†ãƒŠãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«ãªã‚‹ã‚ˆã† new ã«ç½®æ›ã—ã¦ãã ã•ã„。 + 2 番目ã®å½¢å¼ã¯ç„¡æ¡ä»¶ã«ãƒ¡ãƒ³ãƒ†ãƒŠãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«ç½®æ›ã—ã¾ã™ã€‚</para> + </refsect1> + + +<!-- + <refsect1><title>The Source Override File</title> +--> + <refsect1><title>ソースオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«</title> + <para> +<!-- + The source override file is fully compatible with &dpkg-scansources;. It + contains 2 fields separated by spaces. The first fields is the source + package name, the second is the section to assign it.</para> +--> + ソースオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€ + &dpkg-scansources; ã¨å®Œå…¨ã«äº’æ›æ€§ãŒã‚ã‚Šã¾ã™ã€‚ + ã“ã“ã«ã¯ã€ç©ºç™½åŒºåˆ‡ã‚Šã§ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãŒ 2 個ã‚ã‚Šã¾ã™ã€‚ + å…ˆé ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯ã‚½ãƒ¼ã‚¹ãƒ‘ッケージå〠+ 2 番目ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯å‰²ã‚Šå½“ã¦ã‚‹ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã§ã™ã€‚</para> + </refsect1> + +<!-- + <refsect1><title>The Extra Override File</title> +--> + <refsect1><title>特別オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«</title> + <para> +<!-- + The extra override file allows any arbitrary tag to be added or replaced + in the output. It has 3 columns, the first is the package, the second is + the tag and the remainder of the line is the new value.</para> +--> + 特別オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€ + 出力ä¸ã«ä»»æ„ã®ã‚¿ã‚°ã‚’è¿½åŠ ãƒ»ç½®æ›ã§ãるよã†ã«ã—ã¾ã™ã€‚ + 3 列ã‹ã‚‰ãªã‚Šã€å…ˆé ã¯ãƒ‘ッケージã€2番目ã¯ã‚¿ã‚°ã€æ®‹ã‚Šã¯æ–°ã—ã„値ã§ã™ã€‚</para> + </refsect1> + +<!-- + <refsect1><title>options</title> +--> + <refsect1><title>オプション</title> + &apt-cmdblurb; + + <variablelist> + <varlistentry><term><option>--md5</option></term> + <listitem><para> +<!-- + Generate MD5 sums. This defaults to on, when turned off the generated + index files will not have MD5Sum fields where possible. + Configuration Item: <literal>APT::FTPArchive::MD5</literal></para></listitem> +--> + MD5 sum を生æˆã—ã¾ã™ã€‚デフォルト㧠on ã«ãªã£ã¦ãŠã‚Šã€ + off ã«ã™ã‚‹ã¨ç”Ÿæˆã—ãŸã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã« MD5Sum フィールドãŒã‚ã‚Šã¾ã›ã‚“。 + è¨å®šé …ç›® - <literal>APT::FTPArchive::MD5</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-d</option></term><term><option>--db</option></term> + <listitem><para> +<!-- + Use a binary caching DB. This has no effect on the generate command. + Configuration Item: <literal>APT::FTPArchive::DB</literal>.</para></listitem> +--> + ãƒã‚¤ãƒŠãƒªã‚ャッシュ DB を使用ã—ã¾ã™ã€‚ + generate コマンドã«ã¯å½±éŸ¿ã—ã¾ã›ã‚“。 + è¨å®šé …ç›® - <literal>APT::FTPArchive::DB</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-q</option></term><term><option>--quiet</option></term> + <listitem><para> +<!-- + Quiet; produces output suitable for logging, omitting progress indicators. + More q's will produce more quiet up to a maximum of 2. You can also use + <option>-q=#</option> to set the quiet level, overriding the configuration file. + Configuration Item: <literal>quiet</literal>.</para></listitem> +--> + é™ç²› - 進æ—表示をçœç•¥ã—ã€ãƒã‚°ã‚’ã¨ã‚‹ã®ã«ä¾¿åˆ©ãªå‡ºåŠ›ã‚’è¡Œã„ã¾ã™ã€‚ + 最大 2 ã¤ã¾ã§ q ã‚’é‡ãã‚‹ã“ã¨ã§ã‚ˆã‚Šé™ç²›ã«ã§ãã¾ã™ã€‚ + ã¾ãŸã€<option>-q=#</option> ã®ã‚ˆã†ã«é™ç²›ãƒ¬ãƒ™ãƒ«ã‚’指定ã—ã¦ã€ + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’上書ãã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>quiet</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--delink</option></term> + <listitem><para> +<!-- + Perform Delinking. If the <literal>External-Links</literal> setting is used then + this option actually enables delinking of the files. It defaults to on and + can be turned off with <option>-\-no-delink</option>. + Configuration Item: <literal>APT::FTPArchive::DeLinkAct</literal>.</para></listitem> +--> + Delink を実行ã—ã¾ã™ã€‚ + <literal>External-Links</literal> è¨å®šã‚’使用ã—ã¦ã„ã‚‹å ´åˆã€ + ã“ã®ã‚ªãƒ—ションã¯ãƒ•ã‚¡ã‚¤ãƒ«ã® delink を有効ã«ã—ã¾ã™ã€‚ + デフォルト㯠on ã§ã€ + off ã«ã™ã‚‹ã«ã¯ <option>--no-delink</option> ã¨ã—ã¦ãã ã•ã„。 + è¨å®šé …ç›® - <literal>APT::FTPArchive::DeLinkAct</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--contents</option></term> + <listitem><para> +<!-- + Perform contents generation. When this option is set and package indexes + are being generated with a cache DB then the file listing will also be + extracted and stored in the DB for later use. When using the generate + command this option also allows the creation of any Contents files. The + default is on. + Configuration Item: <literal>APT::FTPArchive::Contents</literal>.</para></listitem> +--> + contents ã®ç”Ÿæˆã‚’è¡Œã„ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã—〠+ パッケージインデックスをã‚ャッシュ DB ã¨å…±ã«ç”Ÿæˆã™ã‚‹éš›ã€ + ファイルリストを後ã§ä½¿ç”¨ã™ã‚‹ã‚ˆã†ã«ã€æŠ½å‡ºã— DB ã«æ ¼ç´ã—ã¾ã™ã€‚ + generate コマンドを使用ã™ã‚‹éš›ã€ + ã“ã®ã‚ªãƒ—ションã§ã„ãšã‚Œã® Contents ファイルも作æˆã§ãã¾ã™ã€‚ + デフォルト㯠on ã§ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::FTPArchive::Contents</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-s</option></term><term><option>--source-override</option></term> + <listitem><para> +<!-- + Select the source override file to use with the <literal>sources</literal> command. + Configuration Item: <literal>APT::FTPArchive::SourceOverride</literal>.</para></listitem> +--> + <literal>sources</literal> コマンドã§ä½¿ç”¨ã™ã‚‹ã€ + ソースオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’é¸æŠžã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::FTPArchive::SourceOverride</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--readonly</option></term> + <listitem><para> +<!-- + Make the caching databases read only. + Configuration Item: <literal>APT::FTPArchive::ReadOnlyDB</literal>.</para></listitem> +--> + ã‚ャッシュデータベースをèªã¿å–り専用ã«ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::FTPArchive::ReadOnlyDB</literal></para></listitem> + </varlistentry> + + &apt-commonoptions; + + </variablelist> + </refsect1> + +<!-- +<refsect1><title>Examples</title> +--> +<refsect1><title>サンプル</title> + +<!-- +<para>To create a compressed Packages file for a directory containing +binary packages (.deb): +--> +<para>ãƒã‚¤ãƒŠãƒªãƒ‘ッケージ (.deb) ãŒã‚るディレクトリ㮠+Packages ファイルを生æˆã™ã‚‹ã«ã¯ã€ä»¥ä¸‹ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ + +<programlisting> +<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename> +</programlisting></para> + +</refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> + <para>&apt-conf;</para> + </refsect1> + +<!-- + <refsect1><title>Diagnostics</title> +--> + <refsect1><title>診æ–メッセージ</title> +<!-- + <para><command>apt-ftparchive</command> returns zero on normal operation, decimal 100 on error.</para> +--> + <para><command>apt-ftparchive</command> ã¯æ£å¸¸çµ‚了時㫠0 ã‚’è¿”ã—ã¾ã™ã€‚ + エラー時ã«ã¯å進㮠100 ã‚’è¿”ã—ã¾ã™ã€‚</para> + </refsect1> + + &manbugs; + &translator; + +</refentry> diff --git a/doc/ja/apt-get.ja.8.sgml b/doc/ja/apt-get.ja.8.sgml deleted file mode 100644 index 156f83699..000000000 --- a/doc/ja/apt-get.ja.8.sgml +++ /dev/null @@ -1,857 +0,0 @@ -<!-- -*- mode: sgml; mode: fold -*- --> -<!-- translation of version 1.12 --> -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ - -<!ENTITY % aptent SYSTEM "apt.ent.ja"> -%aptent; - -]> - -<refentry lang=ja> - &apt-docinfo; - - <refmeta> - <refentrytitle>apt-get</> - <manvolnum>8</> - </refmeta> - - <!-- Man page title --> - <refnamediv> - <refname>apt-get</> -<!-- - <refpurpose>APT package handling utility - - command-line interface</> ---> - <refpurpose>APT ¥Ñ¥Ã¥±¡¼¥¸Áàºî¥æ¡¼¥Æ¥£¥ê¥Æ¥£ -- ¥³¥Þ¥ó¥É¥é¥¤¥ó¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹</> - </refnamediv> - - <!-- Arguments --> - <refsynopsisdiv> - <cmdsynopsis> - <command>apt-get</> - <arg><option>-hvs</></arg> - <arg><option>-o=<replaceable/config string/</></arg> - <arg><option>-c=<replaceable/file/</></arg> - <group choice=req> - <arg>update</> - <arg>upgrade</> - <arg>dselect-upgrade</> - <arg>install <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> - <arg>remove <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> - <arg>source <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> - <arg>build-dep <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> - <arg>check</> - <arg>clean</> - <arg>autoclean</> - </group> - </cmdsynopsis> - </refsynopsisdiv> - -<!-- - <RefSect1><Title>Description</> ---> - <RefSect1><Title>ÀâÌÀ</> - <para> -<!-- - <command/apt-get/ is the command-line tool for handling packages, and may be - considered the user's "back-end" to other tools using the APT library. ---> - <command/apt-get/ ¤Ï¥Ñ¥Ã¥±¡¼¥¸¤òÁàºî¤¹¤ë¥³¥Þ¥ó¥É¥é¥¤¥ó¥Ä¡¼¥ë¤Ç¡¢ - APT ¥é¥¤¥Ö¥é¥ê¤òÍѤ¤¤ë¾¤Î¥Ä¡¼¥ë¤Î¥æ¡¼¥¶Â¦¥Ð¥Ã¥¯¥¨¥ó¥É¤È¤â¤¤¤¨¤ë¤â¤Î¤Ç¤¹¡£ - </para> - <para> -<!-- - Unless the <option/-h/, or <option/- -help/ option is given one of the - commands below must be present. ---> - <option/-h/ ¤ä <option/--help/ ¤ò½ü¤¡¢°Ê²¼¤Ëµó¤²¤ë¥³¥Þ¥ó¥É¤¬É¬ÍפǤ¹¡£ - </para> - <VariableList> - <VarListEntry><Term>update</Term> - <ListItem><Para> -<!-- - <literal/update/ is used to resynchronize the package index files from - their sources. The indexes of available packages are fetched from the - location(s) specified in <filename>/etc/apt/sources.list</>. - For example, when using a Debian archive, this command retrieves and - scans the <filename>Packages.gz</> files, so that information about new - and updated packages is available. An <literal/update/ should always be - performed before an <literal/upgrade/ or <literal/dist-upgrade/. Please - be aware that the overall progress meter will be incorrect as the size - of the package files cannot be known in advance. ---> - <literal/update/ ¤Ï¤½¤ì¤¾¤ì¼èÆÀ¸µ¤«¤é¥Ñ¥Ã¥±¡¼¥¸¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤Î - ºÆƱ´ü¤ò¹Ô¤¦¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£ÍøÍѲÄǽ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ï - <filename>/etc/apt/sources.list</> ¤Ëµ½Ò¤·¤¿¾ì½ê¤«¤é¼èÆÀ¤·¤Þ¤¹¡£ - Î㤨¤Ð Debian archive ¤òÍøÍѤ¹¤ëºÝ¡¢¤³¤Î¥³¥Þ¥ó¥É¤¬ <filename>Packages.gz</> - ¥Õ¥¡¥¤¥ë¤ò¸¡º÷¤¹¤ë¤³¤È¤Ç¡¢¿·µ¬¤Þ¤¿¤Ï¹¹¿·¤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¾ðÊó¤¬ÍøÍѲÄǽ - ¤È¤Ê¤ê¤Þ¤¹¡£<literal/update/ ¤Ï <literal/upgrade/ ¤ä - <literal/dist-upgrade/ ¤ò¹Ô¤¦Á°¤Ë¾ï¤Ë¼Â¹Ô¤¹¤ë¤Ù¤¤Ç¤¹¡£ - Á°¤â¤Ã¤Æ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¤òÃΤ뤳¤È¤¬¤Ç¤¤Ê¤¤¤¿¤á¡¢ - Á´ÂÎ¤Î¥×¥í¥°¥ì¥¹¥á¡¼¥¿¤ÏÀµ¤·¤¯É½¼¨¤µ¤ì¤Þ¤»¤ó¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>upgrade</Term> - <ListItem><Para> -<!-- - <literal/upgrade/ is used to install the newest versions of all packages - currently installed on the system from the sources enumerated in - <filename>/etc/apt/sources.list</>. Packages currently installed with - new versions available are retrieved and upgraded; under no circumstances - are currently installed packages removed, or packages not already installed - retrieved and installed. New versions of currently installed packages that - cannot be upgraded without changing the install status of another package - will be left at their current version. An <literal/update/ must be - performed first so that <command/apt-get/ knows that new versions of packages are - available. ---> - <literal/upgrade/ ¤Ï¡¢¸½ºß¥·¥¹¥Æ¥à¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ëÁ´¥Ñ¥Ã¥±¡¼¥¸¤Î - ºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤ò¡¢<filename>/etc/apt/sources.list</> ¤ËÎóµó¤·¤¿¼èÆÀ¸µ¤«¤é - ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£¸½ºß¥¤¥ó¥¹¥È¡¼¥ëÃæ¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¿·¤·¤¤ - ¥Ð¡¼¥¸¥ç¥ó¤¬¤¢¤ì¤Ð¹¹¿·¤·¤Þ¤¹¤¬¡¢¤¤¤«¤Ê¤ë»þ¤â¸½ºß¥¤¥ó¥¹¥È¡¼¥ëÃæ¤Î - ¥Ñ¥Ã¥±¡¼¥¸¤Îºï½ü¤Ï¹Ô¤¤¤Þ¤»¤ó¡£ÂоݤΥѥ屡¼¥¸¤¬ - ¾¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¾õÂÖ¤òÊѹ¹¤»¤º¤Ë¹¹¿·¤Ç¤¤Ê¤¤¾ì¹ç¤Ï¡¢ - ¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¤Þ¤Þ¤È¤Ê¤ê¤Þ¤¹¡£ - <literal/update/ ¤ò¤Ï¤¸¤á¤Ë¼Â¹Ô¤·¤Æ¤ª¤¤¤Æ¡¢<command/apt-get/ ¤Ë - ¥Ñ¥Ã¥±¡¼¥¸¤Î¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤¬ÍøÍѤǤ¤ë¤³¤È¤òÃΤ餻¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>dselect-upgrade</Term> - <ListItem><Para> -<!-- - is used in conjunction with the traditional Debian GNU/Linux packaging - front-end, &dselect;. <literal/dselect-upgrade/ - follows the changes made by &dselect; to the <literal/Status/ - field of available packages, and performs the actions necessary to realize - that state (for instance, the removal of old and the installation of new - packages). ---> - ÅÁÅýŪ¤Ê Debian GNU/Linux ¥Ñ¥Ã¥±¡¼¥¸´ÉÍý¥Õ¥í¥ó¥È¥¨¥ó¥É¤Î &dselect; - ¤È¶¦¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£<literal/dselect-upgrade/ ¤Ï &dselect; ¤Çºî¤é¤ì¤¿ - ÍøÍѲÄǽ¥Ñ¥Ã¥±¡¼¥¸¤Î <literal/Status/ ¥Õ¥£¡¼¥ë¥É¤ÎÊѹ¹¤òÄÉÀפ·¡¢ - ¤½¤Î¾õÂÖ¤òÈ¿±Ç¤µ¤»¤ë¤Î¤ËɬÍפʥ¢¥¯¥·¥ç¥ó¤ò¼Â¹Ô¤·¤Þ¤¹¡£ - (Î㤨¤Ð¡¢¸Å¤¤¥Ñ¥Ã¥±¡¼¥¸¤Îºï½ü¤ä¿·¤·¤¤¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ê¤É) - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>dist-upgrade</Term> - <ListItem><Para> -<!-- - <literal/dist-upgrade/, in addition to performing the function of - <literal/upgrade/, also intelligently handles changing dependencies - with new versions of packages; <command/apt-get/ has a "smart" conflict - resolution system, and it will attempt to upgrade the most important - packages at the expense of less important ones if necessary. - The <filename>/etc/apt/sources.list</> file contains a list of locations - from which to retrieve desired package files. ---> - <literal/dist-upgrade/ ¤Ï <literal/upgrade/ ¤Îµ¡Ç½¤Ë²Ã¤¨¡¢¿·¥Ð¡¼¥¸¥ç¥ó¤Î - ¥Ñ¥Ã¥±¡¼¥¸¤ËÂФ¹¤ë°Í¸´Ø·¸¤ÎÊѹ¹¤òÃÎŪ¤ËÁàºî¤·¤Þ¤¹¡£ - <command/apt-get/ ¤Ï¡ÖÀöÎý¤µ¤ì¤¿¡×¶¥¹ç²ò·è¥·¥¹¥Æ¥à¤ò»ý¤Á¡¢É¬Íפʤé - Èæ³ÓŪ½ÅÍפǤʤ¤¥Ñ¥Ã¥±¡¼¥¸¤òµ¾À·¤Ë¤·¤Æ¡¢ºÇ½ÅÍץѥ屡¼¥¸¤Î¹¹¿·¤ò - »î¤ß¤Þ¤¹¡£ - <filename>/etc/apt/sources.list</> ¥Õ¥¡¥¤¥ë¤ËɬÍפʥѥ屡¼¥¸¥Õ¥¡¥¤¥ë¤ò - ¸¡º÷¤¹¤ë¾ì½ê¤Î¥ê¥¹¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>install</Term> - <ListItem><Para> -<!-- - <literal/install/ is followed by one or more packages desired for - installation. Each package is a package name, not a fully qualified - filename (for instance, in a Debian GNU/Linux system, libc6 would be the - argument provided, not em(libc6_1.9.6-2.deb)). All packages required - by the package(s) specified for installation will also be retrieved and - installed. The <filename>/etc/apt/sources.list</> file is used to locate - the desired packages. If a hyphen is appended to the package name (with - no intervening space), the identified package will be removed if it is - installed. Similarly a plus sign can be used to designate a package to - install. These latter features may be used to override decisions made by - apt-get's conflict resolution system. ---> - <literal/install/ ¤Î¸å¤Ë¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò1¤Ä°Ê¾å»ØÄꤷ¤Þ¤¹¡£ - »ØÄꤹ¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢´°Á´¤Ê¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¤Ê¤¯¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Ç¤¹¡£ - (Î㤨¤Ð Debian GNU/Linux ¥·¥¹¥Æ¥à¤Ç¤Ï libc6_1.9.6-2.deb ¤Ç¤Ï¤Ê¤¯ libc6 ¤ò - °ú¿ô¤È¤·¤ÆÍ¿¤¨¤Þ¤¹) ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤è¤¦»ØÄꤷ¤¿¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸¤ËÂФ· - ¸¡º÷¡¦¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤¤¤Þ¤¹¡£<filename>/etc/apt/sources.list</> ¥Õ¥¡¥¤¥ë - ¤ò¡¢Í׵᤹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Î¾ì½ê¤òÆÃÄꤹ¤ë¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£ - ¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Î¸å¤í¤Ë (¶õÇò¤ò´Þ¤Þ¤º) ¥Ï¥¤¥Õ¥ó¤¬Äɲ䵤ì¤Æ¤¤¤ë¾ì¹ç¡¢ - ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ì¤Ðºï½ü¤·¤Þ¤¹¡£ - ƱÍͤˡ¢¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤òÌÀ¼¨¤¹¤ë¤Î¤Ë¥×¥é¥¹µ¹æ¤â»ÈÍѤǤ¤Þ¤¹¡£ - ¤³¤Îʸ»ú¤Ï apt-get ¤Î¶¥¹ç²ò·è¥·¥¹¥Æ¥à¤ÎȽÃǤËÍøÍѤµ¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ - </para> - <para> -<!-- - A specific version of a package can be selected for installation by - following the package name with an equals and the version of the package - to select. This will cause that version to be located and selected for - install. Alternatively a specific distribution can be selected by - following the package name with a slash and the version of the - distribution or the Archive name (stable, frozen, unstable). ---> - ¥Ñ¥Ã¥±¡¼¥¸¤Ë¥¤¥³¡¼¥ëµ¹æ¤È¥Ð¡¼¥¸¥ç¥ó¤ò³¤±¤ë¤³¤È¤Ç¡¢ - ÁªÂò¤·¤¿¥Ð¡¼¥¸¥ç¥ó¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - ¤Ä¤Þ¤ê»ØÄê¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤è¤¦¤ËÁªÂò - ¤¹¤ë¤È¤¤¤¤¤¦¤³¤È¤Ç¤¹¡£ - Ê̤ÎÊýË¡¤È¤·¤Æ¤Ï¡¢¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤òÆÃÄꤹ¤ë¤Î¤Ë¡¢ - ¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Î¸å¤Ë³¤¤¤Æ¥¹¥é¥Ã¥·¥å¤È¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Î¥Ð¡¼¥¸¥ç¥ó¤ä - ¥¢¡¼¥«¥¤¥Ö̾ (stable, frozen, unstable) ¤òµ½Ò¤Ç¤¤Þ¤¹¡£ - </para> - <para> - ¥Ð¡¼¥¸¥ç¥óÁªÂòµ¡¹½¤Ï¥À¥¦¥ó¥°¥ì¡¼¥É»þ¤Ë¤â»ÈÍѤǤ¤ë¤¿¤á¡¢Ãí°Õ¤òʧ¤Ã¤Æ - »ÈÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ - </para> - <para> -<!-- - If no package matches the given expression and the expression contains one - of '.', '?' or '*' then it is assumed to be a POSIX regex and it is applied - to all package names in the database. Any matches are then installed (or - removed). Note that matching is done by substring so 'lo.*' matches 'how-lo' - and 'lowest'. If this is undesired prefix with a '^' character. ---> - ¤â¤·'.'¡¢'?'¡¢'*'¤ò´Þ¤à¹½Ê¸¤Ë°ì¤Ä¤â¥Ñ¥Ã¥±¡¼¥¸Ì¾¤¬¥Þ¥Ã¥Á¤·¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ - POSIX Àµµ¬É½¸½¤Ç¤¢¤ë¤È¸«¤Ê¤·¡¢¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÁ´¥Ñ¥Ã¥±¡¼¥¸Ì¾¤ËÂФ·¤Æ - ŬÍѤ·¤Þ¤¹¡£ - ¥Þ¥Ã¥Á¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤¹¤Ù¤Æ¤¬¥¤¥ó¥¹¥È¡¼¥ë(¤â¤·¤¯¤Ïºï½ü)¤µ¤ì¤Þ¤¹¡£ - Ãí) 'lo.*' ¤Î¤è¤¦¤Êʸ»úÎó¤Ï 'how-lo' ¤ä 'lowest' ¤Ë¥Þ¥Ã¥Á¤·¤Þ¤¹¡£ - ¤³¤ì¤ò˾¤Þ¤Ê¤±¤ì¤Ð¡¢ÀèƬ¤Ë '^' ¤ò¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>remove</Term> - <ListItem><Para> -<!-- - <literal/remove/ is identical to <literal/install/ except that packages are - removed instead of installed. If a plus sign is appended to the package - name (with no intervening space), the identified package will be - installed. ---> - <literal/remove/ ¤Ï ¥Ñ¥Ã¥±¡¼¥¸¤¬ºï½ü¤µ¤ì¤ë¤³¤È¤ò½ü¤¡¢<literal/install/ - ¤ÈƱÍͤǤ¹¡£ - ¥×¥é¥¹µ¹æ¤¬¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Ë (´Ö¤Ë¶õÇò¤ò´Þ¤Þ¤º¤Ë) Éղ䵤줿¾ì¹ç¡¢ - ¼±Ê̤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>source</Term> - <ListItem><Para> -<!-- - <literal/source/ causes <command/apt-get/ to fetch source packages. APT - will examine the available packages to decide which source package to - fetch. It will then find and download into the current directory the - newest available version of that source package. Source packages are - tracked separately from binary packages via <literal/deb-src/ type lines - in the &sources-list; file. This probably will mean that you will not - get the same source as the package you have installed or as you could - install. If the - -compile options is specified then the package will be - compiled to a binary .deb using dpkg-buildpackage, if - -download-only is - specified then the source package will not be unpacked. ---> - <literal/source/ ¤Ï¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¼èÆÀ¤¹¤ë¤è¤¦ <command/apt-get/ - ¤¹¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ - APT ¤Ï¤É¤Î¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¼èÆÀ¤¹¤ë¤«·èÄꤹ¤ë¤è¤¦¡¢ÍøÍѲÄǽ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤ò - ¸¡Æ¤¤·¤Þ¤¹¡£ - ¤½¤Î¸å¡¢ºÇ¿·¤ÎÍøÍѲÄǽ¤Ê¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¸«¤Ä¤±¡¢¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ø - ¥À¥¦¥ó¥í¡¼¥É¤·¤Þ¤¹¡£ - ¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤È¤ÏÊÌ¤Ë &sources-list; ¥Õ¥¡¥¤¥ë¤Î - <literal/deb-src/ ¹Ô¤è¤êÄÉÀפµ¤ì¤Þ¤¹¡£ - ¤³¤ì¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿ (¤Þ¤¿¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤¤ë) ¥Ñ¥Ã¥±¡¼¥¸¤È¡¢ - ¼èÆÀ¸µ¤òÊѤ¨¤ë¤³¤È¤¬¤Ç¤¤ë¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ - --compile ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢dpkg-buildpackage ¤òÍѤ¤¤Æ - ¥Ð¥¤¥Ê¥ê .deb ¥Õ¥¡¥¤¥ë¤Ø¥³¥ó¥Ñ¥¤¥ë¤ò¹Ô¤¤¤Þ¤¹¡£ - --download-only ¤Î¾ì¹ç¤Ï¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤òŸ³«¤·¤Þ¤»¤ó¡£ - </para> - <para> -<!-- - A specific source version can be retrieved by postfixing the source name - with an equals and then the version to fetch, similar to the mechanism - used for the package files. This enables exact matching of the source - package name and version, implicitly enabling the - <literal/APT::Get::Only-Source/ option. ---> - ¥Ñ¥Ã¥±¡¼¥¸¤ÈƱÍͤˡ¢¥½¡¼¥¹Ì¾¤Î¸å¤í¤Ë¥¤¥³¡¼¥ë¤È¼èÆÀ¤·¤¿¤¤¥Ð¡¼¥¸¥ç¥ó¤ò - ÃÖ¤¯¤³¤È¤Ç¡¢»ØÄꤷ¤¿¥Ð¡¼¥¸¥ç¥ó¤Î¥½¡¼¥¹¤òÆÀ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - <literal/APT::Get::Only-Source/ ¥ª¥×¥·¥ç¥ó¤Ç°ÅÌۤΤ¦¤Á¤Ë͸ú¤Ë¤Ê¤Ã¤Æ - ¤¤¤ë¤¿¤á¡¢¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸Ì¾¤È¥Ð¡¼¥¸¥ç¥ó¤Ë¸·Ì©¤Ë¥Þ¥Ã¥Á¥ó¥°¤¹¤ë¤è¤¦¤Ë - ¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ - </para> - - <para> -<!-- - Note that source packages are not tracked like binary packages, they - exist only in the current directory and are similar to downloading source - tar balls. ---> - Ãí) tar ball ¤Ï¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Î¤ß¥À¥¦¥ó¥í¡¼¥É¤µ¤ì¡¢ - ¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤ËŸ³«¤µ¤ì¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>build-dep</Term> - <ListItem><Para> -<!-- - <literal/build-dep/ causes apt-get to install/remove packages in an - attempt to satisfy the build dependencies for a source packages. ---> - <literal/build-dep/ ¤Ï¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤Î¹½Ã۰͸´Ø·¸¤òËþ¤¿¤¹¤è¤¦¤Ë¡¢ - ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¦ºï½ü¤ò¹Ô¤¤¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>check</Term> - <ListItem><Para> -<!-- - <literal/check/ is a diagnostic tool; it updates the package cache and checks - for broken dependencies. ---> - <literal/check/ ¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤Î¹¹¿·¤ä²õ¤ì¤¿°Í¸´Ø·¸¤ò¥Á¥§¥Ã¥¯¤¹¤ë - ¿ÇÃǥġ¼¥ë¤Ç¤¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>clean</Term> - <ListItem><Para> -<!-- - <literal/clean/ clears out the local repository of retrieved package - files. It removes everything but the lock file from - <filename>&cachedir;/archives/</> and - <filename>&cachedir;/archive/partial/</>. When APT is used as a - &dselect; method, <literal/clean/ is run automatically. - Those who do not use dselect will likely want to run <literal/apt-get clean/ - from time to time to free up disk space. - --> - <literal/clean/ ¤Ï¼èÆÀ¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¥í¡¼¥«¥ë¥ê¥Ý¥¸¥È¥ê¤òÁݽü¤·¤Þ¤¹¡£ - <filename>&cachedir;/archives/</> ¤È - <filename>&cachedir;/archive/partial/</> ¤«¤é - ¥í¥Ã¥¯¥Õ¥¡¥¤¥ë°Ê³°¤¹¤Ù¤Æºï½ü¤·¤Þ¤¹¡£ - APT ¤¬ &dselect; ¤«¤é¸Æ¤Ð¤ì¤ë¤È¤¤Ë¤Ï¡¢¼«Æ°Åª¤Ë <literal/clean/ ¤¬ - ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ - dselect¤ò»ÈÍѤ·¤Ê¤¤¾ì¹ç¤Ï¡¢¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤ò²òÊü¤¹¤ë¤¿¤á¡¢»þ¡¹ - <literal/apt-get clean/ ¤ò¼Â¹Ô¤·¤¿¤¯¤Ê¤ë¤Ç¤·¤ç¤¦¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>autoclean</Term> - <ListItem><Para> -<!-- - Like <literal/clean/, <literal/autoclean/ clears out the local - repository of retrieved package files. The difference is that it only - removes package files that can no longer be downloaded, and are largely - useless. This allows a cache to be maintained over a long period without - it growing out of control. The configuration option - <literal/APT::Clean-Installed/ will prevent installed packages from being - erased if it is set off. ---> - <literal/clean/ ƱÍÍ¡¢<literal/autoclean/ ¤Ï¼èÆÀ¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¥í¡¼¥«¥ë - ¥ê¥Ý¥¸¥È¥ê¤òÁݽü¤·¤Þ¤¹¡£°ã¤¤¤Ï¡¢¤â¤¦¥À¥¦¥ó¥í¡¼¥É¤µ¤ì¤ë¤³¤È¤¬¤Ê¤¤ - ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤ä¡¢¤Û¤È¤ó¤ÉÉÔÍפʥѥ屡¼¥¸¥Õ¥¡¥¤¥ë¤Î¤ß¤òºï½ü¤¹¤ë¤³¤È¤Ç¤¹¡£ - ¤³¤Î¤¿¤á¡¢Ä¹¤¤´ü´Ö¡¢¥¥ã¥Ã¥·¥å¤¬´ÉÍý¤Ç¤¤º¤ËÈîÂç²½¤¹¤ë¤³¤È¤Ê¤¯¡¢ - °Ý»ý¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - ÀßÄꥪ¥×¥·¥ç¥ó <literal/APT::Clean-Installed/ ¤Ë off ¤¬¥»¥Ã¥È¤·¤Æ¤¤¤ì¤Ð¡¢ - ¥¤¥ó¥¹¥È¡¼¥ëºÑ¤Î¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤ë¤Î¤òËɤ°¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> - </VariableList> - </RefSect1> - - <RefSect1><Title>¥ª¥×¥·¥ç¥ó</> - &apt-cmdblurb; - - <VariableList> - <VarListEntry><term><option/-d/</><term><option/--download-only/</> - <ListItem><Para> -<!-- - Download only; package files are only retrieved, not unpacked or installed. - Configuration Item: <literal/APT::Get::Download-Only/. ---> - ¥À¥¦¥ó¥í¡¼¥É¤Î¤ß - ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¼èÆÀ¤Î¤ß¤ò¹Ô¤¤¡¢ - Ÿ³«¡¦¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤¤¤Þ¤»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Download-Only/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-f/</><term><option/--fix-broken/</> - <ListItem><Para> -<!-- - Fix; attempt to correct a system with broken dependencies in - place. This option, when used with install/remove, can omit any packages - to permit APT to deduce a likely soltion. Any Package that are specified - must completly correct the problem. The option is sometimes necessary when - running APT for the first time; APT itself does not allow broken package - dependencies to exist on a system. It is possible that a system's - dependency structure can be so corrupt as to require manual intervention - (which usually means using &dselect; or <command/dpkg - -remove/ to eliminate some of - the offending packages). Use of this option together with <option/-m/ may produce an - error in some situations. - Configuration Item: <literal/APT::Get::Fix-Broken/. ---> - ½¤Éü - °Í¸´Ø·¸¤¬²õ¤ì¤¿¥·¥¹¥Æ¥à¤Î½¤Àµ¤ò»î¤ß¤Þ¤¹¡£ - ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò install ¤ä remove ¤È°ì½ï¤Ë»È¤¦¤È¤¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤ò - »ØÄꤷ¤Ê¤¯¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£¤É¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò»ØÄꤷ¤Æ¤â¡¢´°Á´¤ËÌäÂê¤ò - ²ò·è¤·¤Þ¤¹ - APT ¼«ÂΤϥ·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë²õ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸°Í¸´Ø·¸¤òµö¤¹¤³¤È¤¬¤Ç¤¤Ê¤¤ - ¤Î¤Ç¡¢½é¤á¤Æ APT ¤ò¼Â¹Ô¤¹¤ë¾ì¹ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤¬É¬Íפˤʤ뤳¤È¤¬¤¢¤ê¤Þ¤¹¡£ - ¥·¥¹¥Æ¥à¤Î°Í¸´Ø·¸¹½Â¤¤Ë¤«¤Ê¤êÌäÂ꤬¤¢¤ë¾ì¹ç¤Ï¡¢¼êÆ°¤Ç½¤Àµ¤¹¤ë¤è¤¦ - Í׵᤹¤ë¤³¤È¤¬¤¢¤êÆÀ¤Þ¤¹¡£ - (Ä̾ï¤Ï¡¢ÌäÂê¤Î¤¢¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¼è¤ê½ü¤¯¤Î¤Ë&dselect; ¤ä - <command/dpkg --remove/ ¤ò»ÈÍѤ·¤Þ¤¹) - ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò <option/-m/ ¥ª¥×¥·¥ç¥ó¤ÈƱ»þ¤Ë»ÈÍѤ¹¤ë¤È¡¢ - ¤¢¤ë¾õ¶·¤Ç¤Ï¥¨¥é¡¼¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Fix-Broken/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-m/</><term><option/--ignore-missing/</> - <term><option/--fix-missing/</> - <ListItem><Para> -<!-- - Ignore missing packages; If packages cannot be retrieved or fail the - integrity check after retrieval (corrupted package files), hold back - those packages and handle the result. Use of this option together with - <option/-f/ may produce an error in some situations. If a package is - selected for installation (particularly if it is mentioned on the - command line) and it could not be downloaded then it will be silently - held back. - Configuration Item: <literal/APT::Get::Fix-Missing/. ---> - ·çÍî¥Ñ¥Ã¥±¡¼¥¸¤Î̵»ë - ¥Ñ¥Ã¥±¡¼¥¸¤¬¼èÆÀ¤Ç¤¤Ê¤«¤Ã¤¿¤ê¡¢ - (¥Ñ¥Ã¥±¡¼¥¸¤ÎÇË»¤Ç) ¼èÆÀ¤·¤¿¸å¤ÎÀ°¹çÀ¥Á¥§¥Ã¥¯¤òÄ̤é¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ - ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î½èÍý¤òÊÝα¤·ºÇ¸å¤Þ¤Ç½èÍý¤ò³¤±¤Þ¤¹¡£ - ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò <option/-f/ ¥ª¥×¥·¥ç¥ó¤ÈƱ»þ¤Ë»ÈÍѤ¹¤ë¤È¡¢ - ¤¢¤ë¾õ¶·¤Ç¤Ï¥¨¥é¡¼¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ - ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤è¤¦ÁªÂò¤·¤Æ¤¤¤ë¾ì¹ç - (Æä˥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤ÎÁàºî»þ) ¤ä¡¢¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë - ¤Ê¤Ë¤âɽ¼¨¤»¤ºÊÝα¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Fix-Missing/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--no-download/</> - <ListItem><Para> -<!-- - Disables downloading of packages. This is best used with - <option/- -ignore-missing/ to force APT to use only the .debs it has - already downloaded. - Configuration Item: <literal/APT::Get::Download/. ---> - ¥Ñ¥Ã¥±¡¼¥¸¤Î¥À¥¦¥ó¥í¡¼¥É¤ò¤µ¤»¤Þ¤»¤ó¡£¤³¤ì¤Ï¤¹¤Ç¤Ë¥À¥¦¥ó¥í¡¼¥É¤·¤¿ .deb - ¤ËÂФ·¤Æ¤Î¤ßAPT¤ò¹Ô¤¦ºÝ¤Ë¡¢<option/--ignore-missing/ ¤ÈÊ»¤»¤Æ - »È¤¦¤Î¤¬¤è¤¤¤Ç¤·¤ç¤¦¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Download/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-q/</><term><option/--quiet/</> - <ListItem><Para> -<!-- - Quiet; produces output suitable for logging, omitting progress indicators. - More q's will produce more quiet up to a maximum of 2. You can also use - <option/-q=#/ to set the quiet level, overriding the configuration file. - Note that quiet level 2 implies <option/-y/, you should never use -qq - without a no-action modifier such as -d, - -print-uris or -s as APT may - decided to do something you did not expect. - Configuration Item: <literal/quiet/. ---> - ÀŲº - ¿ÊĽɽ¼¨¤ò¾Êά¤·¤Æ¥í¥°¤ò¤È¤ë¤Î¤ËÊØÍø¤Ê½ÐÎϤò¹Ô¤¤¤Þ¤¹¡£ - ºÇÂç 2 ¤Ä¤Þ¤Ç q ¤ò½Å¤Í¤ë¤³¤È¤Ç¤è¤êÀŤ«¤Ë¤Ç¤¤Þ¤¹¡£ - ¤Þ¤¿¡¢<option/-q=#/ ¤Î¤è¤¦¤ËÀŲº¥ì¥Ù¥ë¤ò»ØÄꤷ¤Æ¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤ò - ¾å½ñ¤¤¹¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£ - Ãí) ÀŲº¥ì¥Ù¥ë 2 ¤Ï <option/-y/ ¤Î°ÕÌ£¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£ - APT ¤¬°Õ¿Þ¤·¤Ê¤¤·èÄê¤ò¹Ô¤¦¤«¤â¤·¤ì¤Ê¤¤¤Î¤Ç -d, --print-uris, -s ¤Î¤è¤¦¤Ê - Áàºî¤ò¹Ô¤ï¤Ê¤¤¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤º¤Ë -qq ¤ò»ÈÍѤ¹¤ë¤Ù¤¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/quiet/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-s/</> - <term><option/--simulate/</> - <term><option/--just-print/</> - <term><option/--dry-run/</> - <term><option/--recon/</> - <term><option/--no-act/</> - <ListItem><Para> -<!-- - No action; perform a simulation of events that would occur but do not - actually change the system. - Configuration Item: <literal/APT::Get::Simulate/. ---> - Æ°ºî¤Ê¤· - ¤Ê¤Ë¤¬µ¯¤³¤ë¤Î¤«¤Î¥·¥ß¥å¥ì¡¼¥·¥ç¥ó¤ò¹Ô¤¤¡¢ - ¼ÂºÝ¤Î¥·¥¹¥Æ¥àÊѹ¹¤Ï¤·¤Þ¤»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Simulate/ - </para> - <para> -<!-- - Simulate prints out - a series of lines each one representing a dpkg operation, Configure (Conf), - Remove (Remv), Unpack (Inst). Square brackets indicate broken packages with - and empty set of square brackets meaning breaks that are of no consequence - (rare). ---> - ¥·¥ß¥å¥ì¡¼¥È¤Î·ë²Ì¡¢dpkg ¤ÎÆ°ºî¤òɽ¤¹°ìÏ¢¤Î¹Ô¤Î¤½¤ì¤¾¤ì¤Ë¡¢ÀßÄê (Conf)¡¢ - ºï½ü (Remv)¡¢ Ÿ³« (Inst) ¤òɽ¼¨¤·¤Þ¤¹¡£ - ³Ñ¥«¥Ã¥³¤Ï²õ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤òɽ¤·¡¢¶õ¤Î³Ñ¥«¥Ã¥³¤ÏÂ礷¤¿ÌäÂê¤Ç¤Ï¤Ê¤¤¤³¤È¤ò - ɽ¤·¤Þ¤¹(¤Þ¤ì¤Ç¤¹)¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-y/</><term><option/--yes/</> - <term><option/--assume-yes/</> - <ListItem><Para> -<!-- - Automatic yes to prompts; assume "yes" as answer to all prompts and run - non-interactively. If an undesirable situation, such as changing a held - package or removing an essential package occurs then <literal/apt-get/ - will abort. - Configuration Item: <literal/APT::Get::Assume-Yes/. ---> - ¥×¥í¥ó¥×¥È¤Ø¤Î¼«Æ°¾µÂú - ¤¹¤Ù¤Æ¤Î¥×¥í¥ó¥×¥È¤Ë¼«Æ°Åª¤Ë "yes" ¤ÈÅú¤¨¡¢ - ÈóÂÐÏÃŪ¤Ë¼Â¹Ô¤·¤Þ¤¹¡£ - ÊÝα¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¾õÂÖ¤òÊѹ¹¤·¤¿¤ê¡¢É¬¿Ü¥Ñ¥Ã¥±¡¼¥¸¤òºï½ü¤¹¤ë¤è¤¦¤ÊÉÔŬÀڤʾõ¶·¤Î¾ì¹ç¡¢ - <literal/apt-get/ ¤ÏÃæÃǤ¹¤ë¤Ç¤·¤ç¤¦¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Assume-Yes/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-u/</><term><option/--show-upgraded/</> - <ListItem><Para> -<!-- - Show upgraded packages; Print out a list of all packages that are to be - upgraded. - Configuration Item: <literal/APT::Get::Show-Upgraded/. ---> - ¹¹¿·¥Ñ¥Ã¥±¡¼¥¸É½¼¨ - ¹¹¿·¤µ¤ì¤ëÁ´¥Ñ¥Ã¥±¡¼¥¸¤Î°ìÍ÷¤òɽ¼¨¤·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Show-Upgraded/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-b/</><term><option/--compile/</> - <term><option/--build/</> - <ListItem><Para> -<!-- - Compile source packages after downloading them. - Configuration Item: <literal/APT::Get::Compile/. ---> - ¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¥À¥¦¥ó¥í¡¼¥É¸å¡¢¥³¥ó¥Ñ¥¤¥ë¤·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Compile/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--ignore-hold/</> - <ListItem><Para> -<!-- - Ignore package Holds; This causes <command/apt-get/ to ignore a hold - placed on a package. This may be useful in conjunction with - <literal/dist-upgrade/ to override a large number of undesired holds. - Configuration Item: <literal/APT::Ignore-Hold/. ---> - ÊÝα¥Ñ¥Ã¥±¡¼¥¸Ìµ»ë - ¥Ñ¥Ã¥±¡¼¥¸¤ÎÊÝα»Ø¼¨¤ò̵»ë¤·¤Æ <command/apt-get/ - ¤ò¹Ô¤¤¤Þ¤¹¡£ - ÂçÎ̤Υѥ屡¼¥¸¤òÊÝα¤Î²ò½ü¤ò¤¹¤ë¤Î¤Ë <literal/dist-upgrade/ ¤È¶¦¤Ë - »ÈÍѤ¹¤ë¤ÈÊØÍø¤Ç¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Ignore-Hold/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--no-upgrade/</> - <ListItem><Para> -<!-- - Do not upgrade packages; When used in conjunction with <literal/install/ - <literal/no-upgrade/ will prevent packages listed from being upgraded - if they are already installed. - Configuration Item: <literal/APT::Get::Upgrade/. ---> - ¥Ñ¥Ã¥±¡¼¥¸¹¹¿·¤Ê¤· - <literal/install/ ¤ÈƱ»þ¤Ë»ÈÍѤ¹¤ë¤È¡¢ - <literal/no-upgrade/ ¤Ï»ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¤¬¤¹¤Ç¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ë¾ì¹ç - ¹¹¿·¤ò¹Ô¤¤¤Þ¤»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Upgrade/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--force-yes/</> - <ListItem><Para> -<!-- - Force yes; This is a dangerous option that will cause apt to continue - without prompting if it is doing something potentially harmful. It - should not be used except in very special situations. Using - <literal/force-yes/ can potentially destroy your system! - Configuration Item: <literal/APT::Get::force-yes/. ---> - ¶¯À©¾µÂú - APT ¤¬²¿¤«Â»½ý¤òÍ¿¤¨¤«¤Í¤Ê¤¤Æ°ºî¤ò¤·¤è¤¦¤È¤·¤¿¾ì¹ç¤Ç¤â¡¢ - ³Îǧ¤ÎÆþÎϤʤ·¤Ç¼Â¹Ô¤·¤Æ¤·¤Þ¤¦¡¢´í¸±¤Ê¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£ - ¤è¤Û¤É¤Î¾õ¶·¤Ç¤Ê¤±¤ì¤Ð¡¢»ÈÍѤ·¤Ê¤¤Êý¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£ - <literal/force-yes/ ¤Ï¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤òÇ˲õ¤·¤«¤Í¤Þ¤»¤ó! - ÀßÄê¹àÌÜ - <literal/APT::Get::force-yes/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--print-uris/</> - <ListItem><Para> -<!-- - Instead of fetching the files to install their URIs are printed. Each - URI will have the path, the destination file name, the size and the expected - md5 hash. Note that the file name to write to will not always match - the file name on the remote site! This also works with the - <literal/source/ and <literal/update/ commands. When used with the - <literal/update/ command the MD5 and size are not included, and it is - up to the user to decompress any compressed files. - Configuration Item: <literal/APT::Get::Print-URIs/. ---> - ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤¹¤ëÂå¤ï¤ê¤Ë¡¢¤½¤ÎURI¤òɽ¼¨¤·¤Þ¤¹¡£ - URI¤Ë¤Ï¡¢¥Ñ¥¹¡¢Âоݥե¡¥¤¥ë̾¡¢¥Õ¥¡¥¤¥ë¥µ¥¤¥º¡¢Í½Â¬¤µ¤ì¤ë md5 ¥Ï¥Ã¥·¥å - ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ - Ãí) ½ÐÎϤ·¤¿¥Õ¥¡¥¤¥ë̾¤¬¡¢¾ï¤Ë¥ê¥â¡¼¥È¥µ¥¤¥È¤Î¥Õ¥¡¥¤¥ë̾¤È°ìÃפ¹¤ë¤ï¤± - ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó! ¤³¤ì¤Ï <literal/source/ ¥³¥Þ¥ó¥É¡¢ <literal/update/ - ¥³¥Þ¥ó¥É¤Ç¤âÆ°ºî¤·¤Þ¤¹¡£ - MD5 ¤ä¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤ò´Þ¤Þ¤º <literal/update/ ¤Ç»ÈÍѤ·¤¿¤È¤¤Ë¡¢ - °µ½Ì¥Õ¥¡¥¤¥ë¤òŸ³«¤¹¤ë¤³¤È¤Ï¥æ¡¼¥¶¤ÎÀÕǤ¤Ë¤ª¤¤¤Æ¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Print-URIs/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--purge/</> - <ListItem><Para> -<!-- - Use purge instead of remove for anything that would be removed. - Configuration Item: <literal/APT::Get::Purge/. ---> - ºï½ü¤¹¤ë¾ì¹ç¡¢ºï½ü¤Ç¤Ï¤Ê¤¯´°Á´ºï½ü¤ò»ÈÍѤ·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Purge/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--reinstall/</> - <ListItem><Para> -<!-- - Re-Install packages that are already installed and at the newest version. - Configuration Item: <literal/APT::Get::ReInstall/. ---> - ¤¹¤Ç¤ËºÇ¿·ÈǤ¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Æ¤â¡¢¥Ñ¥Ã¥±¡¼¥¸¤òºÆ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::ReInstall/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--list-cleanup/</> - <ListItem><Para> -<!-- - This option defaults to on, use <literal/- -no-list-cleanup/ to turn it - off. When on <command/apt-get/ will automatically manage the contents of - <filename>&statedir;/lists</> to ensure that obsolete files are erased. - The only reason to turn it off is if you frequently change your source - list. - Configuration Item: <literal/APT::Get::List-Cleanup/. ---> - ¤³¤Îµ¡Ç½¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç ON ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ - OFF ¤Ë¤¹¤ë¤Ë¤Ï <literal/--no-list-cleanup/ ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£ - ON ¤Î¾ì¹ç¡¢<command/apt-get/ ¤Ï¸Å¤¯¤Ê¤Ã¤¿¥Õ¥¡¥¤¥ë¤ò³Î¼Â¤Ë¾Ãµî¤¹¤ë¤¿¤á¡¢ - ¼«Æ°Åª¤Ë <filename>&statedir;/lists</> ¤ÎÃæ¿È¤ò´ÉÍý¤¹¤ë¤Ç¤·¤ç¤¦¡£ - ¤³¤ì¤ò OFF ¤Ë¤¹¤ë¤Î¤Ï¡¢¤¢¤Ê¤¿¤¬¼èÆÀ¸µ¥ê¥¹¥È¤òÉÑÈˤËÊѹ¹¤¹¤ë»þ¤°¤é¤¤¤Ç¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::List-Cleanup/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-t/</> - <term><option/--target-release/</> - <term><option/--default-release/</> - <ListItem><Para> -<!-- - This option controls the default input to the policy engine, it creates - a default pin at priority 990 using the specified release string. The - preferences file may further override this setting. In short, this option - lets you have simple control over which distribution packages will be - retrieved from. Some common examples might be - <option>-t '2.1*'</> or <option>-t unstable</>. - Configuration Item: <literal/APT::Default-Release/ ---> - ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ý¥ê¥·¡¼¥¨¥ó¥¸¥ó¤Ø¤Î¥Ç¥Õ¥©¥ë¥ÈÆþÎϤòÀ©¸æ¤·¤Þ¤¹¡£ - ¤³¤ì¤Ï¡¢»ØÄꤵ¤ì¤¿¥ê¥ê¡¼¥¹Ê¸»úÎó¤ò»ÈÍѤ·¡¢¥Ç¥Õ¥©¥ë¥È pin ¤òÍ¥ÀèÅÙ 990 - ¤ÇºîÀ®¤¹¤ë¤³¤È¤Ç¤¹¡£ - Í¥Àè¥Õ¥¡¥¤¥ë¤Ï¤³¤ÎÀßÄê¤ò¾å½ñ¤¤·¤Þ¤¹¡£ - Íפ¹¤ë¤Ë¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤É¤ÎÇÛÉۥѥ屡¼¥¸¤ò¼èÆÀ¤¹¤ë¤«¤ò´Êñ¤Ë - ´ÉÍý¤·¤Æ¤¤¤Þ¤¹¡£ - ¤¤¤¯¤Ä¤«°ìÈÌŪ¤ÊÎã¤Ï¡¢<option>-t '2.1*'</> ¤ä <option>-t unstable</> - ¤Ç¤·¤ç¤¦¡£ - ÀßÄê¹àÌÜ - <literal/APT::Default-Release/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--trivial-only/</> - <ListItem><Para> -<!-- - Only perform operations that are 'trivial'. Logically this can be considered - related to <option/- -assume-yes/, where <option/- -assume-yes/ will answer - yes to any prompt, <option/- -trivial-only/ will answer no. - Configuration Item: <literal/APT::Get::Trivial-Only/. ---> - ¡Ö½ÅÍפǤʤ¤¡×Áàºî¤Î¤ß¤ò¹Ô¤¤¤Þ¤¹¡£¤³¤ì¤ÏÏÀÍýŪ¤Ë <option/--assume-yes/ ¤Î - Ãç´Ö¤È¸«¤Ê¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£<option/--assume-yes/ ¤Ï¼ÁÌä¤Ë¤¹¤Ù¤Æ yes ¤È - Åú¤¨¤Þ¤¹¤¬¡¢<option/--trivial-only/ ¤Ï¤¹¤Ù¤Æ no ¤ÈÅú¤¨¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Trivial-Only/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--no-remove/</> - <ListItem><Para> -<!-- - If any packages are to be removed apt-get immediately aborts without - prompting. - Configuration Item: <literal/APT::Get::Remove/ ---> - ¥Ñ¥Ã¥±¡¼¥¸¤¬ºï½ü¤µ¤ì¤ë¾õ¶·¤Ë¤Ê¤Ã¤¿¤È¤¡¢¥×¥í¥ó¥×¥È¤òɽ¼¨¤»¤ºÃæÃǤ·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Remove/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--only-source/</> - <ListItem><Para> -<!-- - Only has meaning for the <literal/source/ command. indicates that the - given source names are not to be mapped through the binary table. - Configuration Item: <literal/APT::Get::Only-Source/ ---> - <literal/source/ ¥³¥Þ¥ó¥É¤Ç¤Î¤ß°ÕÌ£¤¬¤¢¤ê¤Þ¤¹¡£ - »ØÄꤵ¤ì¤¿¥½¡¼¥¹Ì¾¤¬¥Ð¥¤¥Ê¥ê¥Æ¡¼¥Ö¥ë¤Ë¥Þ¥Ã¥×¤µ¤ì¤Ê¤¤¤³¤È¤ò¼¨¤·¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Only-Source/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--diff-only/</><term><option/--tar-only/</> - <ListItem><Para> -<!-- - Download only the diff or tar file of a source archive. - Configuration Item: <literal/APT::Get::Diff-Only/ and - <literal/APT::Get::Tar-Only/ ---> - ¥½¡¼¥¹¥¢¡¼¥«¥¤¥Ö¤Î diff ¥Õ¥¡¥¤¥ë¤ä tar ¥Õ¥¡¥¤¥ë¤Î¥À¥¦¥ó¥í¡¼¥É¤Î¤ß¤ò¹Ô¤¤¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Diff-Only/ ¤È <literal/APT::Get::Tar-Only/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--arch-only/</> - <ListItem><Para> -<!-- - Only process architecture-dependent build-dependencies. - Configuration Item: <literal/APT::Get::Arch-Only/ ---> - ¹½Ã۰͸´Ø·¸¤Î²ò·è¤ò¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ë°Í¸¤·¤¿¤â¤Î¤Î¤ß¹Ô¤¤¤Þ¤¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Arch-Only/ - </Para></ListItem> - </VarListEntry> - - &apt-commonoptions; - - </VariableList> - </RefSect1> - - <RefSect1><Title>¥Õ¥¡¥¤¥ë</> - <variablelist> - <VarListEntry><term><filename>/etc/apt/sources.list</></term> - <ListItem><Para> -<!-- - locations to fetch packages from. - Configuration Item: <literal/Dir::Etc::SourceList/. ---> - ¥Ñ¥Ã¥±¡¼¥¸¤Î¼èÆÀ¸µ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Etc::SourceList/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>/etc/apt/apt.conf</></term> - <ListItem><Para> -<!-- - APT configuration file. - Configuration Item: <literal/Dir::Etc::Main/. ---> - APT ÀßÄê¥Õ¥¡¥¤¥ë¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Etc::Main/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>/etc/apt/apt.conf.d/</></term> - <ListItem><Para> -<!-- - APT configuration file fragments - Configuration Item: <literal/Dir::Etc::Parts/. ---> - APT ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÃÇÊÒ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Etc::Parts/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>/etc/apt/preferences</></term> - <ListItem><Para> -<!-- - version preferences file - Configuration Item: <literal/Dir::Etc::Preferences/. ---> - ¥Ð¡¼¥¸¥ç¥óÍ¥Àè¥Õ¥¡¥¤¥ë¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Etc::Preferences/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>&cachedir;/archives/</></term> - <ListItem><Para> -<!-- - storage area for retrieved package files. - Configuration Item: <literal/Dir::Cache::Archives/. ---> - ¼èÆÀºÑ¤ß¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë³ÊǼ¥¨¥ê¥¢¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Cache::Archives/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>&cachedir;/archives/partial/</></term> - <ListItem><Para> -<!-- - storage area for package files in transit. - Configuration Item: <literal/Dir::Cache::Archives/ (implicit partial). ---> - ¼èÆÀÃæ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë³ÊǼ¥¨¥ê¥¢¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Cache::Archives/ (ɬÁ³Åª¤ËÉÔ´°Á´¤Ç¤¹) - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>&statedir;/lists/</></term> - <ListItem><Para> -<!-- - storage area for state information for each package resource specified in - &sources-list; - Configuration Item: <literal/Dir::State::Lists/. ---> - &sources-list; ¤Î¥Ñ¥Ã¥±¡¼¥¸»ñ¸»ÆÃͤξõÂÖ¾ðÊó³ÊǼ¥¨¥ê¥¢¡£ - ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>&statedir;/lists/partial/</></term> - <ListItem><Para> -<!-- - storage area for state information in transit. - Configuration Item: <literal/Dir::State::Lists/ (implicit partial). ---> - ¼èÆÀÃæ¤Î¾õÂÖ¾ðÊó³ÊǼ¥¨¥ê¥¢¡£ - ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ (ɬÁ³Åª¤ËÉÔ´°Á´¤Ç¤¹) - </Para></ListItem> - </VarListEntry> - </variablelist> - </RefSect1> - - <RefSect1><Title>´ØÏ¢¹àÌÜ</> - <para> - &apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, - &docdir;¤Î APT ¥æ¡¼¥¶¡¼¥º¥¬¥¤¥É, &apt-preferences; - </para> - </RefSect1> - - <RefSect1><Title>¿ÇÃÇ¥á¥Ã¥»¡¼¥¸</> - <para> - <command/apt-get/ ¤ÏÀµ¾ï½ªÎ»»þ¤Ë 0 ¤òÊÖ¤·¤Þ¤¹¡£ - ¥¨¥é¡¼»þ¤Ë¤Ï½½¿Ê¤Î 100 ¤òÊÖ¤·¤Þ¤¹¡£ - </para> - </RefSect1> - - &manbugs; - &manauthor; - &translator; -</refentry> diff --git a/doc/ja/apt-get.ja.8.xml b/doc/ja/apt-get.ja.8.xml new file mode 100644 index 000000000..f503b89ef --- /dev/null +++ b/doc/ja/apt-get.ja.8.xml @@ -0,0 +1,900 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-get</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-get</refname> +<!-- + <refpurpose>APT package handling utility -\- command-line interface</refpurpose> +--> + <refpurpose>APT package handling utility -- コマンドラインインターフェース</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-get</command> + <arg><option>-hvs</option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <group choice="req"> + <arg>update</arg> + <arg>upgrade</arg> + <arg>dselect-upgrade</arg> + <arg>install <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>remove <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>source <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>build-dep <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>check</arg> + <arg>clean</arg> + <arg>autoclean</arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> +<!-- + <para><command>apt-get</command> is the command-line tool for handling packages, and may be + considered the user's "back-end" to other tools using the APT + library. Several "front-end" interfaces exist, such as dselect(8), + aptitude, synaptic, gnome-apt and wajig.</para> +--> + <para><command>apt-get</command> ã¯ã€ + パッケージをæ“作ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ„ールã§ã€ + APT ライブラリを用ã„ã‚‹ä»–ã®ãƒ„ールã®ãƒ¦ãƒ¼ã‚¶å´ã€Œãƒãƒƒã‚¯ã‚¨ãƒ³ãƒ‰ã€ã¨ã„ãˆã‚‹ã‚‚ã®ã§ã™ã€‚ + 「フãƒãƒ³ãƒˆã‚¨ãƒ³ãƒ‰ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹ã«ã¯ã€dselect(8), + aptitude, synaptic, gnome-apt, wajig ãªã©ãŒã‚ã‚Šã¾ã™ã€‚</para> + +<!-- + <para>Unless the <option>-h</option>, or <option>-\-help</option> option is given, one of the + commands below must be present.</para> +--> + <para><option>-h</option> オプションや <option>--help</option> オプションを除ã〠+ 以下ã«æŒ™ã’るコマンドãŒå¿…è¦ã§ã™ã€‚</para> + + <variablelist> + <varlistentry><term>update</term> +<!-- + <listitem><para><literal>update</literal> is used to resynchronize the package index files from + their sources. The indexes of available packages are fetched from the + location(s) specified in <filename>/etc/apt/sources.list</filename>. + For example, when using a Debian archive, this command retrieves and + scans the <filename>Packages.gz</filename> files, so that information about new + and updated packages is available. An <literal>update</literal> should always be + performed before an <literal>upgrade</literal> or <literal>dist-upgrade</literal>. Please + be aware that the overall progress meter will be incorrect as the size + of the package files cannot be known in advance.</para></listitem> +--> + <listitem><para><literal>update</literal>ã¯ã€ + å–å¾—å…ƒã‹ã‚‰ãƒ‘ッケージインデックスファイルã®å†åŒæœŸã‚’è¡Œã†ã®ã«ä½¿ç”¨ã—ã¾ã™ã€‚ + 利用å¯èƒ½ãªãƒ‘ッケージã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã¯ã€ + <filename>/etc/apt/sources.list</filename> ã«è¨˜è¿°ã—ãŸå ´æ‰€ã‹ã‚‰å–å¾—ã—ã¾ã™ã€‚ + 例ãˆã° Debian アーカイブを利用ã™ã‚‹éš›ã€ + ã“ã®ã‚³ãƒžãƒ³ãƒ‰ãŒ <filename>Packages.gz</filename> ファイルを検索ã™ã‚‹ã“ã¨ã§ã€ + æ–°è¦ã¾ãŸã¯æ›´æ–°ã•ã‚ŒãŸãƒ‘ッケージã®æƒ…å ±ãŒåˆ©ç”¨å¯èƒ½ã¨ãªã‚Šã¾ã™ã€‚ + <literal>update</literal> ã¯ã€<literal>upgrade</literal> ã‚„ + <literal>dist-upgrade</literal> ã‚’è¡Œã†å‰ã«å¸¸ã«å®Ÿè¡Œã—ã¦ãã ã•ã„。 + å‰ã‚‚ã£ã¦ãƒ‘ッケージファイルã®ã‚µã‚¤ã‚ºã‚’知るã“ã¨ãŒã§ããªã„ãŸã‚〠+ 全体ã®é€²æ—メータã¯æ£ã—ã表示ã•ã‚Œã¾ã›ã‚“。</para></listitem> + </varlistentry> + + <varlistentry><term>upgrade</term> +<!-- + <listitem><para><literal>upgrade</literal> is used to install the newest versions of all packages + currently installed on the system from the sources enumerated in + <filename>/etc/apt/sources.list</filename>. Packages currently installed with + new versions available are retrieved and upgraded; under no circumstances + are currently installed packages removed, or packages not already installed + retrieved and installed. New versions of currently installed packages that + cannot be upgraded without changing the install status of another package + will be left at their current version. An <literal>update</literal> must be + performed first so that <command>apt-get</command> knows that new versions of packages are + available.</para></listitem> +--> + <listitem><para><literal>upgrade</literal> ã¯ã€ + ç¾åœ¨ã‚·ã‚¹ãƒ†ãƒ ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„る全パッケージã®æœ€æ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’〠+ <filename>/etc/apt/sources.list</filename> + ã«åˆ—挙ã—ãŸå–å¾—å…ƒã‹ã‚‰ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã™ã‚‹ã®ã«ä½¿ç”¨ã—ã¾ã™ã€‚ + ç¾åœ¨ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ä¸ã®ãƒ‘ッケージã«æ–°ã—ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã‚ã‚Œã°æ›´æ–°ã—ã¾ã™ãŒã€ + ã„ã‹ãªã‚‹æ™‚ã‚‚ç¾åœ¨ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ä¸ã®ãƒ‘ッケージã®å‰Šé™¤ã¯è¡Œã„ã¾ã›ã‚“。 + 対象ã®ãƒ‘ッケージãŒã€ + ä»–ã®ãƒ‘ッケージã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«çŠ¶æ…‹ã‚’変更ã›ãšã«æ›´æ–°ã§ããªã„å ´åˆã¯ã€ + ç¾åœ¨ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã¾ã¾ã¨ãªã‚Šã¾ã™ã€‚ + 最åˆã« <literal>update</literal> を実行ã—ã¦ãŠã〠+ <command>apt-get</command> ã«ãƒ‘ッケージã®æ–°ã—ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã‚ã‚‹ã“ã¨ã‚’ + 知らã›ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>dselect-upgrade</term> +<!-- + <listitem><para><literal>dselect-upgrade</literal> + is used in conjunction with the traditional Debian packaging + front-end, &dselect;. <literal>dselect-upgrade</literal> + follows the changes made by &dselect; to the <literal>Status</literal> + field of available packages, and performs the actions necessary to realize + that state (for instance, the removal of old and the installation of new + packages).</para></listitem> +--> + <listitem><para><literal>dselect-upgrade</literal> ã¯ã€ + ä¼çµ±çš„㪠Debian GNU/Linux パッケージ管ç†ãƒ•ãƒãƒ³ãƒˆã‚¨ãƒ³ãƒ‰ã® &dselect; + ã¨å…±ã«ä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ + <literal>dselect-upgrade</literal> ã¯ã€ + &dselect; ã§ä½œã‚‰ã‚ŒãŸåˆ©ç”¨å¯èƒ½ãƒ‘ッケージ㮠+ <literal>Status</literal> フィールドã®å¤‰æ›´ã‚’追跡ã—〠+ ãã®çŠ¶æ…‹ã‚’åæ˜ ã•ã›ã‚‹ã®ã«å¿…è¦ãªã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã‚’実行ã—ã¾ã™ã€‚ + (例ãˆã°ã€å¤ã„パッケージã®å‰Šé™¤ã‚„æ–°ã—ã„パッケージã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãªã©) </para></listitem> + + </varlistentry> + + <varlistentry><term>dist-upgrade</term> +<!-- + <listitem><para><literal>dist-upgrade</literal> in addition to performing the function of + <literal>upgrade</literal>, also intelligently handles changing dependencies + with new versions of packages; <command>apt-get</command> has a "smart" conflict + resolution system, and it will attempt to upgrade the most important + packages at the expense of less important ones if necessary. + The <filename>/etc/apt/sources.list</filename> file contains a list of locations + from which to retrieve desired package files. + See also &apt-preferences; for a mechanism for + overriding the general settings for individual packages.</para></listitem> +--> + <listitem><para><literal>dist-upgrade</literal> ã¯ã€ + <literal>upgrade</literal> ã®æ©Ÿèƒ½ã«åŠ ãˆã€ + æ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージã«å¯¾ã™ã‚‹ä¾å˜é–¢ä¿‚ã®å¤‰æ›´ã‚’知的ã«æ“作ã—ã¾ã™ã€‚ + <command>apt-get</command> ã¯ã€Œæ´—ç·´ã•ã‚ŒãŸã€ç«¶åˆè§£æ±ºã‚·ã‚¹ãƒ†ãƒ ã‚’æŒã¡ã€ + å¿…è¦ã¨ã‚らã°æ¯”較的é‡è¦ã§ãªã„ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’çŠ ç‰²ã«ã—ã¦ã€ + 最é‡è¦ãƒ‘ッケージã®æ›´æ–°ã‚’試ã¿ã¾ã™ã€‚ + <filename>/etc/apt/sources.list</filename> ファイルã«ã¯ã€ + å¿…è¦ãªãƒ‘ッケージファイルを検索ã™ã‚‹å ´æ‰€ã®ãƒªã‚¹ãƒˆãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ + 特定ã®ãƒ‘ッケージå‘ã‘ã«ã€ä¸€èˆ¬çš„ãªè¨å®šã‚’上書ãã™ã‚‹æ©Ÿæ§‹ã«ã¤ã„ã¦ã¯ã€ + &apt-preferences; ã‚’ã”覧ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>install</term> +<!-- + <listitem><para><literal>install</literal> is followed by one or more packages desired for + installation. Each package is a package name, not a fully qualified + filename (for instance, in a Debian GNU/Linux system, libc6 would be the + argument provided, not <literal>libc6_1.9.6-2.deb</literal>) All packages required + by the package(s) specified for installation will also be retrieved and + installed. The <filename>/etc/apt/sources.list</filename> file is used to locate + the desired packages. If a hyphen is appended to the package name (with + no intervening space), the identified package will be removed if it is + installed. Similarly a plus sign can be used to designate a package to + install. These latter features may be used to override decisions made by + apt-get's conflict resolution system.</para> +--> + <listitem><para><literal>install</literal> ã®å¾Œã«ã¯ã€ + インストールã™ã‚‹ãƒ‘ッケージを 1 ã¤ä»¥ä¸ŠæŒ‡å®šã—ã¾ã™ã€‚ + 指定ã™ã‚‹ãƒ‘ッケージã¯ã€å®Œå…¨ãªãƒ•ã‚¡ã‚¤ãƒ«åã§ã¯ãªãパッケージåã§ã™ã€‚ + (例ãˆã° Debian GNU/Linux システムã§ã¯ã€ + <literal>libc6_1.9.6-2.deb</literal> ã§ã¯ãªã libc6 を引数ã¨ã—ã¦ä¸Žãˆã¾ã™) + インストールã™ã‚‹ã‚ˆã†æŒ‡å®šã—ãŸã™ã¹ã¦ã®ãƒ‘ッケージã«å¯¾ã—〠+ 検索・インストールを行ã„ã¾ã™ã€‚ + <filename>/etc/apt/sources.list</filename> ファイルを〠+ è¦æ±‚ã™ã‚‹ãƒ‘ッケージã®å ´æ‰€ã‚’特定ã™ã‚‹ã®ã«ä½¿ç”¨ã—ã¾ã™ã€‚ + パッケージåã®å¾Œã‚ã« (空白をå«ã¾ãš) ãƒã‚¤ãƒ•ãƒ³ãŒè¿½åŠ ã•ã‚Œã¦ã„ã‚‹å ´åˆã€ + ãã®ãƒ‘ッケージãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã‚Œã°å‰Šé™¤ã—ã¾ã™ã€‚ + åŒæ§˜ã«ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã™ã‚‹ãƒ‘ッケージを明示ã™ã‚‹ã®ã«ãƒ—ラス記å·ã‚‚使用ã§ãã¾ã™ã€‚ + ã“ã®è¨˜å·ã¯ apt-get ã®ç«¶åˆè§£æ±ºã‚·ã‚¹ãƒ†ãƒ ã®åˆ¤æ–ã«åˆ©ç”¨ã•ã‚Œã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。</para> + +<!-- + <para>A specific version of a package can be selected for installation by + following the package name with an equals and the version of the package + to select. This will cause that version to be located and selected for + install. Alternatively a specific distribution can be selected by + following the package name with a slash and the version of the + distribution or the Archive name (stable, testing, unstable).</para> +--> + <para>パッケージã«ã‚¤ã‚³ãƒ¼ãƒ«è¨˜å·ã¨ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’続ã‘ã‚‹ã“ã¨ã§ã€ + é¸æŠžã—ãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージをインストールã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ + ã¤ã¾ã‚Šã€æŒ‡å®šã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージをインストールã™ã‚‹ã‚ˆã†ã«é¸æŠžã™ã‚‹ã€ + ã¨ã„ã†ã“ã¨ã§ã™ã€‚ + 別ã®æ–¹æ³•ã¨ã—ã¦ã¯ã€ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションを特定ã™ã‚‹ã®ã«ã€ + パッケージåã«ç¶šã‘ã¦ã€ + スラッシュã¨ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚„アーカイブå + (stable, testing, unstable) を記述ã§ãã¾ã™ã€‚</para> + +<!-- + <para>Both of the version selection mechanisms can downgrade packages and must + be used with care.</para> +--> + <para>ãƒãƒ¼ã‚¸ãƒ§ãƒ³é¸æŠžæ©Ÿæ§‹ã¯ãƒ€ã‚¦ãƒ³ã‚°ãƒ¬ãƒ¼ãƒ‰æ™‚ã«ã‚‚使用ã§ãã‚‹ãŸã‚〠+ 注æ„ã—ã¦ä½¿ç”¨ã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。</para> + +<!-- + <para>Finally, the &apt-preferences; mechanism allows you to + create an alternative installation policy for + individual packages.</para> +--> + <para>最後ã«ã€&apt-preferences; 機構ã«ã‚ˆã‚Šã€ + 特定ã®ãƒ‘ッケージã«å¯¾ã™ã‚‹ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒãƒªã‚·ãƒ¼ã‚’作æˆã§ãã¾ã™ã€‚</para> + +<!-- + <para>If no package matches the given expression and the expression contains one + of '.', '?' or '*' then it is assumed to be a POSIX regular expression, + and it is applied + to all package names in the database. Any matches are then installed (or + removed). Note that matching is done by substring so 'lo.*' matches 'how-lo' + and 'lowest'. If this is undesired, anchor the regular expression + with a '^' or '$' character, or create a more specific regular expression.</para></listitem> +--> + <para>構文㫠'.', '?', '*' ã‚’å«ã¿ã€ãƒ‘ッケージåãŒãƒžãƒƒãƒã—ãªã‹ã£ãŸå ´åˆã€ + POSIX æ£è¦è¡¨ç¾ã§ã‚ã‚‹ã¨è¦‹ãªã—〠+ データベース内ã®å…¨ãƒ‘ッケージåã«å¯¾ã—ã¦é©ç”¨ã—ã¾ã™ã€‚ + マッãƒã—ãŸãƒ‘ッケージã™ã¹ã¦ãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«(ã‚‚ã—ãã¯å‰Šé™¤)ã•ã‚Œã¾ã™ã€‚ + 'lo.*' ã®ã‚ˆã†ãªæ–‡å—列ã¯ã€ + 'how-lo' ã‚„ 'lowest' ã«ãƒžãƒƒãƒã™ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。 + ãã†ã—ãŸããªã‘ã‚Œã°ã€'^' ã‚„ '$' を付ã‘ã‚‹ã‹ã€ + ã‚‚ã£ã¨è©³ã—ã„æ£è¦è¡¨ç¾ã‚’指定ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>remove</term> +<!-- + <listitem><para><literal>remove</literal> is identical to <literal>install</literal> except that packages are + removed instead of installed. If a plus sign is appended to the package + name (with no intervening space), the identified package will be + installed instead of removed.</para></listitem> +--> + <listitem><para><literal>remove</literal> ã¯ã€ + パッケージãŒå‰Šé™¤ã•ã‚Œã‚‹ã“ã¨ã‚’除ãã€<literal>install</literal> ã¨åŒæ§˜ã§ã™ã€‚ + プラス記å·ãŒãƒ‘ッケージåã« (é–“ã«ç©ºç™½ã‚’å«ã¾ãšã«) ä»˜åŠ ã•ã‚Œã‚‹ã¨ã€ + è˜åˆ¥ã•ã‚ŒãŸãƒ‘ッケージをã€å‰Šé™¤ã§ã¯ãªãインストールã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>source</term> +<!-- + <listitem><para><literal>source</literal> causes <command>apt-get</command> to fetch source packages. APT + will examine the available packages to decide which source package to + fetch. It will then find and download into the current directory the + newest available version of that source package. Source packages are + tracked separately from binary packages via <literal>deb-src</literal> type lines + in the &sources-list; file. This probably will mean that you will not + get the same source as the package you have installed or as you could + install. If the -\-compile options is specified then the package will be + compiled to a binary .deb using dpkg-buildpackage, if -\-download-only is + specified then the source package will not be unpacked.</para> +--> + <listitem><para><literal>source</literal> ã¯ã€ + ソースパッケージをå–å¾—ã™ã‚‹ã®ã« <command>apt-get</command> ã—ã¾ã™ã€‚ + APT ã¯ã©ã®ã‚½ãƒ¼ã‚¹ãƒ‘ッケージをå–å¾—ã™ã‚‹ã‹æ±ºå®šã™ã‚‹ã‚ˆã†ã€ + 利用å¯èƒ½ãªãƒ‘ッケージを検討ã—ã¾ã™ã€‚ + ãã®å¾Œã€æœ€æ–°ã®åˆ©ç”¨å¯èƒ½ãªã‚½ãƒ¼ã‚¹ãƒ‘ッケージを見ã¤ã‘〠+ カレントディレクトリã¸ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã—ã¾ã™ã€‚ + ãƒã‚¤ãƒŠãƒªãƒ‘ッケージã¨ã¯åˆ¥ã« &sources-list; ファイル㮠+ <literal>deb-src</literal> è¡Œã‹ã‚‰ã€ã‚½ãƒ¼ã‚¹ãƒ‘ッケージを追跡ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—㟠(ã¾ãŸã¯ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã§ãã‚‹) パッケージã¨ã€ + å–得元を変ãˆã‚‹ã“ã¨ãŒã§ãã‚‹ã“ã¨ã‚’示ã—ã¦ã„ã¾ã™ã€‚ + --compile オプションãŒæŒ‡å®šã•ã‚ŒãŸå ´åˆã€dpkg-buildpackage を用ã„㦠+ ãƒã‚¤ãƒŠãƒª .deb ファイルã¸ã‚³ãƒ³ãƒ‘イルを行ã„ã¾ã™ã€‚ + --download-only ã®å ´åˆã¯ã‚½ãƒ¼ã‚¹ãƒ‘ッケージを展開ã—ã¾ã›ã‚“。</para> + +<!-- + <para>A specific source version can be retrieved by postfixing the source name + with an equals and then the version to fetch, similar to the mechanism + used for the package files. This enables exact matching of the source + package name and version, implicitly enabling the + <literal>APT::Get::Only-Source</literal> option.</para> +--> + <para>パッケージã¨åŒæ§˜ã«ã€ + ソースåã®å¾Œã‚ã«ã‚¤ã‚³ãƒ¼ãƒ«ã¨å–å¾—ã—ãŸã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’ç½®ãã¨ã€ + 指定ã—ãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã‚½ãƒ¼ã‚¹ã‚’å–å¾—ã§ãã¾ã™ã€‚ + <literal>APT::Get::Only-Source</literal> + オプションãŒæš—é»™ã®ã†ã¡ã«æœ‰åŠ¹ã«ãªã£ã¦ã„ã‚‹ãŸã‚〠+ ソースパッケージåã¨ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«åŽ³å¯†ã«ä¸€è‡´ã•ã›ã¦ã„ã¾ã™ã€‚</para> + +<!-- + <para>Note that source packages are not tracked like binary packages, they + exist only in the current directory and are similar to downloading source + tar balls.</para></listitem> +--> + <para>tar ball ã¯ã‚«ãƒ¬ãƒ³ãƒˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã®ã¿ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã•ã‚Œã€ + カレントディレクトリã«å±•é–‹ã•ã‚Œã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>build-dep</term> +<!-- + <listitem><para><literal>build-dep</literal> causes apt-get to install/remove packages in an + attempt to satisfy the build dependencies for a source package.</para></listitem> +--> + <listitem><para><literal>build-dep</literal> ã¯ã€ + ソースパッケージã®æ§‹ç¯‰ä¾å˜é–¢ä¿‚を満ãŸã™ã‚ˆã†ã«ã€ + パッケージã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ»å‰Šé™¤ã‚’è¡Œã„ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>check</term> +<!-- + <listitem><para><literal>check</literal> is a diagnostic tool; it updates the package cache and checks + for broken dependencies.</para></listitem> +--> + <listitem><para><literal>check</literal> ã¯ã€ + パッケージã‚ャッシュã®æ›´æ–°ã‚„壊れãŸä¾å˜é–¢ä¿‚ã‚’ãƒã‚§ãƒƒã‚¯ã™ã‚‹è¨ºæ–ツールã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>clean</term> +<!-- + <listitem><para><literal>clean</literal> clears out the local repository of retrieved package + files. It removes everything but the lock file from + <filename>&cachedir;/archives/</filename> and + <filename>&cachedir;/archives/partial/</filename>. When APT is used as a + &dselect; method, <literal>clean</literal> is run automatically. + Those who do not use dselect will likely want to run <literal>apt-get clean</literal> + from time to time to free up disk space.</para></listitem> +--> + <listitem><para><literal>clean</literal> ã¯ã€ + å–å¾—ã—ãŸãƒ‘ッケージã®ãƒãƒ¼ã‚«ãƒ«ãƒªãƒã‚¸ãƒˆãƒªã‚’掃除ã—ã¾ã™ã€‚ + <filename>&cachedir;/archives/</filename> 㨠+ <filename>&cachedir;/archives/partial/</filename> + ã‹ã‚‰ãƒãƒƒã‚¯ãƒ•ã‚¡ã‚¤ãƒ«ä»¥å¤–ã™ã¹ã¦å‰Šé™¤ã—ã¾ã™ã€‚ + APT ㌠&dselect; ã‹ã‚‰å‘¼ã°ã‚Œã‚‹ã¨ãã«ã¯ã€ + 自動的㫠<literal>clean</literal> ãŒå®Ÿè¡Œã•ã‚Œã¾ã™ã€‚ + dselectを使用ã—ãªã„å ´åˆã¯ã€ãƒ‡ã‚£ã‚¹ã‚¯ã‚¹ãƒšãƒ¼ã‚¹ã‚’解放ã™ã‚‹ãŸã‚ã€æ™‚々 + <literal>apt-get clean</literal> を実行ã—ãŸããªã‚‹ã§ã—ょã†ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>autoclean</term> +<!-- + <listitem><para>Like <literal>clean</literal>, <literal>autoclean</literal> clears out the local + repository of retrieved package files. The difference is that it only + removes package files that can no longer be downloaded, and are largely + useless. This allows a cache to be maintained over a long period without + it growing out of control. The configuration option + <literal>APT::Clean-Installed</literal> will prevent installed packages from being + erased if it is set to off.</para></listitem> +--> + <listitem><para><literal>clean</literal> ã¨åŒæ§˜ã«ã€ + <literal>autoclean</literal> ã¯å–å¾—ã—ãŸãƒ‘ッケージã®ãƒãƒ¼ã‚«ãƒ«ãƒªãƒã‚¸ãƒˆãƒªã‚’掃除ã—ã¾ã™ã€‚ + é•ã„ã¯ã€ã‚‚ã†ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã•ã‚Œã‚‹ã“ã¨ãŒãªã„パッケージファイルや〠+ ã»ã¨ã‚“ã©ä¸è¦ãªãƒ‘ッケージファイルã®ã¿ã‚’削除ã™ã‚‹ã“ã¨ã§ã™ã€‚ + ã“ã®ãŸã‚ã€é•·ã„期間ã€ã‚ャッシュãŒç®¡ç†ã§ããšã«è‚¥å¤§åŒ–ã™ã‚‹ã“ã¨ãªã〠+ ç¶æŒã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ + è¨å®šã‚ªãƒ—ション <literal>APT::Clean-Installed</literal> ã« + off をセットã—ã¦ã„ã‚Œã°ã€ + インストール済ã®ãƒ‘ッケージファイルãŒå‰Šé™¤ã•ã‚Œã‚‹ã®ã‚’防ã’ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect1> + +<!-- + <refsect1><title>options</title> +--> + <refsect1><title>オプション</title> + &apt-cmdblurb; + + <variablelist> + <varlistentry><term><option>-d</option></term><term><option>--download-only</option></term> +<!-- + <listitem><para>Download only; package files are only retrieved, not unpacked or installed. + Configuration Item: <literal>APT::Get::Download-Only</literal>.</para></listitem> +--> + <listitem><para>ダウンãƒãƒ¼ãƒ‰ã®ã¿ - パッケージファイルã®å–å¾—ã®ã¿ã‚’è¡Œã„〠+ 展開・インストールを行ã„ã¾ã›ã‚“。 + è¨å®šé …ç›® - <literal>APT::Get::Download-Only</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-f</option></term><term><option>--fix-broken</option></term> +<!-- + <listitem><para>Fix; attempt to correct a system with broken dependencies in + place. This option, when used with install/remove, can omit any packages + to permit APT to deduce a likely solution. Any Package that are specified + must completely correct the problem. The option is sometimes necessary when + running APT for the first time; APT itself does not allow broken package + dependencies to exist on a system. It is possible that a system's + dependency structure can be so corrupt as to require manual intervention + (which usually means using &dselect; or <command>dpkg -\-remove</command> to eliminate some of + the offending packages). Use of this option together with <option>-m</option> may produce an + error in some situations. + Configuration Item: <literal>APT::Get::Fix-Broken</literal>.</para></listitem> +--> + <listitem><para>修復 - ä¾å˜é–¢ä¿‚ãŒå£Šã‚ŒãŸã‚·ã‚¹ãƒ†ãƒ ã®ä¿®æ£ã‚’試ã¿ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ—ションを install ã‚„ remove ã¨ä¸€ç·’ã«ä½¿ã†ã¨ãã¯ã€ + パッケージを指定ã—ãªãã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。 + ã©ã®ãƒ‘ッケージを指定ã—ã¦ã‚‚ã€å®Œå…¨ã«å•é¡Œã‚’解決ã—ã¾ã™ã€‚APT 自体ã¯ã€ + システムã«å˜åœ¨ã™ã‚‹å£Šã‚ŒãŸãƒ‘ッケージä¾å˜é–¢ä¿‚を許ã™ã“ã¨ãŒã§ããªã„ã®ã§ã€ + åˆã‚㦠APT を実行ã™ã‚‹å ´åˆã€ã“ã®ã‚ªãƒ—ションãŒå¿…è¦ã«ãªã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚ + システムã®ä¾å˜é–¢ä¿‚æ§‹é€ ã«ã‹ãªã‚Šå•é¡ŒãŒã‚ã‚‹å ´åˆã¯ã€ + 手動ã§ä¿®æ£ã™ã‚‹ã‚ˆã†è¦æ±‚ã™ã‚‹ã“ã¨ã‚‚ã‚ã‚Šã¾ã™ã€‚ + (通常ã¯ã€å•é¡Œã®ã‚るパッケージをå–り除ãã®ã« &dselect; ã‚„ + <command>dpkg --remove</command> を使用ã—ã¾ã™) + ã“ã®ã‚ªãƒ—ションを <option>-m</option> オプションã¨åŒæ™‚ã«ä½¿ç”¨ã™ã‚‹ã¨ã€ + エラーã«ãªã‚‹çŠ¶æ³ãŒã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。 + è¨å®šé …ç›® - <literal>APT::Get::Fix-Broken</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-m</option></term><term><option>--ignore-missing</option></term> + <term><option>--fix-missing</option></term> +<!-- + <listitem><para>Ignore missing packages; If packages cannot be retrieved or fail the + integrity check after retrieval (corrupted package files), hold back + those packages and handle the result. Use of this option together with + <option>-f</option> may produce an error in some situations. If a package is + selected for installation (particularly if it is mentioned on the + command line) and it could not be downloaded then it will be silently + held back. + Configuration Item: <literal>APT::Get::Fix-Missing</literal>.</para></listitem> +--> + <listitem><para>æ¬ è½ãƒ‘ッケージã®ç„¡è¦– - パッケージãŒå–å¾—ã§ããªã‹ã£ãŸã‚Šã€ + (パッケージã®ç ´æã§) å–å¾—ã—ãŸå¾Œã®æ•´åˆæ€§ãƒã‚§ãƒƒã‚¯ã‚’通らãªã‹ã£ãŸå ´åˆã€ + ãã®ãƒ‘ッケージã®å‡¦ç†ã‚’ä¿ç•™ã—最後ã¾ã§å‡¦ç†ã‚’続ã‘ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ—ションを <option>-f</option> オプションã¨åŒæ™‚ã«ä½¿ç”¨ã™ã‚‹ã¨ã€ + エラーã«ãªã‚‹çŠ¶æ³ãŒã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。 + パッケージをインストールã™ã‚‹ã‚ˆã†é¸æŠžã—ã¦ã„ã‚‹å ´åˆ + (特ã«ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§ã®æ“作時) や〠+ ダウンãƒãƒ¼ãƒ‰ã§ããªã‹ã£ãŸå ´åˆã«ã€ãªã«ã‚‚表示ã›ãšä¿ç•™ã™ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Fix-Missing</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--no-download</option></term> +<!-- + <listitem><para>Disables downloading of packages. This is best used with + <option>-\-ignore-missing</option> to force APT to use only the .debs it has + already downloaded. + Configuration Item: <literal>APT::Get::Download</literal>.</para></listitem> +--> + <listitem><para>パッケージã®ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã‚’無効ã«ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã™ã§ã«ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã—㟠.deb ã«å¯¾ã—ã¦ã®ã¿ APT ã‚’è¡Œã†å ´åˆã«ã€ + <option>--ignore-missing</option> ã¨ä½µã›ã¦ä½¿ã†ã®ãŒã‚ˆã„ã§ã—ょã†ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Download</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-q</option></term><term><option>--quiet</option></term> +<!-- + <listitem><para>Quiet; produces output suitable for logging, omitting progress indicators. + More q's will produce more quiet up to a maximum of 2. You can also use + <option>-q=#</option> to set the quiet level, overriding the configuration file. + Note that quiet level 2 implies <option>-y</option>, you should never use -qq + without a no-action modifier such as -d, -\-print-uris or -s as APT may + decided to do something you did not expect. + Configuration Item: <literal>quiet</literal>.</para></listitem> +--> + <listitem><para>é™ç²› - 進æ—表示をçœç•¥ã—〠+ ãƒã‚°ã‚’ã¨ã‚‹ã®ã«ä¾¿åˆ©ãªå‡ºåŠ›ã‚’è¡Œã„ã¾ã™ã€‚ + 最大 2 ã¤ã¾ã§ q ã‚’é‡ãã‚‹ã“ã¨ã§ã‚ˆã‚Šé™ç²›ã«ã§ãã¾ã™ã€‚ + ã¾ãŸã€<option>-q=#</option> ã®ã‚ˆã†ã«é™ç²›ãƒ¬ãƒ™ãƒ«ã‚’指定ã—ã¦ã€ + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’上書ãã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ + é™ç²›ãƒ¬ãƒ™ãƒ« 2 㯠<option>-y</option> ã‚’å«ã‚“ã§ã„ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。 + APT ãŒæ„図ã—ãªã„決定を行ã†ã‹ã‚‚ã—ã‚Œãªã„ã®ã§ -d, --print-uris, -s ã®ã‚ˆã†ãª + æ“作を行ã‚ãªã„オプションをã¤ã‘ãšã« -qq を使用ã™ã‚‹ã¹ãã§ã¯ã‚ã‚Šã¾ã›ã‚“。 + è¨å®šé …ç›® - <literal>quiet</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-s</option></term> + <term><option>--simulate</option></term> + <term><option>--just-print</option></term> + <term><option>--dry-run</option></term> + <term><option>--recon</option></term> + <term><option>--no-act</option></term> +<!-- + <listitem><para>No action; perform a simulation of events that would occur but do not + actually change the system. + Configuration Item: <literal>APT::Get::Simulate</literal>.</para> +--> + <listitem><para>動作ãªã— - ãªã«ãŒèµ·ã“ã‚‹ã®ã‹ã®ã‚·ãƒŸãƒ¥ãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³ã‚’è¡Œã„〠+ 実際ã«ã¯ã‚·ã‚¹ãƒ†ãƒ ã®å¤‰æ›´ã‚’è¡Œã„ã¾ã›ã‚“。 + è¨å®šé …ç›® - <literal>APT::Get::Simulate</literal></para> + +<!-- + <para>Simulate prints out + a series of lines each one representing a dpkg operation, Configure (Conf), + Remove (Remv), Unpack (Inst). Square brackets indicate broken packages with + and empty set of square brackets meaning breaks that are of no consequence + (rare).</para></listitem> +--> + <para>シミュレートã®çµæžœã€dpkg ã®å‹•ä½œã‚’表ã™ä¸€é€£ã®è¡Œã®ãã‚Œãžã‚Œã«ã€ + è¨å®š (Conf)ã€å‰Šé™¤ (Remv)ã€å±•é–‹ (Inst) を表示ã—ã¾ã™ã€‚ + 角カッコã¯å£Šã‚ŒãŸãƒ‘ッケージを表ã—ã€(ã¾ã‚Œã«) + 空ã®è§’カッコã¯å¤§ã—ãŸå•é¡Œã§ã¯ãªã„ã“ã¨ã‚’表ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term><option>-y</option></term><term><option>--yes</option></term> + <term><option>--assume-yes</option></term> +<!-- + <listitem><para>Automatic yes to prompts; assume "yes" as answer to all prompts and run + non-interactively. If an undesirable situation, such as changing a held + package, trying to install a unauthenticated package or removing an essential package + occurs then <literal>apt-get</literal> will abort. + Configuration Item: <literal>APT::Get::Assume-Yes</literal>.</para></listitem> +--> + <listitem><para>プãƒãƒ³ãƒ—トã¸ã®è‡ªå‹•æ‰¿è«¾ - ã™ã¹ã¦ã®ãƒ—ãƒãƒ³ãƒ—トã«è‡ªå‹•çš„ã« + "yes" ã¨ç”ãˆã€éžå¯¾è©±çš„ã«å®Ÿè¡Œã—ã¾ã™ã€‚ + ä¿ç•™ã—ãŸãƒ‘ッケージã®çŠ¶æ…‹ã‚’変更ã—ãŸã‚Šã€ + å¿…é ˆãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’å‰Šé™¤ã™ã‚‹ã‚ˆã†ãªä¸é©åˆ‡ãªçŠ¶æ³ã®å ´åˆã€ + <literal>apt-get</literal> ã¯å‡¦ç†ã‚’ä¸æ–ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Assume-Yes</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-u</option></term><term><option>--show-upgraded</option></term> +<!-- + <listitem><para>Show upgraded packages; Print out a list of all packages that are to be + upgraded. + Configuration Item: <literal>APT::Get::Show-Upgraded</literal>.</para></listitem> +--> + <listitem><para>更新パッケージ表示 - + æ›´æ–°ã•ã‚Œã‚‹å…¨ãƒ‘ッケージを一覧表示ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Show-Upgraded</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-V</option></term><term><option>--verbose-versions</option></term> +<!-- + <listitem><para>Show full versions for upgraded and installed packages. + Configuration Item: <literal>APT::Get::Show-Versions</literal>.</para></listitem> +--> + <listitem><para>更新・インストールã™ã‚‹ãƒ‘ッケージã®ãƒ´ã‚¡ãƒ¼ã‚¸ãƒ§ãƒ³ã‚’〠+ ã™ã¹ã¦è¡¨ç¤ºã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Show-Versions</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>-b</option></term><term><option>--compile</option></term> + <term><option>--build</option></term> +<!-- + <listitem><para>Compile source packages after downloading them. + Configuration Item: <literal>APT::Get::Compile</literal>.</para></listitem> +--> + <listitem><para>ソースパッケージをダウンãƒãƒ¼ãƒ‰å¾Œã€ã‚³ãƒ³ãƒ‘イルã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Compile</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--ignore-hold</option></term> +<!-- + <listitem><para>Ignore package Holds; This causes <command>apt-get</command> to ignore a hold + placed on a package. This may be useful in conjunction with + <literal>dist-upgrade</literal> to override a large number of undesired holds. + Configuration Item: <literal>APT::Ignore-Hold</literal>.</para></listitem> +--> + <listitem><para>ä¿ç•™ãƒ‘ッケージã®ç„¡è¦– - パッケージã®ä¿ç•™æŒ‡ç¤ºã‚’無視ã—㦠+ <command>apt-get</command> ã‚’è¡Œã„ã¾ã™ã€‚ + <literal>dist-upgrade</literal> ã¨å…±ã«ã€ + 大é‡ã®ãƒ‘ッケージをä¿ç•™ã®è§£é™¤ã‚’ã™ã‚‹ã®ã«ä½¿ç”¨ã™ã‚‹ã¨ä¾¿åˆ©ã§ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Ignore-Hold</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--no-upgrade</option></term> +<!-- + <listitem><para>Do not upgrade packages; When used in conjunction with <literal>install</literal>, + <literal>no-upgrade</literal> will prevent packages on the command line + from being upgraded if they are already installed. + Configuration Item: <literal>APT::Get::Upgrade</literal>.</para></listitem> +--> + <listitem><para>パッケージ更新ãªã— - <literal>install</literal> + ã¨åŒæ™‚ã«ä½¿ç”¨ã™ã‚‹ã¨ã€<literal>no-upgrade</literal> ã¯ã€ + 指定ã—ãŸãƒ‘ッケージãŒã™ã§ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ã¦ã‚ã‚‹å ´åˆã«æ›´æ–°ã‚’è¡Œã„ã¾ã›ã‚“。 + è¨å®šé …ç›® - <literal>APT::Get::Upgrade</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--force-yes</option></term> +<!-- + <listitem><para>Force yes; This is a dangerous option that will cause apt to continue + without prompting if it is doing something potentially harmful. It + should not be used except in very special situations. Using + <literal>force-yes</literal> can potentially destroy your system! + Configuration Item: <literal>APT::Get::force-yes</literal>.</para></listitem> +--> + <listitem><para>強制承諾 - + APT ãŒä½•ã‹æ傷を与ãˆã‹ããªã„動作をã—よã†ã¨ã—ãŸå ´åˆã§ã‚‚〠+ 確èªã®å…¥åŠ›ãªã—ã§å®Ÿè¡Œã—ã¦ã—ã¾ã†å±é™ºãªã‚ªãƒ—ションã§ã™ã€‚ + よã»ã©ã®çŠ¶æ³ã§ãªã‘ã‚Œã°ã€ä½¿ç”¨ã—ãªã„æ–¹ãŒã„ã„ã§ã—ょã†ã€‚ + <literal>force-yes</literal> ã¯ã€ã‚ãªãŸã®ã‚·ã‚¹ãƒ†ãƒ ã‚’ç ´å£Šã—ã‹ãã¾ã›ã‚“! + è¨å®šé …ç›® - <literal>APT::Get::force-yes</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--print-uris</option></term> +<!-- + <listitem><para>Instead of fetching the files to install their URIs are printed. Each + URI will have the path, the destination file name, the size and the expected + md5 hash. Note that the file name to write to will not always match + the file name on the remote site! This also works with the + <literal>source</literal> and <literal>update</literal> commands. When used with the + <literal>update</literal> command the MD5 and size are not included, and it is + up to the user to decompress any compressed files. + Configuration Item: <literal>APT::Get::Print-URIs</literal>.</para></listitem> +--> + <listitem><para>インストールã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å–å¾—ã™ã‚‹ä»£ã‚ã‚Šã«ã€ + ãã® URI を表示ã—ã¾ã™ã€‚ + URI ã«ã¯ã€ãƒ‘スã€å¯¾è±¡ãƒ•ã‚¡ã‚¤ãƒ«åã€ãƒ•ã‚¡ã‚¤ãƒ«ã‚µã‚¤ã‚ºã€ + 予測ã•ã‚Œã‚‹ md5 ãƒãƒƒã‚·ãƒ¥ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ + 出力ã—ãŸãƒ•ã‚¡ã‚¤ãƒ«åãŒã€ + 常ã«ãƒªãƒ¢ãƒ¼ãƒˆã‚µã‚¤ãƒˆã®ãƒ•ã‚¡ã‚¤ãƒ«åã¨ä¸€è‡´ã™ã‚‹ã‚ã‘ã§ã¯ãªã„〠+ ã¨ã„ã†ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„! + ã“れ㯠<literal>source</literal> コマンド〠+ <literal>update</literal> コマンドã§ã‚‚動作ã—ã¾ã™ã€‚ + <literal>update</literal> ã§ä½¿ç”¨ã—ãŸã¨ãã«ã¯ã€ + MD5 やファイルサイズをå«ã¿ã¾ã›ã‚“。 + ã“ã®ã¨ãã€åœ§ç¸®ãƒ•ã‚¡ã‚¤ãƒ«ã®å±•é–‹ã¯ãƒ¦ãƒ¼ã‚¶ã®è²¬ä»»ã«ãŠã„ã¦è¡Œã£ã¦ãã ã•ã„。 + è¨å®šé …ç›® - <literal>APT::Get::Print-URIs</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--purge</option></term> +<!-- + <listitem><para>Use purge instead of remove for anything that would be removed. + An asterisk ("*") will be displayed next to packages which are + scheduled to be purged. + Configuration Item: <literal>APT::Get::Purge</literal>.</para></listitem> +--> + <listitem><para>削除ã™ã‚‹éš›ã€ã€Œå‰Šé™¤ã€ã§ã¯ãªã「完全削除ã€ã‚’è¡Œã„ã¾ã™ã€‚ + 「完全削除ã€ã‚’è¡Œã†ã¨æŒ‡ç¤ºã—ãŸãƒ‘ッケージåã®å¾Œã«ã¯ã€ + アスタリスク ("*") ãŒä»˜ãã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Purge</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--reinstall</option></term> +<!-- + <listitem><para>Re-Install packages that are already installed and at the newest version. + Configuration Item: <literal>APT::Get::ReInstall</literal>.</para></listitem> +--> + <listitem><para>ã™ã§ã«æœ€æ–°ç‰ˆãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã¦ã‚‚〠+ パッケージをå†ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::ReInstall</literal>.</para></listitem> + </varlistentry> + + <varlistentry><term><option>--list-cleanup</option></term> +<!-- + <listitem><para>This option defaults to on, use <literal>-\-no-list-cleanup</literal> to turn it + off. When on <command>apt-get</command> will automatically manage the contents of + <filename>&statedir;/lists</filename> to ensure that obsolete files are erased. + The only reason to turn it off is if you frequently change your source + list. + Configuration Item: <literal>APT::Get::List-Cleanup</literal>.</para></listitem> +--> + <listitem><para>ã“ã®æ©Ÿèƒ½ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ ON ã«ãªã£ã¦ã„ã¾ã™ã€‚ + OFF ã«ã™ã‚‹ã«ã¯ <literal>--no-list-cleanup</literal> ã¨ã—ã¦ãã ã•ã„。 + ON ã®å ´åˆã€ + <command>apt-get</command> ã¯å¤ããªã£ãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’確実ã«æ¶ˆåŽ»ã™ã‚‹ãŸã‚〠+ 自動的㫠<filename>&statedir;/lists</filename> ã®ä¸èº«ã‚’管ç†ã—ã¾ã™ã€‚ + ã“れを OFF ã«ã™ã‚‹ã®ã¯ã€å–å¾—å…ƒãƒªã‚¹ãƒˆã‚’é »ç¹ã«å¤‰æ›´ã™ã‚‹æ™‚ãらã„ã§ã—ょã†ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::List-Cleanup</literal>.</para></listitem> + </varlistentry> + + <varlistentry><term><option>-t</option></term> + <term><option>--target-release</option></term> + <term><option>--default-release</option></term> +<!-- + <listitem><para>This option controls the default input to the policy engine, it creates + a default pin at priority 990 using the specified release string. The + preferences file may further override this setting. In short, this option + lets you have simple control over which distribution packages will be + retrieved from. Some common examples might be + <option>-t '2.1*'</option> or <option>-t unstable</option>. + Configuration Item: <literal>APT::Default-Release</literal>; + see also the &apt-preferences; manual page.</para></listitem> +--> + <listitem><para>ã“ã®ã‚ªãƒ—ションã¯ã€ + ãƒãƒªã‚·ãƒ¼ã‚¨ãƒ³ã‚¸ãƒ³ã¸ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå…¥åŠ›ã‚’制御ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã€æŒ‡å®šã•ã‚ŒãŸãƒªãƒªãƒ¼ã‚¹æ–‡å—列を使用ã—〠+ デフォルト pin を優先度 990 ã§ä½œæˆã™ã‚‹ã“ã¨ã§ã™ã€‚ + 優先ファイルã¯ã“ã®è¨å®šã‚’上書ãã—ã¾ã™ã€‚ + è¦ã™ã‚‹ã«ã“ã®ã‚ªãƒ—ションã§ã€ + ã©ã®é…布パッケージをå–å¾—ã™ã‚‹ã‹ã‚’ç°¡å˜ã«ç®¡ç†ã—ã¾ã™ã€‚ + 一般的ãªä¾‹ã¨ã—ã¦ã¯ã€ + <option>-t '2.1*'</option> ã‚„ <option>-t unstable</option> ã§ã—ょã†ã€‚ + è¨å®šé …ç›® - <literal>APT::Default-Release</literal> + &apt-preferences; ã®ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«ãƒšãƒ¼ã‚¸ã‚‚ã”覧ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term><option>--trivial-only</option></term> +<!-- + <listitem><para> + Only perform operations that are 'trivial'. Logically this can be considered + related to <option>-\-assume-yes</option>, where <option>-\-assume-yes</option> will answer + yes to any prompt, <option>-\-trivial-only</option> will answer no. + Configuration Item: <literal>APT::Get::Trivial-Only</literal>.</para></listitem> +--> + <listitem><para> + 「é‡è¦ã§ãªã„ã€æ“作ã®ã¿ã‚’è¡Œã„ã¾ã™ã€‚ + ã“ã‚Œã¯è«–ç†çš„ã« <option>--assume-yes</option> ã®ä»²é–“ã¨è¦‹ãªã›ã¾ã™ã€‚ + <option>--assume-yes</option> ã¯è³ªå•ã«ã™ã¹ã¦ yes ã¨ç”ãˆã¾ã™ãŒã€ + <option>--trivial-only</option> ã¯ã™ã¹ã¦ no ã¨ç”ãˆã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Trivial-Only</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--no-remove</option></term> +<!-- + <listitem><para>If any packages are to be removed apt-get immediately aborts without + prompting. + Configuration Item: <literal>APT::Get::Remove</literal>.</para></listitem> +--> + <listitem><para>パッケージãŒå‰Šé™¤ã•ã‚Œã‚‹çŠ¶æ³ã«ãªã£ãŸã¨ã〠+ プãƒãƒ³ãƒ—トを表示ã›ãšä¸æ–ã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Remove</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--only-source</option></term> + <!-- + <listitem><para>Only has meaning for the + <literal>source</literal> and <literal>build-dep</literal> + commands. Indicates that the given source names are not to be + mapped through the binary table. This means that if this option + is specified, these commands will only accept source package + names as arguments, rather than accepting binary package names + and looking up the corresponding source package. Configuration + Item: <literal>APT::Get::Only-Source</literal>.</para></listitem> +--> + <listitem><para><literal>source</literal> コマンド㨠+ <literal>build-dep</literal> コマンドã§ã®ã¿æ„味ãŒã‚ã‚Šã¾ã™ã€‚ + 指定ã•ã‚ŒãŸã‚½ãƒ¼ã‚¹åãŒãƒã‚¤ãƒŠãƒªãƒ†ãƒ¼ãƒ–ルã«ãƒžãƒƒãƒ—ã•ã‚Œãªã„よã†ã«ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã€ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€ + ãƒã‚¤ãƒŠãƒªãƒ‘ッケージåã‚’å—ã‘付ã‘ã¦å¯¾å¿œã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ‘ッケージを探ã™ã®ã§ã¯ãªã〠+ 引数ã«ã‚½ãƒ¼ã‚¹ãƒ‘ッケージåã—ã‹å—ã‘付ã‘ãªããªã‚‹ã€ã¨ã„ã†ã“ã¨ã§ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Only-Source</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--diff-only</option></term><term><option>--tar-only</option></term> +<!-- + <listitem><para>Download only the diff or tar file of a source archive. + Configuration Item: <literal>APT::Get::Diff-Only</literal> and + <literal>APT::Get::Tar-Only</literal>.</para></listitem> +--> + <listitem><para>ソースアーカイブ㮠diff ファイルや + tar ファイルã®ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã®ã¿ã‚’è¡Œã„ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Diff-Only</literal>, + <literal>APT::Get::Tar-Only</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--arch-only</option></term> +<!-- + <listitem><para>Only process architecture-dependent build-dependencies. + Configuration Item: <literal>APT::Get::Arch-Only</literal>.</para></listitem> +--> + <listitem><para>構築ä¾å˜é–¢ä¿‚ã®è§£æ±ºã‚’〠+ アーã‚テクãƒãƒ£ã«ä¾å˜ã—ãŸã‚‚ã®ã®ã¿è¡Œã„ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::Arch-Only</literal></para></listitem> + </varlistentry> + + <varlistentry><term><option>--allow-unauthenticated</option></term> +<!-- + <listitem><para>Ignore if packages can't be authenticated and don't prompt about it. + This is usefull for tools like pbuilder. + Configuration Item: <literal>APT::Get::AllowUnauthenticated</literal>.</para></listitem> +--> + <listitem><para>パッケージを確èªã§ããªã„å ´åˆã«ç„¡è¦–ã—〠+ ãã‚Œã«ã¤ã„ã¦è³ªå•ã—ã¾ã›ã‚“。 + pbuilder ã®ã‚ˆã†ãªãƒ„ールã§ä¾¿åˆ©ã§ã™ã€‚ + è¨å®šé …ç›® - <literal>APT::Get::AllowUnauthenticated</literal></para></listitem> + </varlistentry> + + + &apt-commonoptions; + + </variablelist> + </refsect1> + +<!-- + <refsect1><title>Files</title> +--> + <refsect1><title>ファイル</title> + <variablelist> + <varlistentry><term><filename>/etc/apt/sources.list</filename></term> +<!-- + <listitem><para>Locations to fetch packages from. + Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem> +--> + <listitem><para>パッケージã®å–得元。 + è¨å®šé …ç›® - <literal>Dir::Etc::SourceList</literal></para></listitem> + </varlistentry> + + <varlistentry><term><filename>/etc/apt/apt.conf</filename></term> +<!-- + <listitem><para>APT configuration file. + Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem> +--> + <listitem><para>APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã€‚ + è¨å®šé …ç›® - <literal>Dir::Etc::Main</literal></para></listitem> + </varlistentry> + + <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term> +<!-- + <listitem><para>APT configuration file fragments + Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem> +--> + <listitem><para>APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®æ–片。 + è¨å®šé …ç›® - <literal>Dir::Etc::Parts</literal></para></listitem> + </varlistentry> + + <varlistentry><term><filename>/etc/apt/preferences</filename></term> +<!-- + <listitem><para>Version preferences file. + This is where you would specify "pinning", + i.e. a preference to get certain packages + from a separate source + or from a different version of a distribution. + Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem> +--> + <listitem><para>ãƒãƒ¼ã‚¸ãƒ§ãƒ³å„ªå…ˆãƒ•ã‚¡ã‚¤ãƒ«ã€‚ + ã“ã“ã« "pin" ã®è¨å®šã‚’è¡Œã„ã¾ã™ã€‚ + ã¤ã¾ã‚Šã€åˆ¥ã€…ã®å–得元や異ãªã‚‹ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã€ + ã©ã“ã‹ã‚‰ãƒ‘ッケージをå–å¾—ã™ã‚‹ã‹ã‚’è¨å®šã—ã¾ã™ã€‚ + è¨å®šé …ç›® - <literal>Dir::Etc::Preferences</literal></para></listitem> + </varlistentry> + + <varlistentry><term><filename>&cachedir;/archives/</filename></term> +<!-- + <listitem><para>Storage area for retrieved package files. + Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem> +--> + <listitem><para>å–得済ã¿ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ•ã‚¡ã‚¤ãƒ«æ ¼ç´ã‚¨ãƒªã‚¢ã€‚ + è¨å®šé …ç›® - <literal>Dir::Cache::Archives</literal></para></listitem> + </varlistentry> + + <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term> +<!-- + <listitem><para>Storage area for package files in transit. + Configuration Item: <literal>Dir::Cache::Archives</literal> (implicit partial). </para></listitem> +--> + <listitem><para>å–å¾—ä¸ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ•ã‚¡ã‚¤ãƒ«æ ¼ç´ã‚¨ãƒªã‚¢ã€‚ + è¨å®šé …ç›® - <literal>Dir::Cache::Archives</literal> (必然的ã«ä¸å®Œå…¨)</para></listitem> + </varlistentry> + + <varlistentry><term><filename>&statedir;/lists/</filename></term> +<!-- + <listitem><para>Storage area for state information for each package resource specified in + &sources-list; + Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem> +--> + <listitem><para>&sources-list; ã®ãƒ‘ッケージリソース特有ã®çŠ¶æ…‹æƒ…å ±æ ¼ç´ã‚¨ãƒªã‚¢ã€‚ + è¨å®šé …ç›® - <literal>Dir::State::Lists</literal></para></listitem> + </varlistentry> + + <varlistentry><term><filename>&statedir;/lists/partial/</filename></term> +<!-- + <listitem><para> Storage area for state information in transit. + Configuration Item: <literal>Dir::State::Lists</literal> (implicit partial).</para></listitem> +--> + <listitem><para>å–å¾—ä¸ã®çŠ¶æ…‹æƒ…å ±æ ¼ç´ã‚¨ãƒªã‚¢ã€‚ + è¨å®šé …ç›® - <literal>Dir::State::Lists</literal> (必然的ã«ä¸å®Œå…¨)</para></listitem> + </varlistentry> + </variablelist> + </refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> +<!-- + <para>&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, + &apt-conf;, &apt-config;, + The APT User's guide in &docdir;, &apt-preferences;, the APT Howto.</para> +--> + <para>&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, + &apt-conf;, &apt-config;, + &docdir; ã® APT ユーザーズガイド, &apt-preferences;, APT Howto</para> + </refsect1> + +<!-- + <refsect1><title>Diagnostics</title> +--> + <refsect1><title>診æ–メッセージ</title> +<!-- + <para><command>apt-get</command> returns zero on normal operation, decimal 100 on error.</para> +--> + <para><command>apt-get</command> ã¯æ£å¸¸çµ‚了時㫠0 ã‚’è¿”ã—ã¾ã™ã€‚ + エラー時ã«ã¯å進㮠100 ã‚’è¿”ã—ã¾ã™ã€‚</para> + </refsect1> + + &manbugs; + &translator; + +</refentry> diff --git a/doc/ja/apt-key.ja.8.xml b/doc/ja/apt-key.ja.8.xml new file mode 100644 index 000000000..732ca9b1c --- /dev/null +++ b/doc/ja/apt-key.ja.8.xml @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + &apt-docinfo; + + <refmeta> + <refentrytitle>apt-key</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-key</refname> +<!-- + <refpurpose>APT key management utility</refpurpose> +--> + <refpurpose>APT ã‚ー管ç†ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-key</command> + <arg><replaceable>command</replaceable>/</arg> + <arg rep="repeat"><option><replaceable>arguments</replaceable></option></arg> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> + <para> +<!-- + <command>apt-key</command> is used to manage the list of keys used + by apt to authenticate packages. Packages which have been + authenticated using these keys will be considered trusted. +--> + <command>apt-key</command> ã¯ã€ + apt ㌠パッケージをèªè¨¼ã™ã‚‹ã®ã«ä½¿ç”¨ã™ã‚‹ã‚ーã®ä¸€è¦§ã‚’管ç†ã™ã‚‹ã®ã«ä½¿ç”¨ã—ã¾ã™ã€‚ + ã“ã®ã‚ーã§èªè¨¼ã•ã‚ŒãŸãƒ‘ッケージã¯ã€ä¿¡é ¼ã™ã‚‹ã«è¶³ã‚‹ã¨è¦‹ãªã›ã‚‹ã§ã—ょã†ã€‚ + </para> +</refsect1> + +<!-- +<refsect1><title>Commands</title> +--> +<refsect1><title>コマンド</title> + <variablelist> + <varlistentry><term>add <replaceable>filename</replaceable></term> + <listitem> + <para> + +<!-- + Add a new key to the list of trusted keys. The key is read + from <replaceable>filename</replaceable>, or standard input if + <replaceable>filename</replaceable> is <literal>-</literal>. +--> + ä¿¡é ¼ã‚ー一覧ã«æ–°ã—ã„ã‚ãƒ¼ã‚’è¿½åŠ ã—ã¾ã™ã€‚ + ã“ã®ã‚ー㯠<replaceable>filename</replaceable> ã‹ã‚‰èªã¿è¾¼ã¿ã¾ã™ãŒã€ + <replaceable>filename</replaceable> ã‚’ <literal>-</literal> ã¨ã™ã‚‹ã¨ã€ + 標準入力ã‹ã‚‰èªã¿è¾¼ã¿ã¾ã™ã€‚ + </para> + + </listitem> + </varlistentry> + + <varlistentry><term>del <replaceable>keyid</replaceable></term> + <listitem> + <para> + +<!-- + Remove a key from the list of trusted keys. +--> + ä¿¡é ¼ã‚ー一覧ã‹ã‚‰ã‚ーを削除ã—ã¾ã™ã€‚ + + </para> + + </listitem> + </varlistentry> + + <varlistentry><term>list</term> + <listitem> + <para> + +<!-- + List trusted keys. +--> + ä¿¡é ¼ã‚ーを一覧表示ã—ã¾ã™ã€‚ + + </para> + + </listitem> + </varlistentry> + + <varlistentry><term>update</term> + <listitem> + <para> + +<!-- + Update the local keyring with the keyring of Debian archive + keys and removes from the keyring the archive keys which are no + longer valid. +--> + Debian アーカイブã‚ーã§ã€ãƒãƒ¼ã‚«ãƒ«ã‚ーリングを更新ã—〠+ ã‚‚ã†æœ‰åŠ¹ã§ãªã„ã‚ーをã‚ーリングã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚ + + </para> + + </listitem> + </varlistentry> + </variablelist> +</refsect1> + +<!-- + <refsect1><title>Files</title> +--> + <refsect1><title>ファイル</title> + <variablelist> + <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term> +<!-- + <listitem><para>Keyring of local trusted keys, new keys will be added here.</para></listitem> +--> + <listitem><para>ãƒãƒ¼ã‚«ãƒ«ä¿¡é ¼ã‚ーã®ã‚ーリング。 + æ–°ã—ã„ã‚ーã¯ã“ã“ã«è¿½åŠ ã•ã‚Œã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term><filename>/etc/apt/trustdb.gpg</filename></term> +<!-- + <listitem><para>Local trust database of archive keys.</para></listitem> +--> + <listitem><para>アーカイブã‚ーã®ãƒãƒ¼ã‚«ãƒ«ä¿¡é ¼ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹</para></listitem> + </varlistentry> + + <varlistentry><term><filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename></term> +<!-- + <listitem><para>Keyring of Debian archive trusted keys.</para></listitem> +--> + <listitem><para>Debian ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ä¿¡é ¼ã‚ーã®ã‚ーリング</para></listitem> + </varlistentry> + + <varlistentry><term><filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename></term> +<!-- + <listitem><para>Keyring of Debian archive removed trusted keys.</para></listitem> +--> + <listitem><para>削除ã•ã‚ŒãŸ Debian ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ä¿¡é ¼ã‚ーã®ã‚ーリング</para></listitem> + </varlistentry> + + + + </variablelist> + +</refsect1> + +<!-- +<refsect1><title>See Also</title> +--> +<refsect1><title>é–¢é€£é …ç›®</title> +<para> +&apt-get;, &apt-secure; +</para> +</refsect1> + + &manbugs; + &manauthor; + &translator; + +</refentry> + diff --git a/doc/ja/apt-secure.ja.8.xml b/doc/ja/apt-secure.ja.8.xml new file mode 100644 index 000000000..5b9612a7f --- /dev/null +++ b/doc/ja/apt-secure.ja.8.xml @@ -0,0 +1,374 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + &apt-docinfo; + + <refmeta> + <refentrytitle>apt-secure</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + +<!-- NOTE: This manpage has been written based on the + Securing Debian Manual ("Debian Security + Infrastructure" chapter) and on documentation + available at the following sites: + http://wiki.debian.net/?apt06 + http://www.syntaxpolice.org/apt-secure/ + http://www.enyo.de/fw/software/apt-secure/ +--> +<!-- TODO: write a more verbose example of how it works with + a sample similar to + http://www.debian-administration.org/articles/174 + ? +--> + + + <!-- Man page title --> + <refnamediv> + <refname>apt-secure</refname> +<!-- + <refpurpose>Archive authentication support for APT</refpurpose> +--> + <refpurpose>APT アーカイブèªè¨¼ã‚µãƒãƒ¼ãƒˆ</refpurpose> + </refnamediv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> + <para> +<!-- + Starting with version 0.6, <command>apt</command> contains code + that does signature checking of the Release file for all + archives. This ensures that packages in the archive can't be + modified by people who have no access to the Release file signing + key. +--> + ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 0.6 よりã€<command>apt</command> 全アーカイブã«å¯¾ã™ã‚‹ + Release ファイルã®ç½²åãƒã‚§ãƒƒã‚¯ã‚³ãƒ¼ãƒ‰ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ + Release ファイル署åã‚ーã«ã‚¢ã‚¯ã‚»ã‚¹ã§ããªã„人ãŒã€ + アーカイブã®ãƒ‘ッケージã®å¤‰æ›´ãŒç¢ºå®Ÿã«ã§ããªã„よã†ã«ã—ã¾ã™ã€‚ + </para> + + <para> +<!-- + If a package comes from a archive without a signature or with a + signature that apt does not have a key for that package is + considered untrusted and installing it will result in a big + warning. <command>apt-get</command> will currently only warn + for unsigned archives, future releases might force all sources + to be verified before downloading packages from them. +--> + パッケージã«ç½²åã•ã‚Œãªã‹ã£ãŸã‚Šã€apt ãŒçŸ¥ã‚‰ãªã„ã‚ーã§ç½²åã•ã‚Œã¦ã„ãŸå ´åˆã€ + アーカイブã‹ã‚‰æ¥ãŸãƒ‘ッケージã¯ã€ä¿¡é ¼ã•ã‚Œã¦ã„ãªã„ã¨è¦‹ãªã—〠+ インストールã®éš›ã«é‡è¦ãªè¦å‘ŠãŒè¡¨ç¤ºã•ã‚Œã¾ã™ã€‚ + <command>apt-get</command> ã¯ã€ + ç¾åœ¨æœªç½²åã®ãƒ‘ッケージã«å¯¾ã—ã¦è¦å‘Šã™ã‚‹ã ã‘ã§ã™ãŒã€ + å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯ã€å…¨ã‚½ãƒ¼ã‚¹ã«å¯¾ã—〠+ パッケージダウンãƒãƒ¼ãƒ‰å‰ã«å¼·åˆ¶çš„ã«æ¤œè¨¼ã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚ + </para> + + <para> +<!-- + The package frontends &apt-get;, &aptitude; and &synaptic; support this new + authentication feature. +--> + &apt-get;, &aptitude;, &synaptic; ã¨ã„ã£ãŸãƒ‘ッケージフãƒãƒ³ãƒˆã‚¨ãƒ³ãƒ‰ã¯ã€ + ã“ã®æ–°èªè¨¼æ©Ÿèƒ½ã‚’サãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚ + </para> +</refsect1> + +<!-- + <refsect1><title>Trusted archives</title> +--> + <refsect1><title>ä¿¡é ¼æ¸ˆã‚¢ãƒ¼ã‚«ã‚¤ãƒ–</title> + + <para> +<!-- + The chain of trust from an apt archive to the end user is made up of + different steps. <command>apt-secure</command> is the last step in + this chain, trusting an archive does not mean that the packages + that you trust it do not contain malicious code but means that you + trust the archive maintainer. Its the archive maintainer + responsibility to ensure that the archive integrity is correct. +--> + apt アーカイブã‹ã‚‰ã‚¨ãƒ³ãƒ‰ãƒ¦ãƒ¼ã‚¶ã¾ã§ã®ä¿¡é ¼ã®è¼ªã¯ã€ + ã„ãã¤ã‹ã®ã‚¹ãƒ†ãƒƒãƒ—ã§æ§‹æˆã•ã‚Œã¦ã„ã¾ã™ã€‚ + <command>apt-secure</command> ã¯ã€ã“ã®è¼ªã®æœ€å¾Œã®ã‚¹ãƒ†ãƒƒãƒ—ã§ã€ + ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã‚’ä¿¡é ¼ã™ã‚‹ã“ã¨ã¯ã€ + パッケージã«æ‚ªæ„ã®ã‚るコードãŒå«ã¾ã‚Œã¦ã„ãªã„ã¨ä¿¡é ¼ã™ã‚‹ã‚ã‘ã§ã¯ã‚ã‚Šã¾ã›ã‚“ãŒã€ + ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ãƒ¡ãƒ³ãƒ†ãƒŠã‚’ä¿¡é ¼ã™ã‚‹ã¨è¨€ã†ã“ã¨ã§ã™ã€‚ + ã“ã‚Œã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã®å®Œå…¨æ€§ã‚’ä¿è¨¼ã™ã‚‹ã®ã¯ã€ + アーカイブメンテナã®è²¬ä»»ã ã¨ã„ã†ã“ã¨ã§ã™ã€‚ + </para> + +<!-- + <para>apt-secure does not review signatures at a + package level. If you require tools to do this you should look at + <command>debsig-verify</command> and + <command>debsign</command> (provided in the debsig-verify and + devscripts packages respectively).</para> +--> + <para>apt-secure ã¯ãƒ‘ッケージレベルã®ç½²å検証ã¯è¡Œã„ã¾ã›ã‚“。 + ãã®ã‚ˆã†ãªãƒ„ールãŒå¿…è¦ãªå ´åˆã¯ã€ + <command>debsig-verify</command> ã‚„ <command>debsign</command> + (debsig-verify パッケージ㨠devscripts パッケージã§ãã‚Œãžã‚Œæä¾›ã•ã‚Œã¦ã„ã¾ã™) + を確èªã—ã¦ãã ã•ã„。</para> + + <para> +<!-- + The chain of trust in Debian starts when a maintainer uploads a new + package or a new version of a package to the Debian archive. This + upload in order to become effective needs to be signed by a key of + a maintainer within the Debian maintainer's keyring (available in + the debian-keyring package). Maintainer's keys are signed by + other maintainers following pre-established procedures to + ensure the identity of the key holder. +--> + Debian ã«ãŠã‘ã‚‹ä¿¡é ¼ã®è¼ªã¯ã€ + æ–°ã—ã„パッケージやパッケージã®æ–°ã—ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’〠+ メンテナ㌠Debian アーカイブã«ã‚¢ãƒƒãƒ—ãƒãƒ¼ãƒ‰ã™ã‚‹ã“ã¨ã§å§‹ã¾ã‚Šã¾ã™ã€‚ + ã“ã‚Œã¯ã€Debian メンテナã‚ーリング (debian-keyring パッケージã«ã‚ã‚Šã¾ã™) + ã«ã‚るメンテナã®ã‚ーã§ç½²åã—ãªã‘ã‚Œã°ã€ã‚¢ãƒƒãƒ—ãƒãƒ¼ãƒ‰ã§ããªã„ã¨ã„ã†ã“ã¨ã§ã™ã€‚ + メンテナã®ã‚ーã¯ã€ã‚ーã®æ‰€æœ‰è€…ã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã‚’確ä¿ã™ã‚‹ãŸã‚〠+ 以下ã®ã‚ˆã†ãªäº‹å‰ã«ç¢ºç«‹ã—ãŸæ‰‹æ®µã§ã€ä»–ã®ãƒ¡ãƒ³ãƒ†ãƒŠã«ç½²åã•ã‚Œã¦ã„ã¾ã™ã€‚ + </para> + + <para> +<!-- + Once the uploaded package is verified and included in the archive, + the maintainer signature is stripped off, an MD5 sum of the package + is computed and put in the Packages file. The MD5 sum of all of the + packages files are then computed and put into the Release file. The + Release file is then signed by the archive key (which is created + once a year and distributed through the FTP server. This key is + also on the Debian keyring. +--> + アップãƒãƒ¼ãƒ‰ã•ã‚ŒãŸãƒ‘ッケージã”ã¨ã«ã€æ¤œè¨¼ã—ã¦ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«æ ¼ç´ã—ã¾ã™ã€‚ + パッケージã¯ã€ãƒ¡ãƒ³ãƒ†ãƒŠã®ç½²åã‚’ã¯ãŒã•ã‚Œã€ MD5 sum を計算ã•ã‚Œã¦ã€ + Packages ファイルã«æ ¼ç´ã•ã‚Œã¾ã™ã€‚ + ãã®å¾Œã€å…¨ãƒ‘ッケージファイル㮠MD5 sum を計算ã—ã¦ã‹ã‚‰ã€ + Release ファイルã«ç½®ãã¾ã™ã€‚ + Release ファイルã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã‚ーã§ç½²åã•ã‚Œã¾ã™ã€‚ + アーカイブã‚ーã¯å¹´ã”ã¨ã«ä½œæˆã•ã‚Œã€FTP サーãƒã§é…布ã•ã‚Œã¾ã™ã€‚ + ã“ã®ã‚ーも Debian ã‚ーリングã«å«ã¾ã‚Œã¾ã™ã€‚ + </para> + + <para> +<!-- + Any end user can check the signature of the Release file, extract the MD5 + sum of a package from it and compare it with the MD5 sum of the + package he downloaded. Prior to version 0.6 only the MD5 sum of the + downloaded Debian package was checked. Now both the MD5 sum and the + signature of the Release file are checked. +--> + エンドユーザã¯èª°ã§ã‚‚ã€Release ファイルã®ç½²åã‚’ãƒã‚§ãƒƒã‚¯ã—〠+ パッケージ㮠MD5 sum を抽出ã—ã¦ã€ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã—ãŸãƒ‘ッケージ㮠MD5 sum + ã¨æ¯”較ã§ãã¾ã™ã€‚ + ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 0.6 以å‰ã§ã¯ã€ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã—㟠Debian パッケージ㮠MD5 sum ã—ã‹ã€ + ãƒã‚§ãƒƒã‚¯ã—ã¦ã„ã¾ã›ã‚“ã§ã—ãŸã€‚ + ç¾åœ¨ã§ã¯ã€MD5 sum 㨠Release ファイルã®ç½²åã®ä¸¡æ–¹ã§ãƒã‚§ãƒƒã‚¯ã—ã¾ã™ã€‚ + </para> + +<!-- + <para>Notice that this is distinct from checking signatures on a + per package basis. It is designed to prevent two possible attacks: +--> + <para>以上ã¯ã€ãƒ‘ッケージã”ã¨ã®ç½²åãƒã‚§ãƒƒã‚¯ã¨ã¯é•ã†ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。 + 以下ã®ã‚ˆã†ã«è€ƒãˆã‚‰ã‚Œã‚‹ 2 種類ã®æ”»æ’ƒã‚’防ãよã†è¨è¨ˆã•ã‚Œã¦ã„ã¾ã™ã€‚ + </para> + + <itemizedlist> +<!-- + <listitem><para><literal>Network "man in the middle" + attacks</literal>. Without signature checking, a malicious + agent can introduce himself in the package download process and + provide malicious software either by controlling a network + element (router, switch, etc.) or by redirecting traffic to a + rogue server (through arp or DNS spoofing + attacks).</para></listitem> +--> + <listitem><para><literal>ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ä¸é–“者攻撃</literal> + ç½²åã‚’ãƒã‚§ãƒƒã‚¯ã—ãªã„ã¨ã€ + 悪æ„ã‚るエージェントãŒãƒ‘ッケージダウンãƒãƒ¼ãƒ‰ãƒ—ãƒã‚»ã‚¹ã«å‰²ã‚Šè¾¼ã‚“ã り〠+ ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯æ§‹æˆè¦ç´ (ルータã€ã‚¹ã‚¤ãƒƒãƒãªã©) ã®åˆ¶å¾¡ã‚„〠+ 悪漢サーãƒã¸ã®ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ãƒˆãƒ©ãƒ•ã‚£ãƒƒã‚¯ã®ãƒªãƒ€ã‚¤ãƒ¬ã‚¯ãƒˆãªã© + (arp 経由や DNS スプーフィング攻撃) ã§ã€ + 悪æ„ã‚るソフトウェアを掴ã¾ã•ã‚ŒãŸã‚Šã—ã¾ã™ã€‚</para></listitem> + +<!-- + <listitem><para><literal>Mirror network compromise</literal>. + Without signature checking, a malicious agent can compromise a + mirror host and modify the files in it to propagate malicious + software to all users downloading packages from that + host.</para></listitem> +--> + <listitem><para><literal>ミラーãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯æ„ŸæŸ“</literal>. + ç½²åã‚’ãƒã‚§ãƒƒã‚¯ã—ãªã„ã¨ã€æ‚ªæ„ã‚るエージェントãŒãƒŸãƒ©ãƒ¼ãƒ›ã‚¹ãƒˆã«æ„ŸæŸ“ã—〠+ ã“ã®ãƒ›ã‚¹ãƒˆã‹ã‚‰ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã—ãŸãƒ¦ãƒ¼ã‚¶ã™ã¹ã¦ã«ã€ + 悪æ„ã‚るソフトウェアãŒä¼æ’ã™ã‚‹ã‚ˆã†ã«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’変更ã§ãã¾ã™ã€‚</para></listitem> + </itemizedlist> + +<!-- + <para>However, it does not defend against a compromise of the + Debian master server itself (which signs the packages) or against a + compromise of the key used to sign the Release files. In any case, + this mechanism can complement a per-package signature.</para> +--> + <para>ã—ã‹ã—ã“ã‚Œã¯ã€ + (パッケージã«ç½²åã™ã‚‹) Debian マスターサーãƒè‡ªä½“ã®æ„ŸæŸ“や〠+ Release ファイルã«ç½²åã™ã‚‹ã®ã«ä½¿ç”¨ã—ãŸã‚ーã®æ„ŸæŸ“を防ã’ã¾ã›ã‚“。 + ã„ãšã‚Œã«ã›ã‚ˆã€ã“ã®æ©Ÿæ§‹ã¯ãƒ‘ッケージã”ã¨ã®ç½²åを補完ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚</para> +</refsect1> + +<!-- + <refsect1><title>User configuration</title> +--> + <refsect1><title>ユーザã®è¨å®š</title> + <para> +<!-- + <command>apt-key</command> is the program that manages the list + of keys used by apt. It can be used to add or remove keys although + an installation of this release will automatically provide the + default Debian archive signing keys used in the Debian package + repositories. +--> + <command>apt-key</command> ã¯ã€ + apt ãŒä½¿ç”¨ã™ã‚‹ã‚ーリストを管ç†ã™ã‚‹ãƒ—ãƒã‚°ãƒ©ãƒ ã§ã™ã€‚ + ã“ã®ãƒªãƒªãƒ¼ã‚¹ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã§ã¯ã€Debian パッケージリãƒã‚¸ãƒˆãƒªã§ä½¿ç”¨ã™ã‚‹ã€ + ã‚ーã§ç½²åã™ã‚‹ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã® Debian アーカイブをæä¾›ã—ã¾ã™ãŒã€ + <command>apt-key</command> ã§ã‚ーã®è¿½åŠ ・削除ãŒè¡Œãˆã¾ã™ã€‚ + </para> + <para> +<!-- + In order to add a new key you need to first download it + (you should make sure you are using a trusted communication channel + when retrieving it), add it with <command>apt-key</command> and + then run <command>apt-get update</command> so that apt can download + and verify the <filename>Release.gpg</filename> files from the archives you + have configured. +--> + æ–°ã—ã„ã‚ãƒ¼ã‚’è¿½åŠ ã™ã‚‹ãŸã‚ã«ã¯ã€ã¾ãšã‚ーをダウンãƒãƒ¼ãƒ‰ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ + (å–å¾—ã™ã‚‹éš›ã«ã¯ã€ä¿¡é ¼ã§ãる通信ãƒãƒ£ãƒãƒ«ã‚’使用ã™ã‚‹ã‚ˆã†ã€ç‰¹ã«ç•™æ„ã—ã¦ãã ã•ã„) + å–å¾—ã—ãŸã‚ーをã€<command>apt-key</command> ã§è¿½åŠ ã—〠+ <command>apt-get update</command> を実行ã—ã¦ãã ã•ã„。 + 以上ã«ã‚ˆã‚Šã€apt ã¯æŒ‡å®šã—ãŸã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã‹ã‚‰ã€<filename>Release.gpg</filename> + ファイルをダウンãƒãƒ¼ãƒ‰ãƒ»æ¤œè¨¼ã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ + </para> +</refsect1> + +<!-- +<refsect1><title>Archive configuration</title> +--> +<refsect1><title>アーカイブã®è¨å®š</title> + <para> +<!-- + If you want to provide archive signatures in an archive under your + maintenance you have to: +--> + ã‚ãªãŸãŒãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹ã—ã¦ã„るアーカイブã§ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ç½²åã‚’æä¾›ã—ãŸã„å ´åˆã€ + 以下ã®ã‚ˆã†ã«ã—ã¦ãã ã•ã„。 + </para> + + <itemizedlist> +<!-- + <listitem><para><literal>Create a toplevel Release + file</literal>. if it does not exist already. You can do this + by running <command>apt-ftparchive release</command> + (provided inftp apt-utils).</para></listitem> +--> + <listitem><para><literal>ä¸Šä½ Release ファイルã®ä½œæˆ</literal> + æ—¢ã«ã“ã‚ŒãŒå˜åœ¨ã—ã¦ã„ã‚‹ã®ã§ãªã‘ã‚Œã°ã€ + <command>apt-ftparchive release</command> (apt-utils ã§æä¾›) + を実行ã—ã¦ä½œæˆã—ã¦ãã ã•ã„。</para></listitem> + +<!-- + <listitem><para><literal>Sign it</literal>. You can do this by running + <command>gpg -abs -o Release.gpg Release</command>.</para></listitem> +--> + <listitem><para><literal>ç½²å</literal> + <command>gpg -abs -o Release.gpg Release</command> を実行ã—ã¦ã€ + ç½²åã—ã¦ãã ã•ã„。</para></listitem> + +<!-- + <listitem><para><literal>Publish the key fingerprint</literal>, + that way your users will know what key they need to import in + order to authenticate the files in the + archive.</para></listitem> +--> + <listitem><para><literal>ã‚ーã®æŒ‡ç´‹ã‚’é…布</literal> + ã“ã‚Œã«ã‚ˆã‚Šã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–内ã®ãƒ•ã‚¡ã‚¤ãƒ«èªè¨¼ã«ã€ + ã©ã®ã‚ーをインãƒãƒ¼ãƒˆã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã‹ã‚’〠+ ユーザã«çŸ¥ã‚‰ã›ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚</para></listitem> + + </itemizedlist> + +<!-- + <para>Whenever the contents of the archive changes (new packages + are added or removed) the archive maintainer has to follow the + first two steps previously outlined.</para> +--> + <para>アーカイブã®å†…容ã«å¤‰åŒ–ãŒã‚ã‚‹å ´åˆ (æ–°ã—ã„パッケージã®è¿½åŠ や削除)〠+ アーカイブメンテナã¯å‰è¿°ã®æœ€åˆã® 1, 2 ステップã«å¾“ã‚ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。</para> + +</refsect1> + +<!-- +<refsect1><title>See Also</title> +--> +<refsect1><title>é–¢é€£é …ç›®</title> +<para> +&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-archive;, +&debsign; &debsig-verify;, &gpg; +</para> + +<!-- +<para>For more backgound information you might want to review the +<ulink +url="http://www.debian.org/doc/manuals/securing-debian-howto/ch7.en.html">Debian +Security Infrastructure</ulink> chapter of the Securing Debian Manual +(available also in the harden-doc package) and the +<ulink url="http://www.cryptnet.net/fdp/crypto/strong_distro.html" +>Strong Distribution HOWTO</ulink> by V. Alex Brennen. </para> +--> +<para>詳細ãªèƒŒæ™¯æƒ…å ±ã‚’æ¤œè¨¼ã™ã‚‹ã®ãªã‚‰ã€ +the Securing Debian Manual (harden-doc パッケージã«ã‚‚ã‚ã‚Šã¾ã™) ã® +<ulink +url="http://www.debian.org/doc/manuals/securing-debian-howto/ch7.en.html">Debian +Security Infrastructure</ulink> ç« ã¨ã€ +V. Alex Brennen ã«ã‚ˆã‚‹ +<ulink url="http://www.cryptnet.net/fdp/crypto/strong_distro.html" +>Strong Distribution HOWTO</ulink> ã‚’ã”覧ãã ã•ã„。</para> + +</refsect1> + + &manbugs; + &manauthor; + +<!-- +<refsect1><title>Manpage Authors</title> +--> +<refsect1><title>マニュアルページç†è€…</title> + +<!-- +<para>This man-page is based on the work of Javier Fernández-Sanguino +Peña, Isaac Jones, Colin Walters, Florian Weimer and Michael Vogt. +--> +<para>ã“ã®ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«ãƒšãƒ¼ã‚¸ã¯ Javier Fernández-Sanguino +Peña, Isaac Jones, Colin Walters, Florian Weimer, Michael Vogt +ã®ä½œæ¥ã‚’å…ƒã«ã—ã¦ã„ã¾ã™ã€‚ +</para> + +</refsect1> + + &translator; + +</refentry> + diff --git a/doc/ja/apt-sortpkgs.ja.1.xml b/doc/ja/apt-sortpkgs.ja.1.xml new file mode 100644 index 000000000..779620f0b --- /dev/null +++ b/doc/ja/apt-sortpkgs.ja.1.xml @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-sortpkgs</refentrytitle> + <manvolnum>1</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-sortpkgs</refname> +<!-- + <refpurpose>Utility to sort package index files</refpurpose> +--> + <refpurpose>パッケージインデックスファイルã®ã‚½ãƒ¼ãƒˆãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£</refpurpose> + + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-sortpkgs</command> + <arg><option>-hvs</option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> +<!-- + <para><command>apt-sortpkgs</command> will take an index file (Source index or Package + index) and sort the records so that they are ordered by the package name. + It will also sort the internal fields of each record according to the + internal sorting rules.</para> +--> + <para><command>apt-sortpkgs</command> ã¯ã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ« + (ソースインデックスやパッケージインデックス) ã‹ã‚‰ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚’ソートã—〠+ パッケージåé †ã«æ•´ãˆã¾ã™ã€‚ + ã¾ãŸã€å†…部ã®ã‚½ãƒ¼ãƒˆè¦å‰‡ã«å¾“ã£ã¦ã€å†…部フィールドã«ã¤ã„ã¦ã‚‚ソートを行ã„ã¾ã™ã€‚</para> + +<!-- + <para> + All output is sent to stdout, the input must be a seekable file.</para> +--> + <para> + 出力ã¯ã™ã¹ã¦æ¨™æº–出力ã«é€ã‚‰ã‚Œã€å…¥åŠ›ã¯æ¤œç´¢ã§ãるファイルã§ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。</para> + </refsect1> + +<!-- + <refsect1><title>options</title> +--> + <refsect1><title>オプション</title> + &apt-cmdblurb; + + <variablelist> + <varlistentry><term><option>-s</option></term><term><option>--source</option></term> + <listitem><para> +<!-- + Use Source index field ordering. + Configuration Item: <literal>APT::SortPkgs::Source</literal>.</para></listitem> +--> + ã‚½ãƒ¼ã‚¹ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰é †ã«ä¸¦ã¹æ›¿ãˆ + è¨å®šé …ç›® - <literal>APT::SortPkgs::Source</literal>.</para></listitem> + </varlistentry> + + &apt-commonoptions; + + </variablelist> + </refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> + <para>&apt-conf;</para> + </refsect1> + +<!-- + <refsect1><title>Diagnostics</title> +--> + <refsect1><title>診æ–メッセージ</title> + <para><command>apt-sortpkgs</command> ã¯æ£å¸¸çµ‚了時㫠0 ã‚’è¿”ã—ã¾ã™ã€‚ + エラー時ã«ã¯å進㮠100 ã‚’è¿”ã—ã¾ã™ã€‚</para> + </refsect1> + + &manbugs; + &translator; + +</refentry> diff --git a/doc/ja/apt.conf.ja.5.sgml b/doc/ja/apt.conf.ja.5.sgml deleted file mode 100644 index 3634096f9..000000000 --- a/doc/ja/apt.conf.ja.5.sgml +++ /dev/null @@ -1,785 +0,0 @@ -<!-- -*- mode: sgml; mode: fold -*- --> -<!-- translation of version 1.9 --> -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ - -<!ENTITY % aptent SYSTEM "apt.ent.ja"> -%aptent; - -]> - -<refentry lang=ja> - &apt-docinfo; - - <refmeta> - <refentrytitle>apt.conf</> - <manvolnum>5</> - </refmeta> - - <!-- Man page title --> - <refnamediv> - <refname>apt.conf</> -<!-- - <refpurpose>Configuration file for APT</> ---> - <refpurpose>APT ÀßÄê¥Õ¥¡¥¤¥ë</> - </refnamediv> - -<!-- - <RefSect1><Title>Description</> ---> - <RefSect1><Title>ÀâÌÀ</> - <para> -<!-- - <filename/apt.conf/ is the main configuration file for the APT suite of - tools, all tools make use of the configuration file and a common command line - parser to provide a uniform environment. When an APT tool starts up it will - read the configuration specified by the <envar/APT_CONFIG/ environment - variable (if any) and then read the files in <literal/Dir::Etc::Parts/ - then read the main configuration file specified by - <literal/Dir::Etc::main/ then finally apply the - command line options to override the configuration directives, possibly - loading even more config files. ---> - <filename/apt.conf/ ¤Ï¡¢APT ¥Ä¡¼¥ë½¸¤Î¼çÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£ - ¤³¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤È¶¦Ä̤Υ³¥Þ¥ó¥É¥é¥¤¥ó¥Ñ¡¼¥µ¤ò»È¤Ã¤Æ¡¢ - ¤¹¤Ù¤Æ¤Î¥Ä¡¼¥ë¤òÅý°ì´Ä¶¤Ç»ÈÍѤǤ¤Þ¤¹¡£ - APT ¥Ä¡¼¥ë¤Îµ¯Æ°»þ¤Ë¤Ï¡¢<envar/APT_CONFIG/ ´Ä¶ÊÑ¿ô¤Ë»ØÄꤷ¤¿ÀßÄê¤ò - (¸ºß¤¹¤ì¤Ð) Æɤ߹þ¤ß¤Þ¤¹¡£ - ¼¡¤Ë <literal/Dir::Etc::Parts/ ¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¤Þ¤¹¡£ - ¤½¤Î¸å <literal/Dir::Etc::main/ ¤Ç»ØÄꤷ¤¿¼çÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¡¢ - ºÇ¸å¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ç¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤è¤ê¼èÆÀ¤·¤¿Ãͤò¾å½ñ¤¤·¤Þ¤¹¡£ - <para> -<!-- - The configuration file is organized in a tree with options organized into - functional groups. Option specification is given with a double colon - notation, for instance <literal/APT::Get::Assume-Yes/ is an option within - the APT tool group, for the Get tool. Options do not inherit from their - parent groups. ---> - ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢µ¡Ç½¥°¥ë¡¼¥×¤´¤È¤Ë·ÏÅýΩ¤Æ¤é¤ì¤¿¥ª¥×¥·¥ç¥ó¤ò¡¢ - ÌÚ¹½Â¤¤Çɽ¤·¤Þ¤¹¡£ - ¥ª¥×¥·¥ç¥ó¤ÎÆâÍƤϡ¢2 ¤Ä¤Î¥³¥í¥ó¤Ç¶èÀÚ¤ê¤Þ¤¹¡£ - Î㤨¤Ð <literal/APT::Get::Assume-Yes/ ¤Ï¡¢APT ¥Ä¡¼¥ë¥°¥ë¡¼¥×¤Î¡¢Get ¥Ä¡¼¥ëÍÑ - ¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¡¢¿Æ¥°¥ë¡¼¥×¤«¤é·Ñ¾µ¤·¤Þ¤»¤ó¡£ - <para> -<!-- - Syntacticly the configuration language is modeled after what the ISC tools - such as bind and dhcp use. Each line is of the form - <literallayout>APT::Get::Assume-Yes "true";</literallayout> The trailing - semicolon is required and the quotes are optional. A new scope can be - opened with curly braces, like: ---> - ÀßÄê¸À¸ì¤Îʸˡ¤Ï¡¢bind ¤ä dhcp ¤Î¤è¤¦¤Ê ISC ¥Ä¡¼¥ë¤ò¥â¥Ç¥ë¤Ë¤·¤Æ¤¤¤Þ¤¹¡£ - ¤¤¤º¤ì¤Î¹Ô¤â¡¢<literallayout>APT::Get::Assume-Yes "true";</literallayout> ¤Î - ¤è¤¦¤Ê·Á¤Ç¡¢¥»¥ß¥³¥í¥ó¤Ç¶èÀÚ¤ê¤Þ¤¹¡£¤Þ¤¿°úÍѤϥª¥×¥·¥ç¥ó¤Ç¤¹¡£ - °Ê²¼¤Î¤è¤¦¤ËÃ楫¥Ã¥³¤ò»È¤¦¤È¡¢¿·¤·¤¤¥¹¥³¡¼¥×¤ò³«¤¯¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ -<informalexample><programlisting> -APT { - Get { - Assume-Yes "true"; - Fix-Broken "true"; - }; -}; -</programlisting></informalexample> -<!-- - with newlines placed to make it more readable. Lists can be created by - opening a scope and including a single word enclosed in quotes followed by a - semicolon. Multiple entries can be included, each seperated by a semicolon. ---> - ¤Þ¤¿¡¢Å¬µ¹²þ¹Ô¤¹¤ë¤³¤È¤Ç¡¢¤è¤êÆɤߤ䤹¤¯¤Ê¤ê¤Þ¤¹¡£ - ¥ê¥¹¥È¤Ï¡¢³«¤¤¤¿¥¹¥³¡¼¥×¡¢¥¯¥©¡¼¥È¤Ç°Ï¤Þ¤ì¤¿Ã±¸ì¡¢ - ¤½¤·¤Æ¥»¥ß¥³¥í¥ó¤È³¤±¤ë¤³¤È¤ÇºîÀ®¤Ç¤¤Þ¤¹¡£ - ¥»¥ß¥³¥í¥ó¤Ç¶èÀڤ뤳¤È¤Ç¡¢Ê£¿ô¤Î¥¨¥ó¥È¥ê¤òɽ¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ -<informalexample><programlisting> -DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; -</programlisting></informalexample> - <para> -<!-- - In general the sample configuration file in - <filename>&docdir;/examples/apt.conf</> &configureindex; - is a good guide for how it should look. ---> - <filename>&docdir;/examples/apt.conf</> &configureindex; ¤Ï - °ìÈÌŪ¤ÊÀßÄê¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£¤É¤Î¤è¤¦¤ËÀßÄꤹ¤ë¤«»²¹Í¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£ - <para> -<!-- - Two specials are allowed, <literal/#include/ and <literal/#clear/. - <literal/#include/ will include the given file, unless the filename - ends in a slash, then the whole directory is included. - <literal/#clear/ is used to erase a list of names. ---> - <literal/#include/ ¤È <literal/#clear/ ¤Î 2 ¤Ä¤ÎÆÃÊ̤ʵˡ¤¬¤¢¤ê¤Þ¤¹¡£ - <literal/#include/ ¤Ï»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤ò¼è¤ê¹þ¤ß¤Þ¤¹¡£ - ¥Õ¥¡¥¤¥ë̾¤¬¥¹¥é¥Ã¥·¥å¤Ç½ª¤ï¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¤¹¤Ù¤Æ - ¼è¤ê¹þ¤ß¤Þ¤¹¡£ - <literal/#clear/ ¤Ï̾Á°¤Î¥ê¥¹¥È¤òºï½ü¤¹¤ë¤Î¤ËÊØÍø¤Ç¤¹¡£ - <para> -<!-- - All of the APT tools take a -o option which allows an arbitary configuration - directive to be specified on the command line. The syntax is a full option - name (<literal/APT::Get::Assume-Yes/ for instance) followed by an equals - sign then the new value of the option. Lists can be appended too by adding - a trailing :: to the list name. ---> - ¤¹¤Ù¤Æ¤Î APT ¥Ä¡¼¥ë¤Ç¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇǤ°Õ¤ÎÀßÄê¤ò¹Ô¤¦ - -o ¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤǤ¤Þ¤¹¡£ - ʸˡ¤Ï¡¢´°Á´¤Ê¥ª¥×¥·¥ç¥ó̾ (Îã¡¢<literal/APT::Get::Assume-Yes/)¡¢ - Åù¹æ¡¢Â³¤¤¤Æ¥ª¥×¥·¥ç¥ó¤Î¿·¤·¤¤ÃͤȤʤê¤Þ¤¹¡£ - ¥ê¥¹¥È̾¤Ë³¤::¤ò²Ã¤¨¤ë¤³¤È¤Ç¡¢¥ê¥¹¥È¤òÄɲ乤뤳¤È¤¬¤Ç¤¤Þ¤¹¡£ - <!-- arbitary = Ǥ°Õ¤Î (ºÜ¤Ã¤Æ¤Ê¤«¤Ã¤¿¡£¤Þ¤·¤Ê¼½ñ¤¬Íߤ·¤¤) --> - </RefSect1> - -<!-- - <RefSect1><Title>The APT Group</> ---> - <RefSect1><Title>APT ¥°¥ë¡¼¥×</> - <para> -<!-- - This group of options controls general APT behavior as well as holding the - options for all of the tools. ---> - ¤³¤Î¥ª¥×¥·¥ç¥ó¥°¥ë¡¼¥×¤Ï¡¢¥Ä¡¼¥ëÁ´ÂΤ˱ƶÁ¤Î¤¢¤ë¡¢°ìÈÌŪ¤Ê APT ¤Î¿¶¤ëÉñ¤¤¤ò - À©¸æ¤·¤Þ¤¹¡£ - <VariableList> - <VarListEntry><Term>Architecture</Term> - <ListItem><Para> -<!-- - System Architecture; sets the architecture to use when fetching files and - parsing package lists. The internal default is the architecture apt was - compiled for. ---> - ¥·¥¹¥Æ¥à¥¢¡¼¥¥Æ¥¯¥Á¥ã - ¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤·¤¿¤ê¡¢¥Ñ¥Ã¥±¡¼¥¸¥ê¥¹¥È¤ò - ²òÀϤ¹¤ë¤È¤¤Ë»ÈÍѤ¹¤ë¥¢¡¼¥¥Æ¥¯¥Á¥ã¤ò¥»¥Ã¥È¤·¤Þ¤¹¡£ - ÆâÉô¤Ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢apt ¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤¿¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ç¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Ignore-Hold</Term> - <ListItem><Para> -<!-- - Ignore Held packages; This global option causes the problem resolver to - ignore held packages in its decision making. ---> - ÊÝα¥Ñ¥Ã¥±¡¼¥¸¤Î̵»ë - ¤³¤Î¥°¥í¡¼¥Ð¥ë¥ª¥×¥·¥ç¥ó¤Ï¡¢ÌäÂê²ò·è´ï¤ËÊÝα¤È - »ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò̵»ë¤·¤Þ¤¹¡£ - <!-- problem resolver ¤ÏÌäÂê²ò·è´ï¤Ç¤¤¤¤¤Î¤À¤í¤¦¤«¡© --> - </VarListEntry> - - <VarListEntry><Term>Clean-Installed</Term> - <ListItem><Para> -<!-- - Defaults to on. When turned on the autoclean feature will remove any pacakges - which can no longer be downloaded from the cache. If turned off then - packages that are locally installed are also excluded from cleaning - but - note that APT provides no direct means to reinstall them. ---> - ¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¥Ñ¥Ã¥±¡¼¥¸¤Îºï½ü - - ¥Ç¥Õ¥©¥ë¥È¤Ç͸ú¤Ç¤¹¡£autoclean µ¡Ç½¤¬ on ¤Î»þ¡¢¥À¥¦¥ó¥í¡¼¥É - ¤Ç¤¤Ê¤¯¤Ê¤Ã¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò¥¥ã¥Ã¥·¥å¤«¤éºï½ü¤·¤Þ¤¹¡£ - off ¤Î¾ì¹ç¤Ï¡¢¥í¡¼¥«¥ë¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢ - ºï½üÂоݤ«¤é³°¤·¤Þ¤¹¡£ - Ãí) APT ¤Ï¡¢¥¥ã¥Ã¥·¥å¤«¤éºï½ü¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤ÎºÆ¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤ò¡¢ - ľÀܤˤÏÄ󶡤·¤Þ¤»¤ó¡£ - </VarListEntry> - - <VarListEntry><Term>Immediate-Configure</Term> - <ListItem><Para> -<!-- - Disable Immedate Configuration; This dangerous option disables some - of APT's ordering code to cause it to make fewer dpkg calls. Doing - so may be necessary on some extremely slow single user systems but - is very dangerous and may cause package install scripts to fail or worse. - Use at your own risk. ---> - ¨»þÀßÄê̵¸ú - ¤³¤Î´í¸±¤Ê¥ª¥×¥·¥ç¥ó¤Ï¡¢APT ¤ÎÍ׵ᥳ¡¼¥É¤ò̵¸ú¤Ë¤·¤Æ¡¢ - dpkg ¤Î¸Æ¤Ó½Ð¤·¤ò¤Û¤È¤ó¤É¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£ - ¤³¤ì¤Ï¡¢Èó¾ï¤ËÃÙ¤¤¥·¥ó¥°¥ë¥æ¡¼¥¶¥·¥¹¥Æ¥à¤Ç¤ÏɬÍפ«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢ - Èó¾ï¤Ë´í¸±¤Ç¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¥¹¥¯¥ê¥×¥È¤¬¼ºÇÔ¤·¤¿¤ê¡¢ - ¤â¤·¤¯¤Ï¤â¤Ã¤È°¤¤¤³¤È¤¬¤ª¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ - ¼«¸ÊÀÕǤ¤Ç»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ - <!-- Immedate ¤Ï Immediate ¤Î typo? --> - </VarListEntry> - - <VarListEntry><Term>Force-LoopBreak</Term> - <ListItem><Para> -<!-- - Never Enable this option unless you -really- know what you are doing. It - permits APT to temporarily remove an essential package to break a - Conflicts/Conflicts or Conflicts/Pre-Depend loop between two essential - packages. SUCH A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option - will work if the essential packages are not tar, gzip, libc, dpkg, bash or - anything that those packages depend on. ---> - ²¿¤ò¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤«¡ÖËÜÅö¤Ë¡×Ƚ¤Ã¤Æ¤¤¤ë¤Î¤Ç¤Ê¤±¤ì¤Ð¡¢ - ÀäÂФˤ³¤Î¥ª¥×¥·¥ç¥ó¤ò͸ú¤Ë¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ - ÉԲķç (essential) ¥Ñ¥Ã¥±¡¼¥¸¤Î´Ö¤Ç¡¢¶¥¹ç (Conflicts)/ ¶¥¹ç (Conflicts) ¤ä - ¶¥¹ç (Conflicts)/ »öÁ°É¬¿Ü (Pre-Depend) ¤Î¥ë¡¼¥×¤ËÍî¤Á¹þ¤ó¤À¤È¤¤Ë¡¢ - ÉԲķç¥Ñ¥Ã¥±¡¼¥¸¤ò°ì»þŪ¤Ëºï½ü¤·¤Æ¡¢¥ë¡¼¥×¤òÈ´¤±¤ë»ö¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£ - <emphasis>¤½¤ó¤Ê¥ë¡¼¥×¤Ï¤¢¤êÆÀ¤Ê¤¤¤Ï¤º¤Ç¡¢ - ¤¢¤ë¤È¤¹¤ì¤Ð½ÅÂç¤Ê¥Ð¥°¤Ç¤¹¡£</emphasis> - ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢tar, gzip, libc, dpkg, bash ¤È¤½¤ì¤é¤¬°Í¸¤·¤Æ¤¤¤ë - ¥Ñ¥Ã¥±¡¼¥¸°Ê³°¤ÎÉԲķç¥Ñ¥Ã¥±¡¼¥¸¤ÇÆ°ºî¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Cache-Limit</Term> - <ListItem><Para> -<!-- - APT uses a fixed size memory mapped cache file to store the 'available' - information. This sets the size of that cache. ---> - APT ¤Ï¡¢¡ÖÍøÍѲÄǽ¡×¾ðÊó¤ò³ÊǼ¤¹¤ë¤¿¤á¤Ë¡¢¸ÇÄꥵ¥¤¥º¤Î - ¥á¥â¥ê¥Þ¥Ã¥×¥¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ·¤Þ¤¹¡£ - ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤½¤Î¥¥ã¥Ã¥·¥å¥µ¥¤¥º¤ò»ØÄꤷ¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Build-Essential</Term> - <ListItem><Para> -<!-- - Defines which package(s) are considered essential build dependencies. ---> - ¹½Ã۰͸´Ø·¸¤ÇÉԲķç¤Ê¥Ñ¥Ã¥±¡¼¥¸¤òÄêµÁ¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Get</Term> - <ListItem><Para> -<!-- - The Get subsection controls the &apt-get; tool, please see its - documentation for more information about the options here. ---> - ¥µ¥Ö¥»¥¯¥·¥ç¥ó Get ¤Ï &apt-get; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£ - ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-get; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ - </VarListEntry> - - <VarListEntry><Term>Cache</Term> - <ListItem><Para> -<!-- - The Cache subsection controls the &apt-cache; tool, please see its - documentation for more information about the options here. ---> - ¥µ¥Ö¥»¥¯¥·¥ç¥ó Cache ¤Ï &apt-cache; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£ - ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-cache; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ - </VarListEntry> - - <VarListEntry><Term>CDROM</Term> - <ListItem><Para> -<!-- - The CDROM subsection controls the &apt-cdrom; tool, please see its - documentation for more information about the options here. ---> - ¥µ¥Ö¥»¥¯¥·¥ç¥ó CDROM ¤Ï &apt-cdrom; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£ - ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-cdrom; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>The Acquire Group</> ---> - <RefSect1><Title>Acquire ¥°¥ë¡¼¥×</> - <para> -<!-- - The <literal/Acquire/ group of options controls the download of packages - and the URI handlers. ---> - <literal/Acquire/ ¥ª¥×¥·¥ç¥ó¥°¥ë¡¼¥×¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥À¥¦¥ó¥í¡¼¥É¤ä - URI ¥Ï¥ó¥É¥é¤ÎÀ©¸æ¤ò¹Ô¤¤¤Þ¤¹¡£ - <VariableList> - <VarListEntry><Term>Queue-Mode</Term> - <ListItem><Para> -<!-- - Queuing mode; <literal/Queue-Mode/ can be one of <literal/host/ or - <literal/access/ which determines how APT parallelizes outgoing - connections. <literal/host/ means that one connection per target host - will be opened, <literal/access/ means that one connection per URI type - will be opened. ---> - ¥¥å¡¼¥â¡¼¥É - <literal/Queue-Mode/ ¤ÏAPT¤¬¤É¤Î¤è¤¦¤ËÊÂÎóÀܳ¤ò¹Ô¤¦¤«¡¢ - <literal/host/ ¤« <literal/access/ ¤Ç»ØÄê¤Ç¤¤Þ¤¹¡£ - <literal/host/ ¤Ï¡¢¥¿¡¼¥²¥Ã¥È¥Û¥¹¥È¤´¤È¤Ë 1 Àܳ¤ò³«¤¤Þ¤¹¡£ - <literal/access/ ¤Ï¡¢URI ¥¿¥¤¥×¤´¤È¤Ë 1 Àܳ¤ò³«¤¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Retries</Term> - <ListItem><Para> -<!-- - Number of retries to perform. If this is non-zero APT will retry failed - files the given number of times. ---> - ¥ê¥È¥é¥¤¤Î²ó¿ô¤òÀßÄꤷ¤Þ¤¹¡£0 ¤Ç¤Ê¤¤¾ì¹ç¡¢APT ¤Ï¼ºÇÔ¤·¤¿¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¡¢ - Í¿¤¨¤é¤ì¤¿²ó¿ô¤À¤±¥ê¥È¥é¥¤¤ò¹Ô¤¤¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Source-Symlinks</Term> - <ListItem><Para> -<!-- - Use symlinks for source archives. If set to true then source archives will - be symlinked when possible instead of copying. True is the default ---> - ¥½¡¼¥¹¥¢¡¼¥«¥¤¥Ö¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò»ÈÍѤ·¤Þ¤¹¡£ - true ¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¤È¤¡¢²Äǽ¤Ê¤é¥³¥Ô¡¼¤ÎÂå¤ï¤ê¤Ë¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤¬ - Ä¥¤é¤ì¤Þ¤¹¡£true ¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>http</Term> - <ListItem><Para> -<!-- - HTTP URIs; http::Proxy is the default http proxy to use. It is in the - standard form of <literal>http://[[user][:pass]@]host[:port]/</>. Per - host proxies can also be specified by using the form - <literal/http::Proxy::<host>/ with the special keyword <literal/DIRECT/ - meaning to use no proxies. The <envar/http_proxy/ environment variable - will override all settings. ---> - HTTP URI - http::Proxy ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤ¹¤ë http ¥×¥í¥¥·¤Ç¤¹¡£ - <literal>http://[[user][:pass]@]host[:port]/</>¤È¤¤¤¦É¸½à·Á¤Çɽ¤·¤Þ¤¹¡£ - ¥Û¥¹¥È¤´¤È¤Î¥×¥í¥¥·¤Î¾ì¹ç¤Ï¡¢<literal/http::Proxy::<host>/ ¤È¤¤¤¦ - ·Á¤È¡¢¥×¥í¥¥·¤ò»ÈÍѤ·¤Ê¤¤¤È¤¤¤¦°ÕÌ£¤ÎÆü쥡¼¥ï¡¼¥É <literal/DIRECT/ ¤ò - »ÈÍѤ·¤Æ»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£ - ¤¹¤Ù¤Æ¤ÎÀßÄê¤Ï¡¢´Ä¶ÊÑ¿ô <envar/http_proxy/ ¤Ç¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ - <para> -<!-- - Three settings are provided for cache control with HTTP/1.1 complient - proxy caches. <literal/No-Cache/ tells the proxy to not use its cached - response under any circumstances, <literal/Max-Age/ is sent only for - index files and tells the cache to refresh its object if it is older than - the given number of seconds. Debian updates its index files daily so the - default is 1 day. <literal/No-Store/ specifies that the cache should never - store this request, it is only set for archive files. This may be useful - to prevent polluting a proxy cache with very large .deb files. Note: - Squid 2.0.2 does not support any of these options. ---> - HTTP/1.1 ½àµò¤Î¥×¥í¥¥·¥¥ã¥Ã¥·¥å¤ÎÀ©¸æ¤Ë¤Ä¤¤¤Æ¡¢3 ¼ïÎà¤ÎÀßÄ꤬¤¢¤ê¤Þ¤¹¡£ - <literal/No-Cache/ ¤Ï¥×¥í¥¥·¤ËÂФ·¤Æ¡¢¤¤¤«¤Ê¤ë»þ¤â¥¥ã¥Ã¥·¥å¤ò»ÈÍѤ·¤Ê¤¤ - ¤ÈÅÁ¤¨¤Þ¤¹¡£ - <literal/Max-Age/ ¤Ï¡¢¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ëÍѤΤȤ¤À¤±Á÷¿®¤·¡¢ - ÆÀ¤é¤ì¤¿»þ´Ö¤è¤ê¤â¸Å¤«¤Ã¤¿¾ì¹ç¤Ë¡¢¥ª¥Ö¥¸¥§¥¯¥È¤ò¥ê¥Õ¥ì¥Ã¥·¥å¤¹¤ë¤è¤¦ - ¥¥ã¥Ã¥·¥å¤Ë»Ø¼¨¤·¤Þ¤¹¡£ - ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1 Æü¤È¤Ê¤Ã¤Æ¤¤¤ë¤¿¤á¡¢Debian ¤ÏÆüËè¤Ë¤½¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹ - ¥Õ¥¡¥¤¥ë¤ò¹¹¿·¤·¤Þ¤¹¡£ - <literal/No-Store/ ¤Ï¡¢¥¥ã¥Ã¥·¥å¤¬¤³¤Î¥ê¥¯¥¨¥¹¥È¤ò³ÊǼ¤»¤º¡¢ - ¥¢¡¼¥«¥¤¥Ö¥Õ¥¡¥¤¥ë¤Î¤ßÀßÄꤹ¤ë¤è¤¦»ØÄꤷ¤Þ¤¹¡£ - ¤³¤ì¤Ï¡¢Èó¾ï¤ËÂ礤Ê.deb¥Õ¥¡¥¤¥ë¤Ç¥×¥í¥¥·¥¥ã¥Ã¥·¥å¤¬±ø¤ì¤ë¤Î¤ò¡¢ - Ëɤ°¤Î¤ËÊØÍø¤«¤â¤·¤ì¤Þ¤»¤ó¡£ - Ãí) Squid 2.0.2 ¤Ç¤Ï¡¢¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£ - <para> -<!-- - The option <literal/timeout/ sets the timeout timer used by the method, - this applies to all things including connection timeout and data timeout. ---> - <literal/timeout/ ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³¤ÎÊýË¡¤Ç¤Î¥¿¥¤¥à¥¢¥¦¥È¤Þ¤Ç¤Î»þ´Ö¤ò - ÀßÄꤷ¤Þ¤¹¡£ - ¤³¤ì¤Ë¤Ï¡¢Àܳ¤Î¥¿¥¤¥à¥¢¥¦¥È¤È¥Ç¡¼¥¿¤Î¥¿¥¤¥à¥¢¥¦¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ - <para> -<!-- - One setting is provided to control the pipeline depth in cases where the - remote server is not RFC conforming or buggy (such as Squid 2.0.2) - <literal/Acquire::http::Pipeline-Depth/ can be a value from 0 to 5 - indicating how many outstanding requests APT should send. A value of - zero MUST be specified if the remote host does not properly linger - on TCP connections - otherwise data corruption will occur. Hosts which - require this are in violation of RFC 2068. ---> - ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬ RFC ½àµò¤Ç¤Ê¤«¤Ã¤¿¤ê¡¢(Squid 2.0.2 ¤Î¤è¤¦¤Ë) ¥Ð¥°¤¬ - ¤¢¤Ã¤¿¤ê¤·¤¿¤È¤¤Î¤¿¤á¤Ë¡¢¥Ñ¥¤¥×¥é¥¤¥ó¤Î¿¼¤µ¤ÎÀ©¸æ¤òÀßÄꤷ¤Þ¤¹¡£ - <literal/Acquire::http::Pipeline-Depth/ ¤Ë¤è¤ê¡¢APT ¤¬Á÷¿®¤Ç¤¤ë - ¥ê¥¯¥¨¥¹¥È¤Î²ó¿ô¤ò 0 ¤«¤é 5 ¤ÎÃͤÇÀßÄê¤Ç¤¤Þ¤¹¡£ - ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬Å¬ÀڤǤʤ¯¡¢TCP Àܳ¤Ë»þ´Ö¤¬¤«¤«¤ë¤È¤¤Ï¡¢ - <emphasis>ɬ¤º</emphasis>0¤ÎÃͤòÀßÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ - ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢¥Ç¡¼¥¿¤¬ÇË»¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ - ¤³¤ì¤¬É¬Íפʥۥ¹¥È¤Ï¡¢RFC 2068 ¤Ë°ãÈ¿¤·¤Æ¤¤¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>ftp</Term> - <ListItem><Para> -<!-- - FTP URIs; ftp::Proxy is the default proxy server to use. It is in the - standard form of <literal>ftp://[[user][:pass]@]host[:port]/</> and is - overriden by the <envar/ftp_proxy/ environment variable. To use a ftp - proxy you will have to set the <literal/ftp::ProxyLogin/ script in the - configuration file. This entry specifies the commands to send to tell - the proxy server what to connect to. Please see - &configureindex; for an example of - how to do this. The subsitution variables available are - <literal/$(PROXY_USER)/, <literal/$(PROXY_PASS)/, <literal/$(SITE_USER)/, - <literal/$(SITE_PASS)/, <literal/$(SITE)/, and <literal/$(SITE_PORT)/. - Each is taken from it's respective URI component. ---> - FTP URI - ftp::Proxy ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤ¹¤ë¥×¥í¥¥·¥µ¡¼¥Ð¤Ç¤¹¡£ - <literal>ftp://[[user][:pass]@]host[:port]/</> ¤È¤¤¤¦É¸½à·Á¤Çɽ¤·¤Þ¤¹¤¬¡¢ - ´Ä¶ÊÑ¿ô <envar/ftp_proxy/ ¤Ç¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ - ftp ¥×¥í¥¥·¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Ë <literal/ftp::ProxyLogin/ - ¥¹¥¯¥ê¥×¥È¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ - ¥×¥í¥¥·¥µ¡¼¥Ð¤ËÁ÷¿®¤¹¤ëÀܳ¥³¥Þ¥ó¥É¤ò¡¢¤³¤Î¥¨¥ó¥È¥ê¤ËÀßÄꤷ¤Þ¤¹¡£ - ¤É¤Î¤è¤¦¤Ë¤¹¤ë¤Î¤«¤Ï &configureindex; ¤ÎÎã¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ - ¤½¤Î¾¤Ë¤â¡¢<literal/$(PROXY_USER)/, <literal/$(PROXY_PASS)/, - <literal/$(SITE_USER)/, <literal/$(SITE_PASS)/, <literal/$(SITE)/, - <literal/$(SITE_PORT)/ ¤¬ÍøÍѲÄǽ¤Ç¤¹¡£ - ¤¤¤º¤ì¤â¡¢¤½¤ì¤¾¤ì URI ¤ò¹½À®¤¹¤ë¥È¡¼¥¯¥ó¤Ç¤¹¡£ - <para> -<!-- - The option <literal/timeout/ sets the timeout timer used by the method, - this applies to all things including connection timeout and data timeout. ---> - <literal/timeout/ ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³¤ÎÊýË¡¤Ç¤Î¥¿¥¤¥à¥¢¥¦¥È¤Þ¤Ç¤Î»þ´Ö¤ò - ÀßÄꤷ¤Þ¤¹¡£ - ¤³¤ì¤Ë¤Ï¡¢Àܳ¤Î¥¿¥¤¥à¥¢¥¦¥È¤È¥Ç¡¼¥¿¤Î¥¿¥¤¥à¥¢¥¦¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ - <para> -<!-- - Several settings are provided to control passive mode. Generally it is - safe to leave passive mode on, it works in nearly every environment. - However some situations require that passive mode be disabled and port - mode ftp used instead. This can be done globally, for connections that - go through a proxy or for a specific host (See the sample config file - for examples) ---> - ÀßÄê¤Î¤¤¤¯¤Ä¤«¤Ï¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤òÀ©¸æ¤¹¤ë¤â¤Î¤Ç¤¹¡£ - °ìÈÌŪ¤Ë¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤Î¤Þ¤Þ¤Ë¤·¤Æ¤ª¤¯Êý¤¬°ÂÁ´¤Ç¡¢ - ¤Û¤Ü¤É¤ó¤Ê´Ä¶¤Ç¤âÆ°ºî¤·¤Þ¤¹¡£ - ¤·¤«¤·¤¢¤ë¾õ¶·²¼¤Ç¤Ï¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤¬Ìµ¸ú¤Î¤¿¤á¡¢ - Âå¤ï¤ê¤Ë¥Ý¡¼¥È¥â¡¼¥É ftp ¤ò»ÈÍѤ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ - ¤³¤ÎÀßÄê¤Ï¡¢¥×¥í¥¥·¤òÄ̤ëÀܳ¤äÆÃÄê¤Î¥Û¥¹¥È¤Ø¤ÎÀܳÁ´È̤Ë͸ú¤Ç¤¹¡£ - (ÀßÄêÎã¤Ï¥µ¥ó¥×¥ëÀßÄê¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤) - <para> -<!-- - It is possible to proxy FTP over HTTP by setting the <envar/ftp_proxy/ - environment variable to a http url - see the discussion of the http method - above for syntax. You cannot set this in the configuration file and it is - not recommended to use FTP over HTTP due to its low efficiency. ---> - ´Ä¶ÊÑ¿ô <envar/ftp_proxy/ ¤Î http url ¤Ë¤è¤ê FTP over HTTP ¤Î¥×¥í¥¥·¤¬ - ÍøÍѲÄǽ¤Ë¤Ê¤ê¤Þ¤¹¡£Ê¸Ë¡¤Ï¾å¤Î http ¤Ë¤Ä¤¤¤Æ¤ÎÀâÌÀ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ç¤³¤ì¤ò¥»¥Ã¥È¤¹¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£ - ¤Þ¤¿¡¢¸úΨ¤¬°¤¤¤¿¤á FTP over HTTP ¤ò»ÈÍѤ¹¤ë¤Î¤Ï¿ä¾©¤·¤Þ¤»¤ó¡£ - <para> -<!-- - The setting <literal/ForceExtended/ controls the use of RFC2428 - <literal/EPSV/ and <literal/EPRT/ commands. The defaut is false, which means - these commands are only used if the control connection is IPv6. Setting this - to true forces their use even on IPv4 connections. Note that most FTP servers - do not support RFC2428. ---> - <literal/ForceExtended/ ¤ÎÀßÄê¤Ï RFC2428 ¤Î <literal/EPSV/ ¤È - <literal/EPRT/ ¥³¥Þ¥ó¥É¤Î»ÈÍѤòÀ©¸æ¤·¤Þ¤¹¡£ - ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï false ¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥³¥ó¥È¥í¡¼¥ë¥³¥Í¥¯¥·¥ç¥ó¤¬ IPv6 - ¤Î»þ¤Ë¤Î¤ß¡¢¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ - ¤³¤ì¤ò true ¤Ë¥»¥Ã¥È¤¹¤ë¤È¡¢IPv4 ¥³¥Í¥¯¥·¥ç¥ó¤Ç¤â¶¯À©Åª¤Ë¡¢ - ¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£ - Ãí) ¤Û¤È¤ó¤É¤Î FTP ¥µ¡¼¥Ð¤Ï RFC2428 ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£ - </VarListEntry> - - <VarListEntry><Term>cdrom</Term> - <ListItem><Para> -<!-- - CDROM URIs; the only setting for CDROM URIs is the mount point, - <literal/cdrom::Mount/ which must be the mount point for the CDROM drive - as specified in <filename>/etc/fstab</>. It is possible to provide - alternate mount and unmount commands if your mount point cannot be listed - in the fstab (such as an SMB mount and old mount packages). The syntax - is to put <literallayout>"/cdrom/"::Mount "foo";</literallayout> within - the cdrom block. It is important to have the trailing slash. Unmount - commands can be specified using UMount. ---> - CDROM URI - ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤ÎÀßÄê¤Î¤ß¤ò¹Ô¤¤¤Þ¤¹¡£ - <filename>/etc/fstab</> ¤ÇÀßÄꤵ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢CDROM ¥É¥é¥¤¥Ö¤Î - ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤ò <literal/cdrom::Mount/ ¤ËÀßÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ - (SMB ¥Þ¥¦¥ó¥È¤ä¸Å¤¤ mount ¥Ñ¥Ã¥±¡¼¥¸¤Ê¤É) ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤¬ fstab ¤Ë - µ½Ò¤Ç¤¤Ê¤¤¾ì¹ç¡¢¤«¤ï¤ê¤Ë¥Þ¥¦¥ó¥È¡¦¥¢¥ó¥Þ¥¦¥ó¥È¥³¥Þ¥ó¥É¤â»ÈÍѤǤ¤Þ¤¹¡£ - ʸˡ¤Ï¡¢cdrom ¥Ö¥í¥Ã¥¯¤ò - <literallayout>"/cdrom/"::Mount "foo";</literallayout> ¤Î·Á¤Çµ½Ò¤·¤Þ¤¹¡£ - ¥¹¥é¥Ã¥·¥å¤ò¸å¤Ë¤Ä¤±¤ë¤Î¤Ï½ÅÍפǤ¹¡£ - ¥¢¥ó¥Þ¥¦¥ó¥È¥³¥Þ¥ó¥É¤Ï UMount ¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Directories</> ---> - <RefSect1><Title>¥Ç¥£¥ì¥¯¥È¥ê</> - <para> -<!-- - The <literal/Dir::State/ section has directories that pertain to local - state information. <literal/lists/ is the directory to place downloaded - package lists in and <literal/status/ is the name of the dpkg status file. - <literal/preferences/ is the name of the APT preferences file. - <literal/Dir::State/ contains the default directory to prefix on all sub - items if they do not start with <filename>/</> or <filename>./</>. ---> - <literal/Dir::State/ ¥»¥¯¥·¥ç¥ó¤Ï¡¢¥í¡¼¥«¥ë¾õÂÖ¾ðÊó¤Ë´Ø¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò - ÊÝ»ý¤·¤Þ¤¹¡£ - <literal/lists/ ¤Ï¡¢¥À¥¦¥ó¥í¡¼¥É¤·¤¿¥Ñ¥Ã¥±¡¼¥¸°ìÍ÷¤ò³ÊǼ¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ç¡¢ - <literal/status/ ¤Ï dpkg ¤Î¾õÂÖ¥Õ¥¡¥¤¥ë¤Î̾Á°¤òɽ¤·¤Þ¤¹¡£ - <literal/preferences/ ¤Ï APT ¤Î ÀßÄê¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ç¤¹¡£ - <literal/Dir::State/ ¤Ë¤Ï¡¢<filename>/</> ¤ä <filename>./</>¤Ç»Ï¤Þ¤é¤Ê¤¤ - Á´¥µ¥Ö¥¢¥¤¥Æ¥à¤ËÉղ乤롢¥Ç¥Õ¥©¥ë¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£ - <para> -<!-- - <literal/Dir::Cache/ contains locations pertaining to local cache - information, such as the two package caches <literal/srcpkgcache/ and - <literal/pkgcache/ as well as the location to place downloaded archives, - <literal/Dir::Cache::archives/. Generation of caches can be turned off - by setting their names to be blank. This will slow down startup but - save disk space. It is probably prefered to turn off the pkgcache rather - than the srcpkgcache. Like <literal/Dir::State/ the default - directory is contained in <literal/Dir::Cache/ ---> - <literal/Dir::Cache/ ¤Ï¥í¡¼¥«¥ë¥¥ã¥Ã¥·¥å¾ðÊó¤Ë´Ø¤¹¤ë¾ì½ê¤ò³ÊǼ¤·¤Æ¤¤¤Þ¤¹¡£ - ¤³¤ì¤Ï¡¢¥À¥¦¥ó¥í¡¼¥ÉºÑ¥¢¡¼¥«¥¤¥Ö¤Î¾ì½ê¤ò¼¨¤¹ <literal/Dir::Cache::archives/ - ¤ÈƱÍÍ¡¢<literal/srcpkgcache/ ¤È <literal/pkgcache/ ¤Î¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤Î - ¾ì½ê¤È¤Ê¤ê¤Þ¤¹¡£ - ¤½¤ì¤¾¤ì¤ò¶õ¤Ë¥»¥Ã¥È¤¹¤ë¤³¤È¤Ç¡¢¥¥ã¥Ã¥·¥å¤ÎÀ¸À®¤ò̵¸ú¤Ë¤Ç¤¤Þ¤¹¡£ - ¤³¤ì¤Ïµ¯Æ°¤¬ÃÙ¤¯¤Ê¤ê¤Þ¤¹¤¬¡¢¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤ÎÀáÌó¤Ë¤Ê¤ê¤Þ¤¹¡£ - ¤ª¤½¤é¤¯¡¢srcpkgcache ¤è¤ê¤â pkgcache ¤ò̵¸ú¤Ë¤¹¤ë¤³¤È¤¬¡¢ - ¿¤¤¤È»×¤¤¤Þ¤¹¡£ - <literal/Dir::State/ ¤ÈƱÍÍ¡¢<literal/Dir::Cache/ ¤Ï - ¥Ç¥Õ¥©¥ë¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£ - <para> -<!-- - <literal/Dir::Etc/ contains the location of configuration files, - <literal/sourcelist/ gives the location of the sourcelist and - <literal/main/ is the default configuration file (setting has no effect, - unless it is done from the config file specified by - <envar/APT_CONFIG/). ---> - <literal/Dir::Etc/ ¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤ò³ÊǼ¤·¤Æ¤¤¤Þ¤¹¡£ - <literal/sourcelist/ ¤Ï¥½¡¼¥¹¥ê¥¹¥È¤Î¾ì½ê¤ò¼¨¤·¡¢ - <literal/main/ ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£ - (<envar/APT_CONFIG/ ¤ÇÀßÄê¥Õ¥¡¥¤¥ë¤ò»ØÄꤵ¤ì¤¿¾ì¹ç¤Î¤ß¡¢ - ¤³¤ÎÀßÄê¤Î¸ú²Ì¤¬¤¢¤ê¤Þ¤¹) - <para> -<!-- - The <literal/Dir::Parts/ setting reads in all the config fragments in - lexical order from the directory specified. After this is done then the - main config file is loaded. ---> - <literal/Dir::Parts/ ÀßÄê¤Ï¡¢»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¡¢ - »ú¶çñ°Ì¤ÎÁ´¤Æ¤ÎÀßÄêÃÇÊÒ¤òÆɤߤ³¤ß¤Þ¤¹¡£ - ¤³¤ì¤òÀßÄꤷ¤¿¸å¤Ë¡¢¥á¥¤¥óÀßÄê¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥É¤·¤Þ¤¹¡£ - <para> -<!-- - Binary programs are pointed to by <literal/Dir::Bin/. <literal/methods/ - specifies the location of the method handlers and <literal/gzip/, - <literal/dpkg/, <literal/apt-get/, <literal/dpkg-source/, - <literal/dpkg-buildpackage/ and <literal/apt-cache/ specify the location - of the respective programs. ---> - ¥Ð¥¤¥Ê¥ê¥×¥í¥°¥é¥à¤Ï <literal/Dir::Bin/ ¤Ç»ØÄꤷ¤Þ¤¹¡£ - <literal/methods/ ¤Ï¥á¥½¥Ã¥É¥Ï¥ó¥É¥é¤Î¾ì½ê¤ò»ØÄꤷ¡¢ - <literal/gzip/, <literal/dpkg/, <literal/apt-get/, <literal/dpkg-source/, - <literal/dpkg-buildpackage/, <literal/apt-cache/ ¤Ï¤½¤ì¤¾¤ì - ¥×¥í¥°¥é¥à¤Î¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£ - </RefSect1> - -<!-- - <RefSect1><Title>APT in DSelect</> ---> - <RefSect1><Title>DSelect ¤Ç¤Î APT</> - <para> -<!-- - When APT is used as a &dselect; method several configuration directives - control the default behaviour. These are in the <literal/DSelect/ section. ---> - &dselect; ¾å¤Ç APT ¤ò»ÈÍѤ¹¤ëºÝ¡¢<literal/DSelect/ ¥»¥¯¥·¥ç¥ó°Ê²¼¤Î - ÀßÄê¹àÌܤǡ¢¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤òÀ©¸æ¤·¤Þ¤¹¡£ - <VariableList> - <VarListEntry><Term>Clean</Term> - <ListItem><Para> -<!-- - Cache Clean mode; this value may be one of always, prompt, auto, - pre-auto and never. always and prompt will remove all packages from - the cache after upgrading, prompt (the default) does so conditionally. - auto removes only those packages which are no longer downloadable - (replaced with a new version for instance). pre-auto performs this - action before downloading new packages. ---> - ¥¥ã¥Ã¥·¥å¥¯¥ê¡¼¥ó¥â¡¼¥É - ¤³¤ÎÃÍ¤Ï always, prompt, auto, pre-auto never - ¤Î¤¦¤Á¡¢¤Ò¤È¤Ä¤ò¼è¤ê¤Þ¤¹¡£ - always ¤È prompt ¤Ï¹¹¿·¸å¡¢Á´¥Ñ¥Ã¥±¡¼¥¸¤ò¥¥ã¥Ã¥·¥å¤«¤éºï½ü¤·¤Þ¤¹¡£ - (¥Ç¥Õ¥©¥ë¥È¤Î) prompt ¤Ç¤Ï¾ò·ïÉÕ¤¤Çºï½ü¤·¤Þ¤¹¡£ - auto ¤Ï¥À¥¦¥ó¥í¡¼¥ÉÉÔǽ¥Ñ¥Ã¥±¡¼¥¸ (Î㤨¤Ð¿·¥Ð¡¼¥¸¥ç¥ó¤ÇÃÖ¤´¹¤¨¤é¤ì¤¿¤â¤Î) - ¤òºï½ü¤·¤Þ¤¹¡£ - pre-auto ¤Ï¤³¤ÎÆ°ºî¤ò¡¢¿·¥Ñ¥Ã¥±¡¼¥¸¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ëľÁ°¤Ë¹Ô¤¤¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Options</Term> - <ListItem><Para> -<!-- - The contents of this variable is passed to &apt-get; as command line - options when it is run for the install phase. ---> - ¤³¤ÎÊÑ¿ô¤ÎÆâÍƤϡ¢install »þ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ÈƱÍͤˡ¢ - &apt-get; ¤ËÅϤµ¤ì¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>UpdateOptions</Term> - <ListItem><Para> -<!-- - The contents of this variable is passed to &apt-get; as command line - options when it is run for the update phase. ---> - ¤³¤ÎÊÑ¿ô¤ÎÆâÍƤϡ¢update »þ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ÈƱÍͤˡ¢ - &apt-get; ¤ËÅϤµ¤ì¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>PromptAfterUpdate</Term> - <ListItem><Para> -<!-- - If true the [U]pdate operation in &dselect; will always prompt to continue. - The default is to prompt only on error. ---> - True ¤Î¾ì¹ç¡¢&dselect; ¤Î [U]pdate ¼Â¹Ô»þ¤Ë¡¢Â³¹Ô¤Î¤¿¤á¤Î¥×¥í¥ó¥×¥È¤ò - Ëè²óɽ¼¨¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¤Î¤ß¤Ç¤¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>How APT calls dpkg</> ---> - <RefSect1><Title>APT ¤¬ dpkg ¤ò¸Æ¤ÖÊýË¡</> - <para> -<!-- - Several configuration directives control how APT invokes &dpkg;. These are - in the <literal/DPkg/ section. ---> - ¿ô¼ï¤ÎÀßÄê¹àÌÜ¤Ç APT ¤¬¤É¤Î¤è¤¦¤Ë &dpkg; ¤ò¸Æ¤Ó½Ð¤¹¤«¤òÀ©¸æ¤Ç¤¤Þ¤¹¡£ - <literal/DPkg/ ¥»¥¯¥·¥ç¥ó¤Ë¤¢¤ê¤Þ¤¹¡£ - <VariableList> - <VarListEntry><Term>Options</Term> - <ListItem><Para> -<!-- - This is a list of options to pass to dpkg. The options must be specified - using the list notation and each list item is passed as a single argument - to &dpkg;. ---> - dpkg ¤ËÅϤ¹¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤Ç¤¹¡£ - ¥ª¥×¥·¥ç¥ó¤Ï¡¢¥ê¥¹¥ÈµË¡¤ò»ÈÍѤ·¤Æ»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ - ¤Þ¤¿¡¢³Æ¥ê¥¹¥È¤Ïñ°ì¤Î°ú¿ô¤È¤·¤Æ &dpkg; ¤ËÅϤµ¤ì¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Pre-Invoke</Term><Term>Post-Invoke</Term> - <ListItem><Para> -<!-- - This is a list of shell commands to run before/after invoking &dpkg;. - Like <literal/Options/ this must be specified in list notation. The - commands are invoked in order using <filename>/bin/sh</>, should any - fail APT will abort. ---> - &dpkg; ¤ò¸Æ¤Ó½Ð¤¹Á°¸å¤Ç¼Â¹Ô¤¹¤ë¥·¥§¥ë¥³¥Þ¥ó¥É¤Î¥ê¥¹¥È¤Ç¤¹¡£ - <literal/Options/ ¤Î¤è¤¦¤Ë¡¢¥ê¥¹¥ÈµË¡¤Ç»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ - ¥³¥Þ¥ó¥É¤Ï <filename>/bin/sh</> ¤ò»ÈÍѤ·¤Æ¸Æ¤Ó½Ð¤µ¤ì¡¢ - ²¿¤«ÌäÂ꤬¤¢¤ì¤Ð¡¢APT ¤Ï°Û¾ï½ªÎ»¤·¤Þ¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Pre-Install-Pkgs</Term> - <ListItem><Para> -<!-- - This is a list of shell commands to run before invoking dpkg. Like - <literal/Options/ this must be specified in list notation. The commands - are invoked in order using <filename>/bin/sh</>, should any fail APT - will abort. APT will pass to the commands on standard input the - filenames of all .deb files it is going to install, one per line. ---> - &dpkg; ¤ò¸Æ¤Ó½Ð¤¹Á°¤Ë¼Â¹Ô¤¹¤ë¥·¥§¥ë¥³¥Þ¥ó¥É¤Î¥ê¥¹¥È¤Ç¤¹¡£ - <literal/Options/ ¤Î¤è¤¦¤Ë¡¢¥ê¥¹¥ÈµË¡¤Ç»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ - ¥³¥Þ¥ó¥É¤Ï <filename>/bin/sh</> ¤ò»ÈÍѤ·¤Æ¸Æ¤Ó½Ð¤µ¤ì¡¢ - ²¿¤«ÌäÂ꤬¤¢¤ì¤Ð¡¢APT ¤Ï°Û¾ï½ªÎ»¤·¤Þ¤¹¡£ - APT ¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤·¤è¤¦¤È¤¹¤ëÁ´ .deb ¥Õ¥¡¥¤¥ë¤Î¥Õ¥¡¥¤¥ë̾¤ò¡¢ - ¤Ò¤È¤Ä¤º¤Ä¥³¥Þ¥ó¥É¤Îɸ½àÆþÎϤËÁ÷¤ê¤Þ¤¹¡£ - <para> -<!-- - Version 2 of this protocol dumps more information, including the - protocol version, the APT configuration space and the packages, files - and versions being changed. Version 2 is enabled by setting - <literal/DPkg::Tools::Options::cmd::Version/ to 2. <literal/cmd/ is a - command given to <literal/Pre-Install-Pkgs/. ---> - ¤³¤Î¥×¥í¥È¥³¥ë¤Î¥Ð¡¼¥¸¥ç¥ó 2 ¤Ç¤Ï¡¢(¥×¥í¥È¥³¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¤ä - APT ÀßÄꥹ¥Ú¡¼¥¹¡¢¥Ñ¥Ã¥±¡¼¥¸¤ò´Þ¤à) ¾ÜºÙ¾ðÊó¤ä¥Õ¥¡¥¤¥ë¡¢ - Êѹ¹¤µ¤ì¤Æ¤¤¤ë¥Ð¡¼¥¸¥ç¥ó¤ò½ÐÎϤ·¤Þ¤¹¡£ - <literal/DPkg::Tools::Options::cmd::Version/ ¤Ë 2 ¤ò¥»¥Ã¥È¤¹¤ë¤È¡¢ - ¥Ð¡¼¥¸¥ç¥ó 2 ¤ò͸ú¤Ë¤Ç¤¤Þ¤¹¡£ - <literal/cmd/ ¤Ï <literal/Pre-Install-Pkgs/ ¤ÇÍ¿¤¨¤é¤ì¤ë¥³¥Þ¥ó¥É¤Ç¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Run-Directory</Term> - <ListItem><Para> -<!-- - APT chdirs to this directory before invoking dpkg, the default is - <filename>/</>. ---> - APT ¤Ï dpkg ¤ò¸Æ¤Ó½Ð¤¹Á°¤Ë¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¤Þ¤¹¡£ - ¥Ç¥Õ¥©¥ë¥È¤Ï <filename>/</> ¤Ç¤¹¡£ - </VarListEntry> - - <VarListEntry><Term>Build-Options</Term> - <ListItem><Para> -<!-- - These options are passed to &dpkg-buildpackage; when compiling packages, - the default is to disable signing and produce all binaries. ---> - ¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë &dpkg-buildpackage; ¤Ë - ÅϤµ¤ì¤Þ¤¹¡£ - ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢½ð̾¤ò̵¸ú¤Ë¤·¡¢Á´¥Ð¥¤¥Ê¥ê¤òÀ¸À®¤·¤Þ¤¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Debug Options</> ---> - <RefSect1><Title>¥Ç¥Ð¥Ã¥°¥ª¥×¥·¥ç¥ó</> - <para> -<!-- - Most of the options in the <literal/debug/ section are not interesting to - the normal user, however <literal/Debug::pkgProblemResolver/ shows - interesting output about the decisions dist-upgrade makes. - <literal/Debug::NoLocking/ disables file locking so APT can do some - operations as non-root and <literal/Debug::pkgDPkgPM/ will print out the - command line for each dpkg invokation. <literal/Debug::IdentCdrom/ will - disable the inclusion of statfs data in CDROM IDs. ---> - <literal/debug/ ¤Î¿¤¯¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ÉáÄ̤Υ桼¥¶¤Ë¤È¤Ã¤Æ¶½Ì£¤ò°ú¤¯¤â¤Î¤Ç¤Ï - ¤¢¤ê¤Þ¤»¤ó¡£¤·¤«¤·¡¢<literal/Debug::pkgProblemResolver/ ¤Ç¡¢ - dist-upgrade ¤ÎȽÃǤˤĤ¤¤Æ¤Î¶½Ì£¿¼¤¤½ÐÎϤ¬ÆÀ¤é¤ì¤Þ¤¹¡£ - <literal/Debug::NoLocking/ ¤Ï¡¢APT ¤¬Èó root ¤ÇÁàºî¤Ç¤¤ë¤è¤¦¤Ë - ¥Õ¥¡¥¤¥ë¤Î¥í¥Ã¥¯¤ò̵¸ú¤Ë¤·¤Þ¤¹¤·¡¢ <literal/Debug::pkgDPkgPM/ ¤Ï¡¢ - dpkg ¤ò¸Æ¤ÖºÝ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤ò½ÐÎϤ·¤Þ¤¹¡£ - <literal/Debug::IdentCdrom/ ¤Ï¡¢CDROM ID ¤Î¾õÂ֥ǡ¼¥¿¤ÎÊñ´Þ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ - <!-- statfs ¤Ï status ¤Î typo? --> - </RefSect1> - -<!-- - <RefSect1><Title>Examples</> ---> - <RefSect1><Title>Îã</> - <para> -<!-- - &configureindex; contains a - sample configuration file showing the default values for all possible - options. ---> - &configureindex; ¤Ë¡¢Á´ÍøÍѲÄǽ¥ª¥×¥·¥ç¥ó¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò»²¾È¤Ç¤¤ë¡¢ - ÀßÄê¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë¤¬¤¢¤ê¤Þ¤¹¡£ - </RefSect1> - -<!-- - <RefSect1><Title>Files</> ---> - <RefSect1><Title>¥Õ¥¡¥¤¥ë</> - <para> - <filename>/etc/apt/apt.conf</> - </RefSect1> - -<!-- - <RefSect1><Title>See Also</> ---> - <RefSect1><Title>»²¾È</> - <para> - &apt-cache;, &apt-config;<!-- ? reading apt.conf -->, &apt-preferences;. - </RefSect1> - - &manbugs; - &manauthor; - &translator; - -</refentry> diff --git a/doc/ja/apt.conf.ja.5.xml b/doc/ja/apt.conf.ja.5.xml new file mode 100644 index 000000000..8707c801e --- /dev/null +++ b/doc/ja/apt.conf.ja.5.xml @@ -0,0 +1,809 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt.conf</refentrytitle> + <manvolnum>5</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt.conf</refname> +<!-- + <refpurpose>Configuration file for APT</refpurpose> +--> + <refpurpose>APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«</refpurpose> + </refnamediv> + +<!-- + <refsect1><title>Description</title> +--> + <refsect1><title>説明</title> +<!-- + <para><filename>apt.conf</filename> is the main configuration file for the APT suite of + tools, all tools make use of the configuration file and a common command line + parser to provide a uniform environment. When an APT tool starts up it will + read the configuration specified by the <envar>APT_CONFIG</envar> environment + variable (if any) and then read the files in <literal>Dir::Etc::Parts</literal> + then read the main configuration file specified by + <literal>Dir::Etc::main</literal> then finally apply the + command line options to override the configuration directives, possibly + loading even more config files.</para> +--> + <para><filename>apt.conf</filename> ã¯ã€ + APT ツール集ã®ãƒ¡ã‚¤ãƒ³è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ã™ã€‚ + ã“ã®è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã¨å…±é€šã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ‘ーサを使ã£ã¦ã€ + ã™ã¹ã¦ã®ãƒ„ールを統一環境ã§ä½¿ç”¨ã§ãã¾ã™ã€‚ + APT ツールã®èµ·å‹•æ™‚ã«ã¯ã€<envar>APT_CONFIG</envar> 環境変数ã«æŒ‡å®šã—ãŸè¨å®šã‚’ + (å˜åœ¨ã™ã‚Œã°) èªã¿è¾¼ã¿ã¾ã™ã€‚ + 次㫠<literal>Dir::Etc::Parts</literal> ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’èªã¿è¾¼ã¿ã¾ã™ã€‚ + 次㫠<literal>Dir::Etc::main</literal> ã§æŒ‡å®šã—ãŸä¸»è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’èªã¿è¾¼ã¿ã€ + 最後ã«ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚ªãƒ—ションã§ã€ + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚ˆã‚Šå–å¾—ã—ãŸå€¤ã‚’上書ãã—ã¾ã™ã€‚</para> + +<!-- + <para>The configuration file is organized in a tree with options organized into + functional groups. option specification is given with a double colon + notation, for instance <literal>APT::Get::Assume-Yes</literal> is an option within + the APT tool group, for the Get tool. options do not inherit from their + parent groups.</para> +--> + <para>è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€ + 機能グループã”ã¨ã«ç³»çµ±ç«‹ã¦ã‚‰ã‚ŒãŸã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’æœ¨æ§‹é€ ã§è¡¨ã—ã¾ã™ã€‚ + オプションã®å†…容ã¯ã€2 ã¤ã®ã‚³ãƒãƒ³ã§åŒºåˆ‡ã‚Šã¾ã™ã€‚ + 例ãˆã° <literal>APT::Get::Assume-Yes</literal> ã¯ã€ + APT ツールグループã®ã€Get ツール用オプションã§ã™ã€‚ + オプションã¯ã€è¦ªã‚°ãƒ«ãƒ¼ãƒ—ã‹ã‚‰ç¶™æ‰¿ã—ã¾ã›ã‚“。</para> + +<!-- + <para>Syntacticly the configuration language is modeled after what the ISC tools + such as bind and dhcp use. Lines starting with + <literal>//</literal> are treated as comments (ignored). + Each line is of the form + <literal>APT::Get::Assume-Yes "true";</literal> The trailing + semicolon is required and the quotes are optional. A new scope can be + opened with curly braces, like:</para> + --> + <para>è¨å®šè¨€èªžã®æ–‡æ³•ã¯ã€ + bind ã‚„ dhcp ã®ã‚ˆã†ãª ISC ツールをモデルã«ã—ã¦ã„ã¾ã™ã€‚ + <literal>//</literal> ã§å§‹ã¾ã‚‹è¡Œã¯ã‚³ãƒ¡ãƒ³ãƒˆã¨ã—ã¦æ‰±ã‚ã‚Œã¾ã™ (無視)。 + ã„ãšã‚Œã®è¡Œã‚‚ã€<literallayout>APT::Get::Assume-Yes "true";</literallayout> ã® + よã†ãªå½¢å¼ã§ã™ã€‚ + 行末ã®ã‚»ãƒŸã‚³ãƒãƒ³ã¯å¿…è¦ã§ã™ãŒã€ãƒ€ãƒ–ルクォートã¯ä½¿ã‚ãªãã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。 + 以下ã®ã‚ˆã†ã«ä¸ã‚«ãƒƒã‚³ã‚’使ã†ã¨ã€æ–°ã—ã„スコープを開ãã“ã¨ãŒã§ãã¾ã™ã€‚</para> + +<informalexample><programlisting> +APT { + Get { + Assume-Yes "true"; + Fix-Broken "true"; + }; +}; +</programlisting></informalexample> + +<!-- + <para>with newlines placed to make it more readable. Lists can be created by + opening a scope and including a single word enclosed in quotes followed by a + semicolon. Multiple entries can be included, each separated by a semicolon.</para> +--> + <para>ã¾ãŸé©å®œæ”¹è¡Œã™ã‚‹ã“ã¨ã§ã€ã‚ˆã‚Šèªã¿ã‚„ã™ããªã‚Šã¾ã™ã€‚ + リストã¯ã€é–‹ã„ãŸã‚¹ã‚³ãƒ¼ãƒ—ã€ã‚¯ã‚©ãƒ¼ãƒˆã§å›²ã¾ã‚ŒãŸå˜èªžã€ + ãã—ã¦ã‚»ãƒŸã‚³ãƒãƒ³ã¨ç¶šã‘ã‚‹ã“ã¨ã§ä½œæˆã§ãã¾ã™ã€‚ + セミコãƒãƒ³ã§åŒºåˆ‡ã‚‹ã“ã¨ã§ã€è¤‡æ•°ã®ã‚¨ãƒ³ãƒˆãƒªã‚’表ã™ã“ã¨ãŒã§ãã¾ã™ã€‚</para> + +<informalexample><programlisting> +DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; +</programlisting></informalexample> + +<!-- + <para>In general the sample configuration file in + <filename>&docdir;examples/apt.conf</filename> &configureindex; + is a good guide for how it should look.</para> +--> + <para><filename>&docdir;examples/apt.conf</filename> &configureindex; + ã¯ä¸€èˆ¬çš„ãªè¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚µãƒ³ãƒ—ルã§ã™ã€‚ + ã©ã®ã‚ˆã†ã«è¨å®šã™ã‚‹ã‹å‚考ã«ãªã‚‹ã§ã—ょã†ã€‚</para> + +<!-- + <para>Two specials are allowed, <literal>#include</literal> and <literal>#clear</literal> + <literal>#include</literal> will include the given file, unless the filename + ends in a slash, then the whole directory is included. + <literal>#clear</literal> is used to erase a list of names.</para> +--> + <para><literal>#include</literal> 㨠<literal>#clear</literal> ã® + 2 ã¤ã®ç‰¹åˆ¥ãªè¨˜æ³•ãŒã‚ã‚Šã¾ã™ã€‚ + <literal>#include</literal> ã¯æŒ‡å®šã—ãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’å–ã‚Šè¾¼ã¿ã¾ã™ã€‚ + ファイルåãŒã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã§çµ‚ã‚ã£ãŸå ´åˆã«ã¯ã€ + ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’ã™ã¹ã¦å–ã‚Šè¾¼ã¿ã¾ã™ã€‚ + <literal>#clear</literal> ã¯åå‰ã®ãƒªã‚¹ãƒˆã‚’削除ã™ã‚‹ã®ã«ä¾¿åˆ©ã§ã™ã€‚</para> + +<!-- + <para>All of the APT tools take a -o option which allows an arbitrary configuration + directive to be specified on the command line. The syntax is a full option + name (<literal>APT::Get::Assume-Yes</literal> for instance) followed by an equals + sign then the new value of the option. Lists can be appended too by adding + a trailing :: to the list name.</para> +--> + <para>ã™ã¹ã¦ã® APT ツールã§ã€ + コマンドラインã§ä»»æ„ã®è¨å®šã‚’行ㆠ-o オプションãŒä½¿ç”¨ã§ãã¾ã™ã€‚ + 文法ã¯ã€å®Œå…¨ãªã‚ªãƒ—ションå (例: <literal>APT::Get::Assume-Yes</literal>)〠+ ç‰å·ã€ç¶šã„ã¦ã‚ªãƒ—ションã®æ–°ã—ã„値ã¨ãªã‚Šã¾ã™ã€‚ + リストåã«ç¶šã::ã‚’åŠ ãˆã‚‹ã“ã¨ã§ã€ãƒªã‚¹ãƒˆã‚’è¿½åŠ ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚</para> + </refsect1> + +<!-- + <refsect1><title>The APT Group</title> +--> + <refsect1><title>APT グループ</title> +<!-- + <para>This group of options controls general APT behavior as well as holding the + options for all of the tools.</para> +--> + <para>ã“ã®ã‚ªãƒ—ショングループã¯ã€ãƒ„ール全体ã«å½±éŸ¿ã®ã‚る〠+ 一般的㪠APT ã®æŒ¯ã‚‹èˆžã„を制御ã—ã¾ã™ã€‚</para> + + <variablelist> + <varlistentry><term>Architecture</term> +<!-- + <listitem><para>System Architecture; sets the architecture to use when fetching files and + parsing package lists. The internal default is the architecture apt was + compiled for.</para></listitem> +--> + <listitem><para>システムアーã‚テクãƒãƒ£ - ファイルをå–å¾—ã—ãŸã‚Šã€ + パッケージリストを解æžã™ã‚‹ã¨ãã«ä½¿ç”¨ã™ã‚‹ã‚¢ãƒ¼ã‚テクãƒãƒ£ã‚’セットã—ã¾ã™ã€‚ + 内部ã§ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ã€ + apt をコンパイルã—ãŸã‚¢ãƒ¼ã‚テクãƒãƒ£ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Ignore-Hold</term> +<!-- + <listitem><para>Ignore Held packages; This global option causes the problem resolver to + ignore held packages in its decision making.</para></listitem> +--> + <listitem><para>ä¿ç•™ãƒ‘ッケージã®ç„¡è¦– - ã“ã®ã‚°ãƒãƒ¼ãƒãƒ«ã‚ªãƒ—ションã¯ã€ + å•é¡Œè§£æ±ºå™¨ã«ä¿ç•™ã¨æŒ‡å®šã—ãŸãƒ‘ッケージを無視ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Clean-Installed</term> +<!-- + <listitem><para>Defaults to on. When turned on the autoclean feature will remove any packages + which can no longer be downloaded from the cache. If turned off then + packages that are locally installed are also excluded from cleaning - but + note that APT provides no direct means to reinstall them.</para></listitem> +--> + <listitem><para>デフォルトã§æœ‰åŠ¹ã§ã™ã€‚autoclean 機能㌠on ã®æ™‚〠+ ダウンãƒãƒ¼ãƒ‰ã§ããªããªã£ãŸãƒ‘ッケージをã‚ャッシュã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚ + off ã®å ´åˆã€ãƒãƒ¼ã‚«ãƒ«ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„るパッケージã¯ã€ + 削除対象ã‹ã‚‰å¤–ã—ã¾ã™ã€‚ + ã—ã‹ã—〠APT ã¯ã‚ャッシュã‹ã‚‰å‰Šé™¤ã—ãŸãƒ‘ッケージã®å†ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«æ–¹æ³•ã‚’〠+ 直接æä¾›ã™ã‚‹ã‚ã‘ã§ã¯ãªã„ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>Immediate-Configure</term> +<!-- + <listitem><para>Disable Immediate Configuration; This dangerous option disables some + of APT's ordering code to cause it to make fewer dpkg calls. Doing + so may be necessary on some extremely slow single user systems but + is very dangerous and may cause package install scripts to fail or worse. + Use at your own risk.</para></listitem> +--> + <listitem><para>å³æ™‚è¨å®šç„¡åŠ¹ - ã“ã®å±é™ºãªã‚ªãƒ—ションã¯ã€ + APT ã®è¦æ±‚コードを無効ã«ã—㦠dpkg ã®å‘¼ã³å‡ºã—ã‚’ã»ã¨ã‚“ã©ã—ãªã„よã†ã«ã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã€éžå¸¸ã«é…ã„シングルユーザシステムã§ã¯å¿…è¦ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“ãŒã€ + éžå¸¸ã«å±é™ºã§ã€ãƒ‘ッケージã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã‚¹ã‚¯ãƒªãƒ—トãŒå¤±æ•—ã—ãŸã‚Šã€ + ã‚‚ã—ãã¯ã‚‚ã£ã¨æ‚ªã„ã“ã¨ãŒãŠãã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。 + 自己責任ã§ä½¿ç”¨ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>Force-LoopBreak</term> +<!-- + <listitem><para>Never Enable this option unless you -really- know what you are doing. It + permits APT to temporarily remove an essential package to break a + Conflicts/Conflicts or Conflicts/Pre-Depend loop between two essential + packages. SUCH A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option + will work if the essential packages are not tar, gzip, libc, dpkg, bash or + anything that those packages depend on.</para></listitem> +--> + <listitem><para>何をã—よã†ã¨ã—ã¦ã„ã‚‹ã®ã‹ã€Œæœ¬å½“ã«ã€åˆ¤ã£ã¦ã„ã‚‹ã®ã§ãªã‘ã‚Œã°ã€ + 絶対ã«ã“ã®ã‚ªãƒ—ションを有効ã«ã—ãªã„ã§ãã ã•ã„。 + ä¸å¯æ¬ (essential) パッケージåŒå£«ã§ã€ + ç«¶åˆ (Conflicts) /競åˆã‚„競åˆ/事å‰ä¾å˜ (Pre-Depend) + ã®ãƒ«ãƒ¼ãƒ—ã«è½ã¡è¾¼ã‚“ã ã¨ãã«ã€ + ä¸å¯æ¬ パッケージを一時的ã«å‰Šé™¤ã—ã¦ãƒ«ãƒ¼ãƒ—を抜ã‘られるよã†ã«ã—ã¾ã™ã€‚ + <emphasis>ãã‚“ãªãƒ«ãƒ¼ãƒ—ã¯ã‚ã‚Šå¾—ãªã„ã¯ãšã§ã€ + ã‚ã‚‹ã¨ã™ã‚Œã°é‡å¤§ãªãƒã‚°ã§ã™ã€‚</emphasis> + ã“ã®ã‚ªãƒ—ションã¯ã€tar, gzip, libc, dpkg, bash ã¨ãれらãŒä¾å˜ã—ã¦ã„ã‚‹ + パッケージ以外ã®ä¸å¯æ¬ パッケージã§å‹•ä½œã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Cache-Limit</term> +<!-- + <listitem><para>APT uses a fixed size memory mapped cache file to store the 'available' + information. This sets the size of that cache (in bytes).</para></listitem> +--> + <listitem><para>APT ã¯ã€Œåˆ©ç”¨å¯èƒ½ã€æƒ…å ±ã‚’æ ¼ç´ã™ã‚‹ãŸã‚ã«ã€ + 固定サイズã®ãƒ¡ãƒ¢ãƒªãƒžãƒƒãƒ—ã‚ャッシュファイルを使用ã—ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ—ションã¯ã€ãã®ã‚ャッシュサイズを指定ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Build-Essential</term> +<!-- + <listitem><para>Defines which package(s) are considered essential build dependencies.</para></listitem> +--> + <listitem><para>構築ä¾å˜é–¢ä¿‚ã§ä¸å¯æ¬ ãªãƒ‘ッケージを定義ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Get</term> +<!-- + <listitem><para>The Get subsection controls the &apt-get; tool, please see its + documentation for more information about the options here.</para></listitem> +--> + <listitem><para>サブセクション Get 㯠&apt-get; ツールを制御ã—ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ—ションã®è©³ç´°ã¯ &apt-get; ã®æ–‡æ›¸ã‚’å‚ç…§ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>Cache</term> +<!-- + <listitem><para>The Cache subsection controls the &apt-cache; tool, please see its + documentation for more information about the options here.</para></listitem> +--> + <listitem><para>サブセクション Cache 㯠&apt-cache; ツールを制御ã—ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ—ションã®è©³ç´°ã¯ &apt-cache; ã®æ–‡æ›¸ã‚’å‚ç…§ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>CDROM</term> +<!-- + <listitem><para>The CDROM subsection controls the &apt-cdrom; tool, please see its + documentation for more information about the options here.</para></listitem> +--> + <listitem><para>サブセクション CDROM 㯠&apt-cdrom; ツールを制御ã—ã¾ã™ã€‚ + ã“ã®ã‚ªãƒ—ションã®è©³ç´°ã¯ &apt-cdrom; ã®æ–‡æ›¸ã‚’å‚ç…§ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + </variablelist> + </refsect1> + +<!-- + <refsect1><title>The Acquire Group</title> +--> + <refsect1><title>Acquire グループ</title> +<!-- + <para>The <literal>Acquire</literal> group of options controls the download of packages + and the URI handlers. +--> + <para><literal>Acquire</literal> オプショングループã¯ã€ + パッケージã®ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã‚„ URI ãƒãƒ³ãƒ‰ãƒ©ã®åˆ¶å¾¡ã‚’è¡Œã„ã¾ã™ã€‚ + <variablelist> + <varlistentry><term>Queue-Mode</term> +<!-- + <listitem><para>Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</literal> or + <literal>access</literal> which determines how APT parallelizes outgoing + connections. <literal>host</literal> means that one connection per target host + will be opened, <literal>access</literal> means that one connection per URI type + will be opened.</para></listitem> +--> + <listitem><para>ã‚ューモード - <literal>Queue-Mode</literal> ã¯ã€ + APT ãŒã©ã®ã‚ˆã†ã«ä¸¦åˆ—接続を行ã†ã‹ã€ + <literal>host</literal> ã‹ <literal>access</literal> ã§æŒ‡å®šã§ãã¾ã™ã€‚ + <literal>host</literal> ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ›ã‚¹ãƒˆã”ã¨ã« 1 接続を開ãã¾ã™ã€‚ + <literal>access</literal> ã¯ã€ + URI タイプã”ã¨ã« 1 接続を開ãã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Retries</term> +<!-- + <listitem><para>Number of retries to perform. If this is non-zero APT will retry failed + files the given number of times.</para></listitem> +--> + <listitem><para>リトライã®å›žæ•°ã‚’è¨å®šã—ã¾ã™ã€‚ + 0 ã§ãªã„å ´åˆã€APT ã¯å¤±æ•—ã—ãŸãƒ•ã‚¡ã‚¤ãƒ«ã«å¯¾ã—ã¦ã€ + 与ãˆã‚‰ã‚ŒãŸå›žæ•°ã ã‘リトライを行ã„ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Source-Symlinks</term> +<!-- + <listitem><para>Use symlinks for source archives. If set to true then source archives will + be symlinked when possible instead of copying. True is the default.</para></listitem> +--> + <listitem><para>ソースアーカイブã®ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã‚’使用ã—ã¾ã™ã€‚ + true ãŒã‚»ãƒƒãƒˆã•ã‚Œã¦ã„ã‚‹ã¨ãã€å¯èƒ½ãªã‚‰ã‚³ãƒ”ーã®ä»£ã‚ã‚Šã«ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ãŒ + 張られã¾ã™ã€‚true ãŒãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>http</term> +<!-- + <listitem><para>HTTP URIs; http::Proxy is the default http proxy to use. It is in the + standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per + host proxies can also be specified by using the form + <literal>http::Proxy::<host></literal> with the special keyword <literal>DIRECT</literal> + meaning to use no proxies. The <envar>http_proxy</envar> environment variable + will override all settings.</para> +--> + <listitem><para>HTTP URI - http::Proxy ã¯ã€ + デフォルトã§ä½¿ç”¨ã™ã‚‹ http プãƒã‚ã‚·ã§ã™ã€‚ + <literal>http://[[user][:pass]@]host[:port]/</literal> + ã¨ã„ã†æ¨™æº–å½¢ã§è¡¨ã—ã¾ã™ã€‚ホストã”ã¨ã®ãƒ—ãƒã‚ã‚·ã®å ´åˆã¯ã€ + <literal>http::Proxy::<host></literal> ã¨ã„ã†å½¢ã¨ã€ + プãƒã‚シを使用ã—ãªã„ã¨ã„ã†æ„味ã®ç‰¹æ®Šã‚ーワード <literal>DIRECT</literal> + を使用ã—ã¦æŒ‡å®šã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ã™ã¹ã¦ã®è¨å®šã¯ã€ + 環境変数 <envar>http_proxy</envar> ã§ä¸Šæ›¸ãã•ã‚Œã¾ã™ã€‚</para> + +<!-- + <para>Three settings are provided for cache control with HTTP/1.1 compliant + proxy caches. <literal>No-Cache</literal> tells the proxy to not use its cached + response under any circumstances, <literal>Max-Age</literal> is sent only for + index files and tells the cache to refresh its object if it is older than + the given number of seconds. Debian updates its index files daily so the + default is 1 day. <literal>No-Store</literal> specifies that the cache should never + store this request, it is only set for archive files. This may be useful + to prevent polluting a proxy cache with very large .deb files. Note: + Squid 2.0.2 does not support any of these options.</para> +--> + <para>HTTP/1.1 æº–æ‹ ã®ãƒ—ãƒã‚ã‚·ã‚ャッシュã®åˆ¶å¾¡ã«ã¤ã„ã¦ã€ + 3 種類ã®è¨å®šãŒã‚ã‚Šã¾ã™ã€‚<literal>No-Cache</literal> ã¯ãƒ—ãƒã‚ã‚·ã«å¯¾ã—ã¦ã€ + ã„ã‹ãªã‚‹æ™‚ã‚‚ã‚ャッシュを使用ã—ãªã„ã¨ä¼ãˆã¾ã™ã€‚ + <literal>Max-Age</literal> ã¯ã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ç”¨ã®ã¨ãã ã‘é€ä¿¡ã—〠+ 得られãŸæ™‚間よりもå¤ã‹ã£ãŸå ´åˆã«ã€ + オブジェクトをリフレッシュã™ã‚‹ã‚ˆã†ã‚ャッシュã«æŒ‡ç¤ºã—ã¾ã™ã€‚ + デフォルトã§ã¯ 1 æ—¥ã¨ãªã£ã¦ã„ã‚‹ãŸã‚〠+ Debian ã¯æ—¥æ¯Žã«ãã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æ›´æ–°ã—ã¾ã™ã€‚ + <literal>No-Store</literal> ã¯ã€ã‚ャッシュãŒã“ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’æ ¼ç´ã›ãšã€ + アーカイブファイルã®ã¿è¨å®šã™ã‚‹ã‚ˆã†æŒ‡å®šã—ã¾ã™ã€‚ + ã“ã‚Œã¯ã€éžå¸¸ã«å¤§ã㪠.deb ファイルã§ãƒ—ãƒã‚ã‚·ã‚ャッシュãŒæ±šã‚Œã‚‹ã®ã‚’〠+ 防ãã®ã«ä¾¿åˆ©ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。 + 注) Squid 2.0.2 ã§ã¯ã€ã“れらã®ã‚ªãƒ—ションをサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã›ã‚“。</para> + +<!-- + <para>The option <literal>timeout</literal> sets the timeout timer used by the method, + this applies to all things including connection timeout and data timeout.</para> +--> + <para><literal>timeout</literal> オプションã¯ã€ + ã“ã®æ–¹æ³•ã§ã®ã‚¿ã‚¤ãƒ アウトã¾ã§ã®æ™‚é–“ã‚’è¨å®šã—ã¾ã™ã€‚ + ã“ã‚Œã«ã¯ã€æŽ¥ç¶šã®ã‚¿ã‚¤ãƒ アウトã¨ãƒ‡ãƒ¼ã‚¿ã®ã‚¿ã‚¤ãƒ アウトãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚</para> + +<!-- + <para>One setting is provided to control the pipeline depth in cases where the + remote server is not RFC conforming or buggy (such as Squid 2.0.2) + <literal>Acquire::http::Pipeline-Depth</literal> can be a value from 0 to 5 + indicating how many outstanding requests APT should send. A value of + zero MUST be specified if the remote host does not properly linger + on TCP connections - otherwise data corruption will occur. Hosts which + require this are in violation of RFC 2068.</para></listitem> +--> + <para>リモートサーãƒãŒ RFC æº–æ‹ ã§ãªã‹ã£ãŸã‚Šã€ + (Squid 2.0.2 ã®ã‚ˆã†ã«) ãƒã‚°ãŒã‚ã£ãŸã‚Šã—ãŸã¨ãã®ãŸã‚ã«ã€ + パイプラインã®æ·±ã•ã®åˆ¶å¾¡ã‚’è¨å®šã—ã¾ã™ã€‚ + <literal>Acquire::http::Pipeline-Depth</literal> ã«ã‚ˆã‚Šã€ + APT ãŒé€ä¿¡ã§ãるリクエストã®å›žæ•°ã‚’ 0 ã‹ã‚‰ 5 ã®å€¤ã§è¨å®šã§ãã¾ã™ã€‚ + リモートサーãƒãŒé©åˆ‡ã§ãªãã€TCP 接続ã«æ™‚é–“ãŒã‹ã‹ã‚‹ã¨ãã¯ã€ + <emphasis>å¿…ãš</emphasis> 0 ã®å€¤ã‚’è¨å®šã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。 + ãã†ã§ãªã‘ã‚Œã°ãƒ‡ãƒ¼ã‚¿ãŒç ´æã—ã¦ã—ã¾ã„ã¾ã™ã€‚ + ã“ã‚ŒãŒå¿…è¦ãªãƒ›ã‚¹ãƒˆã¯ RFC 2068 ã«é•åã—ã¦ã„ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>ftp</term> +<!-- + <listitem><para>FTP URIs; ftp::Proxy is the default proxy server to use. It is in the + standard form of <literal>ftp://[[user][:pass]@]host[:port]/</literal> and is + overridden by the <envar>ftp_proxy</envar> environment variable. To use a ftp + proxy you will have to set the <literal>ftp::ProxyLogin</literal> script in the + configuration file. This entry specifies the commands to send to tell + the proxy server what to connect to. Please see + &configureindex; for an example of + how to do this. The subsitution variables available are + <literal>$(PROXY_USER)</literal> <literal>$(PROXY_PASS)</literal> <literal>$(SITE_USER)</literal> + <literal>$(SITE_PASS)</literal> <literal>$(SITE)</literal> and <literal>$(SITE_PORT)</literal> + Each is taken from it's respective URI component.</para> +--> + <listitem><para>FTP URI - ftp::Proxy ã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ä½¿ç”¨ã™ã‚‹ãƒ—ãƒã‚シサーãƒã§ã™ã€‚ + <literal>ftp://[[user][:pass]@]host[:port]/</literal> ã¨ã„ã†æ¨™æº–å½¢ã§è¡¨ã—ã¾ã™ãŒã€ + 環境変数 <envar>ftp_proxy</envar> ã§ä¸Šæ›¸ãã•ã‚Œã¾ã™ã€‚ + ftp プãƒã‚シを使用ã™ã‚‹ã«ã¯ã€è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã« <literal>ftp::ProxyLogin</literal> + スクリプトをè¨å®šã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ + プãƒã‚シサーãƒã«é€ä¿¡ã™ã‚‹æŽ¥ç¶šã‚³ãƒžãƒ³ãƒ‰ã‚’ã€ã“ã®ã‚¨ãƒ³ãƒˆãƒªã«è¨å®šã—ã¾ã™ã€‚ + ã©ã®ã‚ˆã†ã«ã™ã‚‹ã®ã‹ã¯ &configureindex; ã®ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 + ãã®ä»–ã«ã‚‚ã€<literal>$(PROXY_USER)</literal> + <literal>$(PROXY_PASS)</literal> <literal>$(SITE_USER)</literal> + <literal>$(SITE_PASS)</literal> <literal>$(SITE)</literal> + <literal>$(SITE_PORT)</literal> ãŒåˆ©ç”¨å¯èƒ½ã§ã™ã€‚ + ã„ãšã‚Œã‚‚ã€ãã‚Œãžã‚Œ URI を構æˆã™ã‚‹ãƒˆãƒ¼ã‚¯ãƒ³ã§ã™ã€‚</para> + +<!-- + <para>The option <literal>timeout</literal> sets the timeout timer used by the method, + this applies to all things including connection timeout and data timeout.</para> +--> + <para><literal>timeout</literal> オプションã¯ã€ + ã“ã®æ–¹æ³•ã§ã®ã‚¿ã‚¤ãƒ アウトã¾ã§ã®æ™‚é–“ã‚’è¨å®šã—ã¾ã™ã€‚ + ã“ã‚Œã«ã¯ã€æŽ¥ç¶šã®ã‚¿ã‚¤ãƒ アウトã¨ãƒ‡ãƒ¼ã‚¿ã®ã‚¿ã‚¤ãƒ アウトãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚</para> + +<!-- + <para>Several settings are provided to control passive mode. Generally it is + safe to leave passive mode on, it works in nearly every environment. + However some situations require that passive mode be disabled and port + mode ftp used instead. This can be done globally, for connections that + go through a proxy or for a specific host (See the sample config file + for examples).</para> +--> + <para>è¨å®šã®ã„ãã¤ã‹ã¯ã€ãƒ‘ッシブモードを制御ã™ã‚‹ã‚‚ã®ã§ã™ã€‚ + 一般的ã«ã€ãƒ‘ッシブモードã®ã¾ã¾ã«ã—ã¦ãŠãæ–¹ãŒå®‰å…¨ã§ã€ + ã»ã¼ã©ã‚“ãªç’°å¢ƒã§ã‚‚動作ã—ã¾ã™ã€‚ + ã—ã‹ã—ã‚る状æ³ä¸‹ã§ã¯ã€ãƒ‘ッシブモードãŒç„¡åŠ¹ã®ãŸã‚〠+ 代ã‚ã‚Šã«ãƒãƒ¼ãƒˆãƒ¢ãƒ¼ãƒ‰ ftp を使用ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ + ã“ã®è¨å®šã¯ã€ãƒ—ãƒã‚シを通る接続や特定ã®ãƒ›ã‚¹ãƒˆã¸ã®æŽ¥ç¶šå…¨èˆ¬ã«æœ‰åŠ¹ã§ã™ã€‚ + (è¨å®šä¾‹ã¯ã‚µãƒ³ãƒ—ルè¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’å‚ç…§ã—ã¦ãã ã•ã„)</para> + +<!-- + <para>It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</envar> + environment variable to a http url - see the discussion of the http method + above for syntax. You cannot set this in the configuration file and it is + not recommended to use FTP over HTTP due to its low efficiency.</para> +--> + <para>環境変数 <envar>ftp_proxy</envar> ã® http url ã«ã‚ˆã‚Š + FTP over HTTP ã®ãƒ—ãƒã‚ã‚·ãŒåˆ©ç”¨å¯èƒ½ã«ãªã‚Šã¾ã™ã€‚ + 文法ã¯ä¸Šã® http ã«ã¤ã„ã¦ã®èª¬æ˜Žã‚’å‚ç…§ã—ã¦ãã ã•ã„。 + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®ä¸ã§ã“れをセットã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。 + ã¾ãŸã€åŠ¹çŽ‡ãŒæ‚ªã„ãŸã‚ FTP over HTTP を使用ã™ã‚‹ã®ã¯æŽ¨å¥¨ã—ã¾ã›ã‚“。</para> + +<!-- + <para>The setting <literal>ForceExtended</literal> controls the use of RFC2428 + <literal>EPSV</literal> and <literal>EPRT</literal> commands. The defaut is false, which means + these commands are only used if the control connection is IPv6. Setting this + to true forces their use even on IPv4 connections. Note that most FTP servers + do not support RFC2428.</para></listitem> +--> + <para><literal>ForceExtended</literal> ã®è¨å®šã¯ RFC2428 ã® + <literal>EPSV</literal> コマンド㨠<literal>EPRT</literal> + コマンドã®ä½¿ç”¨ã‚’制御ã—ã¾ã™ã€‚デフォルトã§ã¯ false ã§ã™ã€‚ + ã“ã‚Œã¯ã€ã‚³ãƒ³ãƒˆãƒãƒ¼ãƒ«ã‚³ãƒã‚¯ã‚·ãƒ§ãƒ³ãŒ IPv6 ã®æ™‚ã«ã®ã¿ã€ + ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã™ã‚‹ã¨ã„ã†ã“ã¨ã§ã™ã€‚ + ã“れを true ã«ã‚»ãƒƒãƒˆã™ã‚‹ã¨ã€IPv4 コãƒã‚¯ã‚·ãƒ§ãƒ³ã§ã‚‚強制的ã«ã€ + ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ + 注) ã»ã¨ã‚“ã©ã® FTP サーãƒã¯ RFC2428 をサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã›ã‚“。</para></listitem> + </varlistentry> + + <varlistentry><term>cdrom</term> +<!-- + <listitem><para>CDROM URIs; the only setting for CDROM URIs is the mount point, + <literal>cdrom::Mount</literal> which must be the mount point for the CDROM drive + as specified in <filename>/etc/fstab</filename>. It is possible to provide + alternate mount and unmount commands if your mount point cannot be listed + in the fstab (such as an SMB mount and old mount packages). The syntax + is to put <literallayout>"/cdrom/"::Mount "foo";</literallayout> within + the cdrom block. It is important to have the trailing slash. Unmount + commands can be specified using UMount.</para></listitem> +--> + <listitem><para>CDROM URI - マウントãƒã‚¤ãƒ³ãƒˆã®è¨å®šã®ã¿ã‚’è¡Œã„ã¾ã™ã€‚ + <filename>/etc/fstab</filename> ã§è¨å®šã•ã‚Œã¦ã„るよã†ã«ã€ + CDROM ドライブã®ãƒžã‚¦ãƒ³ãƒˆãƒã‚¤ãƒ³ãƒˆã‚’ + <literal>cdrom::Mount</literal> ã«è¨å®šã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。 + (SMB マウントやå¤ã„ mount パッケージãªã©) マウントãƒã‚¤ãƒ³ãƒˆãŒ fstab + ã«è¨˜è¿°ã§ããªã„å ´åˆã€ã‹ã‚ã‚Šã«ãƒžã‚¦ãƒ³ãƒˆãƒ»ã‚¢ãƒ³ãƒžã‚¦ãƒ³ãƒˆã‚³ãƒžãƒ³ãƒ‰ã‚‚使用ã§ãã¾ã™ã€‚ + 文法ã¯ã€cdrom ブãƒãƒƒã‚¯ã‚’ + <literallayout>"/cdrom/"::Mount "foo";</literallayout> ã®å½¢ã§è¨˜è¿°ã—ã¾ã™ã€‚ + スラッシュを後ã«ã¤ã‘ã‚‹ã®ã¯é‡è¦ã§ã™ã€‚ + アンマウントコマンド㯠UMount ã§æŒ‡å®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>gpgv</term> +<!-- + <listitem><para>GPGV URIs; the only option for GPGV URIs is the option to pass additional parameters to gpgv. + <literal>gpgv::Options</literal> Additional options passed to gpgv. + </para></listitem> +--> + <listitem><para>GPGV URI - GPGV URI 用ã®å”¯ä¸€ã®ã‚ªãƒ—ションã¯ã€ + gpgv ã«æ¸¡ã™è¿½åŠ パラメータã®ã‚ªãƒ—ションã§ã™ã€‚ + <literal>gpgv::Options</literal> gpgv ã«æ¸¡ã™è¿½åŠ オプション。 + </para></listitem> + </varlistentry> + + </variablelist> + </para> + </refsect1> + +<!-- + <refsect1><title>Directories</title> +--> + <refsect1><title>ディレクトリ</title> + +<!-- + <para>The <literal>Dir::State</literal> section has directories that pertain to local + state information. <literal>lists</literal> is the directory to place downloaded + package lists in and <literal>status</literal> is the name of the dpkg status file. + <literal>preferences</literal> is the name of the APT preferences file. + <literal>Dir::State</literal> contains the default directory to prefix on all sub + items if they do not start with <filename>/</filename> or <filename>./</filename>.</para> +--> + <para><literal>Dir::State</literal> セクションã¯ã€ + ãƒãƒ¼ã‚«ãƒ«çŠ¶æ…‹æƒ…å ±ã«é–¢ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’ä¿æŒã—ã¾ã™ã€‚ + <literal>lists</literal> ã¯ã€ + ダウンãƒãƒ¼ãƒ‰ã—ãŸãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ä¸€è¦§ã‚’æ ¼ç´ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã§ã€ + <literal>status</literal> 㯠dpkg ã®çŠ¶æ…‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰ã‚’表ã—ã¾ã™ã€‚ + <literal>preferences</literal> 㯠APT ã® è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰ã§ã™ã€‚ + <literal>Dir::State</literal> ã«ã¯ã€ + <filename>/</filename> ã‚„ <filename>./</filename> ã§å§‹ã¾ã‚‰ãªã„ + 全サブアイテムã«ä»˜åŠ ã™ã‚‹ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’å«ã‚“ã§ã„ã¾ã™ã€‚</para> + +<!-- + <para><literal>Dir::Cache</literal> contains locations pertaining to local cache + information, such as the two package caches <literal>srcpkgcache</literal> and + <literal>pkgcache</literal> as well as the location to place downloaded archives, + <literal>Dir::Cache::archives</literal>. Generation of caches can be turned off + by setting their names to be blank. This will slow down startup but + save disk space. It is probably prefered to turn off the pkgcache rather + than the srcpkgcache. Like <literal>Dir::State</literal> the default + directory is contained in <literal>Dir::Cache</literal></para> +--> + <para><literal>Dir::Cache</literal> ã¯ã€ + ãƒãƒ¼ã‚«ãƒ«ã‚ãƒ£ãƒƒã‚·ãƒ¥æƒ…å ±ã«é–¢ã™ã‚‹å ´æ‰€ã‚’æ ¼ç´ã—ã¦ã„ã¾ã™ã€‚ã“ã‚Œã¯ã€ + ダウンãƒãƒ¼ãƒ‰æ¸ˆã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã®å ´æ‰€ã‚’示㙠<literal>Dir::Cache::archives</literal> + ã¨åŒæ§˜ã«ã€<literal>srcpkgcache</literal> 㨠<literal>pkgcache</literal> + ã®ãƒ‘ッケージã‚ャッシュã®å ´æ‰€ã¨ãªã‚Šã¾ã™ã€‚ + ãã‚Œãžã‚Œã‚’空ã«ã‚»ãƒƒãƒˆã™ã‚‹ã“ã¨ã§ã€ã‚ャッシュã®ç”Ÿæˆã‚’無効ã«ã§ãã¾ã™ã€‚ + ãŠãらãã€srcpkgcache よりも pkgcache を無効ã«ã™ã‚‹ã“ã¨ãŒå¤šã„ã¨æ€ã„ã¾ã™ã€‚ + <literal>Dir::State</literal> ã¨åŒæ§˜ã€<literal>Dir::Cache</literal> + ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’å«ã‚“ã§ã„ã¾ã™ã€‚</para> + +<!-- + <para><literal>Dir::Etc</literal> contains the location of configuration files, + <literal>sourcelist</literal> gives the location of the sourcelist and + <literal>main</literal> is the default configuration file (setting has no effect, + unless it is done from the config file specified by + <envar>APT_CONFIG</envar>).</para> +--> + <para><literal>Dir::Etc</literal> ã¯è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®å ´æ‰€ã‚’æ ¼ç´ã—ã¦ã„ã¾ã™ã€‚ + <literal>sourcelist</literal> ã¯ã‚½ãƒ¼ã‚¹ãƒªã‚¹ãƒˆã®å ´æ‰€ã‚’示ã—〠+ <literal>main</literal> ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ã™ã€‚ + (<envar>APT_CONFIG</envar> ã§è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’指定ã•ã‚ŒãŸå ´åˆã®ã¿ã€ + ã“ã®è¨å®šã®åŠ¹æžœãŒã‚ã‚Šã¾ã™)</para> + +<!-- + <para>The <literal>Dir::Parts</literal> setting reads in all the config fragments in + lexical order from the directory specified. After this is done then the + main config file is loaded.</para> +--> + <para><literal>Dir::Parts</literal> è¨å®šã¯ã€æŒ‡å®šã•ã‚ŒãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ã€ + å—å¥å˜ä½ã®å…¨ã¦ã®è¨å®šæ–片をèªã¿ã“ã¿ã¾ã™ã€‚ + ã“れをè¨å®šã—ãŸå¾Œã«ã€ãƒ¡ã‚¤ãƒ³è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’ãƒãƒ¼ãƒ‰ã—ã¾ã™ã€‚</para> + +<!-- + <para>Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> + specifies the location of the method handlers and <literal>gzip</literal>, + <literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</literal> + <literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> specify the location + of the respective programs.</para> +--> + <para>ãƒã‚¤ãƒŠãƒªãƒ—ãƒã‚°ãƒ©ãƒ 㯠<literal>Dir::Bin</literal> ã§æŒ‡å®šã—ã¾ã™ã€‚ + <literal>Dir::Bin::Methods</literal> ã¯ãƒ¡ã‚½ãƒƒãƒ‰ãƒãƒ³ãƒ‰ãƒ©ã®å ´æ‰€ã‚’指定ã—〠+ <literal>gzip</literal>, <literal>dpkg</literal>, + <literal>apt-get</literal>, <literal>dpkg-source</literal>, + <literal>dpkg-buildpackage</literal>, <literal>apt-cache</literal> + ã¯ãã‚Œãžã‚Œãƒ—ãƒã‚°ãƒ©ãƒ ã®å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚</para> + </refsect1> + +<!-- + <refsect1><title>APT in DSelect</title> +--> + <refsect1><title>DSelect ã§ã® APT</title> +<!-- + <para> + When APT is used as a &dselect; method several configuration directives + control the default behaviour. These are in the <literal>DSelect</literal> section.</para> +--> + <para> + &dselect; 上㧠APT を使用ã™ã‚‹éš›ã€ + <literal>DSelect</literal> セクション以下ã®è¨å®šé …ç›®ã§ã€ + デフォルトã®å‹•ä½œã‚’制御ã—ã¾ã™ã€‚</para> + <variablelist> + <varlistentry><term>Clean</term> +<!-- + <listitem><para>Cache Clean mode; this value may be one of always, prompt, auto, + pre-auto and never. always and prompt will remove all packages from + the cache after upgrading, prompt (the default) does so conditionally. + auto removes only those packages which are no longer downloadable + (replaced with a new version for instance). pre-auto performs this + action before downloading new packages.</para></listitem> +--> + <listitem><para>ã‚ャッシュクリーンモード - + ã“ã®å€¤ã¯ always, prompt, auto, pre-auto, never ã®ã†ã¡ã²ã¨ã¤ã‚’å–ã‚Šã¾ã™ã€‚ + always 㨠prompt ã¯æ›´æ–°å¾Œã€å…¨ãƒ‘ッケージをã‚ャッシュã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚ + (デフォルトã®) prompt ã§ã¯æ¡ä»¶ä»˜ãã§å‰Šé™¤ã—ã¾ã™ã€‚ + auto ã¯ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ä¸èƒ½ãƒ‘ッケージ (例ãˆã°æ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ç½®ãæ›ãˆã‚‰ã‚ŒãŸã‚‚ã®) + を削除ã—ã¾ã™ã€‚pre-auto ã¯ã“ã®å‹•ä½œã‚’〠+ 新パッケージをダウンãƒãƒ¼ãƒ‰ã™ã‚‹ç›´å‰ã«è¡Œã„ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>options</term> +<!-- + <listitem><para>The contents of this variable is passed to &apt-get; as command line + options when it is run for the install phase.</para></listitem> +--> + <listitem><para>ã“ã®å¤‰æ•°ã®å†…容ã¯ã€ + install 時ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚ªãƒ—ションã¨åŒæ§˜ã« &apt-get; ã«æ¸¡ã•ã‚Œã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Updateoptions</term> +<!-- + <listitem><para>The contents of this variable is passed to &apt-get; as command line + options when it is run for the update phase.</para></listitem> +--> + <listitem><para>ã“ã®å¤‰æ•°ã®å†…容ã¯ã€ + update 時ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚ªãƒ—ションã¨åŒæ§˜ã« &apt-get; ã«æ¸¡ã•ã‚Œã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>PromptAfterUpdate</term> +<!-- + <listitem><para>If true the [U]pdate operation in &dselect; will always prompt to continue. + The default is to prompt only on error.</para></listitem> +--> + <listitem><para>true ã®å ´åˆã€ + &dselect; ã® [U]pdate 実行時ã«ã€ç¶šè¡Œã®ãŸã‚ã®ãƒ—ãƒãƒ³ãƒ—トを毎回表示ã—ã¾ã™ã€‚ + デフォルトã¯ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ãŸå ´åˆã®ã¿ã§ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect1> + +<!-- + <refsect1><title>How APT calls dpkg</title> +--> + <refsect1><title>APT ㌠dpkg を呼ã¶æ–¹æ³•</title> +<!-- + <para>Several configuration directives control how APT invokes &dpkg;. These are + in the <literal>DPkg</literal> section.</para> +--> + <para>数種ã®è¨å®šé …目㧠APT ãŒã©ã®ã‚ˆã†ã« &dpkg; を呼ã³å‡ºã™ã‹ã‚’制御ã§ãã¾ã™ã€‚ + <literal>DPkg</literal> セクションã«ã‚ã‚Šã¾ã™ã€‚</para> + + <variablelist> + <varlistentry><term>options</term> +<!-- + <listitem><para>This is a list of options to pass to dpkg. The options must be specified + using the list notation and each list item is passed as a single argument + to &dpkg;.</para></listitem> +--> + <listitem><para>dpkg ã«æ¸¡ã™ã‚ªãƒ—ションã®ãƒªã‚¹ãƒˆã§ã™ã€‚ + オプションã¯ã€ãƒªã‚¹ãƒˆè¨˜æ³•ã‚’使用ã—ã¦æŒ‡å®šã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。 + ã¾ãŸã€å„リストã¯å˜ä¸€ã®å¼•æ•°ã¨ã—㦠&dpkg; ã«æ¸¡ã•ã‚Œã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Pre-Invoke</term><term>Post-Invoke</term> +<!-- + <listitem><para>This is a list of shell commands to run before/after invoking &dpkg;. + Like <literal>options</literal> this must be specified in list notation. The + commands are invoked in order using <filename>/bin/sh</filename>, should any + fail APT will abort.</para></listitem> +--> + <listitem><para>&dpkg; を呼ã³å‡ºã™å‰å¾Œã§å®Ÿè¡Œã™ã‚‹ã‚·ã‚§ãƒ«ã‚³ãƒžãƒ³ãƒ‰ã®ãƒªã‚¹ãƒˆã§ã™ã€‚ + <literal>options</literal> ã®ã‚ˆã†ã«ãƒªã‚¹ãƒˆè¨˜æ³•ã§æŒ‡å®šã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。 + コマンド㯠<filename>/bin/sh</filename> を使用ã—ã¦å‘¼ã³å‡ºã•ã‚Œã€ + 何ã‹å•é¡ŒãŒã‚ã‚Œã°ã€APT ã¯ç•°å¸¸çµ‚了ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Pre-Install-Pkgs</term> +<!-- + <listitem><para>This is a list of shell commands to run before invoking dpkg. Like + <literal>options</literal> this must be specified in list notation. The commands + are invoked in order using <filename>/bin/sh</filename>, should any fail APT + will abort. APT will pass to the commands on standard input the + filenames of all .deb files it is going to install, one per line.</para> +--> + <listitem><para>&dpkg; を呼ã³å‡ºã™å‰ã«å®Ÿè¡Œã™ã‚‹ã‚·ã‚§ãƒ«ã‚³ãƒžãƒ³ãƒ‰ã®ãƒªã‚¹ãƒˆã§ã™ã€‚ + <literal>options</literal> ã®ã‚ˆã†ã«ãƒªã‚¹ãƒˆè¨˜æ³•ã§æŒ‡å®šã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。 + コマンド㯠<filename>/bin/sh</filename> を通ã—ã¦å‘¼ã³å‡ºã•ã‚Œã€ + 何ã‹å•é¡ŒãŒã‚ã‚Œã°ã€APT ã¯ç•°å¸¸çµ‚了ã—ã¾ã™ã€‚ + APT ã¯ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—よã†ã¨ã™ã‚‹å…¨ .deb ファイルã®ãƒ•ã‚¡ã‚¤ãƒ«åを〠+ ã²ã¨ã¤ãšã¤ã‚³ãƒžãƒ³ãƒ‰ã®æ¨™æº–入力ã«é€ã‚Šã¾ã™ã€‚</para> + +<!-- + <para>Version 2 of this protocol dumps more information, including the + protocol version, the APT configuration space and the packages, files + and versions being changed. Version 2 is enabled by setting + <literal>DPkg::Tools::options::cmd::Version</literal> to 2. <literal>cmd</literal> is a + command given to <literal>Pre-Install-Pkgs</literal>.</para></listitem> +--> + <para>ã“ã®ãƒ—ãƒãƒˆã‚³ãƒ«ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2 ã§ã¯ã€(プãƒãƒˆã‚³ãƒ«ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚„ + APT è¨å®šã‚¹ãƒšãƒ¼ã‚¹ã€ãƒ‘ッケージをå«ã‚€) è©³ç´°æƒ…å ±ã‚„ãƒ•ã‚¡ã‚¤ãƒ«ã€ + 変更ã•ã‚Œã¦ã„ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’出力ã—ã¾ã™ã€‚ + <literal>DPkg::Tools::options::cmd::Version</literal> ã« 2 ã‚’è¨å®šã™ã‚‹ã¨ã€ + ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2 を有効ã«ã§ãã¾ã™ã€‚ + <literal>cmd</literal> 㯠<literal>Pre-Install-Pkgs</literal> + ã§ä¸Žãˆã‚‰ã‚Œã‚‹ã‚³ãƒžãƒ³ãƒ‰ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Run-Directory</term> +<!-- + <listitem><para>APT chdirs to this directory before invoking dpkg, the default is + <filename>/</filename>.</para></listitem> +--> + <listitem><para>APT 㯠dpkg を呼ã³å‡ºã™å‰ã«ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç§»å‹•ã—ã¾ã™ã€‚ + デフォルト㯠<filename>/</filename> ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>Build-options</term> +<!-- + <listitem><para>These options are passed to &dpkg-buildpackage; when compiling packages, + the default is to disable signing and produce all binaries.</para></listitem> +--> + <listitem><para>ã“れらã®ã‚ªãƒ—ションã¯ã€ + パッケージã®ã‚³ãƒ³ãƒ‘イル時㫠&dpkg-buildpackage; ã«æ¸¡ã•ã‚Œã¾ã™ã€‚ + デフォルトã§ã¯ã€ç½²åを無効ã«ã—ã€å…¨ãƒã‚¤ãƒŠãƒªã‚’生æˆã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </refsect1> + +<!-- + <refsect1><title>Debug options</title> +--> + <refsect1><title>デãƒãƒƒã‚°ã‚ªãƒ—ション</title> +<!-- + <para>Most of the options in the <literal>debug</literal> section are not interesting to + the normal user, however <literal>Debug::pkgProblemResolver</literal> shows + interesting output about the decisions dist-upgrade makes. + <literal>Debug::NoLocking</literal> disables file locking so APT can do some + operations as non-root and <literal>Debug::pkgDPkgPM</literal> will print out the + command line for each dpkg invokation. <literal>Debug::IdentCdrom</literal> will + disable the inclusion of statfs data in CDROM IDs. + <literal>Debug::Acquire::gpgv</literal> Debugging of the gpgv method. + </para> +--> + <para><literal>debug</literal> ã®å¤šãã®ã‚ªãƒ—ションã¯ã€ + 普通ã®ãƒ¦ãƒ¼ã‚¶ã«ã¨ã£ã¦èˆˆå‘³ã‚’引ãã‚‚ã®ã§ã¯ã‚ã‚Šã¾ã›ã‚“。 + ã—ã‹ã— <literal>Debug::pkgProblemResolver</literal> ã§ã€ + dist-upgrade ã®åˆ¤æ–ã«ã¤ã„ã¦ã®èˆˆå‘³æ·±ã„出力ãŒå¾—られã¾ã™ã€‚ + <literal>Debug::NoLocking</literal>ã¯ã€ + APT ãŒéž root ã§æ“作ã§ãるよã†ã«ãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒãƒƒã‚¯ã‚’無効ã«ã—ã¾ã™ã—〠+ <literal>Debug::pkgDPkgPM</literal>ã¯ã€ + dpkg を呼ã¶éš›ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚’出力ã—ã¾ã™ã€‚ + <literal>Debug::IdentCdrom</literal> ã¯ã€ + CDROM ID ã®çŠ¶æ…‹ãƒ‡ãƒ¼ã‚¿ã®åŒ…å«ã‚’無効ã«ã—ã¾ã™ã€‚ + <literal>Debug::Acquire::gpgv</literal> gpgv 法ã®ãƒ‡ãƒãƒƒã‚°ã§ã™ã€‚ + </para> + </refsect1> + +<!-- + <refsect1><title>Examples</title> +--> + <refsect1><title>例</title> +<!-- + <para>&configureindex; is a + configuration file showing example values for all possible + options.</para> +--> + <para>&configureindex; ã«ã€å…¨åˆ©ç”¨å¯èƒ½ã‚ªãƒ—ションã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’å‚ç…§ã§ãる〠+ è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚µãƒ³ãƒ—ルãŒã‚ã‚Šã¾ã™ã€‚</para> + </refsect1> + +<!-- + <refsect1><title>Files</title> +--> + <refsect1><title>ファイル</title> + <para><filename>/etc/apt/apt.conf</filename></para> + </refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> + <para>&apt-cache;, &apt-config;<!-- ? reading apt.conf -->, &apt-preferences;.</para> + </refsect1> + + &manbugs; + &translator; + +</refentry> + diff --git a/doc/ja/apt.ent.ja b/doc/ja/apt.ent.ja index 495322997..3fa931ae5 100644 --- a/doc/ja/apt.ent.ja +++ b/doc/ja/apt.ent.ja @@ -2,178 +2,327 @@ <!-- Some common paths.. --> <!ENTITY docdir "/usr/share/doc/apt/"> -<!ENTITY configureindex "<filename>&docdir;examples/configure-index.gz</>"> -<!ENTITY aptconfdir "<filename>/etc/apt.conf</>"> +<!ENTITY configureindex "<filename>&docdir;examples/configure-index.gz</filename>"> +<!ENTITY aptconfdir "<filename>/etc/apt.conf</filename>"> <!ENTITY statedir "/var/lib/apt"> <!ENTITY cachedir "/var/cache/apt"> <!-- Cross references to other man pages --> -<!ENTITY apt-conf "<CiteRefEntry> - <RefEntryTitle><filename/apt.conf/</RefEntryTitle> - <ManVolNum/5/ - </CiteRefEntry>"> - -<!ENTITY apt-get "<CiteRefEntry> - <RefEntryTitle><command/apt-get/</RefEntryTitle> - <ManVolNum/8/ - </CiteRefEntry>"> - -<!ENTITY apt-config "<CiteRefEntry> - <RefEntryTitle><command/apt-config/</RefEntryTitle> - <ManVolNum/8/ - </CiteRefEntry>"> - -<!ENTITY apt-cdrom "<CiteRefEntry> - <RefEntryTitle><command/apt-cdrom/</RefEntryTitle> - <ManVolNum/8/ - </CiteRefEntry>"> - -<!ENTITY apt-cache "<CiteRefEntry> - <RefEntryTitle><command/apt-cache/</RefEntryTitle> - <ManVolNum/8/ - </CiteRefEntry>"> - -<!ENTITY apt-preferences "<CiteRefEntry> - <RefEntryTitle><command/apt_preferences/</RefEntryTitle> - <ManVolNum/5/ - </CiteRefEntry>"> - -<!ENTITY sources-list "<CiteRefEntry> - <RefEntryTitle><filename/sources.list/</RefEntryTitle> - <ManVolNum/5/ - </CiteRefEntry>"> - -<!ENTITY reportbug "<CiteRefEntry> - <RefEntryTitle><command/reportbug/</RefEntryTitle> - <ManVolNum/1/ - </CiteRefEntry>"> - -<!ENTITY dpkg "<CiteRefEntry> - <RefEntryTitle><command/dpkg/</RefEntryTitle> - <ManVolNum/8/ - </CiteRefEntry>"> - -<!ENTITY dpkg-buildpackage "<CiteRefEntry> - <RefEntryTitle><command/dpkg-buildpackage/</RefEntryTitle> - <ManVolNum/1/ - </CiteRefEntry>"> - -<!ENTITY gzip "<CiteRefEntry> - <RefEntryTitle><command/gzip/</RefEntryTitle> - <ManVolNum/1/ - </CiteRefEntry>"> - -<!ENTITY dpkg-scanpackages "<CiteRefEntry> - <RefEntryTitle><command/dpkg-scanpackages/</RefEntryTitle> - <ManVolNum/8/ - </CiteRefEntry>"> - -<!ENTITY dpkg-scansources "<CiteRefEntry> - <RefEntryTitle><command/dpkg-scansources/</RefEntryTitle> - <ManVolNum/8/ - </CiteRefEntry>"> - -<!ENTITY dselect "<CiteRefEntry> - <RefEntryTitle><command/dselect/</RefEntryTitle> - <ManVolNum/8/ - </CiteRefEntry>"> +<!ENTITY apt-conf "<citerefentry> + <refentrytitle><filename>apt.conf</filename></refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry>" +> + +<!ENTITY apt-get "<citerefentry> + <refentrytitle><command>apt-get</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY apt-config "<citerefentry> + <refentrytitle><command>apt-config</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY apt-cdrom "<citerefentry> + <refentrytitle><command>apt-cdrom</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY apt-cache "<citerefentry> + <refentrytitle><command>apt-cache</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY apt-preferences "<citerefentry> + <refentrytitle><command>apt_preferences</command></refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry>" +> + +<!ENTITY apt-key "<citerefentry> + <refentrytitle><command>apt-key</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY apt-secure "<citerefentry> + <refentrytitle>apt-secure</refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY apt-archive "<citerefentry> + <refentrytitle><filename>apt-archive</filename></refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>" +> + + +<!ENTITY sources-list "<citerefentry> + <refentrytitle><filename>sources.list</filename></refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry>" +> + +<!ENTITY reportbug "<citerefentry> + <refentrytitle><command>reportbug</command></refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>" +> + +<!ENTITY dpkg "<citerefentry> + <refentrytitle><command>dpkg</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY dpkg-buildpackage "<citerefentry> + <refentrytitle><command>dpkg-buildpackage</command></refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>" +> + +<!ENTITY gzip "<citerefentry> + <refentrytitle><command>gzip</command></refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>" +> + +<!ENTITY dpkg-scanpackages "<citerefentry> + <refentrytitle><command>dpkg-scanpackages</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY dpkg-scansources "<citerefentry> + <refentrytitle><command>dpkg-scansources</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY dselect "<citerefentry> + <refentrytitle><command>dselect</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY aptitude "<citerefentry> + <refentrytitle><command>aptitude</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY synaptic "<citerefentry> + <refentrytitle><command>synaptic</command></refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>" +> + +<!ENTITY debsign "<citerefentry> + <refentrytitle><command>debsign</command></refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>" +> + +<!ENTITY debsig-verify "<citerefentry> + <refentrytitle><command>debsig-verify</command></refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>" +> + +<!ENTITY gpg "<citerefentry> + <refentrytitle><command>gpg</command></refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>" +> <!-- Boiler plate docinfo section --> <!ENTITY apt-docinfo " - <docinfo> - <address><email>apt@packages.debian.org</></address> - <author><firstname>Jason</> <surname>Gunthorpe</></> - <copyright><year>1998-2001</> <holder>Jason Gunthorpe</></> - <date>12 March 2001</> - </docinfo> + <refentryinfo> + <address><email>apt@packages.debian.org</email></address> + <author><firstname>Jason</firstname> <surname>Gunthorpe</surname></author> + <copyright><year>1998-2001</year> <holder>Jason Gunthorpe</holder></copyright> + <date>14 December 2003</date> + <productname>Linux</productname> + + </refentryinfo> "> +<!ENTITY apt-email " + <address> + <email>apt@packages.debian.org</email> + </address> +"> + +<!ENTITY apt-author.jgunthorpe " + <author> + <firstname>Jason</firstname> + <surname>Gunthorpe</surname> + </author> +"> + +<!ENTITY apt-author.team " + <author> + <othername>APT team</othername> + </author> +"> + +<!ENTITY apt-product " + <productname>Linux</productname> +"> + +<!ENTITY apt-email " + <address> + <email>apt@packages.debian.org</email> + </address> +"> + +<!ENTITY apt-author.jgunthorpe " + <author> + <firstname>Jason</firstname> + <surname>Gunthorpe</surname> + </author> +"> + +<!ENTITY apt-author.team " + <author> + <othername>APT team</othername> + </author> +"> + +<!ENTITY apt-copyright " + <copyright> + <holder>Jason Gunthorpe</holder> + <year>1998-2001</year> + </copyright> +"> + +<!ENTITY apt-product " + <productname>Linux</productname> +"> + <!-- Boiler plate Bug reporting section --> <!ENTITY manbugs " - <RefSect1><Title>¥Ð¥°</> - <para> - <ulink url='http://bugs.debian.org/apt'>APT ¥Ð¥°¥Ú¡¼¥¸</>¤ò - »²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ - APT ¤Î¥Ð¥°¤òÊó¹ð¤¹¤ë¾ì¹ç¤Ï¡¢ - <filename>/usr/share/doc/debian/bug-reporting.txt</> ¤ä - &reportbug; ¥³¥Þ¥ó¥É¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +<!-- + <refsect1><title>Bugs</title> +--> + <refsect1><title>ãƒã‚°</title> +<!-- + <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>. + If you wish to report a bug in APT, please see + <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the + &reportbug; command. </para> - </RefSect1> +--> + <para><ulink url='http://bugs.debian.org/src:apt'>APT ãƒã‚°ãƒšãƒ¼ã‚¸</ulink>ã‚’ + ã”覧ãã ã•ã„。 + APT ã®ãƒã‚°ã‚’å ±å‘Šã™ã‚‹å ´åˆã¯ã€ + <filename>/usr/share/doc/debian/bug-reporting.txt</filename> ã‚„ + &reportbug; コマンドをã”覧ãã ã•ã„。 + </para> + </refsect1> "> <!-- Boiler plate Author section --> <!ENTITY manauthor " - <RefSect1><Title>Ãø¼Ô</> - <para> - APT ¤Ï the APT team <email>apt@packages.debian.org</> ¤Ë¤è¤Ã¤Æ½ñ¤«¤ì¤Þ¤·¤¿¡£ +<!-- + <refsect1><title>Author</title> +--> + <refsect1><title>著者</title> +<!-- + <para>APT was written by the APT team <email>apt@packages.debian.org</email>. +--> + <para>APT 㯠the APT team <email>apt@packages.debian.org</email> ã«ã‚ˆã£ã¦ + 書ã‹ã‚Œã¾ã—ãŸã€‚ </para> - </RefSect1> + </refsect1> "> -<!-- Translator section (Kurasawa Add)--> +<!-- Boiler plate Translator section (nabetaro add)--> <!ENTITY translator " - <RefSect1><Title>ËÝÌõ¼Ô</> - <para> - ÁÒß· ˾ <email>nabetaro@mx1.avis.ne.jp</> (2003-2004) - </para> - <para> - Debian JP Documentation ML <email>debian-doc@debian.or.jp</> - </para> - </RefSect1> + <refsect1><title>訳者</title> + <para>倉澤 望 <email>nabetaro@debian.or.jp</email> (2003-2006), + Debian JP Documentation ML <email>debian-doc@debian.or.jp</email> + </para> + </refsect1> "> <!-- Should be used within the option section of the text to put in the blurb about -h, -v, -c and -o --> <!ENTITY apt-commonoptions " - <VarListEntry><term><option/-h/</><term><option/--help/</> - <ListItem><Para> - »È¤¤Êý¤Îû¤¤Í×Ìó¤òɽ¼¨¤·¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> + <varlistentry><term><option>-h</option></term> + <term><option>--help</option></term> +<!-- + <listitem><para>Show a short usage summary. +--> + <listitem><para>使ã„æ–¹ã®çŸã„è¦ç´„を表示ã—ã¾ã™ã€‚ + </para> + </listitem> + </varlistentry> - <VarListEntry><term><option/-v/</><term><option/--version/</> - <ListItem><Para> - ¥×¥í¥°¥é¥à¤Î¥Ð¡¼¥¸¥ç¥ó¤òɽ¼¨¤·¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-c/</><term><option/--config-file/</> - <ListItem><Para> + <varlistentry> + <term><option>-v</option></term> + <term><option>--version</option></term> <!-- - Configuration File; Specify a configuration file to use. + <listitem><para>Show the program version. +--> + <listitem><para>プãƒã‚°ãƒ©ãƒ ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’表示ã—ã¾ã™ã€‚ + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>-c</option></term> + <term><option>--config-file</option></term> +<!-- + <listitem><para>Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this configuration file. See &apt-conf; for syntax information. + </para> --> - ÀßÄê¥Õ¥¡¥¤¥ë¡£ »ÈÍѤ¹¤ëÀßÄê¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Þ¤¹¡£ - ¤³¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤¬Æɤá¤Ê¤¤¾ì¹ç¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¤Þ¤¹¡£ - ʸˡ¤Î¾ðÊó¤Ï &apt-conf; ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ - </Para></ListItem> - </VarListEntry> + <listitem><para>è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã€‚ 使用ã™ã‚‹è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’指定ã—ã¾ã™ã€‚ + ã“ã®è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ãŒèªã‚ãªã„å ´åˆã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’èªã¿è¾¼ã¿ã¾ã™ã€‚ + 文法ã«ã¤ã„ã¦ã¯ &apt-conf; ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 + </para> + </listitem> + </varlistentry> - <VarListEntry><term><option/-o/</><term><option/--option/</> - <ListItem><Para> + <varlistentry> + <term><option>-o</option></term> + <term><option>--option</option></term> <!-- - Set a Configuration Option; This will set an arbitary configuration - option. The syntax is <option>-o Foo::Bar=bar</>. + <listitem><para>Set a Configuration Option; This will set an arbitary + configuration option. The syntax is <option>-o Foo::Bar=bar</option>. + </para> --> - ÀßÄꥪ¥×¥·¥ç¥ó¤Î¥»¥Ã¥È - Ǥ°Õ¤ÎÀßÄꥪ¥×¥·¥ç¥ó¤ò¥»¥Ã¥È¤·¤Þ¤¹¡£ - ʸˡ¤Ï <option>-o Foo::Bar=bar</> ¤È¤Ê¤ê¤Þ¤¹¡£ - </Para></ListItem> - </VarListEntry> + <listitem><para>è¨å®šã‚ªãƒ—ションã®ã‚»ãƒƒãƒˆã€‚ä»»æ„ã®è¨å®šã‚ªãƒ—ションをセットã—ã¾ã™ã€‚ + 文法㯠<option>-o Foo::Bar=bar</option> ã¨ãªã‚Šã¾ã™ã€‚ + </para> + </listitem> + </varlistentry> "> <!-- Should be used within the option section of the text to put in the blurb about -h, -v, -c and -o --> <!ENTITY apt-cmdblurb " - <para> <!-- - All command line options may be set using the configuration file, the + <para>All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the config file by using something like - <option/-f-/,<option/- -no-f/, <option/-f=no/ or several other variations. + <option>-f-</option>,<option>-\-no-f</option>, <option>-f=no</option> + or several other variations. + </para> --> - ¤³¤ÎÀâÌÀ¤Ç¼¨¤·¤¿¥ª¥×¥·¥ç¥ó¤Ï¡¢¤¹¤Ù¤ÆÀßÄê¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ·¤ÆÀßÄê¤Ç¤¤Þ¤¹¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤¤¿¿¿µ¶Ãͤò¤È¤ë¥ª¥×¥·¥ç¥ó¤Ï <option/-f-/,<option/--no-f/, - <option/-f=no/ ¤Ê¤É¤Î¤è¤¦¤Ë¤·¤Æ¾å½ñ¤¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ + <para>ã“ã®èª¬æ˜Žã§ç¤ºã—ãŸã‚ªãƒ—ションã¯ã€ + ã™ã¹ã¦è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’使用ã—ã¦è¨å®šã§ãã¾ã™ã€‚ + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã«æ›¸ã„ãŸçœŸå½å€¤ã‚’ã¨ã‚‹ã‚ªãƒ—ション㯠+ <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option> + ãªã©ã®ã‚ˆã†ã«ã—ã¦ä¸Šæ›¸ãã§ãã¾ã™ã€‚ </para> "> + diff --git a/doc/ja/apt_preferences.ja.5.xml b/doc/ja/apt_preferences.ja.5.xml new file mode 100644 index 000000000..a7e63a961 --- /dev/null +++ b/doc/ja/apt_preferences.ja.5.xml @@ -0,0 +1,940 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt_preferences</refentrytitle> + <manvolnum>5</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt_preferences</refname> +<!-- + <refpurpose>Preference control file for APT</refpurpose> +--> + <refpurpose>APT è¨å®šåˆ¶å¾¡ãƒ•ã‚¡ã‚¤ãƒ«</refpurpose> + </refnamediv> + +<refsect1> +<!-- +<title>Description</title> +--> +<title>説明</title> +<!-- +<para>The APT preferences file <filename>/etc/apt/preferences</filename> +can be used to control which versions of packages will be selected +for installation.</para> +--> +<para>APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ« <filename>/etc/apt/preferences</filename> ã¯ã€ +インストールã™ã‚‹ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³é¸æŠžã‚’制御ã™ã‚‹ã®ã«ä½¿ç”¨ã—ã¾ã™ã€‚</para> + +<!-- +<para>Several versions of a package may be available for installation when +the &sources-list; file contains references to more than one distribution +(for example, <literal>stable</literal> and <literal>testing</literal>). +APT assigns a priority to each version that is available. +Subject to dependency constraints, <command>apt-get</command> selects the +version with the highest priority for installation. +The APT preferences file overrides the priorities that APT assigns to +package versions by default, thus giving the user control over which +one is selected for installation.</para> +--> +<para>&sources-list; ファイルã«è¤‡æ•°ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューション +(<literal>stable</literal> 㨠<literal>testing</literal> ãªã©) +ãŒæŒ‡å®šã•ã‚Œã¦ã„ã¦ã€ +パッケージã«å¯¾ã—複数ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã§ãã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚ +ã“ã®ã¨ã APT ã¯ã€åˆ©ç”¨ã§ãã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã”ã¨ã«å„ªå…ˆåº¦ã‚’割り当ã¦ã¾ã™ã€‚ +ä¾å˜é–¢ä¿‚è¦å‰‡ã‚’æ¡ä»¶ã¨ã—ã¦ã€<command>apt-get</command> ã¯ã€ +最も高ã„優先度をæŒã¤ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’インストールã™ã‚‹ã‚ˆã†é¸æŠžã—ã¾ã™ã€‚ +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€APT ãŒãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§å‰²ã‚Šå½“ã¦ãŸã€ +パッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®å„ªå…ˆåº¦ã‚’上書ãã—ã¾ã™ã€‚ +ãã®çµæžœã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã™ã‚‹ã‚‚ã®ã®é¸æŠžã‚’ã€ãƒ¦ãƒ¼ã‚¶ãŒé¸æŠžã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚</para> + +<!-- +<para>Several instances of the same version of a package may be available when +the &sources-list; file contains references to more than one source. +In this case <command>apt-get</command> downloads the instance listed +earliest in the &sources-list; file. +The APT preferences file does not affect the choice of instance, only +the choice of version.</para> +--> +<para>&sources-list; ファイルã«è¤‡æ•°ã®å‚ç…§ãŒæ›¸ã‹ã‚Œã¦ã„ã‚‹å ´åˆã€ +パッケージã®åŒã˜ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ãŒè¤‡æ•°åˆ©ç”¨ã§ãã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚ +ã“ã®å ´åˆã€<command>apt-get</command> 㯠&sources-list; +ファイルã®åˆã‚ã®æ–¹ã«æŒ‡å®šã•ã‚Œã¦ã„ã‚‹ã¨ã“ã‚ã‹ã‚‰ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã—ã¾ã™ã€‚ +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®é¸æŠžã«ã®ã¿å½±éŸ¿ã—〠+インスタンスã®é¸æŠžã«ã¯å½±éŸ¿ã—ã¾ã›ã‚“。</para> + +<!-- +<refsect2><title>APT's Default Priority Assignments</title> +--> +<refsect2><title>APT ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå„ªå…ˆåº¦ã®å‰²ã‚Šå½“ã¦</title> + +<!-- +<para>If there is no preferences file or if there is no entry in the file +that applies to a particular version then the priority assigned to that +version is the priority of the distribution to which that version +belongs. It is possible to single out a distribution, "the target release", +which receives a higher priority than other distributions do by default. +The target release can be set on the <command>apt-get</command> command +line or in the APT configuration file <filename>/etc/apt/apt.conf</filename>. +For example, +--> +<para>è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ãŒãªã‹ã£ãŸã‚Šã€ +è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã«ã€ç‰¹å®šã®ãƒ‘ッケージを割り当ã¦ã‚‹ã‚¨ãƒ³ãƒˆãƒªãŒãªã„å ´åˆã€ +ãã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®å„ªå…ˆåº¦ã¯ã€ +ãã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒå±žã—ã¦ã„るディストリビューションã®å„ªå…ˆåº¦ã¨ãªã‚Šã¾ã™ã€‚ +デフォルトã§ä»–ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションより高ã„優先度をæŒã¤ã€ +特定ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションを「ターゲットリリースã€ã¨ã—ã¦ãŠãã®ã¯å¯èƒ½ã§ã™ã€‚ +ターゲットリリースã¯ã€<command>apt-get</command> ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§è¨å®šã—ãŸã‚Šã€ +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ« <filename>/etc/apt/apt.conf</filename> ã§è¨å®šã—ãŸã‚Šã§ãã¾ã™ã€‚ +例ãˆã°ä»¥ä¸‹ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ + +<programlisting> +<command>apt-get install -t testing <replaceable>some-package</replaceable></command> +</programlisting> +<programlisting> +APT::Default-Release "stable"; +</programlisting> +</para> + +<!-- +<para>If the target release has been specified then APT uses the following +algorithm to set the priorities of the versions of a package. Assign: +--> +<para>ターゲットリリースãŒæŒ‡å®šã•ã‚Œã‚‹ã¨ã€APT ã¯ä»¥ä¸‹ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã§ã€ +パッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®å„ªå…ˆåº¦ã‚’è¨å®šã—ã¾ã™ã€‚ã“ã®ã‚ˆã†ã«å‰²ã‚Šå½“ã¦ã¾ã™ã€‚ + +<variablelist> +<varlistentry> +<!-- +<term>priority 100</term> +--> +<term>優先度 100</term> +<!-- +<listitem><simpara>to the version that is already installed (if any).</simpara></listitem> +--> +<listitem><simpara>(ã‚ã‚‹ãªã‚‰ã°) æ—¢ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€‚</simpara></listitem> +</varlistentry> + +<varlistentry> +<!-- +<term>priority 500</term> +--> +<term>優先度 500</term> +<!-- +<listitem><simpara>to the versions that are not installed and do not belong to the target release.</simpara></listitem> +--> +<listitem><simpara>インストールã•ã‚Œã¦ãŠã‚‰ãšã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒªãƒªãƒ¼ã‚¹ã«å«ã¾ã‚Œãªã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€‚</simpara></listitem> +</varlistentry> + +<varlistentry> +<!-- +<term>priority 990</term> +--> +<term>優先度 990</term> +<!-- +<listitem><simpara>to the versions that are not installed and belong to the target release.</simpara></listitem> +--> +<listitem><simpara>インストールã•ã‚Œã¦ãŠã‚‰ãšã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒªãƒªãƒ¼ã‚¹ã«å«ã¾ã‚Œã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€‚</simpara></listitem> +</varlistentry> +</variablelist> +</para> + +<!-- +<para>If the target release has not been specified then APT simply assigns +priority 100 to all installed package versions and priority 500 to all +uninstalled package versions.</para> +--> +<para>ターゲットリリースãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã‘ã‚Œã°ã€ +APT ã¯å˜ç´”ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ã¦ã„るパッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã¯ 100 を〠+インストールã—ã¦ã„ãªã„パッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã¯ 500 を割り当ã¦ã¾ã™ã€‚</para> + +<!-- +<para>APT then applies the following rules, listed in order of precedence, +to determine which version of a package to install. +--> +<para>APT ã¯ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã™ã‚‹ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’決定ã™ã‚‹ãŸã‚ã«ã€ +以下ã®ãƒ«ãƒ¼ãƒ«ã‚’上ã‹ã‚‰é †ç•ªã«é©ç”¨ã—ã¾ã™ã€‚ +<itemizedlist> +<!-- +<listitem><simpara>Never downgrade unless the priority of an available +version exceeds 1000. ("Downgrading" is installing a less recent version +of a package in place of a more recent version. Note that none of APT's +default priorities exceeds 1000; such high priorities can only be set in +the preferences file. Note also that downgrading a package +can be risky.)</simpara></listitem> +--> +<listitem><simpara>有効ãªãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®å„ªå…ˆåº¦ãŒ 1000 を越ãˆãªã„å ´åˆã€ +決ã—ã¦ãƒ€ã‚¦ãƒ³ã‚°ãƒ¬ãƒ¼ãƒ‰ã—ã¾ã›ã‚“。 +(「ダウングレードã€ã¯ã€ç¾åœ¨ã®ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚ˆã‚Šã‚‚〠+å°ã•ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã‚‚ã®ã‚’インストールã—ã¾ã™ã€‚ +APT ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå„ªå…ˆåº¦ãŒ 1000 を越ãˆãªã„ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。 +ãã®ã‚ˆã†ãªå„ªå…ˆåº¦ã¯è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ã®ã¿è¨å®šã§ãã¾ã™ã€‚ +ã¾ãŸã€ãƒ‘ッケージã®ãƒ€ã‚¦ãƒ³ã‚°ãƒ¬ãƒ¼ãƒ‰ã¯å±é™ºã§ã‚ã‚‹ã“ã¨ã«ã‚‚注æ„ã—ã¦ãã ã•ã„)</simpara></listitem> +<!-- +<listitem><simpara>Install the highest priority version.</simpara></listitem> +--> +<listitem><simpara>最も高ã„優先度ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’インストールã—ã¾ã™ã€‚</simpara></listitem> +<!-- +<listitem><simpara>If two or more versions have the same priority, +install the most recent one (that is, the one with the higher version +number).</simpara></listitem> +--> +<listitem><simpara>åŒã˜å„ªå…ˆåº¦ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒè¤‡æ•°å˜åœ¨ã™ã‚‹å ´åˆã€ +最も新ã—ã„ã‚‚ã® (最もãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒé«˜ã„ã‚‚ã®) をインストールã—ã¾ã™ã€‚</simpara></listitem> +<!-- +<listitem><simpara>If two or more versions have the same priority and +version number but either the packages differ in some of their metadata or the +<literal>-\-reinstall</literal> option is given, install the uninstalled one.</simpara></listitem> +--> +<listitem><simpara>優先度・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒåŒã˜ã‚‚ã®ãŒè¤‡æ•°å˜åœ¨ã—〠+ãã®ãƒ‘ッケージã®ãƒ¡ã‚¿ãƒ‡ãƒ¼ã‚¿ãŒç•°ãªã‚‹ã‹ <literal>--reinstall</literal> +オプションãŒä¸Žãˆã‚‰ã‚Œã¦ã„ã‚‹å ´åˆã€ +インストールã•ã‚Œã¦ã„ãªã„ã‚‚ã®ã‚’インストールã—ã¾ã™ã€‚</simpara></listitem> +</itemizedlist> +</para> + +<!-- +<para>In a typical situation, the installed version of a package (priority 100) +is not as recent as one of the versions available from the sources listed in +the &sources-list; file (priority 500 or 990). Then the package will be upgraded +when <command>apt-get install <replaceable>some-package</replaceable></command> +or <command>apt-get upgrade</command> is executed. +--> +<para>よãã‚る状æ³ã¨ã—ã¦ã€ +ã‚るインストールã•ã‚Œã¦ã„るパッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ (優先度 100) ãŒã€ +&sources-list; ファイルã®ãƒªã‚¹ãƒˆã‹ã‚‰å¾—られるãƒãƒ¼ã‚¸ãƒ§ãƒ³ (優先度 500 ã‹ 990) +よりも新ã—ããªã„ã¨ã„ã†ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®å ´åˆã€ +<command>apt-get install <replaceable>some-package</replaceable></command> +ã‚„ <command>apt-get upgrade</command> を実行ã™ã‚‹ã¨ãƒ‘ッケージãŒæ›´æ–°ã•ã‚Œã¾ã™ã€‚ +</para> + +<!-- +<para>More rarely, the installed version of a package is <emphasis>more</emphasis> recent +than any of the other available versions. The package will not be downgraded +when <command>apt-get install <replaceable>some-package</replaceable></command> +or <command>apt-get upgrade</command> is executed.</para> +--> +<para>ã¾ã‚Œã«ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„るパッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã€ +<emphasis>ä»–ã®æœ‰åŠ¹ãªãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚ˆã‚Šã‚‚</emphasis>æ–°ã—ã„å ´åˆãŒã‚ã‚Šã¾ã™ã€‚ +ã“ã®æ™‚ +<command>apt-get install <replaceable>some-package</replaceable></command> +ã‚„ <command>apt-get upgrade</command> を実行ã—ã¦ã‚‚〠+ダウングレードã—ã¾ã›ã‚“。</para> + +<!-- +<para>Sometimes the installed version of a package is more recent than the +version belonging to the target release, but not as recent as a version +belonging to some other distribution. Such a package will indeed be upgraded +when <command>apt-get install <replaceable>some-package</replaceable></command> +or <command>apt-get upgrade</command> is executed, +because at least <emphasis>one</emphasis> of the available versions has a higher +priority than the installed version.</para> +--> +<para>時々ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ã¦ã„るパッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã€ +ターゲットリリースã«å±žã™ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚ˆã‚Šã‚‚æ–°ã—ã〠+ä»–ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションよりもå¤ã„å ´åˆãŒã‚ã‚Šã¾ã™ã€‚ +ãã®ã‚ˆã†ãªãƒ‘ッケージã«å¯¾ã—㦠+<command>apt-get install <replaceable>some-package</replaceable></command> +ã‚„ <command>apt-get upgrade</command> を実行ã™ã‚‹ã¨ã€ +パッケージã¯æ›´æ–°ã•ã‚Œã¾ã™ã€‚ +ã“ã®å ´åˆã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚ˆã‚Šã‚‚〠+å°‘ãªãã¨ã‚‚<emphasis>ã²ã¨ã¤</emphasis>ã¯ã€ +高ã„優先度をæŒã¤æœ‰åŠ¹ãªãƒ‘ッケージãŒã‚ã‚‹ã‹ã‚‰ã§ã™ã€‚</para> +</refsect2> + +<!-- +<refsect2><title>The Effect of APT Preferences</title> +--> +<refsect2><title>APT è¨å®šã®åŠ¹æžœ</title> + +<!-- +<para>The APT preferences file allows the system administrator to control the +assignment of priorities. The file consists of one or more multi-line records +separated by blank lines. Records can have one of two forms, a specific form +and a general form. +--> +<para>APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’使ã†ã¨ã€ +システム管ç†è€…ãŒå„ªå…ˆåº¦ã‚’割り当ã¦ã‚‰ã‚Œã‚‹ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +ファイルã¯ã€ç©ºç™½è¡Œã§åŒºåˆ‡ã‚‰ã‚ŒãŸã€è¤‡æ•°è¡Œã‹ã‚‰ãªã‚‹ãƒ¬ã‚³ãƒ¼ãƒ‰ã§æ§‹æˆã•ã‚Œã¦ã„ã¾ã™ã€‚ +レコードã¯ç‰¹å®šå½¢å¼ã‹ã€æ±Žç”¨å½¢å¼ã®ã©ã¡ã‚‰ã‹ã®å½¢å¼ã‚’ã¨ã‚Šã¾ã™ã€‚ +<itemizedlist> +<listitem> +<!-- +<simpara>The specific form assigns a priority (a "Pin-Priority") to a +specified package and specified version or version range. For example, +the following record assigns a high priority to all versions of +the <filename>perl</filename> package whose version number begins with "<literal>5.8</literal>".</simpara> +--> +<simpara>特定形å¼ã¯ã€å„ªå…ˆåº¦ ("Pin-Priority") を〠+指定ã—ãŸãƒ‘ッケージã®æŒ‡å®šã—ãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ (範囲) ã«ã¤ã„ã¦å‰²ã‚Šå½“ã¦ã¾ã™ã€‚ +例ãˆã°ä»¥ä¸‹ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ã¯ã€ +"<literal>5.8</literal>" ã§å§‹ã¾ã‚‹ <filename>perl</filename> パッケージを〠+高ã„優先度ã«è¨å®šã—ã¾ã™ã€‚</simpara> + +<programlisting> +Package: perl +Pin: version 5.8* +Pin-Priority: 1001 +</programlisting> +</listitem> + +<!-- +<listitem><simpara>The general form assigns a priority to all of the package versions in a +given distribution (that is, to all the versions of packages that are +listed in a certain <filename>Release</filename> file) or to all of the package +versions coming from a particular Internet site, as identified by the +site's fully qualified domain name.</simpara> +--> +<listitem><simpara>汎用形å¼ã¯ã€ä¸Žãˆã‚‰ã‚ŒãŸãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションã«ã‚る〠+ã™ã¹ã¦ã®ãƒ‘ッケージ (<filename>Release</filename> ファイルã«åˆ—挙ã—ãŸãƒ‘ッケージ) +ã®å„ªå…ˆåº¦ã‚„ã€FQDNã§æŒ‡å®šã—ãŸã€ +特定ã®ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆã‚µã‚¤ãƒˆã‹ã‚‰å–å¾—ã™ã‚‹ãƒ‘ッケージã®å„ªå…ˆåº¦ã‚’割り当ã¦ã¾ã™ã€‚</simpara> + +<!-- +<simpara>This general-form entry in the APT preferences file applies only +to groups of packages. For example, the following record assigns a high +priority to all package versions available from the local site.</simpara> +--> +<simpara>APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã«æ›¸ã‹ã‚Œã¦ã„る汎用形å¼ã®ã‚¨ãƒ³ãƒˆãƒªã¯ã€ +パッケージã®ã‚°ãƒ«ãƒ¼ãƒ—ã«ã¤ã„ã¦ã®ã¿é©ç”¨ã•ã‚Œã¾ã™ã€‚ +例ãˆã°ä»¥ä¸‹ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ã¯ã€ãƒãƒ¼ã‚«ãƒ«ã‚µã‚¤ãƒˆã«ã‚る全パッケージã«ã¤ã„ã¦ã€ +高ã„優先度を割り当ã¦ã¾ã™ã€‚</simpara> + +<programlisting> +Package: * +Pin: origin "" +Pin-Priority: 999 +</programlisting> + +<!-- +<simpara>A note of caution: the keyword used here is "<literal>origin</literal>". +This should not be confused with the Origin of a distribution as +specified in a <filename>Release</filename> file. What follows the "Origin:" tag +in a <filename>Release</filename> file is not an Internet address +but an author or vendor name, such as "Debian" or "Ximian".</simpara> +--> +<simpara>注: ã“ã“ã§ä½¿ç”¨ã—ã¦ã„ã‚‹ã‚ーワード㯠"<literal>origin</literal>" ã§ã™ã€‚ +<filename>Release</filename> ファイルã«æŒ‡å®šã•ã‚ŒãŸã‚ˆã†ãªã€ +ディストリビューション㮠Origin ã¨æ··åŒã—ãªã„よã†ã«ã—ã¦ãã ã•ã„。 +<filename>Release</filename> ファイルã«ã‚ã‚‹ "Origin:" ã‚¿ã‚°ã¯ã€ +インターãƒãƒƒãƒˆã‚¢ãƒ‰ãƒ¬ã‚¹ã§ã¯ãªã〠+"Debian" ã‚„ "Ximian" ã¨ã„ã£ãŸä½œè€…やベンダåã§ã™ã€‚</simpara> + +<!-- +<simpara>The following record assigns a low priority to all package versions +belonging to any distribution whose Archive name is "<literal>unstable</literal>".</simpara> +--> +<simpara>以下ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–å㌠"<literal>unstable</literal>" +ã¨ãªã£ã¦ã„るディストリビューションã«å±žã™ã‚‹ãƒ‘ッケージを〠+ã™ã¹ã¦ä½Žã„優先度ã«å‰²ã‚Šå½“ã¦ã¾ã™ã€‚</simpara> + +<programlisting> +Package: * +Pin: release a=unstable +Pin-Priority: 50 +</programlisting> + +<!-- +<simpara>The following record assigns a high priority to all package versions +belonging to any release whose Archive name is "<literal>stable</literal>" +and whose release Version number is "<literal>3.0</literal>".</simpara> +--> +<simpara>以下ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–å㌠"<literal>stable</literal>" ã§ã€ +リリースãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒ "<literal>3.0</literal>" +ã¨ãªã£ã¦ã„るリリースã«å±žã™ã‚‹ãƒ‘ッケージを〠+ã™ã¹ã¦é«˜ã„優先度ã«å‰²ã‚Šå½“ã¦ã¾ã™ã€‚</simpara> + +<programlisting> +Package: * +Pin: release a=stable, v=3.0 +Pin-Priority: 500 +</programlisting> +</listitem> +</itemizedlist> +</para> + +</refsect2> + +<refsect2> +<!-- +<title>How APT Interprets Priorities</title> +--> +<title>APT ãŒå„ªå…ˆåº¦ã«å‰²ã‚Šè¾¼ã‚€æ–¹æ³•</title> + +<para> +<!-- +Priorities (P) assigned in the APT preferences file must be positive +or negative integers. They are interpreted as follows (roughly speaking): +--> +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§å‰²ã‚Šå½“ã¦ãŸå„ªå…ˆåº¦ (P) ã¯ã€æ£è² ã®æ•´æ•°ã§ãªãã¦ã¯ãªã‚Šã¾ã›ã‚“。 +ã“れ㯠(ãŠãŠã–ã£ã±ã«ã„ã†ã¨) 以下ã®ã‚ˆã†ã«è§£é‡ˆã•ã‚Œã¾ã™ã€‚ + +<variablelist> +<varlistentry> +<term>P > 1000</term> +<!-- +<listitem><simpara>causes a version to be installed even if this +constitutes a downgrade of the package</simpara></listitem> +--> +<listitem><simpara>パッケージãŒãƒ€ã‚¦ãƒ³ã‚°ãƒ¬ãƒ¼ãƒ‰ã—ã¦ã‚‚ã€ã“ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージをインストールã—ã¾ã™ã€‚</simpara></listitem> +</varlistentry> +<varlistentry> +<term>990 < P <=1000</term> +<!-- +<listitem><simpara>causes a version to be installed +even if it does not come from the target release, +unless the installed version is more recent</simpara></listitem> +--> +<listitem><simpara>インストールã•ã‚Œã¦ã„ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®æ–¹ãŒæ–°ã—ã„ã“ã¨ã‚’除ã〠+ターゲットリリースã«å«ã¾ã‚Œãªãã¦ã‚‚〠+ã“ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージをインストールã—ã¾ã™ã€‚</simpara></listitem> +</varlistentry> +<varlistentry> +<term>500 < P <=990</term> +<!-- +<listitem><simpara>causes a version to be installed +unless there is a version available belonging to the target release +or the installed version is more recent</simpara></listitem> +--> +<listitem><simpara>ターゲットリリースã«å±žã™ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã‚ã£ãŸã‚Šã€ +インストールã•ã‚Œã¦ã„ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®æ–¹ãŒæ–°ã—ã„ã®ã§ãªã‘ã‚Œã°ã€ +ã“ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージをインストールã—ã¾ã™ã€‚</simpara></listitem> +</varlistentry> +<varlistentry> +<term>100 < P <=500</term> +<!-- +<listitem><simpara>causes a version to be installed +unless there is a version available belonging to some other +distribution or the installed version is more recent</simpara></listitem> +--> +<listitem><simpara>ä»–ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションã«å±žã™ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã‚ã£ãŸã‚Šã€ +インストールã•ã‚Œã¦ã„ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®æ–¹ãŒæ–°ã—ã„ã®ã§ãªã‘ã‚Œã°ã€ +ã“ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージをインストールã—ã¾ã™ã€‚</simpara></listitem> +</varlistentry> +<varlistentry> +<term>0 < P <=100</term> +<!-- +<listitem><simpara>causes a version to be installed +only if there is no installed version of the package</simpara></listitem> +--> +<listitem><simpara>ã“ã®ãƒ‘ッケージãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ãªã„å ´åˆã€ +ã“ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージをインストールã—ã¾ã™ã€‚</simpara></listitem> +</varlistentry> +<varlistentry> +<term>P < 0</term> +<!-- +<listitem><simpara>prevents the version from being installed</simpara></listitem> +--> +<listitem><simpara>ã“ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œãªã„よã†ã«ã—ã¾ã™ã€‚</simpara></listitem> +</varlistentry> +</variablelist> +</para> + +<!-- +<para>If any specific-form records match an available package version then the +first such record determines the priority of the package version. +Failing that, +if any general-form records match an available package version then the +first such record determines the priority of the package version.</para> +--> +<para>特定形å¼ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ãŒåˆ©ç”¨å¯èƒ½ãƒ‘ッケージãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ä¸€è‡´ã—ãŸå ´åˆã€ +最åˆã®ãƒ¬ã‚³ãƒ¼ãƒ‰ãŒã€ãƒ‘ッケージãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®å„ªå…ˆåº¦ã‚’決定ã—ã¾ã™ã€‚ +失敗ã—ã¦ã€æ±Žç”¨å½¢å¼ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ãŒåˆ©ç”¨å¯èƒ½ãƒ‘ッケージãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ä¸€è‡´ã—ãŸå ´åˆã€ +最åˆã®ãƒ¬ã‚³ãƒ¼ãƒ‰ãŒã€ãƒ‘ッケージãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®å„ªå…ˆåº¦ã‚’決定ã—ã¾ã™ã€‚</para> + +<!-- +<para>For example, suppose the APT preferences file contains the three +records presented earlier:</para> +--> +<para>例ãˆã°ã€APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®ä¸Šã®æ–¹ã«ã€ +以下ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ãŒæ›¸ã‹ã‚Œã¦ã„ã‚‹ã¨ä»®å®šã—ã¦ãã ã•ã„。</para> + +<programlisting> +Package: perl +Pin: version 5.8* +Pin-Priority: 1001 + +Package: * +Pin: origin "" +Pin-Priority: 999 + +Package: * +Pin: release unstable +Pin-Priority: 50 +</programlisting> + +<!-- +<para>Then: +--> +<para>ã™ã‚‹ã¨ã€ +<itemizedlist> +<!-- +<listitem><simpara>The most recent available version of the <literal>perl</literal> +package will be installed, so long as that version's version number begins +with "<literal>5.8</literal>". If <emphasis>any</emphasis> 5.8* version of <literal>perl</literal> is +available and the installed version is 5.9*, then <literal>perl</literal> will be +downgraded.</simpara></listitem> +--> +<listitem><simpara>ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒ "<literal>5.8</literal>" ã§å§‹ã¾ã£ã¦ã„ã‚Œã°ã€ +<literal>perl</literal> ã®æœ€æ–°ã®åˆ©ç”¨å¯èƒ½ãƒ‘ッケージãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¾ã™ã€‚ +ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 5.8* ãŒåˆ©ç”¨å¯èƒ½ã§ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 5.9* ãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã‚‹å ´åˆã€ +<literal>perl</literal> ã¯ãƒ€ã‚¦ãƒ³ã‚°ãƒ¬ãƒ¼ãƒ‰ã•ã‚Œã¾ã™ã€‚</simpara></listitem> +<!-- +<listitem><simpara>A version of any package other than <literal>perl</literal> +that is available from the local system has priority over other versions, +even versions belonging to the target release. +</simpara></listitem> +--> +<listitem><simpara>ãƒãƒ¼ã‚«ãƒ«ã‚·ã‚¹ãƒ†ãƒ ã§æœ‰åŠ¹ãªã€ +<literal>perl</literal> 以外ã®ã©ã‚“ãªãƒ‘ッケージã§ã‚‚〠+ä»–ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚ˆã‚Š (ãŸã¨ãˆã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒªãƒªãƒ¼ã‚¹ã«å±žã—ã¦ã„ã¦ã‚‚) 優先度ãŒé«˜ããªã‚Šã¾ã™ã€‚ +</simpara></listitem> +<!-- +<listitem><simpara>A version of a package whose origin is not the local +system but some other site listed in &sources-list; and which belongs to +an <literal>unstable</literal> distribution is only installed if it is selected +for installation and no version of the package is already installed. +</simpara></listitem> +--> +<listitem><simpara>ãƒãƒ¼ã‚«ãƒ«ã‚·ã‚¹ãƒ†ãƒ ã«ã¯ãªãã¦ã‚‚ &sources-list; +ã«åˆ—挙ã•ã‚ŒãŸã‚µã‚¤ãƒˆã«ã‚ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã€ +<literal>unstable</literal> ディストリビューションã«å±žã—ã¦ã„るパッケージã¯ã€ +インストールã™ã‚‹ã‚ˆã†é¸æŠžã•ã‚Œã€ +æ—¢ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒãªã„å ´åˆã«ã®ã¿ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¾ã™ã€‚ +</simpara></listitem> +</itemizedlist> +</para> +</refsect2> + +<refsect2> +<!-- +<title>Determination of Package Version and Distribution Properties</title> +--> +<title>パッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¨ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションプãƒãƒ‘ティã®æ±ºå®š</title> + +<!-- +<para>The locations listed in the &sources-list; file should provide +<filename>Packages</filename> and <filename>Release</filename> files +to describe the packages available at that location. </para> +--> +<para>&sources-list; ファイルã«åˆ—挙ã—ãŸå ´æ‰€ã§ã¯ã€ +ãã®å ´æ‰€ã§åˆ©ç”¨ã§ãるパッケージを記述ã—ãŸã€ +<filename>Packages</filename> ファイルや +<filename>Release</filename> ファイルをæä¾›ã—ã¾ã™ã€‚</para> + +<!-- +<para>The <filename>Packages</filename> file is normally found in the directory +<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: +for example, <filename>.../dists/stable/main/binary-i386/Packages</filename>. +It consists of a series of multi-line records, one for each package available +in that directory. Only two lines in each record are relevant for setting +APT priorities: +--> +<para><filename>Packages</filename> ファイルã¯é€šå¸¸ +<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename> +ディレクトリã«ã‚ã‚Šã¾ã™ã€‚ +例ãˆã°ã€<filename>.../dists/stable/main/binary-i386/Packages</filename> ã§ã™ã€‚ +ã“ã‚Œã¯ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã‚る利用å¯èƒ½ãƒ‘ッケージã”ã¨ã«ã€ +複数行ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ã‹ã‚‰ã§ãã¦ã„ã¾ã™ã€‚ +APT 優先度ã®è¨å®šã¯ã€ãƒ¬ã‚³ãƒ¼ãƒ‰ã”ã¨ã«ä»¥ä¸‹ã® 2 è¡Œã ã‘ã§ã™ã€‚ +<variablelist> +<varlistentry> +<!-- +<term>the <literal>Package:</literal> line</term> +<listitem><simpara>gives the package name</simpara></listitem> +--> +<term><literal>Package:</literal> è¡Œ</term> +<listitem><simpara>パッケージåを与ãˆã¾ã™ã€‚</simpara></listitem> +</varlistentry> +<varlistentry> +<!-- +<term>the <literal>Version:</literal> line</term> +<listitem><simpara>gives the version number for the named package</simpara></listitem> +--> +<term><literal>Version:</literal> è¡Œ</term> +<listitem><simpara>ãã®åå‰ã®ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’与ãˆã¾ã™ã€‚</simpara></listitem> +</varlistentry> +</variablelist> +</para> + +<!-- +<para>The <filename>Release</filename> file is normally found in the directory +<filename>.../dists/<replaceable>dist-name</replaceable></filename>: +for example, <filename>.../dists/stable/Release</filename>, +or <filename>.../dists/woody/Release</filename>. +It consists of a single multi-line record which applies to <emphasis>all</emphasis> of +the packages in the directory tree below its parent. Unlike the +<filename>Packages</filename> file, nearly all of the lines in a <filename>Release</filename> +file are relevant for setting APT priorities: +--> +<para><filename>Release</filename> ファイルã¯ã€é€šå¸¸ +<filename>.../dists/<replaceable>dist-name</replaceable></filename> +ã«ã‚ã‚Šã¾ã™ã€‚例ãˆã°ã€ +<filename>.../dists/stable/Release</filename>, +<filename>.../dists/woody/Release</filename> ã§ã™ã€‚ +ã“ã‚Œã¯ã€ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªä»¥ä¸‹ã«ã‚ã‚‹<emphasis>å…¨</emphasis>パッケージã«é©ç”¨ã™ã‚‹ã€ +複数行ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ 1 ã¤ã‹ã‚‰æˆã£ã¦ã„ã¾ã™ã€‚ +<filename>Packages</filename> ã¨é•ã„ <filename>Release</filename> ファイルã¯ã€ +ã»ã¨ã‚“ã©ã®è¡ŒãŒ APT 優先度ã®è¨å®šã«é–¢é€£ã—ã¾ã™ã€‚ + +<variablelist> +<varlistentry> +<!-- +<term>the <literal>Archive:</literal> line</term> +--> +<term><literal>Archive:</literal> è¡Œ</term> +<!-- +<listitem><simpara>names the archive to which all the packages +in the directory tree belong. For example, the line +"Archive: stable" +specifies that all of the packages in the directory +tree below the parent of the <filename>Release</filename> file are in a +<literal>stable</literal> archive. Specifying this value in the APT preferences file +would require the line: +--> +<listitem><simpara>ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ„リーã«å±žã™ã‚‹å…¨ãƒ‘ッケージã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–å。 +例ãˆã°ã€ +"Archive: stable" +ã¨ã„ã†è¡Œã¯ã€<filename>Release</filename> ファイルã®è¦ªãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ„リー以下ã«ã‚る全パッケージãŒã€ +<literal>stable</literal> アーカイブã ã¨æŒ‡å®šã—ã¾ã™ã€‚ +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ã“ã®å€¤ã‚’指定ã™ã‚‹ã«ã¯ã€ä»¥ä¸‹ã®è¡ŒãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚ +</simpara> +<programlisting> +Pin: release a=stable +</programlisting> +</listitem> +</varlistentry> + +<varlistentry> +<!-- +<term>the <literal>Version:</literal> line</term> +--> +<term><literal>Version:</literal> è¡Œ</term> +<!-- +<listitem><simpara>names the release version. For example, the +packages in the tree might belong to Debian GNU/Linux release +version 3.0. Note that there is normally no version number for the +<literal>testing</literal> and <literal>unstable</literal> distributions because they +have not been released yet. Specifying this in the APT preferences +file would require one of the following lines. +--> +<listitem><simpara>リリースãƒãƒ¼ã‚¸ãƒ§ãƒ³å。 +例ãˆã°ã€ã“ã®ãƒ„リーã®ãƒ‘ッケージãŒã€ +GNU/Linux リリースãƒãƒ¼ã‚¸ãƒ§ãƒ³ 3.0 ã«å±žã™ã‚‹ã¨ã—ã¾ã™ã€‚ +通常 <literal>testing</literal> ディストリビューションや +<literal>unstable</literal> ディストリビューションã«ã¯ã€ +ã¾ã リリースã•ã‚Œã¦ã„ãªã„ã®ã§ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒä»˜ãã¾ã›ã‚“。 +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ã“れを指定ã™ã‚‹ã«ã¯ã€ä»¥ä¸‹ã®è¡Œã®ã„ãšã‚Œã‹ãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚ +</simpara> + +<programlisting> +Pin: release v=3.0 +Pin: release a=stable, v=3.0 +Pin: release 3.0 +</programlisting> + +</listitem> +</varlistentry> + +<varlistentry> +<!-- +<term>the <literal>Component:</literal> line</term> +--> +<term><literal>Component:</literal> è¡Œ</term> +<!-- +<listitem><simpara>names the licensing component associated with the +packages in the directory tree of the <filename>Release</filename> file. +For example, the line "Component: main" specifies that +all the packages in the directory tree are from the <literal>main</literal> +component, which entails that they are licensed under terms listed +in the Debian Free Software Guidelines. Specifying this component +in the APT preferences file would require the line: +--> +<listitem><simpara><filename>Release</filename> ファイルã®ã€ +ディレクトリツリーã«ã‚るパッケージã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã‚³ãƒ³ãƒãƒ¼ãƒãƒ³ãƒˆå。 +例ãˆã°ã€"Component: main" ã¨ã„ã†è¡Œã¯ã€ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªä»¥ä¸‹ã®å…¨ãƒ•ã‚¡ã‚¤ãƒ«ãŒã€ +<literal>main</literal> コンãƒãƒ¼ãƒãƒ³ãƒˆ +(Debian フリーソフトウェアガイドラインã®å…ƒã§ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã•ã‚Œã¦ã„ã‚‹) +ã§ã‚ã‚‹ã“ã¨ã‚’表ã—ã¾ã™ã€‚ +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ã“ã®ã‚³ãƒ³ãƒãƒ¼ãƒãƒ³ãƒˆã‚’指定ã™ã‚‹ã«ã¯ã€ä»¥ä¸‹ã®è¡ŒãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚ +</simpara> +<programlisting> +Pin: release c=main +</programlisting> +</listitem> +</varlistentry> + +<varlistentry> +<!-- +<term>the <literal>Origin:</literal> line</term> +--> +<term><literal>Origin:</literal> è¡Œ</term> +<!-- +<listitem><simpara>names the originator of the packages in the +directory tree of the <filename>Release</filename> file. Most commonly, this is +<literal>Debian</literal>. Specifying this origin in the APT preferences file +would require the line: +--> +<listitem><simpara><filename>Release</filename> ファイルã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ„リーã«ã‚るパッケージã®æ供者å。 +ã»ã¨ã‚“ã©å…±é€šã§ã€<literal>Debian</literal> ã§ã™ã€‚ +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ã“ã®æ供者を指定ã™ã‚‹ã«ã¯ã€ä»¥ä¸‹ã®è¡ŒãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚ +</simpara> +<programlisting> +Pin: release o=Debian +</programlisting> +</listitem> +</varlistentry> + +<varlistentry> +<!-- +<term>the <literal>Label:</literal> line</term> +--> +<term><literal>Label:</literal> è¡Œ</term> +<!-- +<listitem><simpara>names the label of the packages in the directory tree +of the <filename>Release</filename> file. Most commonly, this is +<literal>Debian</literal>. Specifying this label in the APT preferences file +would require the line: +--> +<listitem><simpara><filename>Release</filename> ファイルã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ„リーã«ã‚るパッケージã®ãƒ©ãƒ™ãƒ«å。 +ã»ã¨ã‚“ã©å…±é€šã§ <literal>Debian</literal> ã§ã™ã€‚ +APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ã“ã®ãƒ©ãƒ™ãƒ«ã‚’指定ã™ã‚‹ã«ã¯ã€ä»¥ä¸‹ã®è¡ŒãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚ +</simpara> +<programlisting> +Pin: release l=Debian +</programlisting> +</listitem> +</varlistentry> +</variablelist> +</para> + +<!-- +<para>All of the <filename>Packages</filename> and <filename>Release</filename> +files retrieved from locations listed in the &sources-list; file are stored +in the directory <filename>/var/lib/apt/lists</filename>, or in the file named +by the variable <literal>Dir::State::Lists</literal> in the <filename>apt.conf</filename> file. +For example, the file +<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> +contains the <filename>Release</filename> file retrieved from the site +<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> architecture +files from the <literal>contrib</literal> component of the <literal>unstable</literal> +distribution.</para> +--> +<para>&sources-list; ファイルã«åˆ—挙ã•ã‚ŒãŸå ´æ‰€ã‹ã‚‰å–å¾—ã—㟠+<filename>Packages</filename> ファイルや +<filename>Release</filename> ファイルã¯ã™ã¹ã¦ã€ +<filename>/var/lib/apt/lists</filename> ディレクトリや〠+<filename>apt.conf</filename> ファイル㮠+<literal>Dir::State::Lists</literal> 変数ã§æŒ‡å®šã—ãŸå ´æ‰€ã«å–å¾—ã•ã‚Œã¾ã™ã€‚例ãˆã°ã€ +<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> ファイルã¯ã€ +<literal>debian.lcs.mit.edu</literal> ã‹ã‚‰å–å¾—ã—ãŸã€ +<literal>unstable</literal> ディストリビューションã§ã€ +<literal>contrib</literal> コンãƒãƒ¼ãƒãƒ³ãƒˆãªã€ +<literal>binary-i386</literal> アーã‚テクãƒãƒ£ç”¨ã® +<filename>Release</filename> ファイルをå«ã‚“ã§ã„ã¾ã™ã€‚</para> +</refsect2> + +<refsect2> +<!-- +<title>Optional Lines in an APT Preferences Record</title> +--> +<title>APT è¨å®šãƒ¬ã‚³ãƒ¼ãƒ‰ã®ã‚ªãƒ—ション行</title> + +<!-- +<para>Each record in the APT preferences file can optionally begin with +one or more lines beginning with the word <literal>Explanation:</literal>. +This provides a place for comments.</para> +--> +<para>APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ã”ã¨ã«ã€ +ä»»æ„㧠<literal>Explanation:</literal> ã§å§‹ã¾ã‚‹è¡Œã‚’æŒã¦ã¾ã™ã€‚ +ã“ã‚Œã¯ã€ã‚³ãƒ¡ãƒ³ãƒˆç”¨ã®å ´æ‰€ã‚’確ä¿ã—ã¾ã™ã€‚</para> + +<!-- +<para>The <literal>Pin-Priority:</literal> line in each APT preferences record is +optional. If omitted, APT assigs a priority of 1 less than the last value +specified on a line beginning with <literal>Pin-Priority: release ...</literal>.</para> +--> +<para>APT è¨å®šãƒ¬ã‚³ãƒ¼ãƒ‰ã® <literal>Pin-Priority:</literal> è¡Œã¯ä»»æ„ã§ã™ã€‚ +çœç•¥ã™ã‚‹ã¨ã€<literal>Pin-Priority: release ...</literal> +ã§å§‹ã¾ã‚‹è¡Œã§æŒ‡ç¤ºã—ãŸæœ€å¾Œã®å€¤ (å°‘ãªãã¨ã‚‚1ã¤) を優先度ã«å‰²ã‚Šå½“ã¦ã¾ã™ã€‚</para> +</refsect2> +</refsect1> + +<refsect1> +<!-- +<title>Examples</title> +--> +<title>サンプル</title> +<refsect2> +<!-- +<title>Tracking Stable</title> +--> +<title>安定版を追跡</title> + +<!-- +<para>The following APT preferences file will cause APT to assign a +priority higher than the default (500) to all package versions belonging +to a <literal>stable</literal> distribution and a prohibitively low priority to +package versions belonging to other <literal>Debian</literal> distributions. +--> +<para>以下㮠APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€<literal>stable</literal> +ディストリビューションã«å±žã™ã‚‹å…¨ã¦ã®ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã€ +デフォルト (500) より高ã„優先度を割り当ã¦ã€ +ä»–ã® <literal>Debian</literal> +ディストリビューションã®ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã¯ã€ +低ãã¦ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã§ããªã„よã†ãªå„ªå…ˆåº¦ã‚’割り当ã¦ã¾ã™ã€‚ + +<programlisting> +Explanation: Uninstall or do not install any Debian-originated +Explanation: package versions other than those in the stable distro +Package: * +Pin: release a=stable +Pin-Priority: 900 + +Package: * +Pin: release o=Debian +Pin-Priority: -10 +</programlisting> +</para> + +<!-- +<para>With a suitable &sources-list; file and the above preferences file, +any of the following commands will cause APT to upgrade to the +latest <literal>stable</literal> version(s). +--> +<para>é©åˆ‡ãª &sources-list; ファイルã¨ä¸Šè¨˜ã®è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã«ã‚ˆã‚Šã€ +以下ã®ã‚³ãƒžãƒ³ãƒ‰ã§æœ€æ–°ã® <literal>stable</literal> +ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã‚¢ãƒƒãƒ—グレードã§ãã¾ã™ã€‚ + +<programlisting> +apt-get install <replaceable>package-name</replaceable> +apt-get upgrade +apt-get dist-upgrade +</programlisting> +</para> + +<!-- +<para>The following command will cause APT to upgrade the specified +package to the latest version from the <literal>testing</literal> distribution; +the package will not be upgraded again unless this command is given +again. +--> +<para>以下ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã€æŒ‡å®šã—ãŸãƒ‘ッケージを <literal>testing</literal> +ディストリビューションã®æœ€æ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã‚¢ãƒƒãƒ—グレードã—ã¾ã™ã€‚ +ã“ã®ãƒ‘ッケージã¯ã€å†åº¦ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’発行ã—ãªã„ã¨ã‚¢ãƒƒãƒ—グレードã•ã‚Œã¾ã›ã‚“。 + +<programlisting> +apt-get install <replaceable>package</replaceable>/testing +</programlisting> +</para> +</refsect2> + + <refsect2> +<!-- + <title>Tracking Testing or Unstable</title> +--> + <title>テスト版やä¸å®‰å®šç‰ˆã‚’追跡</title> + +<!-- +<para>The following APT preferences file will cause APT to assign +a high priority to package versions from the <literal>testing</literal> +distribution, a lower priority to package versions from the +<literal>unstable</literal> distribution, and a prohibitively low priority +to package versions from other <literal>Debian</literal> distributions. +--> +<para>以下㮠APT è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€<literal>testing</literal> +ディストリビューションã®ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«é«˜ã„優先度を割り当ã¦ã€ +<literal>unstable</literal> +ディストリビューションã®ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã¯ä½Žã„優先度を割り当ã¦ã¾ã™ã€‚ +ã¾ãŸä»–ã® <literal>Debian</literal> +ディストリビューションã®ãƒ‘ッケージã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã¯ã€ +低ãã¦ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã§ããªã„よã†ãªå„ªå…ˆåº¦ã‚’割り当ã¦ã¾ã™ã€‚ + +<programlisting> +Package: * +Pin: release a=testing +Pin-Priority: 900 + +Package: * +Pin: release a=unstable +Pin-Priority: 800 + +Package: * +Pin: release o=Debian +Pin-Priority: -10 +</programlisting> +</para> + +<!-- +<para>With a suitable &sources-list; file and the above preferences file, +any of the following commands will cause APT to upgrade to the latest +<literal>testing</literal> version(s). +--> +<para>é©åˆ‡ãª &sources-list; ファイルã¨ä¸Šè¨˜ã®è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã«ã‚ˆã‚Šã€ +以下ã®ã‚³ãƒžãƒ³ãƒ‰ã§æœ€æ–°ã® <literal>testing</literal> +ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã‚¢ãƒƒãƒ—グレードã§ãã¾ã™ã€‚ + +<programlisting> +apt-get install <replaceable>package-name</replaceable> +apt-get upgrade +apt-get dist-upgrade +</programlisting> +</para> + +<!-- +<para>The following command will cause APT to upgrade the specified +package to the latest version from the <literal>unstable</literal> distribution. +Thereafter, <command>apt-get upgrade</command> will upgrade +the package to the most recent <literal>testing</literal> version if that is +more recent than the installed version, otherwise, to the most recent +<literal>unstable</literal> version if that is more recent than the installed +version. +--> +<para>以下ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã€æŒ‡å®šã—ãŸãƒ‘ッケージを <literal>unstable</literal> +ディストリビューションã®æœ€æ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã‚¢ãƒƒãƒ—グレードã—ã¾ã™ã€‚ +ãれ以é™ã€<command>apt-get upgrade</command> 㯠+<literal>testing</literal> ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージãŒæ›´æ–°ã•ã‚Œã¦ã„れ㰠+<literal>testing</literal> ã®æœ€æ–°ç‰ˆã«ã€ +<literal>unstable</literal> ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ‘ッケージãŒæ›´æ–°ã•ã‚Œã¦ã„れ㰠+<literal>unstable</literal>ã®æœ€æ–°ç‰ˆã«ã‚¢ãƒƒãƒ—グレードã—ã¾ã™ã€‚ + +<programlisting> +apt-get install <replaceable>package</replaceable>/unstable +</programlisting> +</para> + +</refsect2> +</refsect1> + +<refsect1> +<!-- +<title>See Also</title> +--> +<title>é–¢é€£é …ç›®</title> +<para>&apt-get; &apt-cache; &apt-conf; &sources-list; +</para> +</refsect1> + + &manbugs; + &translator; + +</refentry> + diff --git a/doc/ja/makefile b/doc/ja/makefile index 9e757b590..286152995 100644 --- a/doc/ja/makefile +++ b/doc/ja/makefile @@ -5,7 +5,59 @@ SUBDIR=doc/ja # Bring in the default rules include ../../buildlib/defaults.mak +# Do not use XMLTO, build the manpages directly with XSLTPROC +XSLTPROC=/usr/bin/xsltproc +STYLESHEET=./style.ja.xsl + + # Man pages -SOURCE = apt-cache.ja.8 apt-get.ja.8 apt-cdrom.ja.8 apt.conf.ja.5 +SOURCE = apt-cache.ja.8 apt-get.ja.8 apt-cdrom.ja.8 apt.conf.ja.5 \ + sources.list.ja.5 apt-config.ja.8 apt-sortpkgs.ja.1 \ + apt-ftparchive.ja.1 apt_preferences.ja.5 apt-extracttemplates.ja.1 \ + apt-key.ja.8 apt-secure.ja.8 + INCLUDES = apt.ent.ja -include $(SGML_MANPAGE_H) + +doc: $(SOURCE) + +$(SOURCE) :: % : %.xml $(INCLUDES) + echo Creating man page $@ + $(XSLTPROC) -o $@ $(STYLESHEET) $< + +apt-cache.ja.8:: apt-cache.8 + cp $< $@ + +apt-get.ja.8:: apt-get.8 + cp $< $@ + +apt-cdrom.ja.8:: apt-cdrom.8 + cp $< $@ + +apt.conf.ja.5:: apt.conf.5 + cp $< $@ + +apt-config.ja.8:: apt-config.8 + cp $< $@ + +sources.list.ja.5:: sources.list.5 + cp $< $@ + +apt-sortpkgs.ja.1:: apt-sortpkgs.1 + cp $< $@ + +apt-ftparchive.ja.1:: apt-ftparchive.1 + cp $< $@ + +apt_preferences.ja.5:: apt_preferences.5 + cp $< $@ + +apt-extracttemplates.ja.1:: apt-extracttemplates.1 + cp $< $@ + +apt-key.ja.8:: apt-key.8 + cp $< $@ + +apt-secure.ja.8:: apt-secure.8 + cp $< $@ + + diff --git a/doc/ja/manpage.links b/doc/ja/manpage.links new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/doc/ja/manpage.links diff --git a/doc/ja/manpage.refs b/doc/ja/manpage.refs new file mode 100644 index 000000000..16ffc791b --- /dev/null +++ b/doc/ja/manpage.refs @@ -0,0 +1,4 @@ +{ + '' => '', + '' => '' +} diff --git a/doc/ja/sources.list.ja.5.xml b/doc/ja/sources.list.ja.5.xml new file mode 100644 index 000000000..e000d8767 --- /dev/null +++ b/doc/ja/sources.list.ja.5.xml @@ -0,0 +1,427 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>sources.list</refentrytitle> + <manvolnum>5</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>sources.list</refname> +<!-- + <refpurpose>Package resource list for APT</refpurpose> +--> + <refpurpose>APT 用パッケージリソースリスト</refpurpose> + </refnamediv> + +<!-- + <refsect1><title>Description</title> + --> + <refsect1><title>説明</title> +<!-- + <para>The package resource list is used to locate archives of the package + distribution system in use on the system. At this time, this manual page + documents only the packaging system used by the Debian GNU/Linux system. + This control file is located in <filename>/etc/apt/sources.list</filename></para> +--> + <para>ã“ã®ãƒ‘ッケージリソースリストã¯ã€ + システムã§ä½¿ç”¨ã™ã‚‹ãƒ‘ッケージã®ä¿ç®¡å ´æ‰€ã‚’特定ã™ã‚‹ã®ã«ä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ + 今回ã“ã®ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«ãƒšãƒ¼ã‚¸ã«ã¯ã€ + Debian GNU/Linux システムã§ä½¿ç”¨ã™ã‚‹ãƒ‘ッケージシステムã«ã¤ã„ã¦ã®ã¿è¨˜è¿°ã—ã¾ã™ã€‚ + ã“ã®åˆ¶å¾¡ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€<filename>/etc/apt/sources.list</filename> ã«ã‚ã‚Šã¾ã™ã€‚</para> + +<!-- + <para>The source list is designed to support any number of active sources and a + variety of source media. The file lists one source per line, with the + most preferred source listed first. The format of each line is: + <literal>type uri args</literal> The first item, <literal>type</literal> + determines the format for <literal>args</literal> <literal>uri</literal> is + a Universal Resource Identifier + (URI), which is a superset of the more specific and well-known Universal + Resource Locator, or URL. The rest of the line can be marked as a comment + by using a #.</para> +--> + <para>ソースリストã¯è¤‡æ•°ã®æœ‰åŠ¹ãªå–å¾—å…ƒã¨ã€ + 様々ãªå–得メディアをサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚ + ファイルã«ã¯ 1 è¡Œã”ã¨å–得元を列挙ã—ã€ä¸Šã®æ–¹ã«ã‚ã‚‹ã‚‚ã®ã‹ã‚‰ä½¿ç”¨ã—ã¾ã™ã€‚ + è¡Œã®ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã¯ã€<literal>タイプ uri 引数</literal> ã¨ãªã‚Šã¾ã™ã€‚ + å…ˆé ã® <literal>タイプ</literal> ã§ã€ + <literal>引数</literal> ã®ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã‚’決定ã—ã¾ã™ã€‚ + <literal>uri</literal> 㯠Universal Resource Identifier (URI) ã§ã€ + よã知られ㟠URL ã®ã‚¹ãƒ¼ãƒ‘ーセットã§ã™ã€‚ + è¡Œã®æ®‹ã‚Šã« # を付ã‘ã¦ã€ã‚³ãƒ¡ãƒ³ãƒˆã«ã§ãã¾ã™ã€‚</para> + </refsect1> + + <refsect1><title>sources.list.d</title> +<!-- + <para>The <filename>/etc/apt/sources.list.d</filename> directory provides + a way to add sources.list entries in seperate files that end with + <literal>.list</literal>. The format is the same as for the regular + <filename>sources.list</filename> file. </para> +--> + <para><filename>/etc/apt/sources.list.d</filename> ディレクトリ㫠+ ファイルå㌠<literal>.list</literal> ã§çµ‚ã‚る個別ファイルを置ã„ã¦ãŠãã¨ã€ + sources.list エントリã«è¿½åŠ ã§ãã¾ã™ã€‚フォーマットã¯ã€ + 通常㮠<filename>sources.list</filename> ファイルã¨åŒã˜ã§ã™ã€‚</para> + </refsect1> + +<!-- + <refsect1><title>The deb and deb-src types</title> +--> + <refsect1><title>deb タイプ㨠deb-src タイプ</title> +<!-- + <para>The <literal>deb</literal> type describes a typical two-level Debian + archive, <filename>distribution/component</filename>. Typically, + <literal>distribution</literal> is generally one of + <literal>stable</literal> <literal>unstable</literal> or + <literal>testing</literal> while component is one of <literal>main</literal> + <literal>contrib</literal> <literal>non-free</literal> or + <literal>non-us</literal> The + <literal>deb-src</literal> type describes a debian distribution's source + code in the same form as the <literal>deb</literal> type. + A <literal>deb-src</literal> line is required to fetch source indexes.</para> +--> + <para><literal>deb</literal> タイプã§ã¯å…¸åž‹çš„㪠2 段階㮠Debian アーカイブ + (<filename>distribution/component</filename>) を記述ã—ã¾ã™ã€‚ + よãã‚るケースã§ã¯ã€<literal>distribution</literal> ã¯é€šå¸¸ + <literal>stable</literal> <literal>unstable</literal> + <literal>testing</literal> ã®ã©ã‚Œã‹ã€ + component ã¯ã€<literal>main</literal> <literal>contrib</literal> + <literal>non-free</literal> <literal>non-us</literal> ã®ã©ã‚Œã‹ã§ã™ã€‚ + <literal>deb-src</literal> タイプã§ã¯ã€ + Debian ディストリビューションã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚’〠+ <literal>deb</literal> タイプã¨åŒã˜å½¢å¼ã§è¨˜è¿°ã—ã¾ã™ã€‚ + <literal>deb-src</literal> è¡Œã¯ã€ + ソースインデックスをå–å¾—ã™ã‚‹ã®ã«å¿…è¦ã§ã™ã€‚</para> + +<!-- + <para>The format for a <filename>sources.list</filename> entry using the + <literal>deb</literal> and <literal>deb-src</literal> types are:</para> +--> + <para><literal>deb</literal> タイプ㨠<literal>deb-src</literal> + タイプã§ä½¿ç”¨ã™ã‚‹ <filename>sources.list</filename> + エントリã®ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã¯ã€ä»¥ä¸‹ã«ãªã‚Šã¾ã™ã€‚</para> + + <literallayout>deb uri distribution [component1] [component2] [...]</literallayout> + +<!-- + <para>The URI for the <literal>deb</literal> type must specify the base of the + Debian distribution, from which APT will find the information it needs. + <literal>distribution</literal> can specify an exact path, in which case the + components must be omitted and <literal>distribution</literal> must end with + a slash (/). This is useful for when only a particular sub-section of the + archive denoted by the URI is of interest. + If <literal>distribution</literal> does not specify an exact path, at least + one <literal>component</literal> must be present.</para> +--> + <para><literal>deb</literal> タイプ㮠URI ã¯ã€ + APT ãŒæƒ…å ±ã‚’è¦‹ã¤ã‘られるよã†ã«ã€ + Debian ディストリビューションã®åŸºåº•ã‚’指定ã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。 + <literal>distribution</literal> ã«ã¯æ£ç¢ºãªãƒ‘スを指定ã§ãã¾ã™ã€‚ + ãã®å ´åˆ component ã‚’çœç•¥ã—ã€<literal>distribution</literal> + ã¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ (/) ã§çµ‚ã‚らãªãã¦ã¯ãªã‚Šã¾ã›ã‚“。 + ã“れ㯠URL ã§æŒ‡å®šã•ã‚ŒãŸã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã®ã€ + 特定ã®ã‚µãƒ–セクションã®ã¿ã«é–¢å¿ƒãŒã‚ã‚‹ã¨ãã«å½¹ã«ç«‹ã¡ã¾ã™ã€‚ + <literal>distribution</literal> ã«æ£ç¢ºãªãƒ‘スを指定ã—ãªã„ã®ãªã‚‰ã€ + å°‘ãªãã¨ã‚‚ã²ã¨ã¤ã¯ <literal>component</literal> を指定ã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。</para> + +<!-- + <para><literal>distribution</literal> may also contain a variable, + <literal>$(ARCH)</literal> + which expands to the Debian architecture (i386, m68k, powerpc, ...) + used on the system. This permits architecture-independent + <filename>sources.list</filename> files to be used. In general this is only + of interest when specifying an exact path, <literal>APT</literal> will + automatically generate a URI with the current architecture otherwise.</para> +--> + <para><literal>distribution</literal> ã¯ã€ + <literal>$(ARCH)</literal> 変数をå«ã‚€å ´åˆãŒã‚ã‚Šã¾ã™ã€‚ + <literal>$(ARCH)</literal> 変数ã¯ã€ã‚·ã‚¹ãƒ†ãƒ ã§ä½¿ç”¨ã—ã¦ã„ã‚‹ + Debian アーã‚テクãƒãƒ£ (i386, m68k, powerpc, ...) ã«å±•é–‹ã•ã‚Œã¾ã™ã€‚ + ã“ã‚Œã«ã‚ˆã‚Šã€ã‚¢ãƒ¼ã‚テクãƒãƒ£ã«ä¾å˜ã—ãªã„ <filename>sources.list</filename> + ファイルを使用ã§ãã¾ã™ã€‚ + 一般的ã«ã€ã“ã‚Œã¯æ£ã—ã„パスを指定ã™ã‚‹ã¨ãã«æ°—ã«ã™ã‚‹ã ã‘ã§ã™ã€‚ + ãã†ã§ãªã„å ´åˆã¯ã€<literal>APT</literal> ã¯ç¾åœ¨ã®ã‚¢ãƒ¼ã‚テクãƒãƒ£ã§ URI + を自動的ã«ç”Ÿæˆã—ã¾ã™ã€‚</para> + +<!-- + <para>Since only one distribution can be specified per line it may be necessary + to have multiple lines for the same URI, if a subset of all available + distributions or components at that location is desired. + APT will sort the URI list after it has generated a complete set + internally, and will collapse multiple references to the same Internet + host, for instance, into a single connection, so that it does not + inefficiently establish an FTP connection, close it, do something else, + and then re-establish a connection to that same host. This feature is + useful for accessing busy FTP sites with limits on the number of + simultaneous anonymous users. APT also parallelizes connections to + different hosts to more effectively deal with sites with low bandwidth.</para> +--> + <para>有効ãªå…¨ distribution, component ã®å ´æ‰€ã‹ã‚‰ã€ + 一部ãŒå¿…è¦ãªå ´åˆã€1 è¡Œã«ã¤ã 1 distribution ã—ã‹æŒ‡å®šã§ããªã„ãŸã‚〠+ åŒã˜ URI ã®è¡Œã‚’複数記述ã™ã‚‹ã“ã¨ã«ãªã‚‹ã§ã—ょã†ã€‚ + APT ã¯å†…部㧠URI リストを生æˆã—ã¦ã‹ã‚‰ã€ä¸¦ã¹æ›¿ãˆã¾ã™ã€‚ + ãã—ã¦ã€åŒã˜ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆãƒ›ã‚¹ãƒˆã«å¯¾ã—ã¦ã¯è¤‡æ•°ã®å‚照をã¾ã¨ã‚ã¾ã™ã€‚ + 例ãˆã° FTP 接続後ã€åˆ‡æ–ã—ã¦ã‹ã‚‰ã¾ãŸåŒã˜ãƒ›ã‚¹ãƒˆã«å†æŽ¥ç¶šã™ã‚‹ã¨ã„ã£ãŸã€ + 効率ã®æ‚ªã„ã“ã¨ã‚’ã›ãšã«ã€1 接続ã«ã¾ã¨ã‚ã¾ã™ã€‚ + ã“ã®æ©Ÿèƒ½ã¯ã€åŒæ™‚接続匿åユーザ数を制é™ã—ã¦ã„る〠+ æ··ã‚“ã§ã„ã‚‹ FTP サイトã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã®ã«ä¾¿åˆ©ã§ã™ã€‚ + APT ã¯ã€å¸¯åŸŸã®ç‹ã„サイトを効率よã扱ã†ã®ã«ã€ + ç•°ãªã‚‹ãƒ›ã‚¹ãƒˆã¸ã¯ã€æŽ¥ç¶šã‚’並行ã—ã¦è¡Œã†ã‚ˆã†ã«ã‚‚ã—ã¦ã„ã¾ã™ã€‚</para> + +<!-- + <para>It is important to list sources in order of preference, with the most + preferred source listed first. Typically this will result in sorting + by speed from fastest to slowest (CD-ROM followed by hosts on a local + network, followed by distant Internet hosts, for example).</para> +--> + <para>最優先ã™ã‚‹å–得元を最åˆã«è¨˜è¿°ã™ã‚‹ã¨ã„ã†ã‚ˆã†ã«ã€ + å„ªå…ˆé †ã«å–得元を記述ã™ã‚‹ã®ã¯é‡è¦ã§ã™ã€‚ + 一般的ã«ã¯ã€ã‚¹ãƒ”ードã®é€Ÿã„é †ã«ä¸¦ã¹ã‚‹ã“ã¨ã«ãªã‚‹ + (例ãˆã°ã€CD-ROM ã«ç¶šã„ã¦ãƒãƒ¼ã‚«ãƒ«ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ã®ãƒ›ã‚¹ãƒˆã€ + ã•ã‚‰ã«ç¶šã„ã¦å½¼æ–¹ã®ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆãƒ›ã‚¹ãƒˆ) ã§ã—ょã†ã€‚</para> + +<!-- + <para>Some examples:</para> +--> + <para>例:</para> + <literallayout> +deb http://http.us.debian.org/debian stable main contrib non-free +deb http://http.us.debian.org/debian dists/stable-updates/ + </literallayout> + + </refsect1> + +<!-- + <refsect1><title>URI specification</title> +--> + <refsect1><title>URI ã®ä»•æ§˜</title> + +<!-- + <para>The currently recognized URI types are cdrom, file, http, and ftp. +--> + <para>ç¾åœ¨èªè˜ã™ã‚‹ URI 対応ã¯ã€cdrom, file, http, ftp ã§ã™ã€‚ + <variablelist> + <varlistentry><term>file</term> +<!-- + <listitem><para> + The file scheme allows an arbitrary directory in the file system to be + considered an archive. This is useful for NFS mounts and local mirrors or + archives.</para></listitem> +--> + <listitem><para> + file スã‚ームã¯ã€ã‚·ã‚¹ãƒ†ãƒ 内ã®ä»»æ„ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’〠+ アーカイブã¨ã—ã¦æ‰±ãˆã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚ + ã“れ㯠NFS マウントやãƒãƒ¼ã‚«ãƒ«ãƒŸãƒ©ãƒ¼ã§ä¾¿åˆ©ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>cdrom</term> +<!-- + <listitem><para> + The cdrom scheme allows APT to use a local CDROM drive with media + swapping. Use the &apt-cdrom; program to create cdrom entries in the + source list.</para></listitem> +--> + <listitem><para> + cdrom スã‚ームã¯ã€APT ãŒãƒãƒ¼ã‚«ãƒ« CD-ROM ドライブを〠+ メディア交æ›ã—ãªãŒã‚‰ä½¿ãˆã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚ + å–得元リスト㫠cdrom ã‚¨ãƒ³ãƒˆãƒªã‚’è¿½åŠ ã™ã‚‹ã«ã¯ã€ + &apt-cdrom; プãƒã‚°ãƒ©ãƒ を使用ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>http</term> +<!-- + <listitem><para> + The http scheme specifies an HTTP server for the archive. If an environment + variable <envar>http_proxy</envar> is set with the format + http://server:port/, the proxy server specified in + <envar>http_proxy</envar> will be used. Users of authenticated + HTTP/1.1 proxies may use a string of the format + http://user:pass@server:port/ + Note that this is an insecure method of authentication.</para></listitem> +--> + <listitem><para> + http スã‚ームã¯ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã¨ã—ã¦ã€HTTP サーãƒã‚’指定ã—ã¾ã™ã€‚ + 環境変数 <envar>http_proxy</envar> ãŒã€ + http://server:port/ ã¨è¨€ã£ãŸå½¢ã§æŒ‡å®šã•ã‚Œã¦ã„ã‚Œã°ã€ + <envar>http_proxy</envar> ã§æŒ‡å®šã—㟠プãƒã‚シサーãƒã‚’使用ã—ã¾ã™ã€‚ + ユーザèªè¨¼ãŒå¿…è¦ãª HTTP/1.1 プãƒã‚ã‚·ã®å ´åˆã€ + http://user:pass@server:port/ ã¨è¨€ã†å½¢ã§æŒ‡å®šã—ã¦ãã ã•ã„。 + ã“ã®èªè¨¼æ–¹æ³•ã¯å®‰å…¨ã§ã¯ãªã„ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。</para></listitem> + </varlistentry> + + <varlistentry><term>ftp</term> +<!-- + <listitem><para> + The ftp scheme specifies an FTP server for the archive. APT's FTP behavior + is highly configurable; for more information see the + &apt-conf; manual page. Please note that a ftp proxy can be specified + by using the <envar>ftp_proxy</envar> environment variable. It is possible + to specify a http proxy (http proxy servers often understand ftp urls) + using this method and ONLY this method. ftp proxies using http specified in + the configuration file will be ignored.</para></listitem> +--> + <listitem><para> + ftp スã‚ームã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã« FTP サーãƒã‚’指定ã—ã¾ã™ã€‚ + APT ã® FTP ã®æŒ¯ã‚‹èˆžã„ã¯ã€é«˜åº¦ã«è¨å®šã§ãã¾ã™ã€‚ + 詳細ã¯ã€&apt-conf; ã®ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«ãƒšãƒ¼ã‚¸ã‚’ã”覧ãã ã•ã„。 + ftp プãƒã‚ã‚·ã¯ã€ + <envar>ftp_proxy</envar> 環境変数ã§æŒ‡å®šã™ã‚‹ã“ã¨ã«ã”注æ„ãã ã•ã„。 + ã“ã®æ–¹æ³•ç”¨ã«ã€ã•ã‚‰ã«ã“ã®æ–¹æ³•ã§ã—ã‹ä½¿ç”¨ã—ãªã„ã®ã«ã€ + http プãƒã‚シを使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ + (http プãƒã‚シサーãƒã¯å¤§æŠµ ftp urlã‚‚ç†è§£ã§ãã¾ã™)。 + è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã§ http を使用ã™ã‚‹éš›ã«ã€ + ftp プãƒã‚シを使用ã™ã‚‹ã‚ˆã†è¨å®šã—ã¦ã‚ã£ã¦ã‚‚無視ã•ã‚Œã¾ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>copy</term> +<!-- + <listitem><para> + The copy scheme is identical to the file scheme except that packages are + copied into the cache directory instead of used directly at their location. + This is useful for people using a zip disk to copy files around with APT.</para></listitem> +--> + <listitem><para> + copy スã‚ームã¯ã€file スã‚ームã¨åŒæ§˜ã§ã™ãŒã€ãƒ‘ッケージをãã®å ´ã§ä½¿ç”¨ã›ãšã€ + ã‚ャッシュディレクトリã«ã‚³ãƒ”ーã™ã‚‹ã¨ã“ã‚ãŒé•ã„ã¾ã™ã€‚ + zip ディスクを使用ã—ã¦ã„ã¦ã€APT ã§ã‚³ãƒ”ーを行ã†å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚</para></listitem> + </varlistentry> + + <varlistentry><term>rsh</term><term>ssh</term> +<!-- + <listitem><para> + The rsh/ssh method invokes rsh/ssh to connect to a remote host + as a given user and access the files. No password authentication is + possible, prior arrangements with RSA keys or rhosts must have been made. + Access to files on the remote uses standard <command>find</command> and + <command>dd</command> + commands to perform the file transfers from the remote.</para></listitem> +--> + <listitem><para> + rsh/ssh メソッドã¯ã€ä¸Žãˆã‚‰ã‚ŒãŸãƒ¦ãƒ¼ã‚¶ã§ãƒªãƒ¢ãƒ¼ãƒˆãƒ›ã‚¹ãƒˆã«æŽ¥ç¶šã—〠+ ファイルã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã®ã« rsh/ssh を使用ã—ã¾ã™ã€‚ + ã‚らã‹ã˜ã‚ RSA ã‚ーや rhosts ã®é…ç½®ãŒå¿…è¦ã§ã™ãŒã€ + パスワードãªã—èªè¨¼ãŒå¯èƒ½ã§ã™ã€‚ + リモートホストã®ãƒ•ã‚¡ã‚¤ãƒ«ã¸ã®ã‚¢ã‚¯ã‚»ã‚¹ã®éš›ã€ + ファイル転é€ã«æ¨™æº–ã® <command>find</command> コマンドや + <command>dd</command> コマンドを使用ã—ã¾ã™ã€‚</para></listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + +<!-- + <refsect1><title>Examples</title> +--> + <refsect1><title>サンプル</title> +<!-- + <para>Uses the archive stored locally (or NFS mounted) at /home/jason/debian + for stable/main, stable/contrib, and stable/non-free.</para> +--> + <para> /home/jason/debian ã«æ ¼ç´ã•ã‚Œã¦ã„ã‚‹ stable/main, stable/contrib, + stable/non-free 用ã®ãƒãƒ¼ã‚«ãƒ« (ã¾ãŸã¯ NFS) アーカイブを使用ã—ã¾ã™ã€‚</para> + <literallayout>deb file:/home/jason/debian stable main contrib non-free</literallayout> + +<!-- + <para>As above, except this uses the unstable (development) distribution.</para> +--> + <para>上記åŒæ§˜ã§ã™ãŒã€ä¸å®‰å®šç‰ˆã‚’使用ã—ã¾ã™ã€‚</para> + <literallayout>deb file:/home/jason/debian unstable main contrib non-free</literallayout> + +<!-- + <para>Source line for the above</para> +--> + <para>上記ã®ã‚½ãƒ¼ã‚¹è¡Œ</para> + <literallayout>deb-src file:/home/jason/debian unstable main contrib non-free</literallayout> + +<!-- + <para>Uses HTTP to access the archive at archive.debian.org, and uses only + the hamm/main area.</para> +--> + <para>archive.debian.org ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã« HTTP アクセスã—〠+ hamm/main ã®ã¿ã‚’使用ã—ã¾ã™ã€‚</para> + <literallayout>deb http://archive.debian.org/debian-archive hamm main</literallayout> + +<!-- + <para>Uses FTP to access the archive at ftp.debian.org, under the debian + directory, and uses only the stable/contrib area.</para> +--> + <para>ftp.debian.org ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã« FTP アクセスã—〠+ debian ディレクトリ以下㮠stable/contrib ã®ã¿ã‚’使用ã—ã¾ã™ã€‚</para> + <literallayout>deb ftp://ftp.debian.org/debian stable contrib</literallayout> + +<!-- + <para>Uses FTP to access the archive at ftp.debian.org, under the debian + directory, and uses only the unstable/contrib area. If this line appears as + well as the one in the previous example in <filename>sources.list</filename>. + a single FTP session will be used for both resource lines.</para> +--> + <para>ftp.debian.org ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã« FTP アクセスã—〠+ debian ディレクトリ以下㮠unstable/contrib を使用ã—ã¾ã™ã€‚ + <filename>sources.list</filename> ã«ä¸Šè¨˜ã‚µãƒ³ãƒ—ルã¨ä¸€ç·’ã«æŒ‡å®šã•ã‚ŒãŸå ´åˆã€ + 両方ã®ãƒªã‚½ãƒ¼ã‚¹è¡Œã«å¯¾å¿œã™ã‚‹ FTP セッションã¯ã²ã¨ã¤ã ã‘ã«ãªã‚Šã¾ã™ã€‚</para> + <literallayout>deb ftp://ftp.debian.org/debian unstable contrib</literallayout> + +<!-- + <para>Uses HTTP to access the archive at nonus.debian.org, under the + debian-non-US directory.</para> +--> + <para>nonus.debian.org ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã« HTTP アクセスã—〠+ debian-non-US ディレクトリ以下を使用ã—ã¾ã™ã€‚</para> + <literallayout>deb http://nonus.debian.org/debian-non-US stable/non-US main contrib non-free</literallayout> + +<!-- + <para>Uses HTTP to access the archive at nonus.debian.org, under the + debian-non-US directory, and uses only files found under + <filename>unstable/binary-i3866</filename> on i386 machines, + <filename>unstable/binary-m68k</filename> on m68k, and so + forth for other supported architectures. [Note this example only + illustrates how to use the substitution variable; non-us is no longer + structured like this] + <literallayout>deb http://ftp.de.debian.org/debian-non-US unstable/binary-$(ARCH)/</literallayout> + </para> +--> + <para>nonus.debian.org ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã« HTTP アクセスã—〠+ debian-non-US ディレクトリ以下を使用ã—ã¾ã™ã€‚ + ã¾ãŸã€i386 マシンã§ã¯ <filename>unstable/binary-i386</filename> + 以下ã«ã‚るファイル〠+ m68k マシンã§ã¯ <filename>unstable/binary-m68k</filename> + 以下ã«ã‚るファイル〠+ ãã®ä»–サãƒãƒ¼ãƒˆã™ã‚‹ã‚¢ãƒ¼ã‚テクãƒãƒ£ã”ã¨ã®ãƒ•ã‚¡ã‚¤ãƒ«ã®ã¿ä½¿ç”¨ã—ã¾ã™ã€‚ + [ã“ã®ã‚µãƒ³ãƒ—ルã¯å¤‰æ•°å±•é–‹ã®ä½¿ç”¨æ³•ã®èª¬æ˜Žã§ã—ã‹ãªã„ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。 + non-us ã¯ã“ã®ã‚ˆã†ãªæ§‹é€ ã«ãªã£ã¦ã„ã¾ã›ã‚“] + <literallayout>deb http://ftp.de.debian.org/debian-non-US unstable/binary-$(ARCH)/</literallayout> + </para> + </refsect1> + +<!-- + <refsect1><title>See Also</title> +--> + <refsect1><title>é–¢é€£é …ç›®</title> + <para>&apt-cache; &apt-conf; + </para> + </refsect1> + + &manbugs; + &translator; + +</refentry> + diff --git a/doc/ja/style.ja.xsl b/doc/ja/style.ja.xsl new file mode 100644 index 000000000..4af2d74cf --- /dev/null +++ b/doc/ja/style.ja.xsl @@ -0,0 +1,9 @@ +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl" /> + +<xsl:param name="chunker.output.encoding" select="'EUC-JP'" /> + +</xsl:stylesheet>
\ No newline at end of file diff --git a/doc/sources.list.5.xml b/doc/sources.list.5.xml index bde9893bf..e47418b27 100644 --- a/doc/sources.list.5.xml +++ b/doc/sources.list.5.xml @@ -46,6 +46,13 @@ by using a #.</para> </refsect1> + <refsect1><title>sources.list.d</title> + <para>The <filename>/etc/apt/sources.list.d</filename> directory provides + a way to add sources.list entries in seperate files that end with + <literal>.list</literal>. The format is the same as for the regular + <filename>sources.list</filename> file. </para> + </refsect1> + <refsect1><title>The deb and deb-src types</title> <para>The <literal>deb</literal> type describes a typical two-level Debian archive, <filename>distribution/component</filename>. Typically, @@ -197,7 +204,7 @@ deb http://http.us.debian.org/debian dists/stable-updates/ <para>Uses HTTP to access the archive at nonus.debian.org, under the debian-non-US directory, and uses only files found under - <filename>unstable/binary-i3866</filename> on i386 machines, + <filename>unstable/binary-i386</filename> on i386 machines, <filename>unstable/binary-m68k</filename> on m68k, and so forth for other supported architectures. [Note this example only illustrates how to use the substitution variable; non-us is no longer |