1 <!-- -*- mode: sgml; mode: fold -*- -->
2 <!-- translation of version 1.9 -->
3 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
5 <!ENTITY % aptent SYSTEM "apt.ent.ja">
14 <refentrytitle>apt.conf</>
18 <!-- Man page title -->
22 <refpurpose>Configuration file for APT</>
24 <refpurpose>APT ÀßÄê¥Õ¥¡¥¤¥ë</>
28 <RefSect1><Title>Description</>
30 <RefSect1><Title>ÀâÌÀ</>
33 <filename/apt.conf/ is the main configuration file for the APT suite of
34 tools, all tools make use of the configuration file and a common command line
35 parser to provide a uniform environment. When an APT tool starts up it will
36 read the configuration specified by the <envar/APT_CONFIG/ environment
37 variable (if any) and then read the files in <literal/Dir::Etc::Parts/
38 then read the main configuration file specified by
39 <literal/Dir::Etc::main/ then finally apply the
40 command line options to override the configuration directives, possibly
41 loading even more config files.
43 <filename/apt.conf/ ¤Ï¡¢APT ¥Ä¡¼¥ë½¸¤Î¼çÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
44 ¤³¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤È¶¦Ä̤Υ³¥Þ¥ó¥É¥é¥¤¥ó¥Ñ¡¼¥µ¤ò»È¤Ã¤Æ¡¢
45 ¤¹¤Ù¤Æ¤Î¥Ä¡¼¥ë¤òÅý°ì´Ä¶¤Ç»ÈÍѤǤ¤Þ¤¹¡£
46 APT ¥Ä¡¼¥ë¤Îµ¯Æ°»þ¤Ë¤Ï¡¢<envar/APT_CONFIG/ ´Ä¶ÊÑ¿ô¤Ë»ØÄꤷ¤¿ÀßÄê¤ò
47 (¸ºß¤¹¤ì¤Ð) Æɤ߹þ¤ß¤Þ¤¹¡£
48 ¼¡¤Ë <literal/Dir::Etc::Parts/ ¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¤Þ¤¹¡£
49 ¤½¤Î¸å <literal/Dir::Etc::main/ ¤Ç»ØÄꤷ¤¿¼çÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¡¢
50 ºÇ¸å¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ç¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤è¤ê¼èÆÀ¤·¤¿Ãͤò¾å½ñ¤¤·¤Þ¤¹¡£
53 The configuration file is organized in a tree with options organized into
54 functional groups. Option specification is given with a double colon
55 notation, for instance <literal/APT::Get::Assume-Yes/ is an option within
56 the APT tool group, for the Get tool. Options do not inherit from their
59 ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢µ¡Ç½¥°¥ë¡¼¥×¤´¤È¤Ë·ÏÅýΩ¤Æ¤é¤ì¤¿¥ª¥×¥·¥ç¥ó¤ò¡¢
61 ¥ª¥×¥·¥ç¥ó¤ÎÆâÍƤϡ¢2 ¤Ä¤Î¥³¥í¥ó¤Ç¶èÀÚ¤ê¤Þ¤¹¡£
62 Î㤨¤Ð <literal/APT::Get::Assume-Yes/ ¤Ï¡¢APT ¥Ä¡¼¥ë¥°¥ë¡¼¥×¤Î¡¢Get ¥Ä¡¼¥ëÍÑ
63 ¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¡¢¿Æ¥°¥ë¡¼¥×¤«¤é·Ñ¾µ¤·¤Þ¤»¤ó¡£
66 Syntacticly the configuration language is modeled after what the ISC tools
67 such as bind and dhcp use. Each line is of the form
68 <literallayout>APT::Get::Assume-Yes "true";</literallayout> The trailing
69 semicolon is required and the quotes are optional. A new scope can be
70 opened with curly braces, like:
72 ÀßÄê¸À¸ì¤Îʸˡ¤Ï¡¢bind ¤ä dhcp ¤Î¤è¤¦¤Ê ISC ¥Ä¡¼¥ë¤ò¥â¥Ç¥ë¤Ë¤·¤Æ¤¤¤Þ¤¹¡£
73 ¤¤¤º¤ì¤Î¹Ô¤â¡¢<literallayout>APT::Get::Assume-Yes "true";</literallayout> ¤Î
74 ¤è¤¦¤Ê·Á¤Ç¡¢¥»¥ß¥³¥í¥ó¤Ç¶èÀÚ¤ê¤Þ¤¹¡£¤Þ¤¿°úÍѤϥª¥×¥·¥ç¥ó¤Ç¤¹¡£
75 °Ê²¼¤Î¤è¤¦¤ËÃ楫¥Ã¥³¤ò»È¤¦¤È¡¢¿·¤·¤¤¥¹¥³¡¼¥×¤ò³«¤¯¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
76 <informalexample><programlisting>
83 </programlisting></informalexample>
85 with newlines placed to make it more readable. Lists can be created by
86 opening a scope and including a single word enclosed in quotes followed by a
87 semicolon. Multiple entries can be included, each seperated by a semicolon.
89 ¤Þ¤¿¡¢Å¬µ¹²þ¹Ô¤¹¤ë¤³¤È¤Ç¡¢¤è¤êÆɤߤ䤹¤¯¤Ê¤ê¤Þ¤¹¡£
90 ¥ê¥¹¥È¤Ï¡¢³«¤¤¤¿¥¹¥³¡¼¥×¡¢¥¯¥©¡¼¥È¤Ç°Ï¤Þ¤ì¤¿Ã±¸ì¡¢
91 ¤½¤·¤Æ¥»¥ß¥³¥í¥ó¤È³¤±¤ë¤³¤È¤ÇºîÀ®¤Ç¤¤Þ¤¹¡£
92 ¥»¥ß¥³¥í¥ó¤Ç¶èÀڤ뤳¤È¤Ç¡¢Ê£¿ô¤Î¥¨¥ó¥È¥ê¤òɽ¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
93 <informalexample><programlisting>
94 DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
95 </programlisting></informalexample>
98 In general the sample configuration file in
99 <filename>&docdir;/examples/apt.conf</> &configureindex;
100 is a good guide for how it should look.
102 <filename>&docdir;/examples/apt.conf</> &configureindex; ¤Ï
103 °ìÈÌŪ¤ÊÀßÄê¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£¤É¤Î¤è¤¦¤ËÀßÄꤹ¤ë¤«»²¹Í¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£
106 Two specials are allowed, <literal/#include/ and <literal/#clear/.
107 <literal/#include/ will include the given file, unless the filename
108 ends in a slash, then the whole directory is included.
109 <literal/#clear/ is used to erase a list of names.
111 <literal/#include/ ¤È <literal/#clear/ ¤Î 2 ¤Ä¤ÎÆÃÊ̤ʵˡ¤¬¤¢¤ê¤Þ¤¹¡£
112 <literal/#include/ ¤Ï»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤ò¼è¤ê¹þ¤ß¤Þ¤¹¡£
113 ¥Õ¥¡¥¤¥ë̾¤¬¥¹¥é¥Ã¥·¥å¤Ç½ª¤ï¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¤¹¤Ù¤Æ
115 <literal/#clear/ ¤Ï̾Á°¤Î¥ê¥¹¥È¤òºï½ü¤¹¤ë¤Î¤ËÊØÍø¤Ç¤¹¡£
118 All of the APT tools take a -o option which allows an arbitary configuration
119 directive to be specified on the command line. The syntax is a full option
120 name (<literal/APT::Get::Assume-Yes/ for instance) followed by an equals
121 sign then the new value of the option. Lists can be appended too by adding
122 a trailing :: to the list name.
124 ¤¹¤Ù¤Æ¤Î APT ¥Ä¡¼¥ë¤Ç¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇǤ°Õ¤ÎÀßÄê¤ò¹Ô¤¦
125 -o ¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤǤ¤Þ¤¹¡£
126 ʸˡ¤Ï¡¢´°Á´¤Ê¥ª¥×¥·¥ç¥ó̾ (Îã¡¢<literal/APT::Get::Assume-Yes/)¡¢
127 Åù¹æ¡¢Â³¤¤¤Æ¥ª¥×¥·¥ç¥ó¤Î¿·¤·¤¤ÃͤȤʤê¤Þ¤¹¡£
128 ¥ê¥¹¥È̾¤Ë³¤::¤ò²Ã¤¨¤ë¤³¤È¤Ç¡¢¥ê¥¹¥È¤òÄɲ乤뤳¤È¤¬¤Ç¤¤Þ¤¹¡£
129 <!-- arbitary = Ǥ°Õ¤Î (ºÜ¤Ã¤Æ¤Ê¤«¤Ã¤¿¡£¤Þ¤·¤Ê¼½ñ¤¬Íߤ·¤¤) -->
133 <RefSect1><Title>The APT Group</>
135 <RefSect1><Title>APT ¥°¥ë¡¼¥×</>
138 This group of options controls general APT behavior as well as holding the
139 options for all of the tools.
141 ¤³¤Î¥ª¥×¥·¥ç¥ó¥°¥ë¡¼¥×¤Ï¡¢¥Ä¡¼¥ëÁ´ÂΤ˱ƶÁ¤Î¤¢¤ë¡¢°ìÈÌŪ¤Ê APT ¤Î¿¶¤ëÉñ¤¤¤ò
144 <VarListEntry><Term>Architecture</Term>
147 System Architecture; sets the architecture to use when fetching files and
148 parsing package lists. The internal default is the architecture apt was
151 ¥·¥¹¥Æ¥à¥¢¡¼¥¥Æ¥¯¥Á¥ã - ¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤·¤¿¤ê¡¢¥Ñ¥Ã¥±¡¼¥¸¥ê¥¹¥È¤ò
152 ²òÀϤ¹¤ë¤È¤¤Ë»ÈÍѤ¹¤ë¥¢¡¼¥¥Æ¥¯¥Á¥ã¤ò¥»¥Ã¥È¤·¤Þ¤¹¡£
153 ÆâÉô¤Ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢apt ¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤¿¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ç¤¹¡£
156 <VarListEntry><Term>Ignore-Hold</Term>
159 Ignore Held packages; This global option causes the problem resolver to
160 ignore held packages in its decision making.
162 ÊÝα¥Ñ¥Ã¥±¡¼¥¸¤Î̵»ë - ¤³¤Î¥°¥í¡¼¥Ð¥ë¥ª¥×¥·¥ç¥ó¤Ï¡¢ÌäÂê²ò·è´ï¤ËÊÝα¤È
163 »ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò̵»ë¤·¤Þ¤¹¡£
164 <!-- problem resolver ¤ÏÌäÂê²ò·è´ï¤Ç¤¤¤¤¤Î¤À¤í¤¦¤«¡© -->
167 <VarListEntry><Term>Clean-Installed</Term>
170 Defaults to on. When turned on the autoclean feature will remove any pacakges
171 which can no longer be downloaded from the cache. If turned off then
172 packages that are locally installed are also excluded from cleaning - but
173 note that APT provides no direct means to reinstall them.
175 ¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¥Ñ¥Ã¥±¡¼¥¸¤Îºï½ü -
176 ¥Ç¥Õ¥©¥ë¥È¤Ç͸ú¤Ç¤¹¡£autoclean µ¡Ç½¤¬ on ¤Î»þ¡¢¥À¥¦¥ó¥í¡¼¥É
177 ¤Ç¤¤Ê¤¯¤Ê¤Ã¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò¥¥ã¥Ã¥·¥å¤«¤éºï½ü¤·¤Þ¤¹¡£
178 off ¤Î¾ì¹ç¤Ï¡¢¥í¡¼¥«¥ë¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢
179 ºï½üÂоݤ«¤é³°¤·¤Þ¤¹¡£
180 Ãí) APT ¤Ï¡¢¥¥ã¥Ã¥·¥å¤«¤éºï½ü¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤ÎºÆ¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤ò¡¢
181 ľÀܤˤÏÄ󶡤·¤Þ¤»¤ó¡£
184 <VarListEntry><Term>Immediate-Configure</Term>
187 Disable Immedate Configuration; This dangerous option disables some
188 of APT's ordering code to cause it to make fewer dpkg calls. Doing
189 so may be necessary on some extremely slow single user systems but
190 is very dangerous and may cause package install scripts to fail or worse.
191 Use at your own risk.
193 ¨»þÀßÄê̵¸ú - ¤³¤Î´í¸±¤Ê¥ª¥×¥·¥ç¥ó¤Ï¡¢APT ¤ÎÍ׵ᥳ¡¼¥É¤ò̵¸ú¤Ë¤·¤Æ¡¢
194 dpkg ¤Î¸Æ¤Ó½Ð¤·¤ò¤Û¤È¤ó¤É¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£
195 ¤³¤ì¤Ï¡¢Èó¾ï¤ËÃÙ¤¤¥·¥ó¥°¥ë¥æ¡¼¥¶¥·¥¹¥Æ¥à¤Ç¤ÏɬÍפ«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢
196 Èó¾ï¤Ë´í¸±¤Ç¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¥¹¥¯¥ê¥×¥È¤¬¼ºÇÔ¤·¤¿¤ê¡¢
197 ¤â¤·¤¯¤Ï¤â¤Ã¤È°¤¤¤³¤È¤¬¤ª¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
198 ¼«¸ÊÀÕǤ¤Ç»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
199 <!-- Immedate ¤Ï Immediate ¤Î typo? -->
202 <VarListEntry><Term>Force-LoopBreak</Term>
205 Never Enable this option unless you -really- know what you are doing. It
206 permits APT to temporarily remove an essential package to break a
207 Conflicts/Conflicts or Conflicts/Pre-Depend loop between two essential
208 packages. SUCH A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option
209 will work if the essential packages are not tar, gzip, libc, dpkg, bash or
210 anything that those packages depend on.
212 ²¿¤ò¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤«¡ÖËÜÅö¤Ë¡×Ƚ¤Ã¤Æ¤¤¤ë¤Î¤Ç¤Ê¤±¤ì¤Ð¡¢
213 ÀäÂФˤ³¤Î¥ª¥×¥·¥ç¥ó¤ò͸ú¤Ë¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
214 ÉԲķç (essential) ¥Ñ¥Ã¥±¡¼¥¸¤Î´Ö¤Ç¡¢¶¥¹ç (Conflicts)/ ¶¥¹ç (Conflicts) ¤ä
215 ¶¥¹ç (Conflicts)/ »öÁ°É¬¿Ü (Pre-Depend) ¤Î¥ë¡¼¥×¤ËÍî¤Á¹þ¤ó¤À¤È¤¤Ë¡¢
216 ÉԲķç¥Ñ¥Ã¥±¡¼¥¸¤ò°ì»þŪ¤Ëºï½ü¤·¤Æ¡¢¥ë¡¼¥×¤òÈ´¤±¤ë»ö¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£
217 <emphasis>¤½¤ó¤Ê¥ë¡¼¥×¤Ï¤¢¤êÆÀ¤Ê¤¤¤Ï¤º¤Ç¡¢
218 ¤¢¤ë¤È¤¹¤ì¤Ð½ÅÂç¤Ê¥Ð¥°¤Ç¤¹¡£</emphasis>
219 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢tar, gzip, libc, dpkg, bash ¤È¤½¤ì¤é¤¬°Í¸¤·¤Æ¤¤¤ë
220 ¥Ñ¥Ã¥±¡¼¥¸°Ê³°¤ÎÉԲķç¥Ñ¥Ã¥±¡¼¥¸¤ÇÆ°ºî¤·¤Þ¤¹¡£
223 <VarListEntry><Term>Cache-Limit</Term>
226 APT uses a fixed size memory mapped cache file to store the 'available'
227 information. This sets the size of that cache.
229 APT ¤Ï¡¢¡ÖÍøÍѲÄǽ¡×¾ðÊó¤ò³ÊǼ¤¹¤ë¤¿¤á¤Ë¡¢¸ÇÄꥵ¥¤¥º¤Î
230 ¥á¥â¥ê¥Þ¥Ã¥×¥¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ·¤Þ¤¹¡£
231 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤½¤Î¥¥ã¥Ã¥·¥å¥µ¥¤¥º¤ò»ØÄꤷ¤Þ¤¹¡£
234 <VarListEntry><Term>Build-Essential</Term>
237 Defines which package(s) are considered essential build dependencies.
239 ¹½Ã۰͸´Ø·¸¤ÇÉԲķç¤Ê¥Ñ¥Ã¥±¡¼¥¸¤òÄêµÁ¤·¤Þ¤¹¡£
242 <VarListEntry><Term>Get</Term>
245 The Get subsection controls the &apt-get; tool, please see its
246 documentation for more information about the options here.
248 ¥µ¥Ö¥»¥¯¥·¥ç¥ó Get ¤Ï &apt-get; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£
249 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-get; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
252 <VarListEntry><Term>Cache</Term>
255 The Cache subsection controls the &apt-cache; tool, please see its
256 documentation for more information about the options here.
258 ¥µ¥Ö¥»¥¯¥·¥ç¥ó Cache ¤Ï &apt-cache; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£
259 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-cache; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
262 <VarListEntry><Term>CDROM</Term>
265 The CDROM subsection controls the &apt-cdrom; tool, please see its
266 documentation for more information about the options here.
268 ¥µ¥Ö¥»¥¯¥·¥ç¥ó CDROM ¤Ï &apt-cdrom; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£
269 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-cdrom; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
275 <RefSect1><Title>The Acquire Group</>
277 <RefSect1><Title>Acquire ¥°¥ë¡¼¥×</>
280 The <literal/Acquire/ group of options controls the download of packages
281 and the URI handlers.
283 <literal/Acquire/ ¥ª¥×¥·¥ç¥ó¥°¥ë¡¼¥×¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥À¥¦¥ó¥í¡¼¥É¤ä
284 URI ¥Ï¥ó¥É¥é¤ÎÀ©¸æ¤ò¹Ô¤¤¤Þ¤¹¡£
286 <VarListEntry><Term>Queue-Mode</Term>
289 Queuing mode; <literal/Queue-Mode/ can be one of <literal/host/ or
290 <literal/access/ which determines how APT parallelizes outgoing
291 connections. <literal/host/ means that one connection per target host
292 will be opened, <literal/access/ means that one connection per URI type
295 ¥¥å¡¼¥â¡¼¥É - <literal/Queue-Mode/ ¤ÏAPT¤¬¤É¤Î¤è¤¦¤ËÊÂÎóÀܳ¤ò¹Ô¤¦¤«¡¢
296 <literal/host/ ¤« <literal/access/ ¤Ç»ØÄê¤Ç¤¤Þ¤¹¡£
297 <literal/host/ ¤Ï¡¢¥¿¡¼¥²¥Ã¥È¥Û¥¹¥È¤´¤È¤Ë 1 Àܳ¤ò³«¤¤Þ¤¹¡£
298 <literal/access/ ¤Ï¡¢URI ¥¿¥¤¥×¤´¤È¤Ë 1 Àܳ¤ò³«¤¤Þ¤¹¡£
301 <VarListEntry><Term>Retries</Term>
304 Number of retries to perform. If this is non-zero APT will retry failed
305 files the given number of times.
307 ¥ê¥È¥é¥¤¤Î²ó¿ô¤òÀßÄꤷ¤Þ¤¹¡£0 ¤Ç¤Ê¤¤¾ì¹ç¡¢APT ¤Ï¼ºÇÔ¤·¤¿¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¡¢
308 Í¿¤¨¤é¤ì¤¿²ó¿ô¤À¤±¥ê¥È¥é¥¤¤ò¹Ô¤¤¤Þ¤¹¡£
311 <VarListEntry><Term>Source-Symlinks</Term>
314 Use symlinks for source archives. If set to true then source archives will
315 be symlinked when possible instead of copying. True is the default
317 ¥½¡¼¥¹¥¢¡¼¥«¥¤¥Ö¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò»ÈÍѤ·¤Þ¤¹¡£
318 true ¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¤È¤¡¢²Äǽ¤Ê¤é¥³¥Ô¡¼¤ÎÂå¤ï¤ê¤Ë¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤¬
319 Ä¥¤é¤ì¤Þ¤¹¡£true ¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£
322 <VarListEntry><Term>http</Term>
325 HTTP URIs; http::Proxy is the default http proxy to use. It is in the
326 standard form of <literal>http://[[user][:pass]@]host[:port]/</>. Per
327 host proxies can also be specified by using the form
328 <literal/http::Proxy::<host>/ with the special keyword <literal/DIRECT/
329 meaning to use no proxies. The <envar/http_proxy/ environment variable
330 will override all settings.
332 HTTP URI - http::Proxy ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤ¹¤ë http ¥×¥í¥¥·¤Ç¤¹¡£
333 <literal>http://[[user][:pass]@]host[:port]/</>¤È¤¤¤¦É¸½à·Á¤Çɽ¤·¤Þ¤¹¡£
334 ¥Û¥¹¥È¤´¤È¤Î¥×¥í¥¥·¤Î¾ì¹ç¤Ï¡¢<literal/http::Proxy::<host>/ ¤È¤¤¤¦
335 ·Á¤È¡¢¥×¥í¥¥·¤ò»ÈÍѤ·¤Ê¤¤¤È¤¤¤¦°ÕÌ£¤ÎÆü쥡¼¥ï¡¼¥É <literal/DIRECT/ ¤ò
336 »ÈÍѤ·¤Æ»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£
337 ¤¹¤Ù¤Æ¤ÎÀßÄê¤Ï¡¢´Ä¶ÊÑ¿ô <envar/http_proxy/ ¤Ç¾å½ñ¤¤µ¤ì¤Þ¤¹¡£
340 Three settings are provided for cache control with HTTP/1.1 complient
341 proxy caches. <literal/No-Cache/ tells the proxy to not use its cached
342 response under any circumstances, <literal/Max-Age/ is sent only for
343 index files and tells the cache to refresh its object if it is older than
344 the given number of seconds. Debian updates its index files daily so the
345 default is 1 day. <literal/No-Store/ specifies that the cache should never
346 store this request, it is only set for archive files. This may be useful
347 to prevent polluting a proxy cache with very large .deb files. Note:
348 Squid 2.0.2 does not support any of these options.
350 HTTP/1.1 ½àµò¤Î¥×¥í¥¥·¥¥ã¥Ã¥·¥å¤ÎÀ©¸æ¤Ë¤Ä¤¤¤Æ¡¢3 ¼ïÎà¤ÎÀßÄ꤬¤¢¤ê¤Þ¤¹¡£
351 <literal/No-Cache/ ¤Ï¥×¥í¥¥·¤ËÂФ·¤Æ¡¢¤¤¤«¤Ê¤ë»þ¤â¥¥ã¥Ã¥·¥å¤ò»ÈÍѤ·¤Ê¤¤
353 <literal/Max-Age/ ¤Ï¡¢¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ëÍѤΤȤ¤À¤±Á÷¿®¤·¡¢
354 ÆÀ¤é¤ì¤¿»þ´Ö¤è¤ê¤â¸Å¤«¤Ã¤¿¾ì¹ç¤Ë¡¢¥ª¥Ö¥¸¥§¥¯¥È¤ò¥ê¥Õ¥ì¥Ã¥·¥å¤¹¤ë¤è¤¦
355 ¥¥ã¥Ã¥·¥å¤Ë»Ø¼¨¤·¤Þ¤¹¡£
356 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1 Æü¤È¤Ê¤Ã¤Æ¤¤¤ë¤¿¤á¡¢Debian ¤ÏÆüËè¤Ë¤½¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹
357 ¥Õ¥¡¥¤¥ë¤ò¹¹¿·¤·¤Þ¤¹¡£
358 <literal/No-Store/ ¤Ï¡¢¥¥ã¥Ã¥·¥å¤¬¤³¤Î¥ê¥¯¥¨¥¹¥È¤ò³ÊǼ¤»¤º¡¢
359 ¥¢¡¼¥«¥¤¥Ö¥Õ¥¡¥¤¥ë¤Î¤ßÀßÄꤹ¤ë¤è¤¦»ØÄꤷ¤Þ¤¹¡£
360 ¤³¤ì¤Ï¡¢Èó¾ï¤ËÂ礤Ê.deb¥Õ¥¡¥¤¥ë¤Ç¥×¥í¥¥·¥¥ã¥Ã¥·¥å¤¬±ø¤ì¤ë¤Î¤ò¡¢
361 Ëɤ°¤Î¤ËÊØÍø¤«¤â¤·¤ì¤Þ¤»¤ó¡£
362 Ãí) Squid 2.0.2 ¤Ç¤Ï¡¢¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£
365 The option <literal/timeout/ sets the timeout timer used by the method,
366 this applies to all things including connection timeout and data timeout.
368 <literal/timeout/ ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³¤ÎÊýË¡¤Ç¤Î¥¿¥¤¥à¥¢¥¦¥È¤Þ¤Ç¤Î»þ´Ö¤ò
370 ¤³¤ì¤Ë¤Ï¡¢Àܳ¤Î¥¿¥¤¥à¥¢¥¦¥È¤È¥Ç¡¼¥¿¤Î¥¿¥¤¥à¥¢¥¦¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
373 One setting is provided to control the pipeline depth in cases where the
374 remote server is not RFC conforming or buggy (such as Squid 2.0.2)
375 <literal/Acquire::http::Pipeline-Depth/ can be a value from 0 to 5
376 indicating how many outstanding requests APT should send. A value of
377 zero MUST be specified if the remote host does not properly linger
378 on TCP connections - otherwise data corruption will occur. Hosts which
379 require this are in violation of RFC 2068.
381 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬ RFC ½àµò¤Ç¤Ê¤«¤Ã¤¿¤ê¡¢(Squid 2.0.2 ¤Î¤è¤¦¤Ë) ¥Ð¥°¤¬
382 ¤¢¤Ã¤¿¤ê¤·¤¿¤È¤¤Î¤¿¤á¤Ë¡¢¥Ñ¥¤¥×¥é¥¤¥ó¤Î¿¼¤µ¤ÎÀ©¸æ¤òÀßÄꤷ¤Þ¤¹¡£
383 <literal/Acquire::http::Pipeline-Depth/ ¤Ë¤è¤ê¡¢APT ¤¬Á÷¿®¤Ç¤¤ë
384 ¥ê¥¯¥¨¥¹¥È¤Î²ó¿ô¤ò 0 ¤«¤é 5 ¤ÎÃͤÇÀßÄê¤Ç¤¤Þ¤¹¡£
385 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬Å¬ÀڤǤʤ¯¡¢TCP Àܳ¤Ë»þ´Ö¤¬¤«¤«¤ë¤È¤¤Ï¡¢
386 <emphasis>ɬ¤º</emphasis>0¤ÎÃͤòÀßÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
387 ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢¥Ç¡¼¥¿¤¬ÇË»¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
388 ¤³¤ì¤¬É¬Íפʥۥ¹¥È¤Ï¡¢RFC 2068 ¤Ë°ãÈ¿¤·¤Æ¤¤¤Þ¤¹¡£
391 <VarListEntry><Term>ftp</Term>
394 FTP URIs; ftp::Proxy is the default proxy server to use. It is in the
395 standard form of <literal>ftp://[[user][:pass]@]host[:port]/</> and is
396 overriden by the <envar/ftp_proxy/ environment variable. To use a ftp
397 proxy you will have to set the <literal/ftp::ProxyLogin/ script in the
398 configuration file. This entry specifies the commands to send to tell
399 the proxy server what to connect to. Please see
400 &configureindex; for an example of
401 how to do this. The subsitution variables available are
402 <literal/$(PROXY_USER)/, <literal/$(PROXY_PASS)/, <literal/$(SITE_USER)/,
403 <literal/$(SITE_PASS)/, <literal/$(SITE)/, and <literal/$(SITE_PORT)/.
404 Each is taken from it's respective URI component.
406 FTP URI - ftp::Proxy ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤ¹¤ë¥×¥í¥¥·¥µ¡¼¥Ð¤Ç¤¹¡£
407 <literal>ftp://[[user][:pass]@]host[:port]/</> ¤È¤¤¤¦É¸½à·Á¤Çɽ¤·¤Þ¤¹¤¬¡¢
408 ´Ä¶ÊÑ¿ô <envar/ftp_proxy/ ¤Ç¾å½ñ¤¤µ¤ì¤Þ¤¹¡£
409 ftp ¥×¥í¥¥·¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Ë <literal/ftp::ProxyLogin/
410 ¥¹¥¯¥ê¥×¥È¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
411 ¥×¥í¥¥·¥µ¡¼¥Ð¤ËÁ÷¿®¤¹¤ëÀܳ¥³¥Þ¥ó¥É¤ò¡¢¤³¤Î¥¨¥ó¥È¥ê¤ËÀßÄꤷ¤Þ¤¹¡£
412 ¤É¤Î¤è¤¦¤Ë¤¹¤ë¤Î¤«¤Ï &configureindex; ¤ÎÎã¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
413 ¤½¤Î¾¤Ë¤â¡¢<literal/$(PROXY_USER)/, <literal/$(PROXY_PASS)/,
414 <literal/$(SITE_USER)/, <literal/$(SITE_PASS)/, <literal/$(SITE)/,
415 <literal/$(SITE_PORT)/ ¤¬ÍøÍѲÄǽ¤Ç¤¹¡£
416 ¤¤¤º¤ì¤â¡¢¤½¤ì¤¾¤ì URI ¤ò¹½À®¤¹¤ë¥È¡¼¥¯¥ó¤Ç¤¹¡£
419 The option <literal/timeout/ sets the timeout timer used by the method,
420 this applies to all things including connection timeout and data timeout.
422 <literal/timeout/ ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³¤ÎÊýË¡¤Ç¤Î¥¿¥¤¥à¥¢¥¦¥È¤Þ¤Ç¤Î»þ´Ö¤ò
424 ¤³¤ì¤Ë¤Ï¡¢Àܳ¤Î¥¿¥¤¥à¥¢¥¦¥È¤È¥Ç¡¼¥¿¤Î¥¿¥¤¥à¥¢¥¦¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
427 Several settings are provided to control passive mode. Generally it is
428 safe to leave passive mode on, it works in nearly every environment.
429 However some situations require that passive mode be disabled and port
430 mode ftp used instead. This can be done globally, for connections that
431 go through a proxy or for a specific host (See the sample config file
434 ÀßÄê¤Î¤¤¤¯¤Ä¤«¤Ï¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤òÀ©¸æ¤¹¤ë¤â¤Î¤Ç¤¹¡£
435 °ìÈÌŪ¤Ë¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤Î¤Þ¤Þ¤Ë¤·¤Æ¤ª¤¯Êý¤¬°ÂÁ´¤Ç¡¢
436 ¤Û¤Ü¤É¤ó¤Ê´Ä¶¤Ç¤âÆ°ºî¤·¤Þ¤¹¡£
437 ¤·¤«¤·¤¢¤ë¾õ¶·²¼¤Ç¤Ï¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤¬Ìµ¸ú¤Î¤¿¤á¡¢
438 Âå¤ï¤ê¤Ë¥Ý¡¼¥È¥â¡¼¥É ftp ¤ò»ÈÍѤ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
439 ¤³¤ÎÀßÄê¤Ï¡¢¥×¥í¥¥·¤òÄ̤ëÀܳ¤äÆÃÄê¤Î¥Û¥¹¥È¤Ø¤ÎÀܳÁ´È̤Ë͸ú¤Ç¤¹¡£
440 (ÀßÄêÎã¤Ï¥µ¥ó¥×¥ëÀßÄê¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤)
443 It is possible to proxy FTP over HTTP by setting the <envar/ftp_proxy/
444 environment variable to a http url - see the discussion of the http method
445 above for syntax. You cannot set this in the configuration file and it is
446 not recommended to use FTP over HTTP due to its low efficiency.
448 ´Ä¶ÊÑ¿ô <envar/ftp_proxy/ ¤Î http url ¤Ë¤è¤ê FTP over HTTP ¤Î¥×¥í¥¥·¤¬
449 ÍøÍѲÄǽ¤Ë¤Ê¤ê¤Þ¤¹¡£Ê¸Ë¡¤Ï¾å¤Î http ¤Ë¤Ä¤¤¤Æ¤ÎÀâÌÀ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
450 ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ç¤³¤ì¤ò¥»¥Ã¥È¤¹¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£
451 ¤Þ¤¿¡¢¸úΨ¤¬°¤¤¤¿¤á FTP over HTTP ¤ò»ÈÍѤ¹¤ë¤Î¤Ï¿ä¾©¤·¤Þ¤»¤ó¡£
454 The setting <literal/ForceExtended/ controls the use of RFC2428
455 <literal/EPSV/ and <literal/EPRT/ commands. The defaut is false, which means
456 these commands are only used if the control connection is IPv6. Setting this
457 to true forces their use even on IPv4 connections. Note that most FTP servers
458 do not support RFC2428.
460 <literal/ForceExtended/ ¤ÎÀßÄê¤Ï RFC2428 ¤Î <literal/EPSV/ ¤È
461 <literal/EPRT/ ¥³¥Þ¥ó¥É¤Î»ÈÍѤòÀ©¸æ¤·¤Þ¤¹¡£
462 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï false ¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥³¥ó¥È¥í¡¼¥ë¥³¥Í¥¯¥·¥ç¥ó¤¬ IPv6
463 ¤Î»þ¤Ë¤Î¤ß¡¢¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£
464 ¤³¤ì¤ò true ¤Ë¥»¥Ã¥È¤¹¤ë¤È¡¢IPv4 ¥³¥Í¥¯¥·¥ç¥ó¤Ç¤â¶¯À©Åª¤Ë¡¢
465 ¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£
466 Ãí) ¤Û¤È¤ó¤É¤Î FTP ¥µ¡¼¥Ð¤Ï RFC2428 ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£
469 <VarListEntry><Term>cdrom</Term>
472 CDROM URIs; the only setting for CDROM URIs is the mount point,
473 <literal/cdrom::Mount/ which must be the mount point for the CDROM drive
474 as specified in <filename>/etc/fstab</>. It is possible to provide
475 alternate mount and unmount commands if your mount point cannot be listed
476 in the fstab (such as an SMB mount and old mount packages). The syntax
477 is to put <literallayout>"/cdrom/"::Mount "foo";</literallayout> within
478 the cdrom block. It is important to have the trailing slash. Unmount
479 commands can be specified using UMount.
481 CDROM URI - ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤ÎÀßÄê¤Î¤ß¤ò¹Ô¤¤¤Þ¤¹¡£
482 <filename>/etc/fstab</> ¤ÇÀßÄꤵ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢CDROM ¥É¥é¥¤¥Ö¤Î
483 ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤ò <literal/cdrom::Mount/ ¤ËÀßÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
484 (SMB ¥Þ¥¦¥ó¥È¤ä¸Å¤¤ mount ¥Ñ¥Ã¥±¡¼¥¸¤Ê¤É) ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤¬ fstab ¤Ë
485 µ½Ò¤Ç¤¤Ê¤¤¾ì¹ç¡¢¤«¤ï¤ê¤Ë¥Þ¥¦¥ó¥È¡¦¥¢¥ó¥Þ¥¦¥ó¥È¥³¥Þ¥ó¥É¤â»ÈÍѤǤ¤Þ¤¹¡£
486 ʸˡ¤Ï¡¢cdrom ¥Ö¥í¥Ã¥¯¤ò
487 <literallayout>"/cdrom/"::Mount "foo";</literallayout> ¤Î·Á¤Çµ½Ò¤·¤Þ¤¹¡£
488 ¥¹¥é¥Ã¥·¥å¤ò¸å¤Ë¤Ä¤±¤ë¤Î¤Ï½ÅÍפǤ¹¡£
489 ¥¢¥ó¥Þ¥¦¥ó¥È¥³¥Þ¥ó¥É¤Ï UMount ¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
495 <RefSect1><Title>Directories</>
497 <RefSect1><Title>¥Ç¥£¥ì¥¯¥È¥ê</>
500 The <literal/Dir::State/ section has directories that pertain to local
501 state information. <literal/lists/ is the directory to place downloaded
502 package lists in and <literal/status/ is the name of the dpkg status file.
503 <literal/preferences/ is the name of the APT preferences file.
504 <literal/Dir::State/ contains the default directory to prefix on all sub
505 items if they do not start with <filename>/</> or <filename>./</>.
507 <literal/Dir::State/ ¥»¥¯¥·¥ç¥ó¤Ï¡¢¥í¡¼¥«¥ë¾õÂÖ¾ðÊó¤Ë´Ø¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò
509 <literal/lists/ ¤Ï¡¢¥À¥¦¥ó¥í¡¼¥É¤·¤¿¥Ñ¥Ã¥±¡¼¥¸°ìÍ÷¤ò³ÊǼ¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ç¡¢
510 <literal/status/ ¤Ï dpkg ¤Î¾õÂÖ¥Õ¥¡¥¤¥ë¤Î̾Á°¤òɽ¤·¤Þ¤¹¡£
511 <literal/preferences/ ¤Ï APT ¤Î ÀßÄê¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ç¤¹¡£
512 <literal/Dir::State/ ¤Ë¤Ï¡¢<filename>/</> ¤ä <filename>./</>¤Ç»Ï¤Þ¤é¤Ê¤¤
513 Á´¥µ¥Ö¥¢¥¤¥Æ¥à¤ËÉղ乤롢¥Ç¥Õ¥©¥ë¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£
516 <literal/Dir::Cache/ contains locations pertaining to local cache
517 information, such as the two package caches <literal/srcpkgcache/ and
518 <literal/pkgcache/ as well as the location to place downloaded archives,
519 <literal/Dir::Cache::archives/. Generation of caches can be turned off
520 by setting their names to be blank. This will slow down startup but
521 save disk space. It is probably prefered to turn off the pkgcache rather
522 than the srcpkgcache. Like <literal/Dir::State/ the default
523 directory is contained in <literal/Dir::Cache/
525 <literal/Dir::Cache/ ¤Ï¥í¡¼¥«¥ë¥¥ã¥Ã¥·¥å¾ðÊó¤Ë´Ø¤¹¤ë¾ì½ê¤ò³ÊǼ¤·¤Æ¤¤¤Þ¤¹¡£
526 ¤³¤ì¤Ï¡¢¥À¥¦¥ó¥í¡¼¥ÉºÑ¥¢¡¼¥«¥¤¥Ö¤Î¾ì½ê¤ò¼¨¤¹ <literal/Dir::Cache::archives/
527 ¤ÈƱÍÍ¡¢<literal/srcpkgcache/ ¤È <literal/pkgcache/ ¤Î¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤Î
529 ¤½¤ì¤¾¤ì¤ò¶õ¤Ë¥»¥Ã¥È¤¹¤ë¤³¤È¤Ç¡¢¥¥ã¥Ã¥·¥å¤ÎÀ¸À®¤ò̵¸ú¤Ë¤Ç¤¤Þ¤¹¡£
530 ¤³¤ì¤Ïµ¯Æ°¤¬ÃÙ¤¯¤Ê¤ê¤Þ¤¹¤¬¡¢¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤ÎÀáÌó¤Ë¤Ê¤ê¤Þ¤¹¡£
531 ¤ª¤½¤é¤¯¡¢srcpkgcache ¤è¤ê¤â pkgcache ¤ò̵¸ú¤Ë¤¹¤ë¤³¤È¤¬¡¢
533 <literal/Dir::State/ ¤ÈƱÍÍ¡¢<literal/Dir::Cache/ ¤Ï
534 ¥Ç¥Õ¥©¥ë¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£
537 <literal/Dir::Etc/ contains the location of configuration files,
538 <literal/sourcelist/ gives the location of the sourcelist and
539 <literal/main/ is the default configuration file (setting has no effect,
540 unless it is done from the config file specified by
543 <literal/Dir::Etc/ ¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤ò³ÊǼ¤·¤Æ¤¤¤Þ¤¹¡£
544 <literal/sourcelist/ ¤Ï¥½¡¼¥¹¥ê¥¹¥È¤Î¾ì½ê¤ò¼¨¤·¡¢
545 <literal/main/ ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
546 (<envar/APT_CONFIG/ ¤ÇÀßÄê¥Õ¥¡¥¤¥ë¤ò»ØÄꤵ¤ì¤¿¾ì¹ç¤Î¤ß¡¢
547 ¤³¤ÎÀßÄê¤Î¸ú²Ì¤¬¤¢¤ê¤Þ¤¹)
550 The <literal/Dir::Parts/ setting reads in all the config fragments in
551 lexical order from the directory specified. After this is done then the
552 main config file is loaded.
554 <literal/Dir::Parts/ ÀßÄê¤Ï¡¢»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¡¢
555 »ú¶çñ°Ì¤ÎÁ´¤Æ¤ÎÀßÄêÃÇÊÒ¤òÆɤߤ³¤ß¤Þ¤¹¡£
556 ¤³¤ì¤òÀßÄꤷ¤¿¸å¤Ë¡¢¥á¥¤¥óÀßÄê¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥É¤·¤Þ¤¹¡£
559 Binary programs are pointed to by <literal/Dir::Bin/. <literal/methods/
560 specifies the location of the method handlers and <literal/gzip/,
561 <literal/dpkg/, <literal/apt-get/, <literal/dpkg-source/,
562 <literal/dpkg-buildpackage/ and <literal/apt-cache/ specify the location
563 of the respective programs.
565 ¥Ð¥¤¥Ê¥ê¥×¥í¥°¥é¥à¤Ï <literal/Dir::Bin/ ¤Ç»ØÄꤷ¤Þ¤¹¡£
566 <literal/methods/ ¤Ï¥á¥½¥Ã¥É¥Ï¥ó¥É¥é¤Î¾ì½ê¤ò»ØÄꤷ¡¢
567 <literal/gzip/, <literal/dpkg/, <literal/apt-get/, <literal/dpkg-source/,
568 <literal/dpkg-buildpackage/, <literal/apt-cache/ ¤Ï¤½¤ì¤¾¤ì
569 ¥×¥í¥°¥é¥à¤Î¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£
573 <RefSect1><Title>APT in DSelect</>
575 <RefSect1><Title>DSelect ¤Ç¤Î APT</>
578 When APT is used as a &dselect; method several configuration directives
579 control the default behaviour. These are in the <literal/DSelect/ section.
581 &dselect; ¾å¤Ç APT ¤ò»ÈÍѤ¹¤ëºÝ¡¢<literal/DSelect/ ¥»¥¯¥·¥ç¥ó°Ê²¼¤Î
582 ÀßÄê¹àÌܤǡ¢¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤òÀ©¸æ¤·¤Þ¤¹¡£
584 <VarListEntry><Term>Clean</Term>
587 Cache Clean mode; this value may be one of always, prompt, auto,
588 pre-auto and never. always and prompt will remove all packages from
589 the cache after upgrading, prompt (the default) does so conditionally.
590 auto removes only those packages which are no longer downloadable
591 (replaced with a new version for instance). pre-auto performs this
592 action before downloading new packages.
594 ¥¥ã¥Ã¥·¥å¥¯¥ê¡¼¥ó¥â¡¼¥É - ¤³¤ÎÃÍ¤Ï always, prompt, auto, pre-auto never
595 ¤Î¤¦¤Á¡¢¤Ò¤È¤Ä¤ò¼è¤ê¤Þ¤¹¡£
596 always ¤È prompt ¤Ï¹¹¿·¸å¡¢Á´¥Ñ¥Ã¥±¡¼¥¸¤ò¥¥ã¥Ã¥·¥å¤«¤éºï½ü¤·¤Þ¤¹¡£
597 (¥Ç¥Õ¥©¥ë¥È¤Î) prompt ¤Ç¤Ï¾ò·ïÉÕ¤¤Çºï½ü¤·¤Þ¤¹¡£
598 auto ¤Ï¥À¥¦¥ó¥í¡¼¥ÉÉÔǽ¥Ñ¥Ã¥±¡¼¥¸ (Î㤨¤Ð¿·¥Ð¡¼¥¸¥ç¥ó¤ÇÃÖ¤´¹¤¨¤é¤ì¤¿¤â¤Î)
600 pre-auto ¤Ï¤³¤ÎÆ°ºî¤ò¡¢¿·¥Ñ¥Ã¥±¡¼¥¸¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ëľÁ°¤Ë¹Ô¤¤¤Þ¤¹¡£
603 <VarListEntry><Term>Options</Term>
606 The contents of this variable is passed to &apt-get; as command line
607 options when it is run for the install phase.
609 ¤³¤ÎÊÑ¿ô¤ÎÆâÍƤϡ¢install »þ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ÈƱÍͤˡ¢
610 &apt-get; ¤ËÅϤµ¤ì¤Þ¤¹¡£
613 <VarListEntry><Term>UpdateOptions</Term>
616 The contents of this variable is passed to &apt-get; as command line
617 options when it is run for the update phase.
619 ¤³¤ÎÊÑ¿ô¤ÎÆâÍƤϡ¢update »þ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ÈƱÍͤˡ¢
620 &apt-get; ¤ËÅϤµ¤ì¤Þ¤¹¡£
623 <VarListEntry><Term>PromptAfterUpdate</Term>
626 If true the [U]pdate operation in &dselect; will always prompt to continue.
627 The default is to prompt only on error.
629 True ¤Î¾ì¹ç¡¢&dselect; ¤Î [U]pdate ¼Â¹Ô»þ¤Ë¡¢Â³¹Ô¤Î¤¿¤á¤Î¥×¥í¥ó¥×¥È¤ò
630 Ëè²óɽ¼¨¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¤Î¤ß¤Ç¤¹¡£
636 <RefSect1><Title>How APT calls dpkg</>
638 <RefSect1><Title>APT ¤¬ dpkg ¤ò¸Æ¤ÖÊýË¡</>
641 Several configuration directives control how APT invokes &dpkg;. These are
642 in the <literal/DPkg/ section.
644 ¿ô¼ï¤ÎÀßÄê¹àÌÜ¤Ç APT ¤¬¤É¤Î¤è¤¦¤Ë &dpkg; ¤ò¸Æ¤Ó½Ð¤¹¤«¤òÀ©¸æ¤Ç¤¤Þ¤¹¡£
645 <literal/DPkg/ ¥»¥¯¥·¥ç¥ó¤Ë¤¢¤ê¤Þ¤¹¡£
647 <VarListEntry><Term>Options</Term>
650 This is a list of options to pass to dpkg. The options must be specified
651 using the list notation and each list item is passed as a single argument
654 dpkg ¤ËÅϤ¹¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤Ç¤¹¡£
655 ¥ª¥×¥·¥ç¥ó¤Ï¡¢¥ê¥¹¥ÈµË¡¤ò»ÈÍѤ·¤Æ»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
656 ¤Þ¤¿¡¢³Æ¥ê¥¹¥È¤Ïñ°ì¤Î°ú¿ô¤È¤·¤Æ &dpkg; ¤ËÅϤµ¤ì¤Þ¤¹¡£
659 <VarListEntry><Term>Pre-Invoke</Term><Term>Post-Invoke</Term>
662 This is a list of shell commands to run before/after invoking &dpkg;.
663 Like <literal/Options/ this must be specified in list notation. The
664 commands are invoked in order using <filename>/bin/sh</>, should any
667 &dpkg; ¤ò¸Æ¤Ó½Ð¤¹Á°¸å¤Ç¼Â¹Ô¤¹¤ë¥·¥§¥ë¥³¥Þ¥ó¥É¤Î¥ê¥¹¥È¤Ç¤¹¡£
668 <literal/Options/ ¤Î¤è¤¦¤Ë¡¢¥ê¥¹¥ÈµË¡¤Ç»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
669 ¥³¥Þ¥ó¥É¤Ï <filename>/bin/sh</> ¤ò»ÈÍѤ·¤Æ¸Æ¤Ó½Ð¤µ¤ì¡¢
670 ²¿¤«ÌäÂ꤬¤¢¤ì¤Ð¡¢APT ¤Ï°Û¾ï½ªÎ»¤·¤Þ¤¹¡£
673 <VarListEntry><Term>Pre-Install-Pkgs</Term>
676 This is a list of shell commands to run before invoking dpkg. Like
677 <literal/Options/ this must be specified in list notation. The commands
678 are invoked in order using <filename>/bin/sh</>, should any fail APT
679 will abort. APT will pass to the commands on standard input the
680 filenames of all .deb files it is going to install, one per line.
682 &dpkg; ¤ò¸Æ¤Ó½Ð¤¹Á°¤Ë¼Â¹Ô¤¹¤ë¥·¥§¥ë¥³¥Þ¥ó¥É¤Î¥ê¥¹¥È¤Ç¤¹¡£
683 <literal/Options/ ¤Î¤è¤¦¤Ë¡¢¥ê¥¹¥ÈµË¡¤Ç»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
684 ¥³¥Þ¥ó¥É¤Ï <filename>/bin/sh</> ¤ò»ÈÍѤ·¤Æ¸Æ¤Ó½Ð¤µ¤ì¡¢
685 ²¿¤«ÌäÂ꤬¤¢¤ì¤Ð¡¢APT ¤Ï°Û¾ï½ªÎ»¤·¤Þ¤¹¡£
686 APT ¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤·¤è¤¦¤È¤¹¤ëÁ´ .deb ¥Õ¥¡¥¤¥ë¤Î¥Õ¥¡¥¤¥ë̾¤ò¡¢
687 ¤Ò¤È¤Ä¤º¤Ä¥³¥Þ¥ó¥É¤Îɸ½àÆþÎϤËÁ÷¤ê¤Þ¤¹¡£
690 Version 2 of this protocol dumps more information, including the
691 protocol version, the APT configuration space and the packages, files
692 and versions being changed. Version 2 is enabled by setting
693 <literal/DPkg::Tools::Options::cmd::Version/ to 2. <literal/cmd/ is a
694 command given to <literal/Pre-Install-Pkgs/.
696 ¤³¤Î¥×¥í¥È¥³¥ë¤Î¥Ð¡¼¥¸¥ç¥ó 2 ¤Ç¤Ï¡¢(¥×¥í¥È¥³¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¤ä
697 APT ÀßÄꥹ¥Ú¡¼¥¹¡¢¥Ñ¥Ã¥±¡¼¥¸¤ò´Þ¤à) ¾ÜºÙ¾ðÊó¤ä¥Õ¥¡¥¤¥ë¡¢
698 Êѹ¹¤µ¤ì¤Æ¤¤¤ë¥Ð¡¼¥¸¥ç¥ó¤ò½ÐÎϤ·¤Þ¤¹¡£
699 <literal/DPkg::Tools::Options::cmd::Version/ ¤Ë 2 ¤ò¥»¥Ã¥È¤¹¤ë¤È¡¢
700 ¥Ð¡¼¥¸¥ç¥ó 2 ¤ò͸ú¤Ë¤Ç¤¤Þ¤¹¡£
701 <literal/cmd/ ¤Ï <literal/Pre-Install-Pkgs/ ¤ÇÍ¿¤¨¤é¤ì¤ë¥³¥Þ¥ó¥É¤Ç¤¹¡£
704 <VarListEntry><Term>Run-Directory</Term>
707 APT chdirs to this directory before invoking dpkg, the default is
710 APT ¤Ï dpkg ¤ò¸Æ¤Ó½Ð¤¹Á°¤Ë¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¤Þ¤¹¡£
711 ¥Ç¥Õ¥©¥ë¥È¤Ï <filename>/</> ¤Ç¤¹¡£
714 <VarListEntry><Term>Build-Options</Term>
717 These options are passed to &dpkg-buildpackage; when compiling packages,
718 the default is to disable signing and produce all binaries.
720 ¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë &dpkg-buildpackage; ¤Ë
722 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢½ð̾¤ò̵¸ú¤Ë¤·¡¢Á´¥Ð¥¤¥Ê¥ê¤òÀ¸À®¤·¤Þ¤¹¡£
728 <RefSect1><Title>Debug Options</>
730 <RefSect1><Title>¥Ç¥Ð¥Ã¥°¥ª¥×¥·¥ç¥ó</>
733 Most of the options in the <literal/debug/ section are not interesting to
734 the normal user, however <literal/Debug::pkgProblemResolver/ shows
735 interesting output about the decisions dist-upgrade makes.
736 <literal/Debug::NoLocking/ disables file locking so APT can do some
737 operations as non-root and <literal/Debug::pkgDPkgPM/ will print out the
738 command line for each dpkg invokation. <literal/Debug::IdentCdrom/ will
739 disable the inclusion of statfs data in CDROM IDs.
741 <literal/debug/ ¤Î¿¤¯¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ÉáÄ̤Υ桼¥¶¤Ë¤È¤Ã¤Æ¶½Ì£¤ò°ú¤¯¤â¤Î¤Ç¤Ï
742 ¤¢¤ê¤Þ¤»¤ó¡£¤·¤«¤·¡¢<literal/Debug::pkgProblemResolver/ ¤Ç¡¢
743 dist-upgrade ¤ÎȽÃǤˤĤ¤¤Æ¤Î¶½Ì£¿¼¤¤½ÐÎϤ¬ÆÀ¤é¤ì¤Þ¤¹¡£
744 <literal/Debug::NoLocking/ ¤Ï¡¢APT ¤¬Èó root ¤ÇÁàºî¤Ç¤¤ë¤è¤¦¤Ë
745 ¥Õ¥¡¥¤¥ë¤Î¥í¥Ã¥¯¤ò̵¸ú¤Ë¤·¤Þ¤¹¤·¡¢ <literal/Debug::pkgDPkgPM/ ¤Ï¡¢
746 dpkg ¤ò¸Æ¤ÖºÝ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤ò½ÐÎϤ·¤Þ¤¹¡£
747 <literal/Debug::IdentCdrom/ ¤Ï¡¢CDROM ID ¤Î¾õÂ֥ǡ¼¥¿¤ÎÊñ´Þ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£
748 <!-- statfs ¤Ï status ¤Î typo? -->
752 <RefSect1><Title>Examples</>
754 <RefSect1><Title>Îã</>
757 &configureindex; contains a
758 sample configuration file showing the default values for all possible
761 &configureindex; ¤Ë¡¢Á´ÍøÍѲÄǽ¥ª¥×¥·¥ç¥ó¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò»²¾È¤Ç¤¤ë¡¢
762 ÀßÄê¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë¤¬¤¢¤ê¤Þ¤¹¡£
766 <RefSect1><Title>Files</>
768 <RefSect1><Title>¥Õ¥¡¥¤¥ë</>
770 <filename>/etc/apt/apt.conf</>
774 <RefSect1><Title>See Also</>
776 <RefSect1><Title>»²¾È</>
778 &apt-cache;, &apt-config;<!-- ? reading apt.conf -->, &apt-preferences;.