apt-get.8.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
  4. <!ENTITY % aptent SYSTEM "apt.ent">
  5. %aptent;
  6. ]>
  7. <refentry>
  8. <refentryinfo>
  9. &apt-author.jgunthorpe;
  10. &apt-author.team;
  11. &apt-email;
  12. &apt-product;
  13. <!-- The last update date -->
  14. <date>28 October 2008</date>
  15. </refentryinfo>
  16. <refmeta>
  17. <refentrytitle>apt-get</refentrytitle>
  18. <manvolnum>8</manvolnum>
  19. </refmeta>
  20. <!-- Man page title -->
  21. <refnamediv>
  22. <refname>apt-get</refname>
  23. <refpurpose>APT package handling utility -- command-line interface</refpurpose>
  24. </refnamediv>
  25. <!-- Arguments -->
  26. <refsynopsisdiv>
  27. <cmdsynopsis>
  28. <command>apt-get</command>
  29. <arg><option>-hvs</option></arg>
  30. <arg><option>-o=<replaceable>config string</replaceable></option></arg>
  31. <arg><option>-c=<replaceable>file</replaceable></option></arg>
  32. <group choice="req">
  33. <arg>update</arg>
  34. <arg>upgrade</arg>
  35. <arg>dselect-upgrade</arg>
  36. <arg>install
  37. <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable>
  38. <group choice='opt'>
  39. <arg>
  40. =<replaceable>pkg_version_number</replaceable>
  41. </arg>
  42. <arg>
  43. /<replaceable>target_release_name</replaceable>
  44. </arg>
  45. </group>
  46. </arg>
  47. </arg>
  48. <arg>remove <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg>
  49. <arg>purge <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg>
  50. </arg>
  51. <arg>source
  52. <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable>
  53. <group choice='opt'>
  54. <arg>
  55. =<replaceable>pkg_version_number</replaceable>
  56. </arg>
  57. </group>
  58. </arg>
  59. </arg>
  60. <arg>build-dep <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg>
  61. <arg>check</arg>
  62. <arg>clean</arg>
  63. <arg>autoclean</arg>
  64. <arg>autoremove</arg>
  65. </group>
  66. </cmdsynopsis>
  67. </refsynopsisdiv>
  68. <refsect1><title>Description</title>
  69. <para><command>apt-get</command> is the command-line tool for handling packages, and may be
  70. considered the user's "back-end" to other tools using the APT
  71. library. Several "front-end" interfaces exist, such as dselect(8),
  72. aptitude, synaptic, gnome-apt and wajig.</para>
  73. <para>Unless the <option>-h</option>, or <option>--help</option> option is given, one of the
  74. commands below must be present.</para>
  75. <variablelist>
  76. <varlistentry><term>update</term>
  77. <listitem><para><literal>update</literal> is used to resynchronize the package index files from
  78. their sources. The indexes of available packages are fetched from the
  79. location(s) specified in <filename>/etc/apt/sources.list</filename>.
  80. For example, when using a Debian archive, this command retrieves and
  81. scans the <filename>Packages.gz</filename> files, so that information about new
  82. and updated packages is available. An <literal>update</literal> should always be
  83. performed before an <literal>upgrade</literal> or <literal>dist-upgrade</literal>. Please
  84. be aware that the overall progress meter will be incorrect as the size
  85. of the package files cannot be known in advance.</para></listitem>
  86. </varlistentry>
  87. <varlistentry><term>upgrade</term>
  88. <listitem><para><literal>upgrade</literal> is used to install the newest versions of all packages
  89. currently installed on the system from the sources enumerated in
  90. <filename>/etc/apt/sources.list</filename>. Packages currently installed with
  91. new versions available are retrieved and upgraded; under no circumstances
  92. are currently installed packages removed, or packages not already installed
  93. retrieved and installed. New versions of currently installed packages that
  94. cannot be upgraded without changing the install status of another package
  95. will be left at their current version. An <literal>update</literal> must be
  96. performed first so that <command>apt-get</command> knows that new versions of packages are
  97. available.</para></listitem>
  98. </varlistentry>
  99. <varlistentry><term>dselect-upgrade</term>
  100. <listitem><para><literal>dselect-upgrade</literal>
  101. is used in conjunction with the traditional Debian packaging
  102. front-end, &dselect;. <literal>dselect-upgrade</literal>
  103. follows the changes made by &dselect; to the <literal>Status</literal>
  104. field of available packages, and performs the actions necessary to realize
  105. that state (for instance, the removal of old and the installation of new
  106. packages).</para></listitem>
  107. </varlistentry>
  108. <varlistentry><term>dist-upgrade</term>
  109. <listitem><para><literal>dist-upgrade</literal> in addition to performing the function of
  110. <literal>upgrade</literal>, also intelligently handles changing dependencies
  111. with new versions of packages; <command>apt-get</command> has a "smart" conflict
  112. resolution system, and it will attempt to upgrade the most important
  113. packages at the expense of less important ones if necessary.
  114. The <filename>/etc/apt/sources.list</filename> file contains a list of locations
  115. from which to retrieve desired package files.
  116. See also &apt-preferences; for a mechanism for
  117. overriding the general settings for individual packages.</para></listitem>
  118. </varlistentry>
  119. <varlistentry><term>install</term>
  120. <listitem><para><literal>install</literal> is followed by one or more packages desired for
  121. installation. Each package is a package name, not a fully qualified
  122. filename (for instance, in a Debian GNU/Linux system, libc6 would be the
  123. argument provided, not <literal>libc6_1.9.6-2.deb</literal>) All packages required
  124. by the package(s) specified for installation will also be retrieved and
  125. installed. The <filename>/etc/apt/sources.list</filename> file is used to locate
  126. the desired packages. If a hyphen is appended to the package name (with
  127. no intervening space), the identified package will be removed if it is
  128. installed. Similarly a plus sign can be used to designate a package to
  129. install. These latter features may be used to override decisions made by
  130. apt-get's conflict resolution system.</para>
  131. <para>A specific version of a package can be selected for installation by
  132. following the package name with an equals and the version of the package
  133. to select. This will cause that version to be located and selected for
  134. install. Alternatively a specific distribution can be selected by
  135. following the package name with a slash and the version of the
  136. distribution or the Archive name (stable, testing, unstable).</para>
  137. <para>Both of the version selection mechanisms can downgrade packages and must
  138. be used with care.</para>
  139. <para>Finally, the &apt-preferences; mechanism allows you to
  140. create an alternative installation policy for
  141. individual packages.</para>
  142. <para>If no package matches the given expression and the expression contains one
  143. of '.', '?' or '*' then it is assumed to be a POSIX regular expression,
  144. and it is applied
  145. to all package names in the database. Any matches are then installed (or
  146. removed). Note that matching is done by substring so 'lo.*' matches 'how-lo'
  147. and 'lowest'. If this is undesired, anchor the regular expression
  148. with a '^' or '$' character, or create a more specific regular expression.</para></listitem>
  149. </varlistentry>
  150. <varlistentry><term>remove</term>
  151. <listitem><para><literal>remove</literal> is identical to <literal>install</literal> except that packages are
  152. removed instead of installed. If a plus sign is appended to the package
  153. name (with no intervening space), the identified package will be
  154. installed instead of removed.</para></listitem>
  155. </varlistentry>
  156. <varlistentry><term>purge</term>
  157. <listitem><para><literal>purge</literal> is identical to <literal>remove</literal> except that packages are
  158. removed and purged.</para></listitem>
  159. </varlistentry>
  160. <varlistentry><term>source</term>
  161. <listitem><para><literal>source</literal> causes <command>apt-get</command> to fetch source packages. APT
  162. will examine the available packages to decide which source package to
  163. fetch. It will then find and download into the current directory the
  164. newest available version of that source package. Source packages are
  165. tracked separately from binary packages via <literal>deb-src</literal> type lines
  166. in the &sources-list; file. This probably will mean that you will not
  167. get the same source as the package you have installed or as you could
  168. install. If the --compile options is specified then the package will be
  169. compiled to a binary .deb using dpkg-buildpackage, if --download-only is
  170. specified then the source package will not be unpacked.</para>
  171. <para>A specific source version can be retrieved by postfixing the source name
  172. with an equals and then the version to fetch, similar to the mechanism
  173. used for the package files. This enables exact matching of the source
  174. package name and version, implicitly enabling the
  175. <literal>APT::Get::Only-Source</literal> option.</para>
  176. <para>Note that source packages are not tracked like binary packages, they
  177. exist only in the current directory and are similar to downloading source
  178. tar balls.</para></listitem>
  179. </varlistentry>
  180. <varlistentry><term>build-dep</term>
  181. <listitem><para><literal>build-dep</literal> causes apt-get to install/remove packages in an
  182. attempt to satisfy the build dependencies for a source package.</para></listitem>
  183. </varlistentry>
  184. <varlistentry><term>check</term>
  185. <listitem><para><literal>check</literal> is a diagnostic tool; it updates the package cache and checks
  186. for broken dependencies.</para></listitem>
  187. </varlistentry>
  188. <varlistentry><term>clean</term>
  189. <listitem><para><literal>clean</literal> clears out the local repository of retrieved package
  190. files. It removes everything but the lock file from
  191. <filename>&cachedir;/archives/</filename> and
  192. <filename>&cachedir;/archives/partial/</filename>. When APT is used as a
  193. &dselect; method, <literal>clean</literal> is run automatically.
  194. Those who do not use dselect will likely want to run <literal>apt-get clean</literal>
  195. from time to time to free up disk space.</para></listitem>
  196. </varlistentry>
  197. <varlistentry><term>autoclean</term>
  198. <listitem><para>Like <literal>clean</literal>, <literal>autoclean</literal> clears out the local
  199. repository of retrieved package files. The difference is that it only
  200. removes package files that can no longer be downloaded, and are largely
  201. useless. This allows a cache to be maintained over a long period without
  202. it growing out of control. The configuration option
  203. <literal>APT::Clean-Installed</literal> will prevent installed packages from being
  204. erased if it is set to off.</para></listitem>
  205. </varlistentry>
  206. <varlistentry><term>autoremove</term>
  207. <listitem><para><literal>autoremove</literal> is used to remove packages that were automatically
  208. installed to satisfy dependencies for some package and that are no more needed.</para></listitem>
  209. </varlistentry>
  210. </variablelist>
  211. </refsect1>
  212. <refsect1><title>options</title>
  213. &apt-cmdblurb;
  214. <variablelist>
  215. <varlistentry><term><option>-d</option></term><term><option>--download-only</option></term>
  216. <listitem><para>Download only; package files are only retrieved, not unpacked or installed.
  217. Configuration Item: <literal>APT::Get::Download-Only</literal>.</para></listitem>
  218. </varlistentry>
  219. <varlistentry><term><option>-f</option></term><term><option>--fix-broken</option></term>
  220. <listitem><para>Fix; attempt to correct a system with broken dependencies in
  221. place. This option, when used with install/remove, can omit any packages
  222. to permit APT to deduce a likely solution. Any Package that are specified
  223. must completely correct the problem. The option is sometimes necessary when
  224. running APT for the first time; APT itself does not allow broken package
  225. dependencies to exist on a system. It is possible that a system's
  226. dependency structure can be so corrupt as to require manual intervention
  227. (which usually means using &dselect; or <command>dpkg --remove</command> to eliminate some of
  228. the offending packages). Use of this option together with <option>-m</option> may produce an
  229. error in some situations.
  230. Configuration Item: <literal>APT::Get::Fix-Broken</literal>.</para></listitem>
  231. </varlistentry>
  232. <varlistentry><term><option>-m</option></term><term><option>--ignore-missing</option></term>
  233. <term><option>--fix-missing</option></term>
  234. <listitem><para>Ignore missing packages; If packages cannot be retrieved or fail the
  235. integrity check after retrieval (corrupted package files), hold back
  236. those packages and handle the result. Use of this option together with
  237. <option>-f</option> may produce an error in some situations. If a package is
  238. selected for installation (particularly if it is mentioned on the
  239. command line) and it could not be downloaded then it will be silently
  240. held back.
  241. Configuration Item: <literal>APT::Get::Fix-Missing</literal>.</para></listitem>
  242. </varlistentry>
  243. <varlistentry><term><option>--no-download</option></term>
  244. <listitem><para>Disables downloading of packages. This is best used with
  245. <option>--ignore-missing</option> to force APT to use only the .debs it has
  246. already downloaded.
  247. Configuration Item: <literal>APT::Get::Download</literal>.</para></listitem>
  248. </varlistentry>
  249. <varlistentry><term><option>-q</option></term><term><option>--quiet</option></term>
  250. <listitem><para>Quiet; produces output suitable for logging, omitting progress indicators.
  251. More q's will produce more quiet up to a maximum of 2. You can also use
  252. <option>-q=#</option> to set the quiet level, overriding the configuration file.
  253. Note that quiet level 2 implies <option>-y</option>, you should never use -qq
  254. without a no-action modifier such as -d, --print-uris or -s as APT may
  255. decided to do something you did not expect.
  256. Configuration Item: <literal>quiet</literal>.</para></listitem>
  257. </varlistentry>
  258. <varlistentry><term><option>-s</option></term>
  259. <term><option>--simulate</option></term>
  260. <term><option>--just-print</option></term>
  261. <term><option>--dry-run</option></term>
  262. <term><option>--recon</option></term>
  263. <term><option>--no-act</option></term>
  264. <listitem><para>No action; perform a simulation of events that would occur but do not
  265. actually change the system.
  266. Configuration Item: <literal>APT::Get::Simulate</literal>.</para>
  267. <para>Simulate prints out
  268. a series of lines each one representing a dpkg operation, Configure (Conf),
  269. Remove (Remv), Unpack (Inst). Square brackets indicate broken packages with
  270. and empty set of square brackets meaning breaks that are of no consequence
  271. (rare).</para></listitem>
  272. </varlistentry>
  273. <varlistentry><term><option>-y</option></term><term><option>--yes</option></term>
  274. <term><option>--assume-yes</option></term>
  275. <listitem><para>Automatic yes to prompts; assume "yes" as answer to all prompts and run
  276. non-interactively. If an undesirable situation, such as changing a held
  277. package, trying to install a unauthenticated package or removing an essential package
  278. occurs then <literal>apt-get</literal> will abort.
  279. Configuration Item: <literal>APT::Get::Assume-Yes</literal>.</para></listitem>
  280. </varlistentry>
  281. <varlistentry><term><option>-u</option></term><term><option>--show-upgraded</option></term>
  282. <listitem><para>Show upgraded packages; Print out a list of all packages that are to be
  283. upgraded.
  284. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>.</para></listitem>
  285. </varlistentry>
  286. <varlistentry><term><option>-V</option></term><term><option>--verbose-versions</option></term>
  287. <listitem><para>Show full versions for upgraded and installed packages.
  288. Configuration Item: <literal>APT::Get::Show-Versions</literal>.</para></listitem>
  289. </varlistentry>
  290. <varlistentry><term><option>-b</option></term><term><option>--compile</option></term>
  291. <term><option>--build</option></term>
  292. <listitem><para>Compile source packages after downloading them.
  293. Configuration Item: <literal>APT::Get::Compile</literal>.</para></listitem>
  294. </varlistentry>
  295. <varlistentry><term><option>--ignore-hold</option></term>
  296. <listitem><para>Ignore package Holds; This causes <command>apt-get</command> to ignore a hold
  297. placed on a package. This may be useful in conjunction with
  298. <literal>dist-upgrade</literal> to override a large number of undesired holds.
  299. Configuration Item: <literal>APT::Ignore-Hold</literal>.</para></listitem>
  300. </varlistentry>
  301. <varlistentry><term><option>--no-upgrade</option></term>
  302. <listitem><para>Do not upgrade packages; When used in conjunction with <literal>install</literal>,
  303. <literal>no-upgrade</literal> will prevent packages on the command line
  304. from being upgraded if they are already installed.
  305. Configuration Item: <literal>APT::Get::Upgrade</literal>.</para></listitem>
  306. </varlistentry>
  307. <varlistentry><term><option>--force-yes</option></term>
  308. <listitem><para>Force yes; This is a dangerous option that will cause apt to continue
  309. without prompting if it is doing something potentially harmful. It
  310. should not be used except in very special situations. Using
  311. <literal>force-yes</literal> can potentially destroy your system!
  312. Configuration Item: <literal>APT::Get::force-yes</literal>.</para></listitem>
  313. </varlistentry>
  314. <varlistentry><term><option>--print-uris</option></term>
  315. <listitem><para>Instead of fetching the files to install their URIs are printed. Each
  316. URI will have the path, the destination file name, the size and the expected
  317. md5 hash. Note that the file name to write to will not always match
  318. the file name on the remote site! This also works with the
  319. <literal>source</literal> and <literal>update</literal> commands. When used with the
  320. <literal>update</literal> command the MD5 and size are not included, and it is
  321. up to the user to decompress any compressed files.
  322. Configuration Item: <literal>APT::Get::Print-URIs</literal>.</para></listitem>
  323. </varlistentry>
  324. <varlistentry><term><option>--purge</option></term>
  325. <listitem><para>Use purge instead of remove for anything that would be removed.
  326. An asterisk ("*") will be displayed next to packages which are
  327. scheduled to be purged.
  328. Configuration Item: <literal>APT::Get::Purge</literal>.</para></listitem>
  329. </varlistentry>
  330. <varlistentry><term><option>--reinstall</option></term>
  331. <listitem><para>Re-Install packages that are already installed and at the newest version.
  332. Configuration Item: <literal>APT::Get::ReInstall</literal>.</para></listitem>
  333. </varlistentry>
  334. <varlistentry><term><option>--list-cleanup</option></term>
  335. <listitem><para>This option defaults to on, use <literal>--no-list-cleanup</literal> to turn it
  336. off. When on <command>apt-get</command> will automatically manage the contents of
  337. <filename>&statedir;/lists</filename> to ensure that obsolete files are erased.
  338. The only reason to turn it off is if you frequently change your source
  339. list.
  340. Configuration Item: <literal>APT::Get::List-Cleanup</literal>.</para></listitem>
  341. </varlistentry>
  342. <varlistentry><term><option>-t</option></term>
  343. <term><option>--target-release</option></term>
  344. <term><option>--default-release</option></term>
  345. <listitem><para>This option controls the default input to the policy engine, it creates
  346. a default pin at priority 990 using the specified release string.
  347. This overrides the general settings in <filename>/etc/apt/preferences</filename>.
  348. Specifically pinned packages are not affected by the value
  349. of this option. In short, this option
  350. lets you have simple control over which distribution packages will be
  351. retrieved from. Some common examples might be
  352. <option>-t '2.1*'</option> or <option>-t unstable</option>.
  353. Configuration Item: <literal>APT::Default-Release</literal>;
  354. see also the &apt-preferences; manual page.</para></listitem>
  355. </varlistentry>
  356. <varlistentry><term><option>--trivial-only</option></term>
  357. <listitem><para>
  358. Only perform operations that are 'trivial'. Logically this can be considered
  359. related to <option>--assume-yes</option>, where <option>--assume-yes</option> will answer
  360. yes to any prompt, <option>--trivial-only</option> will answer no.
  361. Configuration Item: <literal>APT::Get::Trivial-Only</literal>.</para></listitem>
  362. </varlistentry>
  363. <varlistentry><term><option>--no-remove</option></term>
  364. <listitem><para>If any packages are to be removed apt-get immediately aborts without
  365. prompting.
  366. Configuration Item: <literal>APT::Get::Remove</literal>.</para></listitem>
  367. </varlistentry>
  368. <varlistentry><term><option>--auto-remove</option></term>
  369. <listitem><para>If the command is either <literal>install</literal> or <literal>remove</literal>,
  370. then this option acts like running <literal>autoremove</literal> command, removing the unused
  371. dependency packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>.
  372. </para></listitem>
  373. </varlistentry>
  374. <varlistentry><term><option>--only-source</option></term>
  375. <listitem><para>Only has meaning for the
  376. <literal>source</literal> and <literal>build-dep</literal>
  377. commands. Indicates that the given source names are not to be
  378. mapped through the binary table. This means that if this option
  379. is specified, these commands will only accept source package
  380. names as arguments, rather than accepting binary package names
  381. and looking up the corresponding source package. Configuration
  382. Item: <literal>APT::Get::Only-Source</literal>.</para></listitem>
  383. </varlistentry>
  384. <varlistentry><term><option>--diff-only</option></term><term><option>--dsc-only</option></term><term><option>--tar-only</option></term>
  385. <listitem><para>Download only the diff, dsc, or tar file of a source archive.
  386. Configuration Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</literal>, and
  387. <literal>APT::Get::Tar-Only</literal>.</para></listitem>
  388. </varlistentry>
  389. <varlistentry><term><option>--arch-only</option></term>
  390. <listitem><para>Only process architecture-dependent build-dependencies.
  391. Configuration Item: <literal>APT::Get::Arch-Only</literal>.</para></listitem>
  392. </varlistentry>
  393. <varlistentry><term><option>--allow-unauthenticated</option></term>
  394. <listitem><para>Ignore if packages can't be authenticated and don't prompt about it.
  395. This is useful for tools like pbuilder.
  396. Configuration Item: <literal>APT::Get::AllowUnauthenticated</literal>.</para></listitem>
  397. </varlistentry>
  398. &apt-commonoptions;
  399. </variablelist>
  400. </refsect1>
  401. <refsect1><title>Files</title>
  402. <variablelist>
  403. <varlistentry><term><filename>/etc/apt/sources.list</filename></term>
  404. <listitem><para>Locations to fetch packages from.
  405. Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem>
  406. </varlistentry>
  407. <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>
  408. <listitem><para>APT configuration file.
  409. Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem>
  410. </varlistentry>
  411. <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>
  412. <listitem><para>APT configuration file fragments
  413. Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem>
  414. </varlistentry>
  415. <varlistentry><term><filename>/etc/apt/preferences</filename></term>
  416. <listitem><para>Version preferences file.
  417. This is where you would specify "pinning",
  418. i.e. a preference to get certain packages
  419. from a separate source
  420. or from a different version of a distribution.
  421. Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem>
  422. </varlistentry>
  423. <varlistentry><term><filename>&cachedir;/archives/</filename></term>
  424. <listitem><para>Storage area for retrieved package files.
  425. Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem>
  426. </varlistentry>
  427. <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>
  428. <listitem><para>Storage area for package files in transit.
  429. Configuration Item: <literal>Dir::Cache::Archives</literal> (implicit partial). </para></listitem>
  430. </varlistentry>
  431. <varlistentry><term><filename>&statedir;/lists/</filename></term>
  432. <listitem><para>Storage area for state information for each package resource specified in
  433. &sources-list;
  434. Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem>
  435. </varlistentry>
  436. <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>
  437. <listitem><para> Storage area for state information in transit.
  438. Configuration Item: <literal>Dir::State::Lists</literal> (implicit partial).</para></listitem>
  439. </varlistentry>
  440. </variablelist>
  441. </refsect1>
  442. <refsect1><title>See Also</title>
  443. <para>&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;,
  444. &apt-conf;, &apt-config;, &apt-secure;,
  445. The APT User's guide in &guidesdir;, &apt-preferences;, the APT Howto.</para>
  446. </refsect1>
  447. <refsect1><title>Diagnostics</title>
  448. <para><command>apt-get</command> returns zero on normal operation, decimal 100 on error.</para>
  449. </refsect1>
  450. <refsect1>
  451. <title>ORIGINAL AUTHORS</title>
  452. &apt-author.jgunthorpe;
  453. </refsect1>
  454. <refsect2>
  455. <title>CURRENT AUTHORS</title>
  456. &apt-author.team;
  457. &apt-qapage;
  458. </refsect2>
  459. &manbugs;
  460. </refentry>