1 | <!-- -*- mode: sgml; mode: fold -*- --> |
---|
2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ |
---|
3 | |
---|
4 | <!ENTITY % aptent SYSTEM "apt.ent.ja"> |
---|
5 | %aptent; |
---|
6 | |
---|
7 | ]> |
---|
8 | |
---|
9 | <refentry> |
---|
10 | &apt-docinfo; |
---|
11 | |
---|
12 | <refmeta> |
---|
13 | <refentrytitle>apt.conf</refentrytitle> |
---|
14 | <manvolnum>5</manvolnum> |
---|
15 | </refmeta> |
---|
16 | |
---|
17 | <!-- Man page title --> |
---|
18 | <refnamediv> |
---|
19 | <refname>apt.conf</refname> |
---|
20 | <refpurpose>APT ÀßÄê¥Õ¥¡¥¤¥ë</refpurpose> |
---|
21 | </refnamediv> |
---|
22 | |
---|
23 | <RefSect1><Title>ÀâÌÀ</Title> |
---|
24 | <para> |
---|
25 | <filename>apt.conf</filename> ¤Ï¡¢APT ¥Ä¡¼¥ë½¸¤Î¥á¥¤¥óÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£ |
---|
26 | ¤³¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤È¶¦Ä̤Υ³¥Þ¥ó¥É¥é¥¤¥ó¥Ñ¡¼¥µ¤ò»È¤Ã¤Æ¡¢¤¹¤Ù¤Æ¤Î¥Ä¡¼¥ë¤òÅý°ì´Ä¶¤Ç»ÈÍѤǤ¤Þ¤¹¡£ |
---|
27 | APT ¥Ä¡¼¥ë¤Îµ¯Æ°»þ¤Ë¤Ï¡¢<envar>APT_CONFIG</envar> ´Ä¶ÊÑ¿ô¤Ë»ØÄꤷ¤¿ÀßÄê¤ò (¸ºß¤¹¤ì¤Ð) Æɤ߹þ¤ß¤Þ¤¹¡£ |
---|
28 | ¼¡¤Ë¡¢ÀßÄê¹àÌÜ <literal>Dir::Etc::parts</literal> ¤Ç»ØÄꤷ¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¤Þ¤¹¡£ |
---|
29 | ¼¡¤Ë¡¢ÀßÄê¹àÌÜ <literal>Dir::Etc::main</literal> ¤Ç»ØÄꤷ¤¿¼çÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¡¢ºÇ¸å¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ç¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤è¤ê¼èÆÀ¤·¤¿Ãͤò¾å½ñ¤¤·¤Þ¤¹¡£ |
---|
30 | </para> |
---|
31 | |
---|
32 | <para> |
---|
33 | ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢µ¡Ç½¥°¥ë¡¼¥×¤´¤È¤Ë·ÏÅýΩ¤Æ¤é¤ì¤¿¥ª¥×¥·¥ç¥ó¤òÌÚ¹½Â¤¤Çɽ¤·¤Þ¤¹¡£ |
---|
34 | ¥ª¥×¥·¥ç¥ó¤ÎÆâÍƤϡ¢2 ¤Ä¤Î¥³¥í¥ó¤Ç¶èÀÚ¤ê¤Þ¤¹¡£ |
---|
35 | Î㤨¤Ð <literal>APT::Get::Assume-Yes</literal> ¤Ï¡¢APT ¥Ä¡¼¥ë¥°¥ë¡¼¥×¤Î¡¢Get ¥Ä¡¼¥ëÍÑ¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£ |
---|
36 | ¥ª¥×¥·¥ç¥ó¤Ï¡¢¿Æ¥°¥ë¡¼¥×¤«¤é·Ñ¾µ¤·¤Þ¤»¤ó¡£ |
---|
37 | </para> |
---|
38 | <para> |
---|
39 | ÀßÄê¸À¸ì¤Îʸˡ¤Ï¡¢bind ¤ä dhcp ¤Î¤è¤¦¤Ê ISC ¥Ä¡¼¥ë¤ò¥â¥Ç¥ë¤Ë¤·¤Æ¤¤¤Þ¤¹¡£ |
---|
40 | <literal>//</literal> ¤Ç»Ï¤Þ¤ë¹Ô¤Ï¥³¥á¥ó¥È¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹(̵»ë¤µ¤ì¤Þ¤¹)¡£ |
---|
41 | ¤¤¤º¤ì¤Î¹Ô¤â¡¢<literallayout>APT::Get::Assume-Yes "true";</literallayout> ¤Î¤è¤¦¤Ê·Á¼°¤Ç¤¹¡£ |
---|
42 | ¹ÔËö¤Î¥»¥ß¥³¥í¥ó¤ÏɬÍפǤ¹¤¬¡¢¥À¥Ö¥ë¥¯¥©¡¼¥È¤Ï»È¤ï¤Ê¤¯¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£ |
---|
43 | °Ê²¼¤Î¤è¤¦¤ËÃ楫¥Ã¥³¤ò»È¤¦¤È¡¢¿·¤·¤¤¥¹¥³¡¼¥×¤ò³«¤¯¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ |
---|
44 | <informalexample><programlisting> |
---|
45 | APT { |
---|
46 | Get { |
---|
47 | Assume-Yes "true"; |
---|
48 | Fix-Broken "true"; |
---|
49 | }; |
---|
50 | }; |
---|
51 | </programlisting></informalexample> |
---|
52 | ¤Þ¤¿Å¬µ¹²þ¹Ô¤¹¤ë¤³¤È¤Ç¡¢¤è¤êÆɤߤ䤹¤¯¤Ê¤ê¤Þ¤¹¡£ |
---|
53 | ¥ê¥¹¥È¤Ï¡¢³«¤¤¤¿¥¹¥³¡¼¥×¡¢¥¯¥©¡¼¥È¤Ç°Ï¤Þ¤ì¤¿Ã±¸ì¡¢¤½¤·¤Æ¥»¥ß¥³¥í¥ó¤È³¤±¤ë¤³¤È¤ÇºîÀ®¤Ç¤¤Þ¤¹¡£ |
---|
54 | ¥»¥ß¥³¥í¥ó¤Ç¶èÀڤ뤳¤È¤Ç¡¢Ê£¿ô¤Î¥¨¥ó¥È¥ê¤òɽ¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ |
---|
55 | </para> |
---|
56 | |
---|
57 | <para> |
---|
58 | <filename>&docdir;examples/apt.conf</filename> &configureindex; ¤Ï°ìÈÌŪ¤ÊÀßÄê¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£ |
---|
59 | ¤É¤Î¤è¤¦¤ËÀßÄꤹ¤ë¤«»²¹Í¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£ |
---|
60 | </para> |
---|
61 | <para> |
---|
62 | <literal>#include</literal> ¤È <literal>#clear</literal> ¤Î 2¤Ä¤ÎÆÃÊ̤ʵˡ¤¬¤¢¤ê¤Þ¤¹¡£ |
---|
63 | <literal>#include</literal> ¤Ï»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤ò¼è¤ê¹þ¤ß¤Þ¤¹¡£ |
---|
64 | ¥Õ¥¡¥¤¥ë̾¤¬¥¹¥é¥Ã¥·¥å¤Ç½ª¤ï¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¤¹¤Ù¤Æ¼è¤ê¹þ¤ß¤Þ¤¹¡£ |
---|
65 | <literal>#clear</literal> ¤Ï̾Á°¤Î¥ê¥¹¥È¤òºï½ü¤¹¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£ |
---|
66 | </para> |
---|
67 | <para> |
---|
68 | ¤¹¤Ù¤Æ¤Î APT ¥Ä¡¼¥ë¤Ç¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇǤ°Õ¤ÎÀßÄê¤ò¹Ô¤¦ -o ¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤǤ¤Þ¤¹¡£ |
---|
69 | ʸˡ¤Ï¡¢ |
---|
70 | ´°Á´¤Ê¥ª¥×¥·¥ç¥ó̾ (Îã <literal>APT::Get::Assume-Yes</literal>)¡¢Åù¹æ¡¢Â³¤¤¤Æ¥ª¥×¥·¥ç¥ó¤Î¿·¤·¤¤ÃͤȤʤê¤Þ¤¹¡£ |
---|
71 | ¥ê¥¹¥È̾¤Ë³¤::¤ò²Ã¤¨¤ë¤³¤È¤Ç¡¢¥ê¥¹¥È¤òÄɲ乤뤳¤È¤¬¤Ç¤¤Þ¤¹¡£ |
---|
72 | </para> |
---|
73 | </RefSect1> |
---|
74 | |
---|
75 | <RefSect1><Title>APT ¥°¥ë¡¼¥×</Title> |
---|
76 | <para> |
---|
77 | ¤³¤Î¥ª¥×¥·¥ç¥ó¥°¥ë¡¼¥×¤Ï¡¢¥Ä¡¼¥ëÁ´ÂΤ˱ƶÁ¤Î¤¢¤ë¡¢°ìÈÌŪ¤Ê APT ¤Î¿¶¤ëÉñ¤¤¤òÀ©¸æ¤·¤Þ¤¹¡£ |
---|
78 | |
---|
79 | <VariableList> |
---|
80 | <VarListEntry><Term>Architecture</Term> |
---|
81 | <ListItem><Para> |
---|
82 | ¥·¥¹¥Æ¥à¤Î¥¢¡¼¥¥Æ¥¯¥Á¥ã; ¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤·¤¿¤ê¡¢¥Ñ¥Ã¥±¡¼¥¸¥ê¥¹¥È¤ò²òÀϤ¹¤ë¤È¤¤Ë»ÈÍѤ¹¤ë¥¢¡¼¥¥Æ¥¯¥Á¥ã¤ò¥»¥Ã¥È¤·¤Þ¤¹¡£ |
---|
83 | ÆâÉô¤Ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢apt ¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤¿¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ç¤¹¡£ |
---|
84 | </Para></ListItem> |
---|
85 | </VarListEntry> |
---|
86 | |
---|
87 | <VarListEntry><Term>Ignore-Hold</Term> |
---|
88 | <ListItem><Para> |
---|
89 | ÊÝα¥Ñ¥Ã¥±¡¼¥¸¤Î̵»ë; ¤³¤Î¥°¥í¡¼¥Ð¥ë¥ª¥×¥·¥ç¥ó¤Ï¡¢°Í¸¤Î²ò·è¤Ê¤É¤Î»þ¤Ë¡¢ÊÝα¤È»ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò̵»ë¤·¤Þ¤¹¡£ |
---|
90 | </Para></ListItem> |
---|
91 | </VarListEntry> |
---|
92 | |
---|
93 | <VarListEntry><Term>Clean-Installed</Term> |
---|
94 | <ListItem><Para> |
---|
95 | ¥Ç¥Õ¥©¥ë¥È¤Ç on ¤Ç¤¹¡£ |
---|
96 | autoclean µ¡Ç½¤¬ on ¤Î»þ¡¢¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Ê¤¯¤Ê¤Ã¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò¥¥ã¥Ã¥·¥å¤«¤éºï½ü¤·¤Þ¤¹¤¬¡¢Clean-Installed ¤¬ off ¤Î¾ì¹ç¡¢¥í¡¼¥«¥ë¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢ºï½üÂоݤ«¤é³°¤·¤Þ¤¹¡£ |
---|
97 | APT ¤Ï¥¥ã¥Ã¥·¥å¤«¤éºï½ü¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤ÎºÆ¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤ò¡¢Ä¾ÀÜÄ󶡤¹¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ |
---|
98 | </Para></ListItem> |
---|
99 | </VarListEntry> |
---|
100 | |
---|
101 | <VarListEntry><Term>Immediate-Configure</Term> |
---|
102 | <ListItem><Para> |
---|
103 | ¨»þÀßÄê̵¸ú; ¤³¤Î´í¸±¤Ê¥ª¥×¥·¥ç¥ó¤Ï¡¢APT ¤ÎÍ׵ᥳ¡¼¥É¤ò̵¸ú¤Ë¤·¤Æ rpm ¤Î¸Æ¤Ó½Ð¤·¤ò¤Û¤È¤ó¤É¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£ |
---|
104 | ¤³¤ì¤Ï¡¢Èó¾ï¤ËÃÙ¤¤¥·¥ó¥°¥ë¥æ¡¼¥¶¥·¥¹¥Æ¥à¤Ç¤ÏɬÍפ«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢Èó¾ï¤Ë´í¸±¤Ç¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¥¹¥¯¥ê¥×¥È¤¬¼ºÇÔ¤·¤¿¤ê¡¢¤â¤·¤¯¤Ï¤â¤Ã¤È°¤¤¤³¤È¤¬¤ª¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£¼«¸ÊÀÕǤ¤Ç»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ |
---|
105 | </Para></ListItem> |
---|
106 | </VarListEntry> |
---|
107 | |
---|
108 | <VarListEntry><Term>Force-LoopBreak</Term> |
---|
109 | <ListItem><Para> |
---|
110 | ²¿¤ò¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤«¡ÖËÜÅö¤Ë¡×Ƚ¤Ã¤Æ¤¤¤ë¤Î¤Ç¤Ê¤±¤ì¤Ð¡¢ÀäÂФˤ³¤Î¥ª¥×¥·¥ç¥ó¤ò͸ú¤Ë¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ |
---|
111 | ÉԲķç (essential) ¥Ñ¥Ã¥±¡¼¥¸Æ±»Î¤Ç¡¢¶¥¹ç (Conflicts) /¶¥¹ç¤ä¶¥¹ç/»öÁ°°Í¸ (Pre-Depend) ¤Î¥ë¡¼¥×¤ËÍî¤Á¹þ¤ó¤À¤È¤¤Ë¡¢ÉԲķç¥Ñ¥Ã¥±¡¼¥¸¤ò°ì»þŪ¤Ëºï½ü¤·¤Æ¥ë¡¼¥×¤òÈ´¤±¤é¤ì¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£ |
---|
112 | |
---|
113 | ¤½¤ó¤Ê¥ë¡¼¥×¤Ï¤¢¤êÆÀ¤Ê¤¤¤Ï¤º¤Ç¡¢¤¢¤ë¤È¤¹¤ì¤Ð½ÅÂç¤Ê¥Ð¥°¤Ç¤¹¡£ |
---|
114 | ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢gzip, glibc, rpm, bash Åù¤È¡¢¤½¤ì¤é¤¬°Í¸¤·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸°Ê³°¤ÎÉԲķç¥Ñ¥Ã¥±¡¼¥¸¤ÇÆ°ºî¤·¤Þ¤¹¡£ |
---|
115 | </Para></ListItem> |
---|
116 | </VarListEntry> |
---|
117 | |
---|
118 | <VarListEntry><Term>Cache-Limit</Term> |
---|
119 | <ListItem><Para> |
---|
120 | APT ¤Ï¡ÖÍøÍѲÄǽ¡×¾ðÊó¤ò³ÊǼ¤¹¤ë¤¿¤á¤Ë¡¢¸ÇÄꥵ¥¤¥º¤Î¥á¥â¥ê¥Þ¥Ã¥×¥¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ·¤Þ¤¹¡£ |
---|
121 | ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤½¤Î¥¥ã¥Ã¥·¥å¥µ¥¤¥º¤ò»ØÄꤷ¤Þ¤¹¡£ |
---|
122 | </Para></ListItem> |
---|
123 | </VarListEntry> |
---|
124 | |
---|
125 | <VarListEntry><Term>Build-Essential</Term> |
---|
126 | <ListItem><Para> |
---|
127 | ¹½Ã۰͸´Ø·¸¤ÇÉԲķç¤Ê¥Ñ¥Ã¥±¡¼¥¸¤òÄêµÁ¤·¤Þ¤¹¡£ |
---|
128 | </Para></ListItem> |
---|
129 | </VarListEntry> |
---|
130 | |
---|
131 | <VarListEntry><Term>Get</Term> |
---|
132 | <ListItem><Para> |
---|
133 | ¥µ¥Ö¥»¥¯¥·¥ç¥ó Get ¤Ï &apt-get; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£ |
---|
134 | ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-get; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ |
---|
135 | </Para></ListItem> |
---|
136 | </VarListEntry> |
---|
137 | |
---|
138 | <VarListEntry><Term>Cache</Term> |
---|
139 | <ListItem><Para> |
---|
140 | ¥µ¥Ö¥»¥¯¥·¥ç¥ó Cache ¤Ï &apt-cache; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£ |
---|
141 | ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-cache; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ |
---|
142 | </Para></ListItem> |
---|
143 | </VarListEntry> |
---|
144 | |
---|
145 | <VarListEntry><Term>CDROM</Term> |
---|
146 | <ListItem><Para> |
---|
147 | ¥µ¥Ö¥»¥¯¥·¥ç¥ó CDROM ¤Ï &apt-cdrom; ¥Ä¡¼¥ë¤òÀ©¸æ¤·¤Þ¤¹¡£ |
---|
148 | ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï &apt-cdrom; ¤Îʸ½ñ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ |
---|
149 | </Para></ListItem> |
---|
150 | </VarListEntry> |
---|
151 | </VariableList> |
---|
152 | </para> |
---|
153 | </RefSect1> |
---|
154 | |
---|
155 | |
---|
156 | <RefSect1><Title>RPM ¥°¥ë¡¼¥×</Title> |
---|
157 | <Para> |
---|
158 | <literal>RPM</literal> ¥ª¥×¥·¥ç¥ó¥°¥ë¡¼¥×¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î Hold ¤ÎÀßÄê¤Ê¤É¤ò¹Ô¤¤¤Þ¤¹¡£ |
---|
159 | |
---|
160 | <VariableList> |
---|
161 | <VarListEntry><Term>HOLD</Term> |
---|
162 | <ListItem><Para> |
---|
163 | ¥Û¡¼¥ë¥É; <literal>HOLD</literal> ¤Ï¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤·¤¿¤¯¤Ê¤¤¥Ñ¥Ã¥±¡¼¥¸¤òÀßÄꤷ¤Þ¤¹¡£ |
---|
164 | ¤³¤³¤Ë½ñ¤¤¤¿¥Ñ¥Ã¥±¡¼¥¸¤Ï <command>apt-get upgrade</command> ¤Ç¤Ï¥¢¥Ã¥×¥°¥ì¡¼¥É¤µ¤ì¤º¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¤Ë¤Ï <command>apt-get install <replaceable>¥Ñ¥Ã¥±¡¼¥¸Ì¾</replaceable></command> ¤Î¤è¤¦¤Ë¥Ñ¥Ã¥±¡¼¥¸Ì¾¤òÌÀ¼¨¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£</Para> |
---|
165 | <Para> |
---|
166 | ¥Ñ¥Ã¥±¡¼¥¸¤Î̾¾Î¤Ë¤ÏÀµµ¬É½¸½¤òÍøÍѤǤ¤Þ¤¹¡£ |
---|
167 | <informalexample><programlisting> |
---|
168 | RPM |
---|
169 | { |
---|
170 | HOLD {"^kernel-source$"; "^kernel-devel$"; }; |
---|
171 | } |
---|
172 | </programlisting></informalexample> |
---|
173 | </Para></ListItem> |
---|
174 | </VarListEntry> |
---|
175 | </VariableList> |
---|
176 | </Para> |
---|
177 | </RefSect1> |
---|
178 | |
---|
179 | <RefSect1><Title>Acquire ¥°¥ë¡¼¥×</Title> |
---|
180 | <para> |
---|
181 | <literal>Acquire</literal> ¥ª¥×¥·¥ç¥ó¥°¥ë¡¼¥×¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î¥À¥¦¥ó¥í¡¼¥É¤ä URI ¥Ï¥ó¥É¥é¤ÎÀ©¸æ¤ò¹Ô¤¤¤Þ¤¹¡£ |
---|
182 | |
---|
183 | <VariableList> |
---|
184 | <VarListEntry><Term>Queue-Mode</Term> |
---|
185 | <ListItem><Para> |
---|
186 | ¥¥å¡¼¥â¡¼¥É; <literal>Queue-Mode</literal> ¤Ï¡¢APT ¤¬¤É¤Î¤è¤¦¤ËÊÂÎóÀܳ¤ò¹Ô¤¦¤«¡¢<literal>host</literal> ¤« <literal>access</literal> ¤«¤Ç»ØÄê¤Ç¤¤Þ¤¹¡£ |
---|
187 | <literal>host</literal> ¤Ï¡¢¥¿¡¼¥²¥Ã¥È¥Û¥¹¥È¤´¤È¤Ë 1 Àܳ¤ò³«¤¤Þ¤¹¡£ |
---|
188 | <literal>access</literal> ¤Ï¡¢URI ¥¿¥¤¥×¤´¤È¤Ë 1 Àܳ¤ò³«¤¤Þ¤¹¡£ |
---|
189 | </Para></ListItem> |
---|
190 | </VarListEntry> |
---|
191 | |
---|
192 | <VarListEntry><Term>Retries</Term> |
---|
193 | <ListItem><Para> |
---|
194 | ¥ê¥È¥é¥¤¤Î²ó¿ô¤òÀßÄꤷ¤Þ¤¹¡£ |
---|
195 | 0 ¤Ç¤Ê¤¤¾ì¹ç¡¢APT ¤Ï¼ºÇÔ¤·¤¿¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¡¢Í¿¤¨¤é¤ì¤¿²ó¿ô¤À¤±¥ê¥È¥é¥¤¤ò¹Ô¤¤¤Þ¤¹¡£ |
---|
196 | </Para></ListItem> |
---|
197 | </VarListEntry> |
---|
198 | |
---|
199 | <VarListEntry><Term>Source-Symlinks</Term> |
---|
200 | <ListItem><Para> |
---|
201 | ¥½¡¼¥¹¥¢¡¼¥«¥¤¥Ö¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò»ÈÍѤ·¤Þ¤¹¡£ |
---|
202 | true ¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¤È¤¡¢²Äǽ¤Ê¤é¥³¥Ô¡¼¤ÎÂå¤ï¤ê¤Ë¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤¬Ä¥¤é¤ì¤Þ¤¹¡£ |
---|
203 | true ¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£ |
---|
204 | </Para></ListItem> |
---|
205 | </VarListEntry> |
---|
206 | |
---|
207 | <VarListEntry><Term>http</Term> |
---|
208 | <ListItem><Para> |
---|
209 | HTTP URIs; http::Proxy ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤ¹¤ë http ¥×¥í¥¥·¤Ç¤¹¡£ |
---|
210 | <literal>http://[[user][:pass]@]host[:port]/</literal> ¤È¤¤¤¦É¸½à·Á¤Çɽ¤·¤Þ¤¹¡£ |
---|
211 | ¥Û¥¹¥È¤´¤È¤Î¥×¥í¥¥·¤Î¾ì¹ç¤Ï¡¢<literal>http::Proxy::<host></literal> ¤È¤¤¤¦·Á¤È¡¢¥×¥í¥¥·¤ò»ÈÍѤ·¤Ê¤¤¤È¤¤¤¦°ÕÌ£¤ÎÆü쥡¼¥ï¡¼¥É <literal>DIRECT</literal> ¤ò»ÈÍѤ·¤Æ»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£ |
---|
212 | ¤¹¤Ù¤Æ¤ÎÀßÄê¤Ï¡¢´Ä¶ÊÑ¿ô <envar>http_proxy</envar> ¤Ç¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ |
---|
213 | </Para> |
---|
214 | |
---|
215 | <Para> |
---|
216 | HTTP/1.1 ½àµò¤Î¥×¥í¥¥·¥¥ã¥Ã¥·¥å¤ÎÀ©¸æ¤Ë¤Ä¤¤¤Æ¡¢3 ¼ïÎà¤ÎÀßÄ꤬¤¢¤ê¤Þ¤¹¡£ |
---|
217 | <literal>No-Cache</literal> ¤Ï¥×¥í¥¥·¤ËÂФ·¤Æ¡¢¤¤¤«¤Ê¤ë»þ¤â¥¥ã¥Ã¥·¥å¤ò»ÈÍѤ·¤Ê¤¤¤ÈÅÁ¤¨¤Þ¤¹¡£ |
---|
218 | <literal>Max-Age</literal> ¤Ï¡¢¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ëÍѤΤȤ¤À¤±Á÷¿®¤·¡¢ÆÀ¤é¤ì¤¿»þ´Ö¤è¤ê¤â¸Å¤«¤Ã¤¿¾ì¹ç¤Ë¡¢¥ª¥Ö¥¸¥§¥¯¥È¤ò¥ê¥Õ¥ì¥Ã¥·¥å¤¹¤ë¤è¤¦¥¥ã¥Ã¥·¥å¤Ë»Ø¼¨¤·¤Þ¤¹¡£ |
---|
219 | ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1 Æü¤È¤Ê¤Ã¤Æ¤¤¤ë¤¿¤á¡¢ÆüËè¤Ë¤½¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤ò¹¹¿·¤·¤Þ¤¹¡£ |
---|
220 | <literal>No-Store</literal> ¤Ï¡¢¥¥ã¥Ã¥·¥å¤¬¤³¤Î¥ê¥¯¥¨¥¹¥È¤ò³ÊǼ¤»¤º¡¢¥¢¡¼¥«¥¤¥Ö¥Õ¥¡¥¤¥ë¤Î¤ßÀßÄꤹ¤ë¤è¤¦»ØÄꤷ¤Þ¤¹¡£ |
---|
221 | ¤³¤ì¤Ï¡¢Èó¾ï¤ËÂç¤¤Ê .rpm ¥Õ¥¡¥¤¥ë¤Ç¥×¥í¥¥·¥¥ã¥Ã¥·¥å¤¬±ø¤ì¤ë¤Î¤ò¡¢Ëɤ°¤Î¤ËÊØÍø¤«¤â¤·¤ì¤Þ¤»¤ó¡£ |
---|
222 | Ãí) Squid 2.0.2 ¤Ç¤Ï¡¢¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£ |
---|
223 | </Para> |
---|
224 | |
---|
225 | <Para> |
---|
226 | <literal>timeout</literal> ¥ª¥×¥·¥ç¥ó¤Ï¡¢http¤Ç¤Î¥¿¥¤¥à¥¢¥¦¥È¤Þ¤Ç¤Î»þ´Ö¤òÀßÄꤷ¤Þ¤¹¡£ |
---|
227 | ¤³¤ì¤Ë¤Ï¡¢Àܳ¤Î¥¿¥¤¥à¥¢¥¦¥È¤È¥Ç¡¼¥¿¤Î¥¿¥¤¥à¥¢¥¦¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ |
---|
228 | </Para><Para> |
---|
229 | ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬ RFC ½àµò¤Ç¤Ê¤«¤Ã¤¿¤ê¡¢(Squid 2.0.2 ¤Î¤è¤¦¤Ë) ¥Ð¥°¤¬¤¢¤Ã¤¿¤ê¤·¤¿¤È¤¤Î¤¿¤á¤Ë¡¢¥Ñ¥¤¥×¥é¥¤¥ó¤Î¿¼¤µ¤ÎÀ©¸æ¤òÀßÄꤷ¤Þ¤¹¡£ |
---|
230 | <literal>Acquire::http::Pipeline-Depth</literal> ¤Ë¤è¤ê¡¢APT ¤¬Á÷¿®¤Ç¤¤ë¥ê¥¯¥¨¥¹¥È¤Î²ó¿ô¤ò 0 ¤«¤é 5 ¤ÎÃͤÇÀßÄê¤Ç¤¤Þ¤¹¡£ |
---|
231 | ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬Å¬ÀڤǤʤ¯¡¢TCP Àܳ¤Ë»þ´Ö¤¬¤«¤«¤ë¤È¤¤Ï¡¢¡Öɬ¤º¡×0 ¤ÎÃͤòÀßÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ |
---|
232 | ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¥Ç¡¼¥¿¤¬ÇË»¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ |
---|
233 | ¤³¤ì¤¬É¬Íפʥۥ¹¥È¤Ï RFC 2068 ¤Ë°ãÈ¿¤·¤Æ¤¤¤Þ¤¹¡£ |
---|
234 | </Para></ListItem> |
---|
235 | </VarListEntry> |
---|
236 | |
---|
237 | <VarListEntry><Term>ftp</Term> |
---|
238 | <ListItem><Para> |
---|
239 | FTP URIs; ftp::Proxy ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤ¹¤ë¥×¥í¥¥·¥µ¡¼¥Ð¤Ç¤¹¡£ |
---|
240 | <literal>ftp://[[user][:pass]@]host[:port]/</literal> ¤È¤¤¤¦É¸½à·Á¤Çɽ¤·¤Þ¤¹¤¬¡¢´Ä¶ÊÑ¿ô <envar>ftp_proxy</envar> ¤Ç¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ |
---|
241 | ftp ¥×¥í¥¥·¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Ë <literal>ftp::ProxyLogin</literal> ¥¹¥¯¥ê¥×¥È¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ |
---|
242 | ¥×¥í¥¥·¥µ¡¼¥Ð¤ËÁ÷¿®¤¹¤ëÀܳ¥³¥Þ¥ó¥É¤ò¡¢¤³¤Î¥¨¥ó¥È¥ê¤ËÀßÄꤷ¤Þ¤¹¡£ |
---|
243 | ¤É¤Î¤è¤¦¤Ë¤¹¤ë¤Î¤«¤Ï &configureindex; ¤ÎÎã¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ |
---|
244 | ¤½¤Î¾¤Ë¤â¡¢<literal>$(PROXY_USER)</literal>, <literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, <literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal>, <literal>$(SITE_PORT)</literal> ¤¬ÍøÍѲÄǽ¤Ç¤¹¡£ |
---|
245 | ¤¤¤º¤ì¤â¡¢¤½¤ì¤¾¤ì URI ¤ò¹½À®¤¹¤ë¥È¡¼¥¯¥ó¤Ç¤¹¡£ |
---|
246 | </Para> |
---|
247 | |
---|
248 | <Para> |
---|
249 | <literal>timeout</literal> ¥ª¥×¥·¥ç¥ó¤Ï¡¢ftp¤Ç¤Î¥¿¥¤¥à¥¢¥¦¥È¤Þ¤Ç¤Î»þ´Ö¤òÀßÄꤷ¤Þ¤¹¡£ |
---|
250 | ¤³¤ì¤Ë¤Ï¡¢Àܳ¤Î¥¿¥¤¥à¥¢¥¦¥È¤È¥Ç¡¼¥¿¤Î¥¿¥¤¥à¥¢¥¦¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ |
---|
251 | </Para><Para> |
---|
252 | ÀßÄê¤Î¤¤¤¯¤Ä¤«¤Ï¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤òÀ©¸æ¤¹¤ë¤â¤Î¤Ç¤¹¡£ |
---|
253 | °ìÈÌŪ¤Ë¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤Î¤Þ¤Þ¤Ë¤·¤Æ¤ª¤¯Êý¤¬°ÂÁ´¤Ç¡¢¤Û¤Ü¤É¤ó¤Ê´Ä¶¤Ç¤âÆ°ºî¤·¤Þ¤¹¡£ |
---|
254 | ¤·¤«¤·¤¢¤ë¾õ¶·²¼¤Ç¤Ï¡¢¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤¬Ìµ¸ú¤Î¤¿¤á¡¢Âå¤ï¤ê¤Ë¥Ý¡¼¥È¥â¡¼¥É ftp ¤ò»ÈÍѤ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ |
---|
255 | ¤³¤ÎÀßÄê¤Ï¡¢¥×¥í¥¥·¤òÄ̤ëÀܳ¤äÆÃÄê¤Î¥Û¥¹¥È¤Ø¤ÎÀܳÁ´È̤Ë͸ú¤Ç¤¹¡£ |
---|
256 | (ÀßÄêÎã¤Ï¥µ¥ó¥×¥ëÀßÄê¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤) |
---|
257 | </Para><Para> |
---|
258 | ´Ä¶ÊÑ¿ô <envar>ftp_proxy</envar> ¤Î http url ¤Ë¤è¤ê FTP over HTTP ¤Î¥×¥í¥¥·¤¬ÍøÍѲÄǽ¤Ë¤Ê¤ê¤Þ¤¹¡£ |
---|
259 | ʸˡ¤Ï¾å¤Î http ¤Ë¤Ä¤¤¤Æ¤ÎÀâÌÀ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ |
---|
260 | ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ç¤³¤ì¤ò¥»¥Ã¥È¤¹¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£ |
---|
261 | ¤Þ¤¿¡¢¸úΨ¤¬°¤¤¤¿¤á FTP over HTTP ¤ò»ÈÍѤ¹¤ë¤Î¤Ï¿ä¾©¤·¤Þ¤»¤ó¡£ |
---|
262 | </Para><Para> |
---|
263 | <literal>ForceExtended</literal> ¤ÎÀßÄê¤Ï RFC2428 ¤Î <literal>EPSV</literal> ¥³¥Þ¥ó¥É¤È <literal>EPRT</literal> ¥³¥Þ¥ó¥É¤Î»ÈÍѤòÀ©¸æ¤·¤Þ¤¹¡£ |
---|
264 | ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï false ¤Ç¤¹¡£ |
---|
265 | ¤³¤ì¤Ï¡¢¥³¥ó¥È¥í¡¼¥ë¥³¥Í¥¯¥·¥ç¥ó¤¬ IPv6 ¤Î»þ¤Ë¤Î¤ß¡¢¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ |
---|
266 | ¤³¤ì¤ò true ¤Ë¥»¥Ã¥È¤¹¤ë¤È¡¢IPv4 ¥³¥Í¥¯¥·¥ç¥ó¤Ç¤â¶¯À©Åª¤Ë¡¢¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£ |
---|
267 | Ãí) ¤Û¤È¤ó¤É¤Î FTP ¥µ¡¼¥Ð¤Ï RFC2428 ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£ |
---|
268 | </Para></ListItem> |
---|
269 | </VarListEntry> |
---|
270 | |
---|
271 | <VarListEntry><Term>cdrom</Term> |
---|
272 | <ListItem><Para> |
---|
273 | CDROM URIs; ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£ |
---|
274 | <literal>cdrom::Mount</literal> ¤Ç CDRPM ¤Î¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î»ØÄê¤ò¹Ô¤¤¤Þ¤¹¡£ |
---|
275 | (SMB ¥Þ¥¦¥ó¥È¤ä¸Å¤¤ mount ¥Ñ¥Ã¥±¡¼¥¸¤Ê¤É) ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤¬ fstab ¤Ëµ½Ò¤Ç¤¤Ê¤¤¾ì¹ç¡¢¤«¤ï¤ê¤Ë¥Þ¥¦¥ó¥È¡¦¥¢¥ó¥Þ¥¦¥ó¥È¥³¥Þ¥ó¥É¤â»ÈÍѤǤ¤Þ¤¹¡£ |
---|
276 | ʸˡ¤Ï¡¢cdrom ¥Ö¥í¥Ã¥¯¤ò <literallayout>"/cdrom/"::Mount "foo";</literallayout> ¤Î·Á¤Çµ½Ò¤·¤Þ¤¹¡£ |
---|
277 | ¥¹¥é¥Ã¥·¥å¤ò¸å¤Ë¤Ä¤±¤ë¤Î¤Ï½ÅÍפǤ¹¡£ |
---|
278 | ¥¢¥ó¥Þ¥¦¥ó¥È¥³¥Þ¥ó¥É¤Ï UMount ¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ |
---|
279 | </Para></ListItem> |
---|
280 | </VarListEntry> |
---|
281 | </VariableList> |
---|
282 | </para> |
---|
283 | </RefSect1> |
---|
284 | |
---|
285 | <RefSect1><Title>¥Ç¥£¥ì¥¯¥È¥ê</Title> |
---|
286 | <para> |
---|
287 | <literal>Dir::State</literal> ¥»¥¯¥·¥ç¥ó¤Ï¡¢¥í¡¼¥«¥ë¾õÂÖ¾ðÊó¤Ë´Ø¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤òÊÝ»ý¤·¤Þ¤¹¡£ |
---|
288 | <literal>lists</literal> ¤Ï¡¢ ¥À¥¦¥ó¥í¡¼¥É¤·¤¿¥Ñ¥Ã¥±¡¼¥¸°ìÍ÷¤ò³ÊǼ¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ç¡¢ |
---|
289 | <literal>status</literal> ¤Ï rpm ¤Î¾õÂÖ¥Õ¥¡¥¤¥ë¤Î̾Á°¤òɽ¤·¤Þ¤¹¡£ |
---|
290 | <literal>preferences</literal> ¤Ï APT ¤Î ÀßÄê¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ç¤¹¡£ |
---|
291 | <literal>Dir::State</literal> ¤Ë¤Ï¡¢<filename>/</filename> ¤ä <filename>./</filename> ¤Ç»Ï¤Þ¤é¤Ê¤¤Á´¥µ¥Ö¥¢¥¤¥Æ¥à¤ËÉղ乤롢¥Ç¥Õ¥©¥ë¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£ |
---|
292 | </para><para> |
---|
293 | <literal>Dir::Cache</literal> ¤Ï¡¢¥í¡¼¥«¥ë¥¥ã¥Ã¥·¥å¾ðÊó¤Ë´Ø¤¹¤ë¾ì½ê¤ò³ÊǼ¤·¤Æ¤¤¤Þ¤¹¡£ |
---|
294 | ¤³¤ì¤Ï¡¢¥À¥¦¥ó¥í¡¼¥ÉºÑ¥¢¡¼¥«¥¤¥Ö¤Î¾ì½ê¤ò¼¨¤¹ <literal>Dir::Cache::archives</literal> ¤ÈƱÍͤˡ¢<literal>srcpkgcache</literal> ¤È <literal>pkgcache</literal> ¤Î¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤Î¾ì½ê¤È¤Ê¤ê¤Þ¤¹¡£ |
---|
295 | ¤½¤ì¤¾¤ì¤ò¶õ¤Ë¥»¥Ã¥È¤¹¤ë¤³¤È¤Ç¡¢¥¥ã¥Ã¥·¥å¤ÎÀ¸À®¤ò̵¸ú¤Ë¤Ç¤¤Þ¤¹¡£ |
---|
296 | ¤³¤ì¤Ë¤è¤Ã¤Æµ¯Æ°¤ÏÃÙ¤¯¤Ê¤ê¤Þ¤¹¤¬¡¢¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤òÀáÌ󤹤뤳¤È¤¬¤Ç¤¤Þ¤¹¡£ |
---|
297 | ¤ª¤½¤é¤¯¡¢srcpkgcache ¤è¤ê¤â pkgcache ¤ò̵¸ú¤Ë¤¹¤ë¤³¤È¤¬Â¿¤¤¤È»×¤¤¤Þ¤¹¡£ |
---|
298 | <literal>Dir::State</literal> ¤ÈƱÍÍ¡¢<literal>Dir::Cache</literal> ¤Ï¥Ç¥Õ¥©¥ë¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£ |
---|
299 | </para> |
---|
300 | |
---|
301 | <para> |
---|
302 | <literal>Dir::Etc</literal> ¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤ò³ÊǼ¤·¤Æ¤¤¤Þ¤¹¡£ |
---|
303 | <literal>sourcelist</literal> ¤Ï¥½¡¼¥¹¥ê¥¹¥È¤Î¾ì½ê¤ò¼¨¤·¡¢ |
---|
304 | <literal>main</literal> ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£ |
---|
305 | (´Ä¶ÊÑ¿ô <envar>APT_CONFIG</envar> ¤ÇÀßÄê¥Õ¥¡¥¤¥ë¤ò»ØÄꤵ¤ì¤¿¾ì¹ç¤Î¤ß¡¢¤³¤ÎÀßÄê¤Î¸ú²Ì¤¬¤¢¤ê¤Þ¤¹) |
---|
306 | </para><para> |
---|
307 | <literal>parts</literal> ¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Þ¤¹¡£ |
---|
308 | ¤³¤³¤Ë¤¢¤ëÀßÄê¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥É¤·¤¿¸å¤Ç¡¢¥á¥¤¥óÀßÄê¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥É¤·¤Þ¤¹¡£ |
---|
309 | </para><para> |
---|
310 | ¥Ð¥¤¥Ê¥ê¥×¥í¥°¥é¥à¤Ï <literal>Dir::Bin</literal> ¤Ç»ØÄꤷ¤Þ¤¹¡£ |
---|
311 | <literal>Dir::Bin::Methods</literal> ¤Ï¥á¥½¥Ã¥É¥Ï¥ó¥É¥é¤Î¾ì½ê¤ò»ØÄꤷ¡¢<literal>rpm</literal>, <literal>bzip2</literal>, <literal>gpg</literal> ¤Ï¤½¤ì¤¾¤ì¤Î¥×¥í¥°¥é¥à¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£ |
---|
312 | </para> |
---|
313 | </RefSect1> |
---|
314 | |
---|
315 | <!-- |
---|
316 | <RefSect1><Title>APT in DSelect</> |
---|
317 | <para> |
---|
318 | When APT is used as a &dselect; method several configuration directives |
---|
319 | control the default behaviour. These are in the <literal>DSelect/ section. |
---|
320 | |
---|
321 | <VariableList> |
---|
322 | <VarListEntry><Term>Clean</Term> |
---|
323 | <ListItem><Para> |
---|
324 | Cache Clean mode; this value may be one of always, prompt, auto, |
---|
325 | pre-auto and never. always and prompt will remove all packages from |
---|
326 | the cache after upgrading, prompt (the default) does so conditionally. |
---|
327 | auto removes only those packages which are no longer downloadable |
---|
328 | (replaced with a new version for instance). pre-auto performs this |
---|
329 | action before downloading new packages. |
---|
330 | </Para></ListItem> |
---|
331 | </VarListEntry> |
---|
332 | |
---|
333 | <VarListEntry><Term>Options</Term> |
---|
334 | <ListItem><Para> |
---|
335 | The contents of this variable is passed to &apt-get; as command line |
---|
336 | options when it is run for the install phase. |
---|
337 | </Para></ListItem> |
---|
338 | </VarListEntry> |
---|
339 | |
---|
340 | <VarListEntry><Term>UpdateOptions</Term> |
---|
341 | <ListItem><Para> |
---|
342 | The contents of this variable is passed to &apt-get; as command line |
---|
343 | options when it is run for the update phase. |
---|
344 | </Para></ListItem> |
---|
345 | </VarListEntry> |
---|
346 | |
---|
347 | <VarListEntry><Term>PromptAfterUpdate</Term> |
---|
348 | <ListItem><Para> |
---|
349 | If true the [U]pdate operation in &dselect; will always prompt to continue. |
---|
350 | The default is to prompt only on error. |
---|
351 | </Para></ListItem> |
---|
352 | </VarListEntry> |
---|
353 | </VariableList> |
---|
354 | </para> |
---|
355 | </RefSect1> |
---|
356 | --> |
---|
357 | |
---|
358 | <!-- |
---|
359 | <RefSect1><Title>How APT calls dpkg</> |
---|
360 | <para> |
---|
361 | Several configuration directives control how APT invokes &dpkg;. These are |
---|
362 | in the <literal>DPkg/ section. |
---|
363 | |
---|
364 | <VariableList> |
---|
365 | <VarListEntry><Term>Options</Term> |
---|
366 | <ListItem><Para> |
---|
367 | This is a list of options to pass to dpkg. The options must be specified |
---|
368 | using the list notation and each list item is passed as a single argument |
---|
369 | to &dpkg;. |
---|
370 | </Para></ListItem> |
---|
371 | </VarListEntry> |
---|
372 | |
---|
373 | <VarListEntry><Term>Pre-Invoke</Term><Term>Post-Invoke</Term> |
---|
374 | <ListItem><Para> |
---|
375 | This is a list of shell commands to run before/after invoking &dpkg;. |
---|
376 | Like <literal>Options/ this must be specified in list notation. The |
---|
377 | commands are invoked in order using <filename>/bin/sh</>, should any |
---|
378 | fail APT will abort. |
---|
379 | </Para></ListItem> |
---|
380 | </VarListEntry> |
---|
381 | |
---|
382 | <VarListEntry><Term>Pre-Install-Pkgs</Term> |
---|
383 | <ListItem><Para> |
---|
384 | This is a list of shell commands to run before invoking dpkg. Like |
---|
385 | <literal>Options/ this must be specified in list notation. The commands |
---|
386 | are invoked in order using <filename>/bin/sh</>, should any fail APT |
---|
387 | will abort. APT will pass to the commands on standard input the |
---|
388 | filenames of all .deb files it is going to install, one per line. |
---|
389 | </para><para> |
---|
390 | Version 2 of this protocol dumps more information, including the |
---|
391 | protocol version, the APT configuration space and the packages, files |
---|
392 | and versions being changed. Version 2 is enabled by setting |
---|
393 | <literal>DPkg::Tools::Options::cmd::Version/ to 2. <literal>cmd/ is a |
---|
394 | command given to <literal>Pre-Install-Pkgs/. |
---|
395 | </Para></ListItem> |
---|
396 | </VarListEntry> |
---|
397 | |
---|
398 | <VarListEntry><Term>Run-Directory</Term> |
---|
399 | <ListItem><Para> |
---|
400 | APT chdirs to this directory before invoking dpkg, the default is |
---|
401 | <filename>/</>. |
---|
402 | </Para></ListItem> |
---|
403 | </VarListEntry> |
---|
404 | |
---|
405 | <VarListEntry><Term>Build-Options</Term> |
---|
406 | <ListItem><Para> |
---|
407 | These options are passed to &dpkg-buildpackage; when compiling packages, |
---|
408 | the default is to disable signing and produce all binaries. |
---|
409 | </Para></ListItem> |
---|
410 | </VarListEntry> |
---|
411 | </VariableList> |
---|
412 | </para> |
---|
413 | </RefSect1> |
---|
414 | --> |
---|
415 | |
---|
416 | <RefSect1><Title>¥Ç¥Ð¥Ã¥°¥ª¥×¥·¥ç¥ó</Title> |
---|
417 | <para> |
---|
418 | <literal>debug</literal> ¤Î¿¤¯¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢°ìÈ̥桼¥¶¤Ë¤È¤Ã¤Æ¶½Ì£¤ò°ú¤¯¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ |
---|
419 | ¤·¤«¤·¡¢<literal>Debug::pkgProblemResolver</literal> ¤Ç¡¢dist-upgrade ¤ÎȽÃǤˤĤ¤¤Æ¤Î¶½Ì£¿¼¤¤½ÐÎϤ¬ÆÀ¤é¤ì¤Þ¤¹¡£ |
---|
420 | <literal>Debug::NoLocking</literal> ¤Ï¡¢APT ¤ò root°Ê³°¤Î¥æ¡¼¥¶¤ÇÁàºî¤Ç¤¤ë¤è¤¦¤Ë¥Õ¥¡¥¤¥ë¤Î¥í¥Ã¥¯¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ |
---|
421 | <literal>Debug::pkgDPkgPM</literal> ¤Ï¡¢dpkg ¤ò¸Æ¤ÖºÝ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤ò½ÐÎϤ·¤Þ¤¹¡£ |
---|
422 | <literal>Debug::IdentCdrom</literal> ¤Ï¡¢CDROM ¤Î¾õÂ֥ǡ¼¥¿¤ÎÊñ´Þ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ |
---|
423 | </para> |
---|
424 | </RefSect1> |
---|
425 | |
---|
426 | <RefSect1><Title>Îã</Title> |
---|
427 | <para> |
---|
428 | &configureindex; ¤Ë¡¢Á´ÍøÍѲÄǽ¥ª¥×¥·¥ç¥ó¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò»²¾È¤Ç¤¤ë¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë¤¬¤¢¤ê¤Þ¤¹¡£ |
---|
429 | </para> |
---|
430 | </RefSect1> |
---|
431 | |
---|
432 | <RefSect1><Title>¥Õ¥¡¥¤¥ë</Title> |
---|
433 | <para> |
---|
434 | <filename>/etc/apt/apt.conf</filename> |
---|
435 | </para> |
---|
436 | </RefSect1> |
---|
437 | |
---|
438 | <RefSect1><Title>´ØÏ¢¹àÌÜ</Title> |
---|
439 | <para> |
---|
440 | &apt-cache;, &apt-config;<!-- ? reading apt.conf -->, &apt-preferences;. |
---|
441 | </para> |
---|
442 | </RefSect1> |
---|
443 | |
---|
444 | &manbugs; |
---|
445 | &manauthor; |
---|
446 | |
---|
447 | </refentry> |
---|
448 | |
---|
449 | <!-- |
---|
450 | Local Variables: |
---|
451 | mode: nxml |
---|
452 | End: |
---|
453 | --> |
---|