From: Christian Perrier Date: Sun, 19 Feb 2006 17:42:12 +0000 (+0000) Subject: Japanese manpages translation update X-Git-Tag: 0.7.21~339^2^2~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/5d909e1fc20773b48f04a3f20510f0206be0981f?hp=-c Japanese manpages translation update --- 5d909e1fc20773b48f04a3f20510f0206be0981f 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 @@ - - - - -%aptent; - -]> - - - &apt-docinfo; - - - apt-cache - 8 - - - - - apt-cache - - APT ¥Ñ¥Ã¥±¡¼¥¸Áàºî¥æ¡¼¥Æ¥£¥ê¥Æ¥£ -- ¥­¥ã¥Ã¥·¥åÁàºî - - - - - - apt-cache - - - - - add file - gencaches - showpkg pkg - showsrc pkg - stats - dump - dumpavail - unmet - search regex - show pkg - - depends pkg - pkgnames prefix - dotty pkg - policy pkgs - - - - - - ÀâÌÀ</> - <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 +--> + 説明 + + apt-cache は APT のパッケージキャッシュに対して、 + さまざまな操作を行います。 + apt-cache は、システム状態の操作は行いませんが、 + パッケージのメタデータより検索したり、 + 興味深い出力を生成するといった操作を提供します。 + + + オプションや オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + + add file(s) + add は、 + パッケージキャッシュに指定したパッケージインデックスファイルを追加します。 + デバッグ専用です。 + + + gencaches + + gencaches は、 + apt-get check と同じ動作を提供します。 + これは &sources-list; 内の取得元と + /var/lib/dpkg/statusから、 + ソースとパッケージのキャッシュを構築します。 + + + showpkg pkg(s) + + showpkg は、 + コマンドライン上に列挙したパッケージの情報を表示します。 + 後に続く引数はパッケージ名となります。 + 各パッケージについて、有効なバージョンと被依存関係を列挙し、 + さらにその各バージョンについて依存関係を表示します。 + (通常の) 依存関係とは、対象のパッケージが依存しているパッケージを指します。 + また、被依存関係とは、対象のパッケージに依存しているパッケージを指します。 + 従って、パッケージの依存関係は満たさなければなりませんが、 + 被依存関係は満たす必要はありません。 + 実例として、以下に apt-cache showpkg libreadline2 の + 出力を掲げます。 + + +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: + + + + つまり、libreadline2 の version 2.1-12 は、 + libc5 と ncurses3.0 に依存していて、libreadline2 が動作するには、 + これらをインストールする必要があるということが判ります。 + 一方、libreadlineg2 と libreadline2-altdev は libreadline2 に依存しています。 + libreadline2 をインストールするためには、libc5, ncurses3.0, ldso を + すべてインストールしなければなりませんが、libreadlineg2 と + libreadline2-altdev はインストールする必要はありません。 + 出力の残りの部分の意味については、 + apt のソースコードを調べるのが最良でしょう。 + + + + statsstats + はキャッシュについての統計情報を表示します。 + それ以上、引数は必要ありません。以下の統計情報を表示します。 + + + パッケージ名総数は、 + キャッシュに存在するパッケージ数を表します。 + + + + 通常パッケージは、 + 公式の普通のパッケージ数を表します。 + これは、他のパッケージの依存関係で使用された名称で、それが一対一に対応 + するパッケージです。 + 大多数のパッケージはこのカテゴリに入ります。 + + + + 純粋仮想パッケージは、 + 仮想パッケージ名としてのみ存在するパッケージ + (仮想パッケージ名のみを「提供」し、 + 実際にはいかなるパッケージもその名称を持たない) の数を表します。 + 例えば、Debian GNU/Linux システムでは "mail-transport-agent" + は純粋仮想パッケージです。 + "mail-transport-agent" を提供するパッケージはいくつもありますが、 + "mail-transport-agent" という名称のパッケージはありません。 + + + + 単一仮想パッケージは、 + 特定の仮想パッケージ名を提供するパッケージが、 + ただ一つの場合の数を表します。 + 例えば、Debian GNU/Linux システムでは、"X11-text-viewer" + は仮想パッケージですが、"X11-text-viewer" を提供するパッケージは、 + xless パッケージのみということです。 + + + + 複合仮想パッケージは、 + その仮想パッケージ名を提供するパッケージが複数あるか、 + またパッケージ名と同じ仮想パッケージ名を持つパッケージ数を表します。 + 例えば、Debian GNU/Linux システムでは、 + debconf は実際のパッケージ名でもありますが、 + debconf-tiny によって提供もされています。 + + + + 欠落は、依存関係中には存在するのに、 + どのパッケージにも提供されていないパッケージ名の数を表します。 + このパッケージがあるということは、 + 全ディストリビューションにアクセスできていないか、 + (実ないし仮想) パッケージがディストリビューションからはずされてしまった可能性もあります。 + 通常では、構文が矛盾するとこのようになります。 + + + + 個別バージョン総数は、 + キャッシュに存在するパッケージのバージョンの数を表します。 + そのため、この値は最小でもパッケージ名総数と一致します。 + もし複数のディストリビューション (例 "stable" と "unstable" の両方) + を利用した場合、 + この値はパッケージ名総数よりもかなり大きい数になります。 + + + + 依存関係総数は、 + キャッシュにあるすべてのパッケージで要求された依存関係の数です。 + + + + + + showsrc pkg(s) + + showsrc は、 + 指定したパッケージ名に一致するソースパッケージを、すべて表示します。 + バイナリになるときの名称を宣言したレコードと同様に、 + すべてのバージョンについて表示します。 + + + dump + + dump は、 + キャッシュ内のパッケージそれぞれについて、短い一覧を表示します。 + 主にデバッグ用です。 + + + dumpavail + + dumpavail は、 + 標準出力に利用可能なものの一覧を出力します。 + &dpkg; と共に使用すると便利ですし、 + &dselect; でも使用されます。 + + + unmet + + unmet は、 + パッケージキャッシュ内にある、 + 不適当な依存関係の概要を表示します。 + + + show pkg(s) + + show は、 + dpkg --print-avail と同様の機能を実行します。 + これは、指定したパッケージのパッケージレコードの表示です。 + + + + search regex [ regex ... ] + + search は、与えられた正規表現によって、 + すべての利用可能なパッケージに対して全文検索を行います。 + パッケージ名と説明に対して検索を行い、 + パッケージ名と短い説明文を表示します。 + が与えられた場合、マッチしたパッケージに対し + show と同じ情報を出力します。 + が与えられた場合は、 + 説明文に対して検索を行わず、パッケージ名に対してのみ対象とします。 + + + 空白で区切った引数で、 + 複数の検索パターンの and をとることができます。 + + + depends pkg(s) + + depends は、 + パッケージが持っている依存関係と、 + その依存関係を満たす他のパッケージの一覧を表示します。 + + + rdepends pkg(s) + + rdepends は、 + パッケージが持つ被依存関係を一覧表示します。 + + + pkgnames [ prefix ] + + このコマンドは、 + システムでの各パッケージの名称を表示します。 + オプションの引数により、取得する一覧より先頭一致で抽出することができます。 + この出力はシェルのタブによる補完機能に使いやすく、 + また非常に速く生成されます。 + このコマンドは オプションと共に使用すると、 + 非常に便利です。 + + + dotty pkg(s) + + dotty は、 + コマンドライン上のパッケージ名から、 + GraphViz + パッケージの dotty コマンドで利用するのに便利な出力を生成します。 + 結果はパッケージの関係を表わす、ノード・エッジのセットで表現されます。 + デフォルトでは、すべての依存パッケージをトレースするので、 + 非常に大きい図が得られます。 + これは、APT::Cache::GivenOnly + オプションを設定して解除できます。 + + + 結果のノードは数種の形状をとります。 + 通常パッケージは四角、純粋仮想パッケージは三角、複合仮想パッケージは菱形、 + 六角形は欠落パッケージをそれぞれ表します。 + オレンジの四角は再帰が終了した「リーフパッケージ」、青い線は先行依存、 + 緑の線は競合を表します。 + + + 注意) dotty は、 + パッケージのより大きなセットのグラフは描けません。 + + + policy [ pkg(s) ] + + policy は、 + 設定ファイル関係の問題について、デバッグを支援します。 + 引数を指定しなかった場合、取得元ごとの優先順位を表示します。 + 一方、パッケージ名を指定した場合、 + 優先順の詳細情報を表示します。 + + + madison /[ pkg(s) ] + + apt-cache の madison + コマンドは、Debian アーカイブ管理ツール madison + の機能のサブセットで、出力フォーマットを真似ようとします。 + パッケージの利用可能バージョンを表形式で表示します。 + オリジナルの madison と違い、 + APT がパッケージ一覧を検索したアーキテクチャ + (APT::Architecture) + の情報を表示するだけです。 + + + + + + オプション + &apt-cmdblurb; + + + + + パッケージキャッシュを格納するファイルを選択します。 + パッケージキャッシュは、すべての操作で使用される一次キャッシュです。 + 設定項目 - Dir::Cache::pkgcache + + + + + ソースキャッシュを格納するファイルを選択します。 + このソースキャッシュは gencaches でのみ使用され、 + ここに解析された取得元のパッケージ情報が格納されています。 + パッケージキャッシュを構築する際に、ソースキャッシュは、 + 全パッケージファイルを再解析を避ける上で便利です。 + + 設定項目 - Dir::Cache::srcpkgcache + + + + + 静粛 - 進捗表示を省略し、 + ログをとるのに便利な出力を行います。 + 最大 2 つまで q を重ねることでさらに静粛にできます。 + また、 のように静粛レベルを指定して、 + 設定ファイルを上書きすることもできます。 + 設定項目 - quiet + + + + + 「重要」依存関係のみ表示 - unmet と共に使用します。 + これは「依存」関係と「先行依存」関係のみを表示するためです。 + 設定項目 - APT::Cache::Important + + + + + search 時に全パッケージレコードを表示します。 + 設定項目 - APT::Cache::ShowFull + + + + + 全利用可能バージョンのレコード全体を表示します。 + これはデフォルトの動作で、 + 無効にするには を使用してください。 + を指定すると、 + 候補バージョン (インストールの際に選択されるもの) だけ表示します。 + このオプションは、show コマンドでのみ適用できます。 + 設定項目 - APT::Cache::AllVersions + + + + + そのままキャッシュを使用するのではなく、 + 自動的にパッケージキャッシュを再生成します。これはデフォルトの動作で、 + 無効にするには を使用してください。 + 設定項目 - APT::Cache::Generate + + + + + 説明文ではなく、パッケージ名からのみ検索します。 + 設定項目 - APT::Cache::NamesOnly + + + + + pkgnames で、 + 仮想パッケージや欠落依存関係を含めた全名称を表示します。 + 設定項目 - APT::Cache::AllNames + + + + + depends や rdepends + で、指定した全パッケージを再帰的に一度に表示します。 + 設定項目 - APT::Cache::RecurseDepends + + + + + + depends や rdepends の出力を、 + 現在インストールされているパッケージに限定します。 + 設定項目 - APT::Cache::Installed + + + &apt-commonoptions; + + + + + + ファイル + + /etc/apt/sources.list + + パッケージの取得元。 + 設定項目 - Dir::Etc::SourceList + + + &statedir;/lists/ + + &sources-list; に指定した、 + パッケージリソースごとの状態情報格納エリア。 + 設定項目 - Dir::State::Lists + + + &statedir;/lists/partial/ + + 取得中状態情報格納エリア。 + 設定項目 - Dir::State::Lists (必然的に不完全) + + + + + + 関連項目 + &apt-conf;, &sources-list;, &apt-get; + + + + + 診断メッセージ + + apt-cache は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + + &manbugs; + &translator; + 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 @@ - - - -%aptent; - -]> - - - &apt-docinfo; - - - apt-cdrom - 8 - - - - - apt-cdrom - - APT CDROM ´ÉÍý¥æ¡¼¥Æ¥£¥ê¥Æ¥£ - - - - - - apt-cdrom - - - - - - add - ident - - - - - - ÀâÌÀ</> - <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 +--> + 説明 + + apt-cdrom は利用可能な取得元として、 + APT のリストに新しい CDROM を追加するのに便利です。 + apt-cdrom は焼き損じを可能な限り補正し、 + ディスク構造の確認を助けます。また、インデックスファイルの確認を行います。 + + + + APT システムに手作業で CD を追加するのは難しいため、 + apt-cdrom が必要になります。 + その上、CD セットのディスクを 1 枚づつ、 + 焼き損じを補正できるか評価しなければなりません。 + + + + オプションや オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + add + + add は、 + 新しいディスクを取得元リストに追加します。 + CDROM デバイスのアンマウント、ディスク挿入のプロンプトの表示の後に、 + ディスクのスキャンとインデックスファイルのコピーを行います。 + ディスクに正しい disk ディレクトリが存在しない場合、 + タイトルを入力するよう促します。 + + + + APT は、現在ドライブにあるディスクのトラックから取得した、 + CDROM ID を使用します。またその ID を、 + &statedir;/cdroms.list 内のデータベースで管理します。 + + + + + ident + + 格納されているファイル名と、 + 現在のディスクが同一かどうかをレポートする、デバッグツールです。 + + + + + + + + Options + &apt-cmdblurb; + + + + + マウントポイント - cdrom をマウントする場所を指定します。 + このマウントポイントは、 + /etc/fstab に正しく設定されている必要があります。 + 設定項目 - Acquire::cdrom::mount + + + + + + + ディスクの名前変更 - + 指定した名前でディスクのラベルを変更・更新します。このオプションにより、 + apt-cdrom が新しいラベルを入力するよう促します。 + 設定項目 - APT::CDROM::Rename + + + + + + + マウントなし - apt-cdrom が、 + マウントポイントにマウント・アンマウントしないようにします。 + 設定項目 - APT::CDROM::NoMount + + + + + + + 高速コピー - パッケージファイルが妥当であると仮定し、 + チェックを全く行いません。このオプションは、 + このディスクで以前 apt-cdrom を行っており、 + エラーを検出しなかった場合のみ使用すべきです。 + 設定項目 - APT::CDROM::Fast + + + + + + + 完全パッケージスキャン - + 古い Debian 1.1/1.2 のディスクは、パッケージファイルが違う場所にあるため、 + このオプションを使う必要があるかもしれません。 + CD をスキャンするのに非常に時間がかかりますが、 + 全パッケージファイルを抽出することができます。 + + + + + + + + + + 変更なし - &sources-list; ファイルの変更や、 + インデックスファイルの書き込みを行いません。 + とはいえ、すべてのチェックは行います。 + 設定項目 - APT::CDROM::NoAct + + + + + &apt-commonoptions; + + + + + + 関連項目 + &apt-conf;, &apt-get;, &sources-list; + + + + + 診断メッセージ + + apt-cdrom は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + + &manbugs; + &translator; + + 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 @@ + + +%aptent; + +]> + + + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + + + apt-config + 8 + + + + + apt-config + + APT 設定取得プログラム + + + + + + apt-config + + + + + shell + dump + + + + + + 説明 + + apt-config は、 + APT スイートの様々な所で一貫した設定を行うために使用する、内部ツールです。 + スクリプトアプリケーションで使いやすい方法で、 + メイン設定ファイル /etc/apt/apt.conf + にアクセスします。 + + + や オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + shell + + + shell は、シェルスクリプトから設定情報にアクセスするのに使用します。 + 引数として、まずシェル変数、次に取得したい設定値をペアで与えます。 + 出力として、現在の値ごとにシェル代入コマンドの一覧を表示します。 + シェルスクリプト内では、以下のようにしてください。 + + + +OPTS="-f" +RES=`apt-config shell OPTS MyApp::options` +eval $RES + + + + これは、MyApp::options の値をシェル環境変数 $OPTS にセットします。 + デフォルト値は となります。 + + + 設定項目は /[fdbi] を後ろに付けられます。 + f はファイル名を、d はディレクトリを、b は true か false を、 + i は整数を返します。 + 返り値ごとに内部で正規化と検証を行います。 + + + + + dump + + + 設定箇所の内容を表示するだけです。 + + + + + + + + オプション + &apt-cmdblurb; + + + + &apt-commonoptions; + + + + + + 関連項目 + &apt-conf; + + + + + 診断メッセージ + + apt-config は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + + &manbugs; + &translator; + + + 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 @@ + + +%aptent; + +]> + + + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + + + apt-extracttemplates + 1 + + + + + apt-extracttemplates + + Debian パッケージから DebConf 設定とテンプレートを抽出するユーティリティ + + + + + + apt-extracttemplates + + + file + + + + + 説明 + + apt-extracttemplates は、 + 入力に複数の Debian パッケージをとり、 + 関連する設定スクリプトとテンプレートファイルを + (一時ディレクトリに) 出力します。 + 設定スクリプト・テンプレートファイルを持つ、 + 渡されたパッケージそれぞれに対し、以下の形式で 1 行ずつ出力します。 + package version template-file config-script + + テンプレートファイルや、設定スクリプトは、 + -t や --tempdir で指定した一時ディレクトリ + (APT::ExtractTemplates::TempDir) に書き出され、 + ファイル名は、package.template.XXXX や + package.config.XXXX と言った形になります。 + + + + オプション + &apt-cmdblurb; + + + + + + 抽出した debconf テンプレートファイルや設定スクリプトを書き出す、 + 一時ディレクトリ。 + 設定項目 - APT::ExtractTemplates::TempDir + + + &apt-commonoptions; + + + + + + + + 関連項目 + &apt-conf; + + + + 診断メッセージ + apt-extracttemplates は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + &manbugs; + &translator; + + diff --git a/doc/ja/apt-ftparchive.ja.1.xml b/doc/ja/apt-ftparchive.ja.1.xml new file mode 100644 index 000000000..82bd9c023 --- /dev/null +++ b/doc/ja/apt-ftparchive.ja.1.xml @@ -0,0 +1,1019 @@ + + +%aptent; + +]> + + + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + + + apt-ftparchive + 1 + + + + + apt-ftparchive + + インデックスファイル生成ユーティリティ + + + + + + apt-ftparchive + + + + + + + + + packagespathoverridepathprefix + sourcespathoverridepathprefix + contents path + release path + generate config-file section + clean config-file + + + + + + 説明 + + apt-ftparchive は、 + APT が取得元にアクセスするのに必要な、 + インデックスファイルを生成するコマンドラインツールです。 + インデックスファイルは、元のサイトの内容に基づき生成されるべきです。 + + + apt-ftparchive は、 + &dpkg-scanpackages; プログラムのスーパーセットで、 + packages コマンド経由で機能全体を取り込んでいます。 + また、contents ファイルジェネレータ contents と + 完全なアーカイブの生成プロセス「スクリプト」である綿密な手段を含んでいます。 + + + 本質的に apt-ftparchive は、 + .deb ファイルの内容をキャッシュするのにバイナリデータベースを使用できます。 + また、&gzip; 以外のいかなる外部プログラムにも依存しません。 + すべて生成する際、 + + + オプションや オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + packages + + + packages コマンドは、 + ディレクトリツリーからパッケージファイルを生成します。 + 与えられたディレクトリから再帰検索し、.deb ファイルを取得します。 + またパッケージレコードを標準出力にそれぞれ出力します。 + このコマンドは、&dpkg-scanpackages; とほぼ同じです。 + + + オプションで、 + キャッシュ DB を指定できます。 + + + sources + + + sources コマンドは、 + ディレクトリツリーからソースインデックスファイルを生成します。 + 与えられたディレクトリから再帰検索し、.dsc ファイルを取得します。 + またソースレコードを標準出力にそれぞれ出力します。 + このコマンドは、&dpkg-scansources; とほぼ同じです。 + + + override ファイルを指定した場合、. + src 拡張子がついたソースオーバーライドファイルを探します。 + 使用するソースオーバーライドファイルを変更するのには、 + --source-override オプションを使用します。 + + + contents + + + contents コマンドは、 + ディレクトリツリーからコンテンツファイルを生成します。 + 与えられたディレクトリから再帰検索し、.deb ファイルを取得します。 + またファイルごとにファイル一覧を読み取ります。 + その後、パッケージに対応するファイル一覧を標準出力にソートして出力します。 + ディレクトリは出力に含まれません。 + 複数のパッケージが同じファイルを持つ場合、 + パッケージ名をカンマ区切りで出力します。 + + + オプションで、 + キャッシュ DB を指定できます。 + + + release + + + release コマンドは、 + ディレクトリツリーから Release ファイルを生成します。 + 与えられたディレクトリから、Packages, Packages.gz, Packages.bz2, Sources, + Sources.gz, Sources.bz2, Release, md5sum.txt + といったファイルを再帰検索します。 + その後、ファイルごとの MD5 ダイジェストと SHA1 ダイジェストを含んだ + Release ファイルを、標準出力に書き出します。 + + + Release ファイルの追加メタデータフィールドの値は、 + APT::FTPArchive::Release 以下の相当する値 + (例: APT::FTPArchive::Release::Origin) をとります。 + サポートするフィールドは、 + Origin, Label, Suite, + Version, Codename, Date, + Architectures, Components, Description です。 + + + + generate + + + generate コマンドは、 + cron スクリプトから実行できるよう設計されており、 + 与えられた設定ファイルに従ってインデックスを生成します。 + 設定言語は、必要な設定を維持する簡単な方法を提供すると共に、 + インデックスファイルをどのディレクトリから作成するかを指定する、 + 柔軟な方法を提供します。 + + + clean + + + clean コマンドは、 + 設定ファイルで与えられたデータベースを、 + もう必要ないレコードを削除して整理します。 + + + + + + generate 設定 + + + generate コマンドは、 + 生成するアーカイブに関する記述をした設定ファイルを使用します。 + 設定ファイルは、bind 8 や dhcpd といった ISC ツールに見られるような、 + ISC 設定フォーマットに従います。 + &apt-conf; に、文法の説明があります。 + generate 設定はセクション法で解析しますが、 + &apt-conf; はツリー法で解析するのに注意してください。 + これはスコープタグの扱い方に違いがあるだけです。 + + + + generate 設定には 4 個の独立したセクションがあります。 + 以下それぞれ説明します。 + + + Dir セクション + + + Dir セクションは、 + 生成プロセスで必要なファイルを配置するための、 + 標準ディレクトリを定義します。 + このディレクトリは、完全な絶対パスを生成するため、 + 後のセクションで定義される相対パスの前に結合します。 + + ArchiveDir + + + FTP アーカイブのルートを指定します。 + 標準的な Debian 設定では、このディレクトリには + ls-LR と dist ノードがあります。 + + + OverrideDir + + + オーバーライドファイルの場所を指定します。 + + + CacheDir + + + キャッシュファイルの場所を指定します。 + + + FileListDir + + + FileList 設定が以下で使用されている場合、 + ファイルリストファイルの場所を指定します。 + + + + + + Default セクション + + + Default セクションではデフォルト値を指定します。 + また、生成器の動作を制御する設定も行います。 + 他のセクションでは、ここにあるデフォルト値を、 + セクションごとの設定で上書きします。 + + Packages::Compress + + + Package インデックスファイルのデフォルトの圧縮方法を設定します。 + 少なくともひとつは '.' (圧縮なし), 'gzip', 'bzip2' が入る、 + 空白区切りの文字列です。 + 圧縮方法のデフォルトはすべて '. gzip' です。 + + + Packages::Extensions + + + パッケージファイル拡張子のデフォルト値を列挙します。 + このデフォルト値は '.deb' です。 + + + Sources::Compress + + + Packages::Compress と同様に、 + Sources ファイルの圧縮方法を指定します。 + + + Sources::Extensions + + + ソースファイル拡張子のデフォルト値を列挙します。 + このデフォルト値は '.dsc' です。 + + + Contents::Compress + + + Packages::Compress と同様に、 + Contents ファイルの圧縮方法を指定します。 + + + DeLinkLimit + + + 実行するごとに delink (及びハードリンクの置き換え) する量を、 + キロバイト単位で指定します。セクションごとの + External-Links 設定と合わせて使います。 + + + FileMode + + + 作成したインデックスファイルのモードを指定します。 + デフォルトは 0644 です。全インデックスファイルは、 + umask を無視してこのモードを使用します。 + + + + + + TreeDefault セクション + + + 特定の Tree セクションのデフォルトを設定します。 + これらの変数はすべて置換変数であり、 + 文字列 $(DIST), $(SECTION), $(ARCH) をそれぞれの値に展開します。 + + + MaxContentsChange + + + 日毎に生成する contents ファイルをキロバイト単位で設定します。 + contents ファイルをラウンドロビンし、数日経つとすべて再生成します。 + + + ContentsAge + + + 変更がない contents ファイルをチェックする日数を指定します。 + この制限を越えた contents ファイルの mtime を、更新します。 + パッケージファイルが変更されても、 + [例えば上書き編集で] contents ファイルが更新されないような場合、 + こういったことが発生します。 + 新しい .deb ファイルをインストールしたい場合、保留を解除でき、 + 少なくとも新しいファイルが必要です。 + デフォルトは 10 で、単位は日です。 + + + Directory + + + .deb ディレクトリツリーの先頭を設定します。デフォルトは + $(DIST)/$(SECTION)/binary-$(ARCH)/ です。 + + + SrcDirectory + + + ソースパッケージディレクトリツリーの先頭を設定します。デフォルトは + $(DIST)/$(SECTION)/source/ です。 + + + Packages + + + Packages ファイルの出力先を設定します。デフォルトは + $(DIST)/$(SECTION)/binary-$(ARCH)/Packages です。 + + + Sources + + + Packages ファイルの出力先を設定します。デフォルトは + $(DIST)/$(SECTION)/source/Sources です。 + + + InternalPrefix + + + 外部リンクではなく、内部リンクと見なす判断材料となる、 + パスのプレフィックスを設定します。デフォルトは、 + $(DIST)/$(SECTION)/ です。 + + + Contents + + + Contents ファイルの出力先を設定します。デフォルトは、 + $(DIST)/Contents-$(ARCH) です。 + 複数の Packages ファイルを ひとつの Contents ファイルにまとめられる設定 + (デフォルト) の場合、apt-ftparchive + は自動でパッケージファイルをまとめます。 + + + Contents::Header + + + contents の出力に付けるヘッダファイルを設定します。 + + + BinCacheDB + + + このセクションで使用するバイナリキャッシュデータベースを設定します。 + 複数のセクションで同じデータベースを共有できます。 + + + FileList + + + ディレクトリツリーを走査する代わりに、apt-ftparchive + が読み込むファイル一覧ファイルを指定します。 + 相対ファイル名は、アーカイブディレクトリが先頭につきます。 + + + SourceFileList + + + ディレクトリツリーを走査する代わりに、apt-ftparchive + が読み込むファイル一覧ファイルを指定します。 + 相対ファイル名は、アーカイブディレクトリが先頭につきます。 + ソースインデックスを処理する際に使用します。 + + + + + + Tree セクション + + + Tree セクションでは、 + ベースディレクトリからの標準 Debian ファイルツリー、 + ベースディレクトリの複数のセクション、 + 最終的にはセクションごとの複数のアーキテクチャを定義します。 + 使用する正確なパスは、Directory 変数で定義されます。 + + + Tree セクションは、 + $(DIST) 変数で設定されているスコープタグをとり、 + ツリーのルート (ArchiveDirが先頭につくパス) + を定義します。 + 通常、この設定は dists/woody のようになります。 + + + TreeDefault セクションで定義される設定はすべて、 + 3 個の新しい変数と同様に、 + Tree セクションで使用できます。 + + + Tree セクションを処理する際、 + apt-ftparchive は以下のような操作を行います。 + +for i in Sections do + for j in Architectures do + Generate for DIST=scope SECTION=i ARCH=j + + + + Sections + + + distribution 以下に現れるセクションを、空白区切りで指定したリストです。 + 通常、main contrib non-freeのようになります。 + + + Architectures + + + search セクション以下に現れるアーキテクチャを、 + 空白区切りで指定したリストです。 + 特殊アーキテクチャ 'source' は、 + ソースアーカイブのツリーであることを示します。 + + + BinOverride + + + バイナリオーバーライドファイルを設定します。 + このオーバーライドファイルには、セクション、優先度、 + メンテナのアドレスといった情報が含まれています。 + + + SrcOverride + + + ソースオーバーライドファイルを設定します。 + このオーバーライドファイルには、 + セクションの情報が含まれています。 + + + ExtraOverride + + + バイナリ特別オーバーライドファイルを設定します。 + + + SrcExtraOverride + + + ソース特別オーバーライドファイルを設定します。 + + + + + + BinDirectory セクション + + + bindirectory セクションでは、 + 特殊な構造を持たないバイナリディレクトリツリーを定義します。 + スコープタグはバイナリディレクトリの場所を指定し、 + 設定は、変数展開のない Tree セクションや + SectionArchitecture 設定に似ています。 + + Packages + + + Packages ファイルの出力先を設定します。 + + + SrcPackages + + + Sources ファイルの出力先を設定します。 + 少なくとも Packages や SrcPackages + は設定されていなければなりません。 + + + Contents + + + Contents ファイルの出力先を設定します。(オプション) + + + BinOverride + + + バイナリオーバーライドファイルを設定します。 + + + SrcOverride + + + ソースオーバーライドファイルを設定します。 + + + ExtraOverride + + + バイナリ特別オーバーライドファイルを設定します。 + + + SrcExtraOverride + + + ソース特別オーバーライドファイルを設定します。 + + + BinCacheDB + + + キャッシュ DB を設定します。 + + + PathPrefix + + + 全出力パスに付加するパス。 + + + FileList, SourceFileList + + + ファイル一覧ファイルを指定します。 + + + + + + + + バイナリオーバーライドファイル + + バイナリオーバーライドファイルは、 + &dpkg-scanpackages; と完全に互換性があります。 + ここには、空白区切りでフィールドが 4 個あります。 + 先頭のフィールドはパッケージ名、 + 2 番目のフィールドはパッケージに強制する優先度、 + 3 番目のフィールドはパッケージに強制するセクション、 + 最後のフィールドはメンテナ順列フィールドです。 + + メンテナフィールドは一般的には、 + old [// oldn]* => new + という形式か、単純に + new + となります。 + 最初の形式は、// で区切られた古いemail アドレスのリストを許可します。 + この形式がある場合は、メンテナフィールドになるよう new に置換してください。 + 2 番目の形式は無条件にメンテナフィールドに置換します。 + + + + + ソースオーバーライドファイル + + + ソースオーバーライドファイルは、 + &dpkg-scansources; と完全に互換性があります。 + ここには、空白区切りでフィールドが 2 個あります。 + 先頭のフィールドはソースパッケージ名、 + 2 番目のフィールドは割り当てるセクションです。 + + + + 特別オーバーライドファイル + + + 特別オーバーライドファイルは、 + 出力中に任意のタグを追加・置換できるようにします。 + 3 列からなり、先頭はパッケージ、2番目はタグ、残りは新しい値です。 + + + + オプション + &apt-cmdblurb; + + + + + + MD5 sum を生成します。デフォルトで on になっており、 + off にすると生成したインデックスファイルに MD5Sum フィールドがありません。 + 設定項目 - APT::FTPArchive::MD5 + + + + + + バイナリキャッシュ DB を使用します。 + generate コマンドには影響しません。 + 設定項目 - APT::FTPArchive::DB + + + + + + 静粛 - 進捗表示を省略し、ログをとるのに便利な出力を行います。 + 最大 2 つまで q を重ねることでより静粛にできます。 + また、 のように静粛レベルを指定して、 + 設定ファイルを上書きすることもできます。 + 設定項目 - quiet + + + + + + Delink を実行します。 + External-Links 設定を使用している場合、 + このオプションはファイルの delink を有効にします。 + デフォルトは on で、 + off にするには としてください。 + 設定項目 - APT::FTPArchive::DeLinkAct + + + + + + contents の生成を行います。このオプションを指定し、 + パッケージインデックスをキャッシュ DB と共に生成する際、 + ファイルリストを後で使用するように、抽出し DB に格納します。 + generate コマンドを使用する際、 + このオプションでいずれの Contents ファイルも作成できます。 + デフォルトは on です。 + 設定項目 - APT::FTPArchive::Contents + + + + + + sources コマンドで使用する、 + ソースオーバーライドファイルを選択します。 + 設定項目 - APT::FTPArchive::SourceOverride + + + + + + キャッシュデータベースを読み取り専用にします。 + 設定項目 - APT::FTPArchive::ReadOnlyDB + + + &apt-commonoptions; + + + + + +サンプル + + +バイナリパッケージ (.deb) があるディレクトリの +Packages ファイルを生成するには、以下のようにします。 + + +apt-ftparchive packages directory | gzip > Packages.gz + + + + + + 関連項目 + &apt-conf; + + + + 診断メッセージ + + apt-ftparchive は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + &manbugs; + &translator; + + 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 @@ - - - -%aptent; - -]> - - - &apt-docinfo; - - - apt-get - 8 - - - - - apt-get - - APT ¥Ñ¥Ã¥±¡¼¥¸Áàºî¥æ¡¼¥Æ¥£¥ê¥Æ¥£ -- ¥³¥Þ¥ó¥É¥é¥¤¥ó¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹ - - - - - - apt-get - - - - - update - upgrade - dselect-upgrade - install pkg - remove pkg - source pkg - build-dep pkg - check - clean - autoclean - - - - - - ÀâÌÀ</> - <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 +--> + 説明 + + apt-get は、 + パッケージを操作するコマンドラインツールで、 + APT ライブラリを用いる他のツールのユーザ側「バックエンド」といえるものです。 + 「フロントエンド」インターフェースには、dselect(8), + aptitude, synaptic, gnome-apt, wajig などがあります。 + + + オプションや オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + update + + updateは、 + 取得元からパッケージインデックスファイルの再同期を行うのに使用します。 + 利用可能なパッケージのインデックスは、 + /etc/apt/sources.list に記述した場所から取得します。 + 例えば Debian アーカイブを利用する際、 + このコマンドが Packages.gz ファイルを検索することで、 + 新規または更新されたパッケージの情報が利用可能となります。 + update は、upgrade や + dist-upgrade を行う前に常に実行してください。 + 前もってパッケージファイルのサイズを知ることができないため、 + 全体の進捗メータは正しく表示されません。 + + + upgrade + + upgrade は、 + 現在システムにインストールされている全パッケージの最新バージョンを、 + /etc/apt/sources.list + に列挙した取得元からインストールするのに使用します。 + 現在インストール中のパッケージに新しいバージョンがあれば更新しますが、 + いかなる時も現在インストール中のパッケージの削除は行いません。 + 対象のパッケージが、 + 他のパッケージのインストール状態を変更せずに更新できない場合は、 + 現在のバージョンのままとなります。 + 最初に update を実行しておき、 + apt-get にパッケージの新しいバージョンがあることを + 知らせる必要があります。 + + + dselect-upgrade + + dselect-upgrade は、 + 伝統的な Debian GNU/Linux パッケージ管理フロントエンドの &dselect; + と共に使用されます。 + dselect-upgrade は、 + &dselect; で作られた利用可能パッケージの + Status フィールドの変更を追跡し、 + その状態を反映させるのに必要なアクションを実行します。 + (例えば、古いパッケージの削除や新しいパッケージのインストールなど) + + + + dist-upgrade + + dist-upgrade は、 + upgrade の機能に加え、 + 新バージョンのパッケージに対する依存関係の変更を知的に操作します。 + apt-get は「洗練された」競合解決システムを持ち、 + 必要とあらば比較的重要でないパッケージを犠牲にして、 + 最重要パッケージの更新を試みます。 + /etc/apt/sources.list ファイルには、 + 必要なパッケージファイルを検索する場所のリストが含まれています。 + 特定のパッケージ向けに、一般的な設定を上書きする機構については、 + &apt-preferences; をご覧ください。 + + + install + + install の後には、 + インストールするパッケージを 1 つ以上指定します。 + 指定するパッケージは、完全なファイル名ではなくパッケージ名です。 + (例えば Debian GNU/Linux システムでは、 + libc6_1.9.6-2.deb ではなく libc6 を引数として与えます) + インストールするよう指定したすべてのパッケージに対し、 + 検索・インストールを行います。 + /etc/apt/sources.list ファイルを、 + 要求するパッケージの場所を特定するのに使用します。 + パッケージ名の後ろに (空白を含まず) ハイフンが追加されている場合、 + そのパッケージがインストールされていれば削除します。 + 同様に、インストールするパッケージを明示するのにプラス記号も使用できます。 + この記号は apt-get の競合解決システムの判断に利用されるかもしれません。 + + + パッケージにイコール記号とバージョンを続けることで、 + 選択したバージョンのパッケージをインストールすることができます。 + つまり、指定のバージョンのパッケージをインストールするように選択する、 + ということです。 + 別の方法としては、ディストリビューションを特定するのに、 + パッケージ名に続けて、 + スラッシュとディストリビューションのバージョンやアーカイブ名 + (stable, testing, unstable) を記述できます。 + + + バージョン選択機構はダウングレード時にも使用できるため、 + 注意して使用しなければなりません。 + + + 最後に、&apt-preferences; 機構により、 + 特定のパッケージに対するインストールポリシーを作成できます。 + + + 構文に '.', '?', '*' を含み、パッケージ名がマッチしなかった場合、 + POSIX 正規表現であると見なし、 + データベース内の全パッケージ名に対して適用します。 + マッチしたパッケージすべてがインストール(もしくは削除)されます。 + 'lo.*' のような文字列は、 + 'how-lo' や 'lowest' にマッチすることに注意してください。 + そうしたくなければ、'^' や '$' を付けるか、 + もっと詳しい正規表現を指定してください。 + + + remove + + remove は、 + パッケージが削除されることを除き、install と同様です。 + プラス記号がパッケージ名に (間に空白を含まずに) 付加されると、 + 識別されたパッケージを、削除ではなくインストールします。 + + + source + + source は、 + ソースパッケージを取得するのに apt-get します。 + APT はどのソースパッケージを取得するか決定するよう、 + 利用可能なパッケージを検討します。 + その後、最新の利用可能なソースパッケージを見つけ、 + カレントディレクトリへダウンロードします。 + バイナリパッケージとは別に &sources-list; ファイルの + deb-src 行から、ソースパッケージを追跡します。 + これは、インストールした (またはインストールできる) パッケージと、 + 取得元を変えることができることを示しています。 + --compile オプションが指定された場合、dpkg-buildpackage を用いて + バイナリ .deb ファイルへコンパイルを行います。 + --download-only の場合はソースパッケージを展開しません。 + + + パッケージと同様に、 + ソース名の後ろにイコールと取得したいバージョンを置くと、 + 指定したバージョンのソースを取得できます。 + APT::Get::Only-Source + オプションが暗黙のうちに有効になっているため、 + ソースパッケージ名とバージョンに厳密に一致させています。 + + + tar ball はカレントディレクトリにのみダウンロードされ、 + カレントディレクトリに展開されることに注意してください。 + + + build-dep + + build-dep は、 + ソースパッケージの構築依存関係を満たすように、 + パッケージのインストール・削除を行います。 + + + check + + check は、 + パッケージキャッシュの更新や壊れた依存関係をチェックする診断ツールです。 + + + clean + + clean は、 + 取得したパッケージのローカルリポジトリを掃除します。 + &cachedir;/archives/ と + &cachedir;/archives/partial/ + からロックファイル以外すべて削除します。 + APT が &dselect; から呼ばれるときには、 + 自動的に clean が実行されます。 + dselectを使用しない場合は、ディスクスペースを解放するため、時々 + apt-get clean を実行したくなるでしょう。 + + + autoclean + + clean と同様に、 + autoclean は取得したパッケージのローカルリポジトリを掃除します。 + 違いは、もうダウンロードされることがないパッケージファイルや、 + ほとんど不要なパッケージファイルのみを削除することです。 + このため、長い期間、キャッシュが管理できずに肥大化することなく、 + 維持することができます。 + 設定オプション APT::Clean-Installed に + off をセットしていれば、 + インストール済のパッケージファイルが削除されるのを防げます。 + + + + + + オプション + &apt-cmdblurb; + + + + + ダウンロードのみ - パッケージファイルの取得のみを行い、 + 展開・インストールを行いません。 + 設定項目 - APT::Get::Download-Only + + + + + 修復 - 依存関係が壊れたシステムの修正を試みます。 + このオプションを install や remove と一緒に使うときは、 + パッケージを指定しなくてもかまいません。 + どのパッケージを指定しても、完全に問題を解決します。APT 自体は、 + システムに存在する壊れたパッケージ依存関係を許すことができないので、 + 初めて APT を実行する場合、このオプションが必要になることがあります。 + システムの依存関係構造にかなり問題がある場合は、 + 手動で修正するよう要求することもあります。 + (通常は、問題のあるパッケージを取り除くのに &dselect; や + dpkg --remove を使用します) + このオプションを オプションと同時に使用すると、 + エラーになる状況があるかもしれません。 + 設定項目 - APT::Get::Fix-Broken + + + + + + 欠落パッケージの無視 - パッケージが取得できなかったり、 + (パッケージの破損で) 取得した後の整合性チェックを通らなかった場合、 + そのパッケージの処理を保留し最後まで処理を続けます。 + このオプションを オプションと同時に使用すると、 + エラーになる状況があるかもしれません。 + パッケージをインストールするよう選択している場合 + (特にコマンドラインでの操作時) や、 + ダウンロードできなかった場合に、なにも表示せず保留することになります。 + 設定項目 - APT::Get::Fix-Missing + + + + + パッケージのダウンロードを無効にします。 + これはすでにダウンロードした .deb に対してのみ APT を行う場合に、 + と併せて使うのがよいでしょう。 + 設定項目 - APT::Get::Download + + + + + 静粛 - 進捗表示を省略し、 + ログをとるのに便利な出力を行います。 + 最大 2 つまで q を重ねることでより静粛にできます。 + また、 のように静粛レベルを指定して、 + 設定ファイルを上書きすることもできます。 + 静粛レベル 2 は を含んでいることに注意してください。 + APT が意図しない決定を行うかもしれないので -d, --print-uris, -s のような + 操作を行わないオプションをつけずに -qq を使用するべきではありません。 + 設定項目 - quiet + + + + + + + + + + 動作なし - なにが起こるのかのシミュレーションを行い、 + 実際にはシステムの変更を行いません。 + 設定項目 - APT::Get::Simulate + + + シミュレートの結果、dpkg の動作を表す一連の行のそれぞれに、 + 設定 (Conf)、削除 (Remv)、展開 (Inst) を表示します。 + 角カッコは壊れたパッケージを表し、(まれに) + 空の角カッコは大した問題ではないことを表します。 + + + + + + プロンプトへの自動承諾 - すべてのプロンプトに自動的に + "yes" と答え、非対話的に実行します。 + 保留したパッケージの状態を変更したり、 + 必須パッケージを削除するような不適切な状況の場合、 + apt-get は処理を中断します。 + 設定項目 - APT::Get::Assume-Yes + + + + + 更新パッケージ表示 - + 更新される全パッケージを一覧表示します。 + 設定項目 - APT::Get::Show-Upgraded + + + + + 更新・インストールするパッケージのヴァージョンを、 + すべて表示します。 + 設定項目 - APT::Get::Show-Versions + + + + + + ソースパッケージをダウンロード後、コンパイルします。 + 設定項目 - APT::Get::Compile + + + + + 保留パッケージの無視 - パッケージの保留指示を無視して + apt-get を行います。 + dist-upgrade と共に、 + 大量のパッケージを保留の解除をするのに使用すると便利です。 + 設定項目 - APT::Ignore-Hold + + + + + パッケージ更新なし - install + と同時に使用すると、no-upgrade は、 + 指定したパッケージがすでにインストールしてある場合に更新を行いません。 + 設定項目 - APT::Get::Upgrade + + + + + 強制承諾 - + APT が何か損傷を与えかねない動作をしようとした場合でも、 + 確認の入力なしで実行してしまう危険なオプションです。 + よほどの状況でなければ、使用しない方がいいでしょう。 + force-yes は、あなたのシステムを破壊しかねません! + 設定項目 - APT::Get::force-yes + + + + + インストールするファイルを取得する代わりに、 + その URI を表示します。 + URI には、パス、対象ファイル名、ファイルサイズ、 + 予測される md5 ハッシュが含まれています。 + 出力したファイル名が、 + 常にリモートサイトのファイル名と一致するわけではない、 + ということに注意してください! + これは source コマンド、 + update コマンドでも動作します。 + update で使用したときには、 + MD5 やファイルサイズを含みません。 + このとき、圧縮ファイルの展開はユーザの責任において行ってください。 + 設定項目 - APT::Get::Print-URIs + + + + + 削除する際、「削除」ではなく「完全削除」を行います。 + 「完全削除」を行うと指示したパッケージ名の後には、 + アスタリスク ("*") が付きます。 + 設定項目 - APT::Get::Purge + + + + + すでに最新版がインストールされていても、 + パッケージを再インストールします。 + 設定項目 - APT::Get::ReInstall. + + + + + この機能はデフォルトで ON になっています。 + OFF にするには --no-list-cleanup としてください。 + ON の場合、 + apt-get は古くなったファイルを確実に消去するため、 + 自動的に &statedir;/lists の中身を管理します。 + これを OFF にするのは、取得元リストを頻繁に変更する時ぐらいでしょう。 + 設定項目 - APT::Get::List-Cleanup. + + + + + + + このオプションは、 + ポリシーエンジンへのデフォルト入力を制御します。 + これは、指定されたリリース文字列を使用し、 + デフォルト pin を優先度 990 で作成することです。 + 優先ファイルはこの設定を上書きします。 + 要するにこのオプションで、 + どの配布パッケージを取得するかを簡単に管理します。 + 一般的な例としては、 + や でしょう。 + 設定項目 - APT::Default-Release + &apt-preferences; のマニュアルページもご覧ください。 + + + + + + 「重要でない」操作のみを行います。 + これは論理的に の仲間と見なせます。 + は質問にすべて yes と答えますが、 + はすべて no と答えます。 + 設定項目 - APT::Get::Trivial-Only + + + + + パッケージが削除される状況になったとき、 + プロンプトを表示せず中断します。 + 設定項目 - APT::Get::Remove + + + + + source コマンドと + build-dep コマンドでのみ意味があります。 + 指定されたソース名がバイナリテーブルにマップされないようにします。 + これは、このオプションを指定すると、 + バイナリパッケージ名を受け付けて対応するソースパッケージを探すのではなく、 + 引数にソースパッケージ名しか受け付けなくなる、ということです。 + 設定項目 - APT::Get::Only-Source + + + + + ソースアーカイブの diff ファイルや + tar ファイルのダウンロードのみを行います。 + 設定項目 - APT::Get::Diff-Only, + APT::Get::Tar-Only + + + + + 構築依存関係の解決を、 + アーキテクチャに依存したもののみ行います。 + 設定項目 - APT::Get::Arch-Only + + + + + パッケージを確認できない場合に無視し、 + それについて質問しません。 + pbuilder のようなツールで便利です。 + 設定項目 - APT::Get::AllowUnauthenticated + + + + &apt-commonoptions; + + + + + + ファイル + + /etc/apt/sources.list + + パッケージの取得元。 + 設定項目 - Dir::Etc::SourceList + + + /etc/apt/apt.conf + + APT 設定ファイル。 + 設定項目 - Dir::Etc::Main + + + /etc/apt/apt.conf.d/ + + APT 設定ファイルの断片。 + 設定項目 - Dir::Etc::Parts + + + /etc/apt/preferences + + バージョン優先ファイル。 + ここに "pin" の設定を行います。 + つまり、別々の取得元や異なるディストリビューションのバージョンの、 + どこからパッケージを取得するかを設定します。 + 設定項目 - Dir::Etc::Preferences + + + &cachedir;/archives/ + + 取得済みパッケージファイル格納エリア。 + 設定項目 - Dir::Cache::Archives + + + &cachedir;/archives/partial/ + + 取得中パッケージファイル格納エリア。 + 設定項目 - Dir::Cache::Archives (必然的に不完全) + + + &statedir;/lists/ + + &sources-list; のパッケージリソース特有の状態情報格納エリア。 + 設定項目 - Dir::State::Lists + + + &statedir;/lists/partial/ + + 取得中の状態情報格納エリア。 + 設定項目 - Dir::State::Lists (必然的に不完全) + + + + + + 関連項目 + + &apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, + &apt-conf;, &apt-config;, + &docdir; の APT ユーザーズガイド, &apt-preferences;, APT Howto + + + + 診断メッセージ + + apt-get は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + &manbugs; + &translator; + + 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 @@ + + +%aptent; + +]> + + + &apt-docinfo; + + + apt-key + 8 + + + + + apt-key + + APT キー管理ユーティリティ + + + + + + apt-key + command/ + + + + + + 説明 + + + apt-key は、 + apt が パッケージを認証するのに使用するキーの一覧を管理するのに使用します。 + このキーで認証されたパッケージは、信頼するに足ると見なせるでしょう。 + + + + +コマンド + + add filename + + + + + 信頼キー一覧に新しいキーを追加します。 + このキーは filename から読み込みますが、 + filename を - とすると、 + 標準入力から読み込みます。 + + + + + + del keyid + + + + + 信頼キー一覧からキーを削除します。 + + + + + + + list + + + + + 信頼キーを一覧表示します。 + + + + + + + update + + + + + Debian アーカイブキーで、ローカルキーリングを更新し、 + もう有効でないキーをキーリングから削除します。 + + + + + + + + + + ファイル + + /etc/apt/trusted.gpg + + ローカル信頼キーのキーリング。 + 新しいキーはここに追加されます。 + + + /etc/apt/trustdb.gpg + + アーカイブキーのローカル信頼データベース + + + /usr/share/keyrings/debian-archive-keyring.gpg + + Debian アーカイブ信頼キーのキーリング + + + /usr/share/keyrings/debian-archive-removed-keys.gpg + + 削除された Debian アーカイブ信頼キーのキーリング + + + + + + + + + +関連項目 + +&apt-get;, &apt-secure; + + + + &manbugs; + &manauthor; + &translator; + + + diff --git a/doc/ja/apt-secure.ja.8.xml b/doc/ja/apt-secure.ja.8.xml new file mode 100644 index 000000000..33a829076 --- /dev/null +++ b/doc/ja/apt-secure.ja.8.xml @@ -0,0 +1,374 @@ + + +%aptent; + +]> + + + &apt-docinfo; + + + apt-secure + 8 + + + + + + + + + apt-secure + + APT アーカイブ認証サポート + + + + 説明 + + + バージョン 0.6 より、apt 全アーカイブに対する + Release ファイルの署名チェックコードが含まれています。 + Release ファイル署名キーにアクセスできない人が、 + アーカイブのパッケージの変更が確実にできないようにします。 + + + + + パッケージに署名されなかったり、apt が知らないキーで署名されていた場合、 + アーカイブから来たパッケージは、信頼されていないと見なし、 + インストールの際に重要な警告が表示されます。 + apt-get は、 + 現在未署名のパッケージに対して警告するだけですが、 + 将来のリリースでは、全ソースに対し、 + パッケージダウンロード前に強制的に検証される可能性があります。 + + + + + &apt-get;, &aptitude;, &synaptic; といったパッケージフロントエンドは、 + この新認証機能をサポートしています。 + + + + + 信頼済アーカイブ + + + + apt アーカイブからエンドユーザまでの信頼の輪は、 + いくつかのステップでo区政されています。 + apt-secure は、この輪の最後のステップで、 + アーカイブを信頼することは、 + パッケージに悪意のあるコードが含まれていないと信頼するわけではありませんが、 + アーカイブメンテナを信頼すると言うことです。 + これは、アーカイブの完全性を保証するのは、 + アーカイブメンテナの責任だということです。 + + + + apt-secure はパッケージレベルの署名検証は行いません。 + そのようなツールが必要な場合は、 + debsig-verify や debsign + (debsig-verify パッケージと devscripts パッケージでそれぞれ提供されています) + を確認してください。 + + + + Debian における信頼の輪は、 + 新しいパッケージやパッケージの新しいバージョンを、 + メンテナが Debian アーカイブにアップロードすることで始まります。 + これは、Debian メンテナキーリング (debian-keyring パッケージにあります) + にあるメンテナのキーで署名しなければ、アップロードできないということです。 + メンテナのキーは、キーの所有者のアイデンティティを確保するため、 + 以下のような事前に確立した手段で、他のメンテナに署名されています。 + + + + + アップロードされたパッケージごとに、検証してアーカイブに格納します。 + パッケージは、メンテナの署名をはがされ、 MD5 sum を計算されて、 + Packages ファイルに格納されます。 + その後、全パッケージファイルの MD5 sum を計算してから、 + Release ファイルに置きます。 + Release ファイルは、アーカイブキーで署名されます。 + アーカイブキーは年ごとに作成され、FTP サーバで配布されます。 + このキーも Debian キーリングに含まれます。 + + + + + エンドユーザは誰でも、Release ファイルの署名をチェックし、 + パッケージの MD5 sum を抽出して、ダウンロードしたパッケージの MD5 sum + と比較できます。 + バージョン 0.6 以前では、ダウンロードした Debian パッケージの MD5 sum しか、 + チェックしていませんでした。 + 現在では、MD5 sum と Release ファイルの署名の両方でチェックします。 + + + + 以上は、パッケージごとの署名チェックとは違うことに注意してください。 + 以下の用に考えられる 2 種類の攻撃を防ぐよう設計されています。 + + + + + ネットワーク中間者攻撃 + 署名をチェックしないと、 + 悪意あるエージェントがパッケージダウンロードプロセスに割り込んだり、 + ネットワーク構成要素 (ルータ、スイッチなど) の制御や、 + 悪漢サーバへのネットワークトラフィックのリダイレクトなど + (arp 経由や DNS スプーフィング攻撃) で、 + 悪意あるソフトウェアを掴まされたりします。 + + + ミラーネットワーク感染. + 署名をチェックしないと、悪意あるエージェントがミラーホストに感染し、 + このホストからダウンロードしたユーザすべてに、 + 悪意あるソフトウェアが伝播するようにファイルを変更できます。 + + + + しかしこれは、 + (パッケージに署名する) Debian マスターサーバ自体の感染や、 + Release ファイルに署名するのに使用したキーの感染を防げません。 + いずれにせよ、この機構はパッケージごとの署名を補完することができます。 + + + + ユーザの設定 + + + apt-key は、 + apt が使用するキーリストを管理するプログラムです。 + このリリースのインストールでは、Debian パッケージリポジトリで使用する、 + キーで署名する デフォルトの Debian アーカイブを提供しますが、 + apt-key でキーの追加・削除が行えます。 + + + + 新しいキーを追加するためには、まずキーをダウンロードする必要があります。 + (取得する際には、信頼できる通信チャネルを使用するよう、特に留意してください) + 取得したキーを、apt-key で追加し、 + apt-get update を実行してください。 + 以上により、apt は指定したアーカイブから、Release.gpg + ファイルをダウンロード・検証できるようになります。 + + + + +アーカイブの設定 + + + あなたがメンテナンスしているアーカイブで、アーカイブ署名を提供したい場合、 + 以下のようにしてください。 + + + + + 上位 Release ファイルの作成 + 既にこれが存在しているのでなければ、 + apt-ftparchive release (apt-utils で提供) + を実行して作成してください。 + + + 署名 + gpg -abs -o Release.gpg Release を実行して、 + 署名してください。 + + + キーの指紋を配布 + これにより、アーカイブ内のファイル認証に、 + どのキーをインポートする必要があるかを、 + ユーザに知らせることになります。 + + + + + アーカイブの内容に変化がある場合 (新しいパッケージの追加や削除)、 + アーカイブメンテナは前述の最初の 1, 2 ステップに従わなければなりません。 + + + + +関連項目 + +&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-archive;, +&debsign; &debsig-verify;, &gpg; + + + +詳細な背景情報を検証するのなら、 +the Securing Debian Manual (harden-doc パッケージにもあります) の +Debian +Security Infrastructure 章と、 +V. Alex Brennen による +Strong Distribution HOWTO をご覧ください。 + + + + &manbugs; + &manauthor; + + +マニュアルページ筆者 + + +このマニュアルページは Javier Fernández-Sanguino +Peña, Isaac Jones, Colin Walters, Florian Weimer, Michael Vogt +の作業を元にしています。 + + + + + &translator; + + + 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 @@ + + +%aptent; + +]> + + + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + + + apt-sortpkgs + 1 + + + + + apt-sortpkgs + + パッケージインデックスファイルのソートユーティリティ + + + + + + + apt-sortpkgs + + + + file + + + + + 説明 + + apt-sortpkgs は、インデックスファイル + (ソースインデックスやパッケージインデックス) からレコードをソートし、 + パッケージ名順に整えます。 + また、内部のソート規則に従って、内部フィールドについてもソートを行います。 + + + + 出力はすべて標準出力に送られ、入力は検索できるファイルでなければなりません。 + + + + オプション + &apt-cmdblurb; + + + + + + ソースインデックスフィールド順に並べ替え + 設定項目 - APT::SortPkgs::Source. + + + &apt-commonoptions; + + + + + + 関連項目 + &apt-conf; + + + + 診断メッセージ + apt-sortpkgs は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + &manbugs; + &translator; + + 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 @@ - - - -%aptent; - -]> - - - &apt-docinfo; - - - apt.conf - 5 - - - - - apt.conf - - APT ÀßÄê¥Õ¥¡¥¤¥ë - - - - ÀâÌÀ</> - <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 +--> + 説明 + + apt.conf は、 + APT ツール集のメイン設定ファイルです。 + この設定ファイルと共通のコマンドラインパーサを使って、 + すべてのツールを統一環境で使用できます。 + APT ツールの起動時には、APT_CONFIG 環境変数に指定した設定を + (存在すれば) 読み込みます。 + 次に Dir::Etc::Parts のファイルを読み込みます。 + 次に Dir::Etc::main で指定した主設定ファイルを読み込み、 + 最後にコマンドラインオプションで、 + 設定ファイルより取得した値を上書きします。 + + + 設定ファイルは、 + 機能グループごとに系統立てられたオプションを木構造で表します。 + オプションの内容は、2 つのコロンで区切ります。 + 例えば APT::Get::Assume-Yes は、 + APT ツールグループの、Get ツール用オプションです。 + オプションは、親グループから継承しません。 + + + 設定言語の文法は、 + bind や dhcp のような ISC ツールをモデルにしています。 + // で始まる行はコメントとして扱われます (無視)。 + いずれの行も、APT::Get::Assume-Yes "true"; の + ような形式です。 + 行末のセミコロンは必要ですが、ダブルクォートは使わなくてもかまいません。 + 以下のように中カッコを使うと、新しいスコープを開くことができます。 + + +APT { + Get { + Assume-Yes "true"; + Fix-Broken "true"; + }; +}; + + + + また適宜改行することで、より読みやすくなります。 + リストは、開いたスコープ、クォートで囲まれた単語、 + そしてセミコロンと続けることで作成できます。 + セミコロンで区切ることで、複数のエントリを表すことができます。 + + +DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; + + + + &docdir;examples/apt.conf &configureindex; + は一般的な設定ファイルのサンプルです。 + どのように設定するか参考になるでしょう。 + + + #include と #clear の + 2 つの特別な記法があります。 + #include は指定したファイルを取り込みます。 + ファイル名がスラッシュで終わった場合には、 + そのディレクトリをすべて取り込みます。 + #clear は名前のリストを削除するのに便利です。 + + + すべての APT ツールで、 + コマンドラインで任意の設定を行う -o オプションが使用できます。 + 文法は、完全なオプション名 (例: APT::Get::Assume-Yes)、 + 等号、続いてオプションの新しい値となります。 + リスト名に続き::を加えることで、リストを追加することができます。 + + + + APT グループ + + このオプショングループは、ツール全体に影響のある、 + 一般的な APT の振る舞いを制御します。 + + + Architecture + + システムアーキテクチャ - ファイルを取得したり、 + パッケージリストを解析するときに使用するアーキテクチャをセットします。 + 内部でのデフォルトは、 + apt をコンパイルしたアーキテクチャです。 + + + Ignore-Hold + + 保留パッケージの無視 - このグローバルオプションは、 + 問題解決器に保留と指定したパッケージを無視します。 + + + Clean-Installed + + デフォルトで有効です。autoclean 機能が on の時、 + ダウンロードできなくなったパッケージをキャッシュから削除します。 + off の場合、ローカルにインストールされているパッケージは、 + 削除対象から外します。 + しかし、 APT はキャッシュから削除したパッケージの再インストール方法を、 + 直接提供するわけではないことに注意してください。 + + + Immediate-Configure + + 即時設定無効 - この危険なオプションは、 + APT の要求コードを無効にして dpkg の呼び出しをほとんどしないようにします。 + これは、非常に遅いシングルユーザシステムでは必要かもしれませんが、 + 非常に危険で、パッケージのインストールスクリプトが失敗したり、 + もしくはもっと悪いことがおきるかもしれません。 + 自己責任で使用してください。 + + + Force-LoopBreak + + 何をしようとしているのか「本当に」判っているのでなければ、 + 絶対にこのオプションを有効にしないでください。 + 不可欠 (essential) パッケージ同士で、 + 競合 (Conflicts) /競合や競合/事前依存 (Pre-Depend) + のループに落ち込んだときに、 + 不可欠パッケージを一時的に削除してループを抜けられるようにします。 + そんなループはあり得ないはずで、 + あるとすれば重大なバグです。 + このオプションは、tar, gzip, libc, dpkg, bash とそれらが依存している + パッケージ以外の不可欠パッケージで動作します。 + + + Cache-Limit + + APT は「利用可能」情報を格納するために、 + 固定サイズのメモリマップキャッシュファイルを使用します。 + このオプションは、そのキャッシュサイズを指定します。 + + + Build-Essential + + 構築依存関係で不可欠なパッケージを定義します。 + + + Get + + サブセクション Get は &apt-get; ツールを制御します。 + このオプションの詳細は &apt-get; の文書を参照してください。 + + + Cache + + サブセクション Cache は &apt-cache; ツールを制御します。 + このオプションの詳細は &apt-cache; の文書を参照してください。 + + + CDROM + + サブセクション CDROM は &apt-cdrom; ツールを制御します。 + このオプションの詳細は &apt-cdrom; の文書を参照してください。 + + + + + + Acquire グループ + + Acquire オプショングループは、 + パッケージのダウンロードや URI ハンドラの制御を行います。 + + Queue-Mode + + キューモード - Queue-Mode は、 + APT がどのように並列接続を行うか、 + host か access で指定できます。 + host は、ターゲットホストごとに 1 接続を開きます。 + access は、 + URI タイプごとに 1 接続を開きます。 + + + Retries + + リトライの回数を設定します。 + 0 でない場合、APT は失敗したファイルに対して、 + 与えられた回数だけリトライを行います。 + + + Source-Symlinks + + ソースアーカイブのシンボリックリンクを使用します。 + true がセットされているとき、可能ならコピーの代わりにシンボリックリンクが + 張られます。true がデフォルトです。 + + + http + + HTTP URI - http::Proxy は、 + デフォルトで使用する http プロキシです。 + http://[[user][:pass]@]host[:port]/ + という標準形で表します。ホストごとのプロキシの場合は、 + http::Proxy::<host> という形と、 + プロキシを使用しないという意味の特殊キーワード DIRECT + を使用して指定することもできます。すべての設定は、 + 環境変数 http_proxy で上書きされます。 + + + HTTP/1.1 準拠のプロキシキャッシュの制御について、 + 3 種類の設定があります。No-Cache はプロキシに対して、 + いかなる時もキャッシュを使用しないと伝えます。 + Max-Age は、インデックスファイル用のときだけ送信し、 + 得られた時間よりも古かった場合に、 + オブジェクトをリフレッシュするようキャッシュに指示します。 + デフォルトでは 1 日となっているため、 + Debian は日毎にそのインデックスファイルを更新します。 + No-Store は、キャッシュがこのリクエストを格納せず、 + アーカイブファイルのみ設定するよう指定します。 + これは、非常に大きな .deb ファイルでプロキシキャッシュが汚れるのを、 + 防ぐのに便利かもしれません。 + 注) Squid 2.0.2 では、これらのオプションをサポートしていません。 + + + timeout オプションは、 + この方法でのタイムアウトまでの時間を設定します。 + これには、接続のタイムアウトとデータのタイムアウトが含まれています。 + + + リモートサーバが RFC 準拠でなかったり、 + (Squid 2.0.2 のように) バグがあったりしたときのために、 + パイプラインの深さの制御を設定します。 + Acquire::http::Pipeline-Depth により、 + APT が送信できるリクエストの回数を 0 から 5 の値で設定できます。 + リモートサーバが適切でなく、TCP 接続に時間がかかるときは、 + 必ず 0 の値を設定しなければなりません。 + そうでなければデータが破損してしまいます。 + これが必要なホストは RFC 2068 に違反しています。 + + + ftp + + FTP URI - ftp::Proxy は、デフォルトで使用するプロキシサーバです。 + ftp://[[user][:pass]@]host[:port]/ という標準形で表しますが、 + 環境変数 ftp_proxy で上書きされます。 + ftp プロキシを使用するには、設定ファイルに ftp::ProxyLogin + スクリプトを設定する必要があります。 + プロキシサーバに送信する接続コマンドを、このエントリに設定します。 + どのようにするのかは &configureindex; の例を参照してください。 + その他にも、$(PROXY_USER) + $(PROXY_PASS) $(SITE_USER) + $(SITE_PASS) $(SITE) + $(SITE_PORT) が利用可能です。 + いずれも、それぞれ URI を構成するトークンです。 + + + timeout オプションは、 + この方法でのタイムアウトまでの時間を設定します。 + これには、接続のタイムアウトとデータのタイムアウトが含まれています。 + + + 設定のいくつかは、パッシブモードを制御するものです。 + 一般的に、パッシブモードのままにしておく方が安全で、 + ほぼどんな環境でも動作します。 + しかしある状況下では、パッシブモードが無効のため、 + 代わりにポートモード ftp を使用する必要があります。 + この設定は、プロキシを通る接続や特定のホストへの接続全般に有効です。 + (設定例はサンプル設定ファイルを参照してください) + + + 環境変数 ftp_proxy の http url により + FTP over HTTP のプロキシが利用可能になります。 + 文法は上の http についての説明を参照してください。 + 設定ファイルの中でこれをセットすることはできません。 + また、効率が悪いため FTP over HTTP を使用するのは推奨しません。 + + + ForceExtended の設定は RFC2428 の + EPSV コマンドと EPRT + コマンドの使用を制御します。デフォルトでは false です。 + これは、コントロールコネクションが IPv6 の時にのみ、 + このコマンドを使用するということです。 + これを true にセットすると、IPv4 コネクションでも強制的に、 + このコマンドを使用します。 + 注) ほとんどの FTP サーバは RFC2428 をサポートしていません。 + + + cdrom + + CDROM URI - マウントポイントの設定のみを行います。 + /etc/fstab で設定されているように、 + CDROM ドライブのマウントポイントを + cdrom::Mount に設定しなければなりません。 + (SMB マウントや古い mount パッケージなど) マウントポイントが fstab + に記述できない場合、かわりにマウント・アンマウントコマンドも使用できます。 + 文法は、cdrom ブロックを + "/cdrom/"::Mount "foo"; の形で記述します。 + スラッシュを後につけるのは重要です。 + アンマウントコマンドは UMount で指定することができます。 + + + gpgv + + GPGV URI - GPGV URI 用の唯一のオプションは、 + gpgv に渡す追加パラメータのオプションです。 + gpgv::Options gpgv に渡す追加オプション。 + + + + + + + + + ディレクトリ + + + Dir::State セクションは、 + ローカル状態情報に関するディレクトリを保持します。 + lists は、 + ダウンロードしたパッケージ一覧を格納するディレクトリで、 + status は dpkg の状態ファイルの名前を表します。 + preferences は APT の 設定ファイルの名前です。 + Dir::State には、 + / や ./ で始まらない + 全サブアイテムに付加する、デフォルトディレクトリを含んでいます。 + + + Dir::Cache は、 + ローカルキャッシュ情報に関する場所を格納しています。これは、 + ダウンロード済アーカイブの場所を示す Dir::Cache::archives + と同様に、srcpkgcache と pkgcache + のパッケージキャッシュの場所となります。 + それぞれを空にセットすることで、キャッシュの生成を無効にできます。 + おそらく、srcpkgcache よりも pkgcache を無効にすることが多いと思います。 + Dir::State と同様、Dir::Cache + はデフォルトディレクトリを含んでいます。 + + + Dir::Etc は設定ファイルの場所を格納しています。 + sourcelist はソースリストの場所を示し、 + main はデフォルトの設定ファイルです。 + (APT_CONFIG で設定ファイルを指定された場合のみ、 + この設定の効果があります) + + + Dir::Parts 設定は、指定されたディレクトリから、 + 字句単位の全ての設定断片を読みこみます。 + これを設定した後に、メイン設定ファイルをロードします。 + + + バイナリプログラムは Dir::Bin で指定します。 + Dir::Bin::Methods はメソッドハンドラの場所を指定し、 + gzip, dpkg, + apt-get, dpkg-source, + dpkg-buildpackage, apt-cache + はそれぞれプログラムの場所を指定します。 + + + + DSelect での APT + + + &dselect; 上で APT を使用する際、 + DSelect セクション以下の設定項目で、 + デフォルトの動作を制御します。 + + Clean + + キャッシュクリーンモード - + この値は always, prompt, auto, pre-auto, never のうちひとつを取ります。 + always と prompt は更新後、全パッケージをキャッシュから削除します。 + (デフォルトの) prompt では条件付きで削除します。 + auto はダウンロード不能パッケージ (例えば新バージョンで置き換えられたもの) + を削除します。pre-auto はこの動作を、 + 新パッケージをダウンロードする直前に行います。 + + + options + + この変数の内容は、 + install 時のコマンドラインオプションと同様に &apt-get; に渡されます。 + + + Updateoptions + + この変数の内容は、 + update 時のコマンドラインオプションと同様に &apt-get; に渡されます。 + + + PromptAfterUpdate + + true の場合、 + &dselect; の [U]pdate 実行時に、続行のためのプロンプトを毎回表示します。 + デフォルトはエラーが発生した場合のみです。 + + + + + + APT が dpkg を呼ぶ方法 + + 数種の設定項目で APT がどのように &dpkg; を呼び出すかを制御できます。 + DPkg セクションにあります。 + + + options + + dpkg に渡すオプションのリストです。 + オプションは、リスト記法を使用して指定しなければなりません。 + また、各リストは単一の引数として &dpkg; に渡されます。 + + + Pre-InvokePost-Invoke + + &dpkg; を呼び出す前後で実行するシェルコマンドのリストです。 + options のようにリスト記法で指定しなければなりません。 + コマンドは /bin/sh を使用して呼び出され、 + 何か問題があれば、APT は異常終了します。 + + + Pre-Install-Pkgs + + &dpkg; を呼び出す前に実行するシェルコマンドのリストです。 + options のようにリスト記法で指定しなければなりません。 + コマンドは /bin/sh を通して呼び出され、 + 何か問題があれば、APT は異常終了します。 + APT はインストールしようとする全 .deb ファイルのファイル名を、 + ひとつずつコマンドの標準入力に送ります。 + + + このプロトコルのバージョン 2 では、(プロトコルのバージョンや + APT 設定スペース、パッケージを含む) 詳細情報やファイル、 + 変更されているバージョンを出力します。 + DPkg::Tools::options::cmd::Version に 2 を設定すると、 + バージョン 2 を有効にできます。 + cmd は Pre-Install-Pkgs + で与えられるコマンドです。 + + + Run-Directory + + APT は dpkg を呼び出す前にこのディレクトリに移動します。 + デフォルトは / です。 + + + Build-options + + これらのオプションは、 + パッケージのコンパイル時に &dpkg-buildpackage; に渡されます。 + デフォルトでは、署名を無効にし、全バイナリを生成します。 + + + + + + デバッグオプション + + debug の多くのオプションは、 + 普通のユーザにとって興味を引くものではありません。 + しかし Debug::pkgProblemResolver で、 + dist-upgrade の判断についての興味深い出力が得られます。 + Debug::NoLockingは、 + APT が非 root で操作できるようにファイルのロックを無効にしますし、 + Debug::pkgDPkgPMは、 + dpkg を呼ぶ際のコマンドラインを出力します。 + Debug::IdentCdrom は、 + CDROM ID の状態データの包含を無効にします。 + Debug::Acquire::gpgv gpgv 法のデバッグです。 + + + + + 例 + + &configureindex; に、全利用可能オプションのデフォルト値を参照できる、 + 設定ファイルのサンプルがあります。 + + + + ファイル + /etc/apt/apt.conf + + + + 関連項目 + &apt-cache;, &apt-config;, &apt-preferences;. + + + &manbugs; + &translator; + + + 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 @@ -&docdir;examples/configure-index.gz"> -/etc/apt.conf"> +&docdir;examples/configure-index.gz"> +/etc/apt.conf"> - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> + + apt.conf + 5 + " +> + + + apt-get + 8 + " +> + + + apt-config + 8 + " +> + + + apt-cdrom + 8 + " +> + + + apt-cache + 8 + " +> + + + apt_preferences + 5 + " +> + + + apt-key + 8 + " +> + + + apt-secure + 8 + " +> + + + apt-archive + 1 + " +> + + + + sources.list + 5 + " +> + + + reportbug + 1 + " +> + + + dpkg + 8 + " +> + + + dpkg-buildpackage + 1 + " +> + + + gzip + 1 + " +> + + + dpkg-scanpackages + 8 + " +> + + + dpkg-scansources + 8 + " +> + + + dselect + 8 + " +> + + + aptitude + 8 + " +> + + + synaptic + 8 + " +> + + + debsign + 1 + " +> + + + debsig-verify + 1 + " +> + + + gpg + 1 + " +> -
apt@packages.debian.org
- Jason Gunthorpe - 1998-2001 Jason Gunthorpe - 12 March 2001 - + +
apt@packages.debian.org
+ Jason Gunthorpe + 1998-2001 Jason Gunthorpe + 14 December 2003 + Linux + +
"> + + apt@packages.debian.org + +"> + + + Jason + Gunthorpe +
+"> + + + APT team + +"> + +Linux +"> + + + apt@packages.debian.org + +"> + + + Jason + Gunthorpe + +"> + + + APT team + +"> + + + Jason Gunthorpe + 1998-2001 + +"> + +Linux +"> + ¥Ð¥°</> - <para> - <ulink url='http://bugs.debian.org/apt'>APT ¥Ð¥°¥Ú¡¼¥¸</>¤ò - »²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ - APT ¤Î¥Ð¥°¤òÊó¹ð¤¹¤ë¾ì¹ç¤Ï¡¢ - <filename>/usr/share/doc/debian/bug-reporting.txt</> ¤ä - &reportbug; ¥³¥Þ¥ó¥É¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +<!-- + <refsect1><title>Bugs +--> + バグ + + APT バグページを + ご覧ください。 + APT のバグを報告する場合は、 + /usr/share/doc/debian/bug-reporting.txt や + &reportbug; コマンドをご覧ください。 + + "> Ãø¼Ô</> - <para> - APT ¤Ï the APT team <email>apt@packages.debian.org</> ¤Ë¤è¤Ã¤Æ½ñ¤«¤ì¤Þ¤·¤¿¡£ +<!-- + <refsect1><title>Author +--> + 著者 + + APT は the APT team apt@packages.debian.org によって + 書かれました。 - + "> - + ËÝÌõ¼Ô</> - <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>訳者 + 倉澤 望 nabetaro@debian.or.jp (2003-2006), + Debian JP Documentation ML debian-doc@debian.or.jp + + ">