1 <!-- -*- mode: sgml; mode: fold -*- -->
2 <!-- translation of version 1.12 -->
3 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
5 <!ENTITY % aptent SYSTEM "apt.ent.ja">
14 <refentrytitle>apt-get</>
18 <!-- Man page title -->
22 <refpurpose>APT package handling utility - - command-line interface</>
24 <refpurpose>APT ¥Ñ¥Ã¥±¡¼¥¸Áàºî¥æ¡¼¥Æ¥£¥ê¥Æ¥£ -- ¥³¥Þ¥ó¥É¥é¥¤¥ó¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹</>
31 <arg><option>-hvs</></arg>
32 <arg><option>-o=<replaceable/config string/</></arg>
33 <arg><option>-c=<replaceable/file/</></arg>
37 <arg>dselect-upgrade</>
38 <arg>install <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg>
39 <arg>remove <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg>
40 <arg>source <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg>
41 <arg>build-dep <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg>
50 <RefSect1><Title>Description</>
52 <RefSect1><Title>ÀâÌÀ</>
55 <command/apt-get/ is the command-line tool for handling packages, and may be
56 considered the user's "back-end" to other tools using the APT library.
58 <command/apt-get/ ¤Ï¥Ñ¥Ã¥±¡¼¥¸¤òÁàºî¤¹¤ë¥³¥Þ¥ó¥É¥é¥¤¥ó¥Ä¡¼¥ë¤Ç¡¢
59 APT ¥é¥¤¥Ö¥é¥ê¤òÍѤ¤¤ë¾¤Î¥Ä¡¼¥ë¤Î¥æ¡¼¥¶Â¦¥Ð¥Ã¥¯¥¨¥ó¥É¤È¤â¤¤¤¨¤ë¤â¤Î¤Ç¤¹¡£
63 Unless the <option/-h/, or <option/- -help/ option is given one of the
64 commands below must be present.
66 <option/-h/ ¤ä <option/--help/ ¤ò½ü¤¡¢°Ê²¼¤Ëµó¤²¤ë¥³¥Þ¥ó¥É¤¬É¬ÍפǤ¹¡£
69 <VarListEntry><Term>update</Term>
72 <literal/update/ is used to resynchronize the package index files from
73 their sources. The indexes of available packages are fetched from the
74 location(s) specified in <filename>/etc/apt/sources.list</>.
75 For example, when using a Debian archive, this command retrieves and
76 scans the <filename>Packages.gz</> files, so that information about new
77 and updated packages is available. An <literal/update/ should always be
78 performed before an <literal/upgrade/ or <literal/dist-upgrade/. Please
79 be aware that the overall progress meter will be incorrect as the size
80 of the package files cannot be known in advance.
82 <literal/update/ ¤Ï¤½¤ì¤¾¤ì¼èÆÀ¸µ¤«¤é¥Ñ¥Ã¥±¡¼¥¸¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤Î
83 ºÆƱ´ü¤ò¹Ô¤¦¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£ÍøÍѲÄǽ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ï
84 <filename>/etc/apt/sources.list</> ¤Ëµ½Ò¤·¤¿¾ì½ê¤«¤é¼èÆÀ¤·¤Þ¤¹¡£
85 Î㤨¤Ð Debian archive ¤òÍøÍѤ¹¤ëºÝ¡¢¤³¤Î¥³¥Þ¥ó¥É¤¬ <filename>Packages.gz</>
86 ¥Õ¥¡¥¤¥ë¤ò¸¡º÷¤¹¤ë¤³¤È¤Ç¡¢¿·µ¬¤Þ¤¿¤Ï¹¹¿·¤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¾ðÊó¤¬ÍøÍѲÄǽ
87 ¤È¤Ê¤ê¤Þ¤¹¡£<literal/update/ ¤Ï <literal/upgrade/ ¤ä
88 <literal/dist-upgrade/ ¤ò¹Ô¤¦Á°¤Ë¾ï¤Ë¼Â¹Ô¤¹¤ë¤Ù¤¤Ç¤¹¡£
89 Á°¤â¤Ã¤Æ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¤òÃΤ뤳¤È¤¬¤Ç¤¤Ê¤¤¤¿¤á¡¢
90 Á´ÂÎ¤Î¥×¥í¥°¥ì¥¹¥á¡¼¥¿¤ÏÀµ¤·¤¯É½¼¨¤µ¤ì¤Þ¤»¤ó¡£
94 <VarListEntry><Term>upgrade</Term>
97 <literal/upgrade/ is used to install the newest versions of all packages
98 currently installed on the system from the sources enumerated in
99 <filename>/etc/apt/sources.list</>. Packages currently installed with
100 new versions available are retrieved and upgraded; under no circumstances
101 are currently installed packages removed, or packages not already installed
102 retrieved and installed. New versions of currently installed packages that
103 cannot be upgraded without changing the install status of another package
104 will be left at their current version. An <literal/update/ must be
105 performed first so that <command/apt-get/ knows that new versions of packages are
108 <literal/upgrade/ ¤Ï¡¢¸½ºß¥·¥¹¥Æ¥à¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ëÁ´¥Ñ¥Ã¥±¡¼¥¸¤Î
109 ºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤ò¡¢<filename>/etc/apt/sources.list</> ¤ËÎóµó¤·¤¿¼èÆÀ¸µ¤«¤é
110 ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£¸½ºß¥¤¥ó¥¹¥È¡¼¥ëÃæ¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¿·¤·¤¤
111 ¥Ð¡¼¥¸¥ç¥ó¤¬¤¢¤ì¤Ð¹¹¿·¤·¤Þ¤¹¤¬¡¢¤¤¤«¤Ê¤ë»þ¤â¸½ºß¥¤¥ó¥¹¥È¡¼¥ëÃæ¤Î
112 ¥Ñ¥Ã¥±¡¼¥¸¤Îºï½ü¤Ï¹Ô¤¤¤Þ¤»¤ó¡£ÂоݤΥѥ屡¼¥¸¤¬
113 ¾¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¾õÂÖ¤òÊѹ¹¤»¤º¤Ë¹¹¿·¤Ç¤¤Ê¤¤¾ì¹ç¤Ï¡¢
114 ¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¤Þ¤Þ¤È¤Ê¤ê¤Þ¤¹¡£
115 <literal/update/ ¤ò¤Ï¤¸¤á¤Ë¼Â¹Ô¤·¤Æ¤ª¤¤¤Æ¡¢<command/apt-get/ ¤Ë
116 ¥Ñ¥Ã¥±¡¼¥¸¤Î¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤¬ÍøÍѤǤ¤ë¤³¤È¤òÃΤ餻¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
120 <VarListEntry><Term>dselect-upgrade</Term>
123 is used in conjunction with the traditional Debian GNU/Linux packaging
124 front-end, &dselect;. <literal/dselect-upgrade/
125 follows the changes made by &dselect; to the <literal/Status/
126 field of available packages, and performs the actions necessary to realize
127 that state (for instance, the removal of old and the installation of new
130 ÅÁÅýŪ¤Ê Debian GNU/Linux ¥Ñ¥Ã¥±¡¼¥¸´ÉÍý¥Õ¥í¥ó¥È¥¨¥ó¥É¤Î &dselect;
131 ¤È¶¦¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£<literal/dselect-upgrade/ ¤Ï &dselect; ¤Çºî¤é¤ì¤¿
132 ÍøÍѲÄǽ¥Ñ¥Ã¥±¡¼¥¸¤Î <literal/Status/ ¥Õ¥£¡¼¥ë¥É¤ÎÊѹ¹¤òÄÉÀפ·¡¢
133 ¤½¤Î¾õÂÖ¤òÈ¿±Ç¤µ¤»¤ë¤Î¤ËɬÍפʥ¢¥¯¥·¥ç¥ó¤ò¼Â¹Ô¤·¤Þ¤¹¡£
134 (Î㤨¤Ð¡¢¸Å¤¤¥Ñ¥Ã¥±¡¼¥¸¤Îºï½ü¤ä¿·¤·¤¤¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ê¤É)
138 <VarListEntry><Term>dist-upgrade</Term>
141 <literal/dist-upgrade/, in addition to performing the function of
142 <literal/upgrade/, also intelligently handles changing dependencies
143 with new versions of packages; <command/apt-get/ has a "smart" conflict
144 resolution system, and it will attempt to upgrade the most important
145 packages at the expense of less important ones if necessary.
146 The <filename>/etc/apt/sources.list</> file contains a list of locations
147 from which to retrieve desired package files.
149 <literal/dist-upgrade/ ¤Ï <literal/upgrade/ ¤Îµ¡Ç½¤Ë²Ã¤¨¡¢¿·¥Ð¡¼¥¸¥ç¥ó¤Î
150 ¥Ñ¥Ã¥±¡¼¥¸¤ËÂФ¹¤ë°Í¸´Ø·¸¤ÎÊѹ¹¤òÃÎŪ¤ËÁàºî¤·¤Þ¤¹¡£
151 <command/apt-get/ ¤Ï¡ÖÀöÎý¤µ¤ì¤¿¡×¶¥¹ç²ò·è¥·¥¹¥Æ¥à¤ò»ý¤Á¡¢É¬Íפʤé
152 Èæ³ÓŪ½ÅÍפǤʤ¤¥Ñ¥Ã¥±¡¼¥¸¤òµ¾À·¤Ë¤·¤Æ¡¢ºÇ½ÅÍץѥ屡¼¥¸¤Î¹¹¿·¤ò
154 <filename>/etc/apt/sources.list</> ¥Õ¥¡¥¤¥ë¤ËɬÍפʥѥ屡¼¥¸¥Õ¥¡¥¤¥ë¤ò
155 ¸¡º÷¤¹¤ë¾ì½ê¤Î¥ê¥¹¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
159 <VarListEntry><Term>install</Term>
162 <literal/install/ is followed by one or more packages desired for
163 installation. Each package is a package name, not a fully qualified
164 filename (for instance, in a Debian GNU/Linux system, libc6 would be the
165 argument provided, not em(libc6_1.9.6-2.deb)). All packages required
166 by the package(s) specified for installation will also be retrieved and
167 installed. The <filename>/etc/apt/sources.list</> file is used to locate
168 the desired packages. If a hyphen is appended to the package name (with
169 no intervening space), the identified package will be removed if it is
170 installed. Similarly a plus sign can be used to designate a package to
171 install. These latter features may be used to override decisions made by
172 apt-get's conflict resolution system.
174 <literal/install/ ¤Î¸å¤Ë¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò1¤Ä°Ê¾å»ØÄꤷ¤Þ¤¹¡£
175 »ØÄꤹ¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢´°Á´¤Ê¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¤Ê¤¯¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Ç¤¹¡£
176 (Î㤨¤Ð Debian GNU/Linux ¥·¥¹¥Æ¥à¤Ç¤Ï libc6_1.9.6-2.deb ¤Ç¤Ï¤Ê¤¯ libc6 ¤ò
177 °ú¿ô¤È¤·¤ÆÍ¿¤¨¤Þ¤¹) ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤è¤¦»ØÄꤷ¤¿¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸¤ËÂФ·
178 ¸¡º÷¡¦¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤¤¤Þ¤¹¡£<filename>/etc/apt/sources.list</> ¥Õ¥¡¥¤¥ë
179 ¤ò¡¢Í׵᤹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Î¾ì½ê¤òÆÃÄꤹ¤ë¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£
180 ¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Î¸å¤í¤Ë (¶õÇò¤ò´Þ¤Þ¤º) ¥Ï¥¤¥Õ¥ó¤¬Äɲ䵤ì¤Æ¤¤¤ë¾ì¹ç¡¢
181 ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ì¤Ðºï½ü¤·¤Þ¤¹¡£
182 ƱÍͤˡ¢¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤òÌÀ¼¨¤¹¤ë¤Î¤Ë¥×¥é¥¹µ¹æ¤â»ÈÍѤǤ¤Þ¤¹¡£
183 ¤³¤Îʸ»ú¤Ï apt-get ¤Î¶¥¹ç²ò·è¥·¥¹¥Æ¥à¤ÎȽÃǤËÍøÍѤµ¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
187 A specific version of a package can be selected for installation by
188 following the package name with an equals and the version of the package
189 to select. This will cause that version to be located and selected for
190 install. Alternatively a specific distribution can be selected by
191 following the package name with a slash and the version of the
192 distribution or the Archive name (stable, frozen, unstable).
194 ¥Ñ¥Ã¥±¡¼¥¸¤Ë¥¤¥³¡¼¥ëµ¹æ¤È¥Ð¡¼¥¸¥ç¥ó¤ò³¤±¤ë¤³¤È¤Ç¡¢
195 ÁªÂò¤·¤¿¥Ð¡¼¥¸¥ç¥ó¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
196 ¤Ä¤Þ¤ê»ØÄê¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤è¤¦¤ËÁªÂò
197 ¤¹¤ë¤È¤¤¤¤¤¦¤³¤È¤Ç¤¹¡£
198 Ê̤ÎÊýË¡¤È¤·¤Æ¤Ï¡¢¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤òÆÃÄꤹ¤ë¤Î¤Ë¡¢
199 ¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Î¸å¤Ë³¤¤¤Æ¥¹¥é¥Ã¥·¥å¤È¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Î¥Ð¡¼¥¸¥ç¥ó¤ä
200 ¥¢¡¼¥«¥¤¥Ö̾ (stable, frozen, unstable) ¤òµ½Ò¤Ç¤¤Þ¤¹¡£
203 ¥Ð¡¼¥¸¥ç¥óÁªÂòµ¡¹½¤Ï¥À¥¦¥ó¥°¥ì¡¼¥É»þ¤Ë¤â»ÈÍѤǤ¤ë¤¿¤á¡¢Ãí°Õ¤òʧ¤Ã¤Æ
204 »ÈÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
208 If no package matches the given expression and the expression contains one
209 of '.', '?' or '*' then it is assumed to be a POSIX regex and it is applied
210 to all package names in the database. Any matches are then installed (or
211 removed). Note that matching is done by substring so 'lo.*' matches 'how-lo'
212 and 'lowest'. If this is undesired prefix with a '^' character.
214 ¤â¤·'.'¡¢'?'¡¢'*'¤ò´Þ¤à¹½Ê¸¤Ë°ì¤Ä¤â¥Ñ¥Ã¥±¡¼¥¸Ì¾¤¬¥Þ¥Ã¥Á¤·¤Ê¤«¤Ã¤¿¾ì¹ç¡¢
215 POSIX Àµµ¬É½¸½¤Ç¤¢¤ë¤È¸«¤Ê¤·¡¢¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÁ´¥Ñ¥Ã¥±¡¼¥¸Ì¾¤ËÂФ·¤Æ
217 ¥Þ¥Ã¥Á¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤¹¤Ù¤Æ¤¬¥¤¥ó¥¹¥È¡¼¥ë(¤â¤·¤¯¤Ïºï½ü)¤µ¤ì¤Þ¤¹¡£
218 Ãí) 'lo.*' ¤Î¤è¤¦¤Êʸ»úÎó¤Ï 'how-lo' ¤ä 'lowest' ¤Ë¥Þ¥Ã¥Á¤·¤Þ¤¹¡£
219 ¤³¤ì¤ò˾¤Þ¤Ê¤±¤ì¤Ð¡¢ÀèƬ¤Ë '^' ¤ò¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£
223 <VarListEntry><Term>remove</Term>
226 <literal/remove/ is identical to <literal/install/ except that packages are
227 removed instead of installed. If a plus sign is appended to the package
228 name (with no intervening space), the identified package will be
231 <literal/remove/ ¤Ï ¥Ñ¥Ã¥±¡¼¥¸¤¬ºï½ü¤µ¤ì¤ë¤³¤È¤ò½ü¤¡¢<literal/install/
233 ¥×¥é¥¹µ¹æ¤¬¥Ñ¥Ã¥±¡¼¥¸Ì¾¤Ë (´Ö¤Ë¶õÇò¤ò´Þ¤Þ¤º¤Ë) Éղ䵤줿¾ì¹ç¡¢
234 ¼±Ê̤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
238 <VarListEntry><Term>source</Term>
241 <literal/source/ causes <command/apt-get/ to fetch source packages. APT
242 will examine the available packages to decide which source package to
243 fetch. It will then find and download into the current directory the
244 newest available version of that source package. Source packages are
245 tracked separately from binary packages via <literal/deb-src/ type lines
246 in the &sources-list; file. This probably will mean that you will not
247 get the same source as the package you have installed or as you could
248 install. If the - -compile options is specified then the package will be
249 compiled to a binary .deb using dpkg-buildpackage, if - -download-only is
250 specified then the source package will not be unpacked.
252 <literal/source/ ¤Ï¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¼èÆÀ¤¹¤ë¤è¤¦ <command/apt-get/
253 ¤¹¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£
254 APT ¤Ï¤É¤Î¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¼èÆÀ¤¹¤ë¤«·èÄꤹ¤ë¤è¤¦¡¢ÍøÍѲÄǽ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤ò
256 ¤½¤Î¸å¡¢ºÇ¿·¤ÎÍøÍѲÄǽ¤Ê¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¸«¤Ä¤±¡¢¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ø
258 ¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤È¤ÏÊÌ¤Ë &sources-list; ¥Õ¥¡¥¤¥ë¤Î
259 <literal/deb-src/ ¹Ô¤è¤êÄÉÀפµ¤ì¤Þ¤¹¡£
260 ¤³¤ì¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿ (¤Þ¤¿¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤¤ë) ¥Ñ¥Ã¥±¡¼¥¸¤È¡¢
261 ¼èÆÀ¸µ¤òÊѤ¨¤ë¤³¤È¤¬¤Ç¤¤ë¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
262 --compile ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢dpkg-buildpackage ¤òÍѤ¤¤Æ
263 ¥Ð¥¤¥Ê¥ê .deb ¥Õ¥¡¥¤¥ë¤Ø¥³¥ó¥Ñ¥¤¥ë¤ò¹Ô¤¤¤Þ¤¹¡£
264 --download-only ¤Î¾ì¹ç¤Ï¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤òŸ³«¤·¤Þ¤»¤ó¡£
268 A specific source version can be retrieved by postfixing the source name
269 with an equals and then the version to fetch, similar to the mechanism
270 used for the package files. This enables exact matching of the source
271 package name and version, implicitly enabling the
272 <literal/APT::Get::Only-Source/ option.
274 ¥Ñ¥Ã¥±¡¼¥¸¤ÈƱÍͤˡ¢¥½¡¼¥¹Ì¾¤Î¸å¤í¤Ë¥¤¥³¡¼¥ë¤È¼èÆÀ¤·¤¿¤¤¥Ð¡¼¥¸¥ç¥ó¤ò
275 ÃÖ¤¯¤³¤È¤Ç¡¢»ØÄꤷ¤¿¥Ð¡¼¥¸¥ç¥ó¤Î¥½¡¼¥¹¤òÆÀ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
276 <literal/APT::Get::Only-Source/ ¥ª¥×¥·¥ç¥ó¤Ç°ÅÌۤΤ¦¤Á¤Ë͸ú¤Ë¤Ê¤Ã¤Æ
277 ¤¤¤ë¤¿¤á¡¢¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸Ì¾¤È¥Ð¡¼¥¸¥ç¥ó¤Ë¸·Ì©¤Ë¥Þ¥Ã¥Á¥ó¥°¤¹¤ë¤è¤¦¤Ë
283 Note that source packages are not tracked like binary packages, they
284 exist only in the current directory and are similar to downloading source
287 Ãí) tar ball ¤Ï¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Î¤ß¥À¥¦¥ó¥í¡¼¥É¤µ¤ì¡¢
288 ¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤ËŸ³«¤µ¤ì¤Þ¤¹¡£
292 <VarListEntry><Term>build-dep</Term>
295 <literal/build-dep/ causes apt-get to install/remove packages in an
296 attempt to satisfy the build dependencies for a source packages.
298 <literal/build-dep/ ¤Ï¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤Î¹½Ã۰͸´Ø·¸¤òËþ¤¿¤¹¤è¤¦¤Ë¡¢
299 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¦ºï½ü¤ò¹Ô¤¤¤Þ¤¹¡£
303 <VarListEntry><Term>check</Term>
306 <literal/check/ is a diagnostic tool; it updates the package cache and checks
307 for broken dependencies.
309 <literal/check/ ¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¥¥ã¥Ã¥·¥å¤Î¹¹¿·¤ä²õ¤ì¤¿°Í¸´Ø·¸¤ò¥Á¥§¥Ã¥¯¤¹¤ë
314 <VarListEntry><Term>clean</Term>
317 <literal/clean/ clears out the local repository of retrieved package
318 files. It removes everything but the lock file from
319 <filename>&cachedir;/archives/</> and
320 <filename>&cachedir;/archive/partial/</>. When APT is used as a
321 &dselect; method, <literal/clean/ is run automatically.
322 Those who do not use dselect will likely want to run <literal/apt-get clean/
323 from time to time to free up disk space.
325 <literal/clean/ ¤Ï¼èÆÀ¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¥í¡¼¥«¥ë¥ê¥Ý¥¸¥È¥ê¤òÁݽü¤·¤Þ¤¹¡£
326 <filename>&cachedir;/archives/</> ¤È
327 <filename>&cachedir;/archive/partial/</> ¤«¤é
328 ¥í¥Ã¥¯¥Õ¥¡¥¤¥ë°Ê³°¤¹¤Ù¤Æºï½ü¤·¤Þ¤¹¡£
329 APT ¤¬ &dselect; ¤«¤é¸Æ¤Ð¤ì¤ë¤È¤¤Ë¤Ï¡¢¼«Æ°Åª¤Ë <literal/clean/ ¤¬
331 dselect¤ò»ÈÍѤ·¤Ê¤¤¾ì¹ç¤Ï¡¢¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤ò²òÊü¤¹¤ë¤¿¤á¡¢»þ¡¹
332 <literal/apt-get clean/ ¤ò¼Â¹Ô¤·¤¿¤¯¤Ê¤ë¤Ç¤·¤ç¤¦¡£
336 <VarListEntry><Term>autoclean</Term>
339 Like <literal/clean/, <literal/autoclean/ clears out the local
340 repository of retrieved package files. The difference is that it only
341 removes package files that can no longer be downloaded, and are largely
342 useless. This allows a cache to be maintained over a long period without
343 it growing out of control. The configuration option
344 <literal/APT::Clean-Installed/ will prevent installed packages from being
345 erased if it is set off.
347 <literal/clean/ ƱÍÍ¡¢<literal/autoclean/ ¤Ï¼èÆÀ¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¥í¡¼¥«¥ë
348 ¥ê¥Ý¥¸¥È¥ê¤òÁݽü¤·¤Þ¤¹¡£°ã¤¤¤Ï¡¢¤â¤¦¥À¥¦¥ó¥í¡¼¥É¤µ¤ì¤ë¤³¤È¤¬¤Ê¤¤
349 ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤ä¡¢¤Û¤È¤ó¤ÉÉÔÍפʥѥ屡¼¥¸¥Õ¥¡¥¤¥ë¤Î¤ß¤òºï½ü¤¹¤ë¤³¤È¤Ç¤¹¡£
350 ¤³¤Î¤¿¤á¡¢Ä¹¤¤´ü´Ö¡¢¥¥ã¥Ã¥·¥å¤¬´ÉÍý¤Ç¤¤º¤ËÈîÂç²½¤¹¤ë¤³¤È¤Ê¤¯¡¢
351 °Ý»ý¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
352 ÀßÄꥪ¥×¥·¥ç¥ó <literal/APT::Clean-Installed/ ¤Ë off ¤¬¥»¥Ã¥È¤·¤Æ¤¤¤ì¤Ð¡¢
353 ¥¤¥ó¥¹¥È¡¼¥ëºÑ¤Î¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤ë¤Î¤òËɤ°¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
359 <RefSect1><Title>¥ª¥×¥·¥ç¥ó</>
363 <VarListEntry><term><option/-d/</><term><option/--download-only/</>
366 Download only; package files are only retrieved, not unpacked or installed.
367 Configuration Item: <literal/APT::Get::Download-Only/.
369 ¥À¥¦¥ó¥í¡¼¥É¤Î¤ß - ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¼èÆÀ¤Î¤ß¤ò¹Ô¤¤¡¢
370 Ÿ³«¡¦¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤¤¤Þ¤»¤ó¡£
371 ÀßÄê¹àÌÜ - <literal/APT::Get::Download-Only/
375 <VarListEntry><term><option/-f/</><term><option/--fix-broken/</>
378 Fix; attempt to correct a system with broken dependencies in
379 place. This option, when used with install/remove, can omit any packages
380 to permit APT to deduce a likely soltion. Any Package that are specified
381 must completly correct the problem. The option is sometimes necessary when
382 running APT for the first time; APT itself does not allow broken package
383 dependencies to exist on a system. It is possible that a system's
384 dependency structure can be so corrupt as to require manual intervention
385 (which usually means using &dselect; or <command/dpkg - -remove/ to eliminate some of
386 the offending packages). Use of this option together with <option/-m/ may produce an
387 error in some situations.
388 Configuration Item: <literal/APT::Get::Fix-Broken/.
390 ½¤Éü - °Í¸´Ø·¸¤¬²õ¤ì¤¿¥·¥¹¥Æ¥à¤Î½¤Àµ¤ò»î¤ß¤Þ¤¹¡£
391 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò install ¤ä remove ¤È°ì½ï¤Ë»È¤¦¤È¤¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤ò
392 »ØÄꤷ¤Ê¤¯¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£¤É¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò»ØÄꤷ¤Æ¤â¡¢´°Á´¤ËÌäÂê¤ò
394 APT ¼«ÂΤϥ·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë²õ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸°Í¸´Ø·¸¤òµö¤¹¤³¤È¤¬¤Ç¤¤Ê¤¤
395 ¤Î¤Ç¡¢½é¤á¤Æ APT ¤ò¼Â¹Ô¤¹¤ë¾ì¹ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤¬É¬Íפˤʤ뤳¤È¤¬¤¢¤ê¤Þ¤¹¡£
396 ¥·¥¹¥Æ¥à¤Î°Í¸´Ø·¸¹½Â¤¤Ë¤«¤Ê¤êÌäÂ꤬¤¢¤ë¾ì¹ç¤Ï¡¢¼êÆ°¤Ç½¤Àµ¤¹¤ë¤è¤¦
397 Í׵᤹¤ë¤³¤È¤¬¤¢¤êÆÀ¤Þ¤¹¡£
398 (Ä̾ï¤Ï¡¢ÌäÂê¤Î¤¢¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¼è¤ê½ü¤¯¤Î¤Ë&dselect; ¤ä
399 <command/dpkg --remove/ ¤ò»ÈÍѤ·¤Þ¤¹)
400 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò <option/-m/ ¥ª¥×¥·¥ç¥ó¤ÈƱ»þ¤Ë»ÈÍѤ¹¤ë¤È¡¢
401 ¤¢¤ë¾õ¶·¤Ç¤Ï¥¨¥é¡¼¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
402 ÀßÄê¹àÌÜ - <literal/APT::Get::Fix-Broken/
406 <VarListEntry><term><option/-m/</><term><option/--ignore-missing/</>
407 <term><option/--fix-missing/</>
410 Ignore missing packages; If packages cannot be retrieved or fail the
411 integrity check after retrieval (corrupted package files), hold back
412 those packages and handle the result. Use of this option together with
413 <option/-f/ may produce an error in some situations. If a package is
414 selected for installation (particularly if it is mentioned on the
415 command line) and it could not be downloaded then it will be silently
417 Configuration Item: <literal/APT::Get::Fix-Missing/.
419 ¸«¤Ä¤«¤é¤Ê¤¤¥Ñ¥Ã¥±¡¼¥¸¤Î̵»ë - ¥Ñ¥Ã¥±¡¼¥¸¤¬¼èÆÀ¤Ç¤¤Ê¤«¤Ã¤¿¤ê¡¢
420 (¥Ñ¥Ã¥±¡¼¥¸¤ÎÇË»¤Ç) ¼èÆÀ¤·¤¿¸å¤ÎÀ°¹çÀ¥Á¥§¥Ã¥¯¤òÄ̤é¤Ê¤«¤Ã¤¿¾ì¹ç¡¢
421 ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î½èÍý¤òÊÝα¤·ºÇ¸å¤Þ¤Ç½èÍý¤ò³¤±¤Þ¤¹¡£
422 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò <option/-f/ ¥ª¥×¥·¥ç¥ó¤ÈƱ»þ¤Ë»ÈÍѤ¹¤ë¤È¡¢
423 ¤¢¤ë¾õ¶·¤Ç¤Ï¥¨¥é¡¼¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
424 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤è¤¦ÁªÂò¤·¤Æ¤¤¤ë¾ì¹ç
425 (Æä˥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤ÎÁàºî»þ) ¤ä¡¢¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë
426 ¤Ê¤Ë¤âɽ¼¨¤»¤ºÊÝα¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
427 ÀßÄê¹àÌÜ - <literal/APT::Get::Fix-Missing/
431 <VarListEntry><term><option/--no-download/</>
434 Disables downloading of packages. This is best used with
435 <option/- -ignore-missing/ to force APT to use only the .debs it has
437 Configuration Item: <literal/APT::Get::Download/.
439 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥À¥¦¥ó¥í¡¼¥É¤ò¤µ¤»¤Þ¤»¤ó¡£¤³¤ì¤Ï¤¹¤Ç¤Ë¥À¥¦¥ó¥í¡¼¥É¤·¤¿ .deb
440 ¤ËÂФ·¤Æ¤Î¤ßAPT¤ò¹Ô¤¦ºÝ¤Ë¡¢<option/--ignore-missing/ ¤ÈÊ»¤»¤Æ
441 »È¤¦¤Î¤¬¤è¤¤¤Ç¤·¤ç¤¦¡£
442 ÀßÄê¹àÌÜ - <literal/APT::Get::Download/
446 <VarListEntry><term><option/-q/</><term><option/--quiet/</>
449 Quiet; produces output suitable for logging, omitting progress indicators.
450 More q's will produce more quiet up to a maximum of 2. You can also use
451 <option/-q=#/ to set the quiet level, overriding the configuration file.
452 Note that quiet level 2 implies <option/-y/, you should never use -qq
453 without a no-action modifier such as -d, - -print-uris or -s as APT may
454 decided to do something you did not expect.
455 Configuration Item: <literal/quiet/.
457 ÀŲº - ¿ÊĽɽ¼¨¤ò¾Êά¤·¤Æ¥í¥°¤ò¤È¤ë¤Î¤ËÊØÍø¤Ê½ÐÎϤò¹Ô¤¤¤Þ¤¹¡£
458 ºÇÂç 2 ¤Ä¤Þ¤Ç q ¤ò½Å¤Í¤ë¤³¤È¤Ç¤è¤êÀŤ«¤Ë¤Ç¤¤Þ¤¹¡£
459 ¤Þ¤¿¡¢<option/-q=#/ ¤Î¤è¤¦¤ËÀŲº¥ì¥Ù¥ë¤ò»ØÄꤷ¤Æ¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤ò
460 ¾å½ñ¤¤¹¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£
461 Ãí) ÀŲº¥ì¥Ù¥ë 2 ¤Ï <option/-y/ ¤Î°ÕÌ£¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£
462 APT ¤¬°Õ¿Þ¤·¤Ê¤¤·èÄê¤ò¹Ô¤¦¤«¤â¤·¤ì¤Ê¤¤¤Î¤Ç -d, --print-uris, -s ¤Î¤è¤¦¤Ê
463 Áàºî¤ò¹Ô¤ï¤Ê¤¤¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤º¤Ë -qq ¤ò»ÈÍѤ¹¤ë¤Ù¤¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
464 ÀßÄê¹àÌÜ - <literal/quiet/
468 <VarListEntry><term><option/-s/</>
469 <term><option/--simulate/</>
470 <term><option/--just-print/</>
471 <term><option/--dry-run/</>
472 <term><option/--recon/</>
473 <term><option/--no-act/</>
476 No action; perform a simulation of events that would occur but do not
477 actually change the system.
478 Configuration Item: <literal/APT::Get::Simulate/.
480 Æ°ºî¤Ê¤· - ¤Ê¤Ë¤¬µ¯¤³¤ë¤Î¤«¤Î¥·¥ß¥å¥ì¡¼¥·¥ç¥ó¤ò¹Ô¤¤¡¢
481 ¼ÂºÝ¤Î¥·¥¹¥Æ¥àÊѹ¹¤Ï¤·¤Þ¤»¤ó¡£
482 ÀßÄê¹àÌÜ - <literal/APT::Get::Simulate/
487 a series of lines each one representing a dpkg operation, Configure (Conf),
488 Remove (Remv), Unpack (Inst). Square brackets indicate broken packages with
489 and empty set of square brackets meaning breaks that are of no consequence
492 ¥·¥ß¥å¥ì¡¼¥È¤Î·ë²Ì¡¢dpkg ¤ÎÆ°ºî¤òɽ¤¹°ìÏ¢¤Î¹Ô¤Î¤½¤ì¤¾¤ì¤Ë¡¢ÀßÄê (Conf)¡¢
493 ºï½ü (Remv)¡¢ Ÿ³« (Inst) ¤òɽ¼¨¤·¤Þ¤¹¡£
494 ³Ñ¥«¥Ã¥³¤Ï²õ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¤òɽ¤·¡¢¶õ¤Î³Ñ¥«¥Ã¥³¤ÏÂ礷¤¿ÌäÂê¤Ç¤Ï¤Ê¤¤¤³¤È¤ò
499 <VarListEntry><term><option/-y/</><term><option/--yes/</>
500 <term><option/--assume-yes/</>
503 Automatic yes to prompts; assume "yes" as answer to all prompts and run
504 non-interactively. If an undesirable situation, such as changing a held
505 package or removing an essential package occurs then <literal/apt-get/
507 Configuration Item: <literal/APT::Get::Assume-Yes/.
509 ¥×¥í¥ó¥×¥È¤Ø¤Î¼«Æ°¾µÂú - ¤¹¤Ù¤Æ¤Î¥×¥í¥ó¥×¥È¤Ë¼«Æ°Åª¤Ë "yes" ¤ÈÅú¤¨¡¢
510 ÈóÂÐÏÃŪ¤Ë¼Â¹Ô¤·¤Þ¤¹¡£
511 ÊÝα¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¾õÂÖ¤òÊѹ¹¤·¤¿¤ê¡¢É¬¿Ü¥Ñ¥Ã¥±¡¼¥¸¤òºï½ü¤¹¤ë¤è¤¦¤ÊÉÔŬÀڤʾõ¶·¤Î¾ì¹ç¡¢
512 <literal/apt-get/ ¤ÏÃæÃǤ¹¤ë¤Ç¤·¤ç¤¦¡£
513 ÀßÄê¹àÌÜ - <literal/APT::Get::Assume-Yes/
517 <VarListEntry><term><option/-u/</><term><option/--show-upgraded/</>
520 Show upgraded packages; Print out a list of all packages that are to be
522 Configuration Item: <literal/APT::Get::Show-Upgraded/.
524 ¹¹¿·¥Ñ¥Ã¥±¡¼¥¸É½¼¨ - ¹¹¿·¤µ¤ì¤ëÁ´¥Ñ¥Ã¥±¡¼¥¸¤Î°ìÍ÷¤òɽ¼¨¤·¤Þ¤¹¡£
525 ÀßÄê¹àÌÜ - <literal/APT::Get::Show-Upgraded/
529 <VarListEntry><term><option/-b/</><term><option/--compile/</>
530 <term><option/--build/</>
533 Compile source packages after downloading them.
534 Configuration Item: <literal/APT::Get::Compile/.
536 ¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¥À¥¦¥ó¥í¡¼¥É¸å¡¢¥³¥ó¥Ñ¥¤¥ë¤·¤Þ¤¹¡£
537 ÀßÄê¹àÌÜ - <literal/APT::Get::Compile/
541 <VarListEntry><term><option/--ignore-hold/</>
544 Ignore package Holds; This causes <command/apt-get/ to ignore a hold
545 placed on a package. This may be useful in conjunction with
546 <literal/dist-upgrade/ to override a large number of undesired holds.
547 Configuration Item: <literal/APT::Ignore-Hold/.
549 ÊÝα¥Ñ¥Ã¥±¡¼¥¸Ìµ»ë - ¥Ñ¥Ã¥±¡¼¥¸¤ÎÊÝα»Ø¼¨¤ò̵»ë¤·¤Æ <command/apt-get/
551 ÂçÎ̤Υѥ屡¼¥¸¤òÊÝα¤Î²ò½ü¤ò¤¹¤ë¤Î¤Ë <literal/dist-upgrade/ ¤È¶¦¤Ë
553 ÀßÄê¹àÌÜ - <literal/APT::Ignore-Hold/
557 <VarListEntry><term><option/--no-upgrade/</>
560 Do not upgrade packages; When used in conjunction with <literal/install/
561 <literal/no-upgrade/ will prevent packages listed from being upgraded
562 if they are already installed.
563 Configuration Item: <literal/APT::Get::Upgrade/.
565 ¥Ñ¥Ã¥±¡¼¥¸¹¹¿·¤Ê¤· - <literal/install/ ¤ÈƱ»þ¤Ë»ÈÍѤ¹¤ë¤È¡¢
566 <literal/no-upgrade/ ¤Ï»ØÄꤷ¤¿¥Ñ¥Ã¥±¡¼¥¸¤¬¤¹¤Ç¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ë¾ì¹ç
568 ÀßÄê¹àÌÜ - <literal/APT::Get::Upgrade/
572 <VarListEntry><term><option/--force-yes/</>
575 Force yes; This is a dangerous option that will cause apt to continue
576 without prompting if it is doing something potentially harmful. It
577 should not be used except in very special situations. Using
578 <literal/force-yes/ can potentially destroy your system!
579 Configuration Item: <literal/APT::Get::force-yes/.
581 ¶¯À©¾µÂú - APT ¤¬²¿¤«Â»½ý¤òÍ¿¤¨¤«¤Í¤Ê¤¤Æ°ºî¤ò¤·¤è¤¦¤È¤·¤¿¾ì¹ç¤Ç¤â¡¢
582 ³Îǧ¤ÎÆþÎϤʤ·¤Ç¼Â¹Ô¤·¤Æ¤·¤Þ¤¦¡¢´í¸±¤Ê¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£
583 ¤è¤Û¤É¤Î¾õ¶·¤Ç¤Ê¤±¤ì¤Ð¡¢»ÈÍѤ·¤Ê¤¤Êý¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£
584 <literal/force-yes/ ¤Ï¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤òÇ˲õ¤·¤«¤Í¤Þ¤»¤ó!
585 ÀßÄê¹àÌÜ - <literal/APT::Get::force-yes/
589 <VarListEntry><term><option/--print-uris/</>
592 Instead of fetching the files to install their URIs are printed. Each
593 URI will have the path, the destination file name, the size and the expected
594 md5 hash. Note that the file name to write to will not always match
595 the file name on the remote site! This also works with the
596 <literal/source/ and <literal/update/ commands. When used with the
597 <literal/update/ command the MD5 and size are not included, and it is
598 up to the user to decompress any compressed files.
599 Configuration Item: <literal/APT::Get::Print-URIs/.
601 ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤¹¤ëÂå¤ï¤ê¤Ë¡¢¤½¤ÎURI¤òɽ¼¨¤·¤Þ¤¹¡£
602 URI¤Ë¤Ï¡¢¥Ñ¥¹¡¢Âоݥե¡¥¤¥ë̾¡¢¥Õ¥¡¥¤¥ë¥µ¥¤¥º¡¢Í½Â¬¤µ¤ì¤ë md5 ¥Ï¥Ã¥·¥å
604 Ãí) ½ÐÎϤ·¤¿¥Õ¥¡¥¤¥ë̾¤¬¡¢¾ï¤Ë¥ê¥â¡¼¥È¥µ¥¤¥È¤Î¥Õ¥¡¥¤¥ë̾¤È°ìÃפ¹¤ë¤ï¤±
605 ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó! ¤³¤ì¤Ï <literal/source/ ¥³¥Þ¥ó¥É¡¢ <literal/update/
606 ¥³¥Þ¥ó¥É¤Ç¤âÆ°ºî¤·¤Þ¤¹¡£
607 MD5 ¤ä¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤ò´Þ¤Þ¤º <literal/update/ ¤Ç»ÈÍѤ·¤¿¤È¤¤Ë¡¢
608 °µ½Ì¥Õ¥¡¥¤¥ë¤òŸ³«¤¹¤ë¤³¤È¤Ï¥æ¡¼¥¶¤ÎÀÕǤ¤Ë¤ª¤¤¤Æ¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£
609 ÀßÄê¹àÌÜ - <literal/APT::Get::Print-URIs/
613 <VarListEntry><term><option/--purge/</>
616 Use purge instead of remove for anything that would be removed.
617 Configuration Item: <literal/APT::Get::Purge/.
619 ºï½ü¤¹¤ë¾ì¹ç¡¢ºï½ü¤Ç¤Ï¤Ê¤¯´°Á´ºï½ü¤ò»ÈÍѤ·¤Þ¤¹¡£
620 ÀßÄê¹àÌÜ - <literal/APT::Get::Purge/
624 <VarListEntry><term><option/--reinstall/</>
627 Re-Install packages that are already installed and at the newest version.
628 Configuration Item: <literal/APT::Get::ReInstall/.
630 ¤¹¤Ç¤ËºÇ¿·ÈǤ¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Æ¤â¡¢¥Ñ¥Ã¥±¡¼¥¸¤òºÆ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
631 ÀßÄê¹àÌÜ - <literal/APT::Get::ReInstall/
635 <VarListEntry><term><option/--list-cleanup/</>
638 This option defaults to on, use <literal/- -no-list-cleanup/ to turn it
639 off. When on <command/apt-get/ will automatically manage the contents of
640 <filename>&statedir;/lists</> to ensure that obsolete files are erased.
641 The only reason to turn it off is if you frequently change your source
643 Configuration Item: <literal/APT::Get::List-Cleanup/.
645 ¤³¤Îµ¡Ç½¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç ON ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
646 OFF ¤Ë¤¹¤ë¤Ë¤Ï <literal/--no-list-cleanup/ ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£
647 ON ¤Î¾ì¹ç¡¢<command/apt-get/ ¤Ï¸Å¤¯¤Ê¤Ã¤¿¥Õ¥¡¥¤¥ë¤ò³Î¼Â¤Ë¾Ãµî¤¹¤ë¤¿¤á¡¢
648 ¼«Æ°Åª¤Ë <filename>&statedir;/lists</> ¤ÎÃæ¿È¤ò´ÉÍý¤¹¤ë¤Ç¤·¤ç¤¦¡£
649 ¤³¤ì¤ò OFF ¤Ë¤¹¤ë¤Î¤Ï¡¢¤¢¤Ê¤¿¤¬¼èÆÀ¸µ¥ê¥¹¥È¤òÉÑÈˤËÊѹ¹¤¹¤ë»þ¤°¤é¤¤¤Ç¤¹¡£
650 ÀßÄê¹àÌÜ - <literal/APT::Get::List-Cleanup/
654 <VarListEntry><term><option/-t/</>
655 <term><option/--target-release/</>
656 <term><option/--default-release/</>
659 This option controls the default input to the policy engine, it creates
660 a default pin at priority 990 using the specified release string. The
661 preferences file may further override this setting. In short, this option
662 lets you have simple control over which distribution packages will be
663 retrieved from. Some common examples might be
664 <option>-t '2.1*'</> or <option>-t unstable</>.
665 Configuration Item: <literal/APT::Default-Release/
667 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ý¥ê¥·¡¼¥¨¥ó¥¸¥ó¤Ø¤Î¥Ç¥Õ¥©¥ë¥ÈÆþÎϤòÀ©¸æ¤·¤Þ¤¹¡£
668 ¤³¤ì¤Ï¡¢»ØÄꤵ¤ì¤¿¥ê¥ê¡¼¥¹Ê¸»úÎó¤ò»ÈÍѤ·¡¢¥Ç¥Õ¥©¥ë¥È pin ¤òÍ¥ÀèÅÙ 990
670 Í¥Àè¥Õ¥¡¥¤¥ë¤Ï¤³¤ÎÀßÄê¤ò¾å½ñ¤¤·¤Þ¤¹¡£
671 Íפ¹¤ë¤Ë¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤É¤ÎÇÛÉۥѥ屡¼¥¸¤ò¼èÆÀ¤¹¤ë¤«¤ò´Êñ¤Ë
673 ¤¤¤¯¤Ä¤«°ìÈÌŪ¤ÊÎã¤Ï¡¢<option>-t '2.1*'</> ¤ä <option>-t unstable</>
675 ÀßÄê¹àÌÜ - <literal/APT::Default-Release/
679 <VarListEntry><term><option/--trivial-only/</>
682 Only perform operations that are 'trivial'. Logically this can be considered
683 related to <option/- -assume-yes/, where <option/- -assume-yes/ will answer
684 yes to any prompt, <option/- -trivial-only/ will answer no.
685 Configuration Item: <literal/APT::Get::Trivial-Only/.
687 ¡Ö½ÅÍפǤʤ¤¡×Áàºî¤Î¤ß¤ò¹Ô¤¤¤Þ¤¹¡£¤³¤ì¤ÏÏÀÍýŪ¤Ë <option/--assume-yes/ ¤Î
688 Ãç´Ö¤È¸«¤Ê¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£<option/--assume-yes/ ¤Ï¼ÁÌä¤Ë¤¹¤Ù¤Æ yes ¤È
689 Åú¤¨¤Þ¤¹¤¬¡¢<option/--trivial-only/ ¤Ï¤¹¤Ù¤Æ no ¤ÈÅú¤¨¤Þ¤¹¡£
690 ÀßÄê¹àÌÜ - <literal/APT::Get::Trivial-Only/
694 <VarListEntry><term><option/--no-remove/</>
697 If any packages are to be removed apt-get immediately aborts without
699 Configuration Item: <literal/APT::Get::Remove/
701 ¥Ñ¥Ã¥±¡¼¥¸¤¬ºï½ü¤µ¤ì¤ë¾õ¶·¤Ë¤Ê¤Ã¤¿¤È¤¡¢¥×¥í¥ó¥×¥È¤òɽ¼¨¤»¤ºÃæÃǤ·¤Þ¤¹¡£
702 ÀßÄê¹àÌÜ - <literal/APT::Get::Remove/
706 <VarListEntry><term><option/--only-source/</>
709 Only has meaning for the <literal/source/ command. indicates that the
710 given source names are not to be mapped through the binary table.
711 Configuration Item: <literal/APT::Get::Only-Source/
713 <literal/source/ ¥³¥Þ¥ó¥É¤Ç¤Î¤ß°ÕÌ£¤¬¤¢¤ê¤Þ¤¹¡£
714 »ØÄꤵ¤ì¤¿¥½¡¼¥¹Ì¾¤¬¥Ð¥¤¥Ê¥ê¥Æ¡¼¥Ö¥ë¤Ë¥Þ¥Ã¥×¤µ¤ì¤Ê¤¤¤³¤È¤ò¼¨¤·¤Þ¤¹¡£
715 ÀßÄê¹àÌÜ - <literal/APT::Get::Only-Source/
719 <VarListEntry><term><option/--diff-only/</><term><option/--tar-only/</>
722 Download only the diff or tar file of a source archive.
723 Configuration Item: <literal/APT::Get::Diff-Only/ and
724 <literal/APT::Get::Tar-Only/
726 ¥½¡¼¥¹¥¢¡¼¥«¥¤¥Ö¤Î diff ¥Õ¥¡¥¤¥ë¤ä tar ¥Õ¥¡¥¤¥ë¤Î¥À¥¦¥ó¥í¡¼¥É¤Î¤ß¤ò¹Ô¤¤¤Þ¤¹¡£
727 ÀßÄê¹àÌÜ - <literal/APT::Get::Diff-Only/ ¤È <literal/APT::Get::Tar-Only/
731 <VarListEntry><term><option/--arch-only/</>
734 Only process architecture-dependent build-dependencies.
735 Configuration Item: <literal/APT::Get::Arch-Only/
737 ¹½Ã۰͸´Ø·¸¤Î²ò·è¤ò¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ë°Í¸¤·¤¿¤â¤Î¤Î¤ß¹Ô¤¤¤Þ¤¹¡£
738 ÀßÄê¹àÌÜ - <literal/APT::Get::Arch-Only/
747 <RefSect1><Title>¥Õ¥¡¥¤¥ë</>
749 <VarListEntry><term><filename>/etc/apt/sources.list</></term>
752 locations to fetch packages from.
753 Configuration Item: <literal/Dir::Etc::SourceList/.
756 ÀßÄê¹àÌÜ - <literal/Dir::Etc::SourceList/
760 <VarListEntry><term><filename>/etc/apt/apt.conf</></term>
763 APT configuration file.
764 Configuration Item: <literal/Dir::Etc::Main/.
767 ÀßÄê¹àÌÜ - <literal/Dir::Etc::Main/
771 <VarListEntry><term><filename>/etc/apt/apt.conf.d/</></term>
774 APT configuration file fragments
775 Configuration Item: <literal/Dir::Etc::Parts/.
777 APT ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÃÇÊÒ¡£
778 ÀßÄê¹àÌÜ - <literal/Dir::Etc::Parts/
782 <VarListEntry><term><filename>/etc/apt/preferences</></term>
785 version preferences file
786 Configuration Item: <literal/Dir::Etc::Preferences/.
788 ¥Ð¡¼¥¸¥ç¥óÍ¥Àè¥Õ¥¡¥¤¥ë¡£
789 ÀßÄê¹àÌÜ - <literal/Dir::Etc::Preferences/
793 <VarListEntry><term><filename>&cachedir;/archives/</></term>
796 storage area for retrieved package files.
797 Configuration Item: <literal/Dir::Cache::Archives/.
799 ¼èÆÀºÑ¤ß¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë³ÊǼ¥¨¥ê¥¢¡£
800 ÀßÄê¹àÌÜ - <literal/Dir::Cache::Archives/
804 <VarListEntry><term><filename>&cachedir;/archives/partial/</></term>
807 storage area for package files in transit.
808 Configuration Item: <literal/Dir::Cache::Archives/ (implicit partial).
810 ¼èÆÀÃæ¥Ñ¥Ã¥±¡¼¥¸¥Õ¥¡¥¤¥ë³ÊǼ¥¨¥ê¥¢¡£
811 ÀßÄê¹àÌÜ - <literal/Dir::Cache::Archives/ (ɬÁ³Åª¤ËÉÔ´°Á´¤Ç¤¹)
815 <VarListEntry><term><filename>&statedir;/lists/</></term>
818 storage area for state information for each package resource specified in
820 Configuration Item: <literal/Dir::State::Lists/.
822 &sources-list; ¤Î¥Ñ¥Ã¥±¡¼¥¸»ñ¸»ÆÃͤξõÂÖ¾ðÊó³ÊǼ¥¨¥ê¥¢¡£
823 ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/
827 <VarListEntry><term><filename>&statedir;/lists/partial/</></term>
830 storage area for state information in transit.
831 Configuration Item: <literal/Dir::State::Lists/ (implicit partial).
833 ¼èÆÀÃæ¤Î¾õÂÖ¾ðÊó³ÊǼ¥¨¥ê¥¢¡£
834 ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ (ɬÁ³Åª¤ËÉÔ´°Á´¤Ç¤¹)
840 <RefSect1><Title>´ØÏ¢¹àÌÜ</>
842 &apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;,
843 &docdir;¤Î APT ¥æ¡¼¥¶¡¼¥º¥¬¥¤¥É, &apt-preferences;
847 <RefSect1><Title>¿ÇÃÇ¥á¥Ã¥»¡¼¥¸</>
849 <command/apt-get/ ¤ÏÀµ¾ï½ªÎ»»þ¤Ë 0 ¤òÊÖ¤·¤Þ¤¹¡£
850 ¥¨¥é¡¼»þ¤Ë¤Ï½½¿Ê¤Î 100 ¤òÊÖ¤·¤Þ¤¹¡£