You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

7946 lines
311 KiB

  1. # Translation of apt manpages and documentation to LANGUAGE
  2. # This file is distributed under the same license as the apt-doc package.
  3. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  4. #
  5. #, fuzzy
  6. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: apt-doc 1.5~alpha4\n"
  9. "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
  10. "POT-Creation-Date: 2017-07-03 16:55+0200\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Plain text
  19. #: apt.ent:1
  20. #, no-wrap
  21. msgid ""
  22. "<!ENTITY apt-author.team \"\n"
  23. " <author>\n"
  24. " <othername>APT team</othername>\n"
  25. " <contrib></contrib>\n"
  26. " </author>\n"
  27. "\">\n"
  28. msgstr ""
  29. #. type: Plain text
  30. #: apt.ent:1
  31. #, no-wrap
  32. msgid ""
  33. "<!ENTITY apt-qapage \"\n"
  34. "\t<para>\n"
  35. "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
  36. "\t</para>\n"
  37. "\">\n"
  38. msgstr ""
  39. #. type: Plain text
  40. #: apt.ent:1
  41. #, no-wrap
  42. msgid ""
  43. "<!-- Boiler plate Bug reporting section -->\n"
  44. "<!ENTITY manbugs \"\n"
  45. " <refsect1><title>Bugs</title>\n"
  46. " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
  47. " If you wish to report a bug in APT, please see\n"
  48. " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
  49. " &reportbug; command.\n"
  50. " </para>\n"
  51. " </refsect1>\n"
  52. "\">\n"
  53. msgstr ""
  54. #. type: Plain text
  55. #: apt.ent:1
  56. #, no-wrap
  57. msgid ""
  58. "<!-- Boiler plate Author section -->\n"
  59. "<!ENTITY manauthor \"\n"
  60. " <refsect1><title>Author</title>\n"
  61. " <para>APT was written by the APT team "
  62. "<email>apt@packages.debian.org</email>.\n"
  63. " </para>\n"
  64. " </refsect1>\n"
  65. "\">\n"
  66. msgstr ""
  67. #. type: Plain text
  68. #: apt.ent:1
  69. #, no-wrap
  70. msgid ""
  71. "<!-- Should be used within the option section of the text to\n"
  72. " put in the blurb about -h, -v, -c and -o -->\n"
  73. "<!ENTITY apt-commonoptions \"\n"
  74. " <varlistentry><term><option>-h</option></term>\n"
  75. " <term><option>--help</option></term>\n"
  76. " <listitem><para>Show a short usage summary.\n"
  77. " </para>\n"
  78. " </listitem>\n"
  79. " </varlistentry>\n"
  80. msgstr ""
  81. #. type: Plain text
  82. #: apt.ent:1
  83. #, no-wrap
  84. msgid ""
  85. " <varlistentry>\n"
  86. " <term><option>-v</option></term>\n"
  87. " <term><option>--version</option></term>\n"
  88. " <listitem><para>Show the program version.\n"
  89. " </para>\n"
  90. " </listitem>\n"
  91. " </varlistentry>\n"
  92. msgstr ""
  93. #. type: Plain text
  94. #: apt.ent:1
  95. #, no-wrap
  96. msgid ""
  97. " <varlistentry>\n"
  98. " <term><option>-c</option></term>\n"
  99. " <term><option>--config-file</option></term>\n"
  100. " <listitem><para>Configuration File; Specify a configuration file to "
  101. "use. \n"
  102. " The program will read the default configuration file and then this \n"
  103. " configuration file. If configuration settings need to be set before "
  104. "the\n"
  105. " default configuration files are parsed specify a file with the "
  106. "<envar>APT_CONFIG</envar>\n"
  107. " environment variable. See &apt-conf; for syntax information.\n"
  108. " </para>\n"
  109. " </listitem>\n"
  110. " </varlistentry>\n"
  111. msgstr ""
  112. #. type: Plain text
  113. #: apt.ent:1
  114. #, no-wrap
  115. msgid ""
  116. " <varlistentry>\n"
  117. " <term><option>-o</option></term>\n"
  118. " <term><option>--option</option></term>\n"
  119. " <listitem><para>Set a Configuration Option; This will set an "
  120. "arbitrary\n"
  121. " configuration option. The syntax is <option>-o "
  122. "Foo::Bar=bar</option>.\n"
  123. " <option>-o</option> and <option>--option</option> can be used "
  124. "multiple\n"
  125. " times to set different options.\n"
  126. " </para>\n"
  127. " </listitem>\n"
  128. " </varlistentry>\n"
  129. "\">\n"
  130. msgstr ""
  131. #. type: Plain text
  132. #: apt.ent:1
  133. #, no-wrap
  134. msgid ""
  135. "<!-- Should be used within the option section of the text to\n"
  136. " put in the blurb about -h, -v, -c and -o -->\n"
  137. "<!ENTITY apt-cmdblurb \"\n"
  138. " <para>All command line options may be set using the configuration file, "
  139. "the\n"
  140. " descriptions indicate the configuration option to set. For boolean\n"
  141. " options you can override the config file by using something like \n"
  142. " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
  143. " or several other variations.\n"
  144. " </para>\n"
  145. "\">\n"
  146. msgstr ""
  147. #. type: Plain text
  148. #: apt.ent:1
  149. #, no-wrap
  150. msgid ""
  151. "<!ENTITY file-aptconf \"\n"
  152. " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
  153. " <listitem><para>APT configuration file.\n"
  154. " Configuration Item: "
  155. "<literal>Dir::Etc::Main</literal>.</para></listitem>\n"
  156. " </varlistentry>\n"
  157. msgstr ""
  158. #. type: Plain text
  159. #: apt.ent:1
  160. #, no-wrap
  161. msgid ""
  162. " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
  163. " <listitem><para>APT configuration file fragments.\n"
  164. " Configuration Item: "
  165. "<literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
  166. " </varlistentry>\n"
  167. "\">\n"
  168. msgstr ""
  169. #. type: Plain text
  170. #: apt.ent:1
  171. #, no-wrap
  172. msgid ""
  173. "<!ENTITY file-cachearchives \"\n"
  174. " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
  175. " <listitem><para>Storage area for retrieved package files.\n"
  176. " Configuration Item: "
  177. "<literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
  178. " </varlistentry>\n"
  179. msgstr ""
  180. #. type: Plain text
  181. #: apt.ent:1
  182. #, no-wrap
  183. msgid ""
  184. " "
  185. "<varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
  186. " <listitem><para>Storage area for package files in transit.\n"
  187. " Configuration Item: <literal>Dir::Cache::Archives</literal> "
  188. "(<filename>partial</filename> will be implicitly "
  189. "appended)</para></listitem>\n"
  190. " </varlistentry>\n"
  191. "\">\n"
  192. msgstr ""
  193. #. type: Plain text
  194. #: apt.ent:1
  195. #, no-wrap
  196. msgid ""
  197. "<!ENTITY file-preferences \"\n"
  198. " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
  199. " <listitem><para>Version preferences file.\n"
  200. " This is where you would specify &quot;pinning&quot;,\n"
  201. " i.e. a preference to get certain packages\n"
  202. " from a separate source\n"
  203. " or from a different version of a distribution.\n"
  204. " Configuration Item: "
  205. "<literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
  206. " </varlistentry>\n"
  207. msgstr ""
  208. #. type: Plain text
  209. #: apt.ent:1
  210. #, no-wrap
  211. msgid ""
  212. " "
  213. "<varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
  214. " <listitem><para>File fragments for the version preferences.\n"
  215. " Configuration Item: "
  216. "<literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
  217. " </varlistentry>\n"
  218. "\">\n"
  219. msgstr ""
  220. #. type: Plain text
  221. #: apt.ent:1
  222. #, no-wrap
  223. msgid ""
  224. "<!ENTITY file-sourceslist \"\n"
  225. " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
  226. " <listitem><para>Locations to fetch packages from.\n"
  227. " Configuration Item: "
  228. "<literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
  229. " </varlistentry>\n"
  230. msgstr ""
  231. #. type: Plain text
  232. #: apt.ent:1
  233. #, no-wrap
  234. msgid ""
  235. " "
  236. "<varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
  237. " <listitem><para>File fragments for locations to fetch packages from.\n"
  238. " Configuration Item: "
  239. "<literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
  240. " </varlistentry>\n"
  241. "\">\n"
  242. msgstr ""
  243. #. type: Plain text
  244. #: apt.ent:1
  245. #, no-wrap
  246. msgid ""
  247. "<!ENTITY file-statelists \"\n"
  248. " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
  249. " <listitem><para>Storage area for state information for each package "
  250. "resource specified in\n"
  251. " &sources-list;\n"
  252. " Configuration Item: "
  253. "<literal>Dir::State::Lists</literal>.</para></listitem>\n"
  254. " </varlistentry>\n"
  255. msgstr ""
  256. #. type: Plain text
  257. #: apt.ent:1
  258. #, no-wrap
  259. msgid ""
  260. " "
  261. "<varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
  262. " <listitem><para>Storage area for state information in transit.\n"
  263. " Configuration Item: <literal>Dir::State::Lists</literal> "
  264. "(<filename>partial</filename> will be implicitly "
  265. "appended)</para></listitem>\n"
  266. " </varlistentry>\n"
  267. "\">\n"
  268. msgstr ""
  269. #. type: Plain text
  270. #: apt.ent:1
  271. #, no-wrap
  272. msgid ""
  273. "<!ENTITY file-trustedgpg \"\n"
  274. " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
  275. " <listitem><para>Keyring of local trusted keys, new keys will be added "
  276. "here.\n"
  277. " Configuration Item: "
  278. "<literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
  279. " </varlistentry>\n"
  280. msgstr ""
  281. #. type: Plain text
  282. #: apt.ent:1
  283. #, no-wrap
  284. msgid ""
  285. " "
  286. "<varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
  287. " <listitem><para>File fragments for the trusted keys, additional "
  288. "keyrings can\n"
  289. " be stored here (by other packages or the administrator).\n"
  290. " Configuration Item "
  291. "<literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
  292. " </varlistentry>\n"
  293. "\">\n"
  294. msgstr ""
  295. #. type: Plain text
  296. #: apt.ent:1
  297. #, no-wrap
  298. msgid ""
  299. "<!ENTITY file-extended_states \"\n"
  300. " "
  301. "<varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
  302. " <listitem><para>Status list of auto-installed packages.\n"
  303. " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
  304. " </para></listitem>\n"
  305. " </varlistentry>\n"
  306. "\">\n"
  307. msgstr ""
  308. #. type: Plain text
  309. #: apt.ent:1
  310. #, no-wrap
  311. msgid ""
  312. "<!-- TRANSLATOR: This is the section header for the following paragraphs - "
  313. "comparable\n"
  314. " to the other headers like NAME and DESCRIPTION and should therefore be "
  315. "uppercase. -->\n"
  316. "<!ENTITY translation-title \"TRANSLATION\">\n"
  317. msgstr ""
  318. #. type: Plain text
  319. #: apt.ent:1
  320. #, no-wrap
  321. msgid ""
  322. "<!-- TRANSLATOR: This is a placeholder. You should write here who has "
  323. "contributed\n"
  324. " to the translation in the past, who is responsible now and maybe "
  325. "further information\n"
  326. " specially related to your translation. -->\n"
  327. "<!ENTITY translation-holder \"\n"
  328. " The english translation was done by John Doe "
  329. "<email>john@doe.org</email> in 2009,\n"
  330. " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together "
  331. "with the\n"
  332. " Debian Dummy l10n Team "
  333. "<email>debian-l10n-dummy@lists.debian.org</email>.\n"
  334. "\">\n"
  335. msgstr ""
  336. #. type: Plain text
  337. #: apt.ent:1
  338. #, no-wrap
  339. msgid ""
  340. "<!-- TRANSLATOR: As a translation is allowed to have 20% of "
  341. "untranslated/fuzzy strings\n"
  342. " in a shipped manpage newer/modified paragraphs will maybe appear in "
  343. "english in\n"
  344. " the generated manpage. This sentence is therefore here to tell the "
  345. "reader that this\n"
  346. " is not a mistake by the translator - obviously the target is that at "
  347. "least for stable\n"
  348. " releases this sentence is not needed. :) -->\n"
  349. "<!ENTITY translation-english \"\n"
  350. " Note that this translated document may contain untranslated parts.\n"
  351. " This is done on purpose, to avoid losing content when the\n"
  352. " translation is lagging behind the original content.\n"
  353. "\">\n"
  354. msgstr ""
  355. #. type: Plain text
  356. #: apt.ent:1
  357. msgid ""
  358. "<!-- TRANSLATOR: used as in -o=config_string "
  359. "e.g. -o=Debug::pkgProblemResolver=1 --> <!ENTITY synopsis-config-string "
  360. "\"config_string\">"
  361. msgstr ""
  362. #. type: Plain text
  363. #: apt.ent:1
  364. msgid ""
  365. "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
  366. "synopsis-config-file \"config_file\">"
  367. msgstr ""
  368. #. type: Plain text
  369. #: apt.ent:1
  370. msgid ""
  371. "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release "
  372. "e.g. -t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
  373. "\"target_release\">"
  374. msgstr ""
  375. #. type: Plain text
  376. #: apt.ent:1
  377. msgid ""
  378. "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
  379. "synopsis-architecture \"architecture\">"
  380. msgstr ""
  381. #. type: Plain text
  382. #: apt.ent:1
  383. msgid ""
  384. "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
  385. "--> <!ENTITY synopsis-pkg \"pkg\">"
  386. msgstr ""
  387. #. type: Plain text
  388. #: apt.ent:1
  389. msgid ""
  390. "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> "
  391. "<!ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
  392. msgstr ""
  393. #. type: Plain text
  394. #: apt.ent:1
  395. msgid ""
  396. "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
  397. "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
  398. msgstr ""
  399. #. type: Plain text
  400. #: apt.ent:1
  401. msgid ""
  402. "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
  403. "awesome --> <!ENTITY synopsis-regex \"regex\">"
  404. msgstr ""
  405. #. type: Plain text
  406. #: apt.ent:1
  407. msgid ""
  408. "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom "
  409. "-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
  410. msgstr ""
  411. #. type: Plain text
  412. #: apt.ent:1
  413. msgid ""
  414. "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory "
  415. "e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
  416. "\"temporary_directory\">"
  417. msgstr ""
  418. #. type: Plain text
  419. #: apt.ent:1
  420. msgid ""
  421. "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
  422. "synopsis-filename \"filename\">"
  423. msgstr ""
  424. #. type: Plain text
  425. #: apt.ent:1
  426. msgid ""
  427. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  428. "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
  429. msgstr ""
  430. #. type: Plain text
  431. #: apt.ent:1
  432. msgid ""
  433. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  434. "packages path override-file pathprefix --> <!ENTITY synopsis-override "
  435. "\"override-file\">"
  436. msgstr ""
  437. #. type: Plain text
  438. #: apt.ent:1
  439. msgid ""
  440. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  441. "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
  442. "\"pathprefix\">"
  443. msgstr ""
  444. #. type: Plain text
  445. #: apt.ent:1
  446. msgid ""
  447. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  448. "generate section --> <!ENTITY synopsis-section \"section\">"
  449. msgstr ""
  450. #. type: Plain text
  451. #: apt.ent:1
  452. msgid ""
  453. "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
  454. "473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
  455. msgstr ""
  456. #. type: Content of: <refentry><refmeta><manvolnum>
  457. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  458. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  459. msgid "8"
  460. msgstr ""
  461. #. type: Content of: <refentry><refmeta><refmiscinfo>
  462. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  463. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  464. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  465. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  466. msgid "APT"
  467. msgstr ""
  468. #. type: Content of: <refentry><refnamediv><refpurpose>
  469. #: apt.8.xml:1
  470. msgid "command-line interface"
  471. msgstr ""
  472. #. type: Content of: <refentry><refsect1><title>
  473. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  474. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  475. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  476. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  477. msgid "Description"
  478. msgstr ""
  479. #. type: Content of: <refentry><refsect1><para>
  480. #: apt.8.xml:1
  481. msgid ""
  482. "<command>apt</command> provides a high-level commandline interface for the "
  483. "package management system. It is intended as an end user interface and "
  484. "enables some options better suited for interactive usage by default compared "
  485. "to more specialized APT tools like &apt-get; and &apt-cache;."
  486. msgstr ""
  487. #. type: Content of: <refentry><refsect1><para>
  488. #: apt.8.xml:1
  489. msgid ""
  490. "Much like <command>apt</command> itself, its manpage is intended as an end "
  491. "user interface and as such only mentions the most used commands and options "
  492. "partly to not duplicate information in multiple places and partly to avoid "
  493. "overwhelming readers with a cornucopia of options and details."
  494. msgstr ""
  495. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  496. #: apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1
  497. msgid "(&apt-get;)"
  498. msgstr ""
  499. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  500. #: apt.8.xml:1
  501. msgid ""
  502. "<option>update</option> is used to download package information from all "
  503. "configured sources. Other commands operate on this data to e.g. perform "
  504. "package upgrades or search in and display details about all packages "
  505. "available for installation."
  506. msgstr ""
  507. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  508. #: apt.8.xml:1
  509. msgid ""
  510. "<option>upgrade</option> is used to install available upgrades of all "
  511. "packages currently installed on the system from the sources configured via "
  512. "&sources-list;. New packages will be installed if required to satisfy "
  513. "dependencies, but existing packages will never be removed. If an upgrade for "
  514. "a package requires the remove of an installed package the upgrade for this "
  515. "package isn't performed."
  516. msgstr ""
  517. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  518. #: apt.8.xml:1
  519. msgid ""
  520. "<literal>full-upgrade</literal> performs the function of upgrade but will "
  521. "remove currently installed packages if this is needed to upgrade the system "
  522. "as a whole."
  523. msgstr ""
  524. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  525. #: apt.8.xml:1 apt.8.xml:1 apt-key.8.xml:1
  526. msgid ","
  527. msgstr ""
  528. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  529. #: apt.8.xml:1
  530. msgid ""
  531. "Performs the requested action on one or more packages specified via &regex;, "
  532. "&glob; or exact match. The requested action can be overridden for specific "
  533. "packages by append a plus (+) to the package name to install this package or "
  534. "a minus (-) to remove it."
  535. msgstr ""
  536. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  537. #: apt.8.xml:1
  538. msgid ""
  539. "A specific version of a package can be selected for installation by "
  540. "following the package name with an equals (=) and the version of the package "
  541. "to select. Alternatively the version from a specific release can be selected "
  542. "by following the package name with a forward slash (/) and codename "
  543. "(&debian-stable-codename;, &debian-testing-codename;, sid …) or suite name "
  544. "(stable, testing, unstable). This will also select versions from this "
  545. "release for dependencies of this package if needed to satisfy the request."
  546. msgstr ""
  547. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  548. #: apt.8.xml:1
  549. msgid ""
  550. "Removing a package removes all packaged data, but leaves usually small "
  551. "(modified) user configuration files behind, in case the remove was an "
  552. "accident. Just issuing an installation request for the accidentally removed "
  553. "package will restore its function as before in that case. On the other hand "
  554. "you can get rid of these leftovers by calling <command>purge</command> even "
  555. "on already removed packages. Note that this does not affect any data or "
  556. "configuration stored in your home directory."
  557. msgstr ""
  558. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  559. #: apt.8.xml:1
  560. msgid ""
  561. "<literal>autoremove</literal> is used to remove packages that were "
  562. "automatically installed to satisfy dependencies for other packages and are "
  563. "now no longer needed as dependencies changed or the package(s) needing them "
  564. "were removed in the meantime."
  565. msgstr ""
  566. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  567. #: apt.8.xml:1
  568. msgid ""
  569. "You should check that the list does not include applications you have grown "
  570. "to like even though they were once installed just as a dependency of another "
  571. "package. You can mark such a package as manually installed by using "
  572. "&apt-mark;. Packages which you have installed explicitly via "
  573. "<command>install</command> are also never proposed for automatic removal."
  574. msgstr ""
  575. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  576. #: apt.8.xml:1 apt.8.xml:1
  577. msgid "(&apt-cache;)"
  578. msgstr ""
  579. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  580. #: apt.8.xml:1
  581. msgid ""
  582. "<option>search</option> can be used to search for the given &regex; term(s) "
  583. "in the list of available packages and display matches. This can e.g. be "
  584. "useful if you are looking for packages having a specific feature. If you "
  585. "are looking for a package including a specific file try &apt-file;."
  586. msgstr ""
  587. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  588. #: apt.8.xml:1
  589. msgid ""
  590. "Show information about the given package(s) including its dependencies, "
  591. "installation and download size, sources the package is available from, the "
  592. "description of the packages content and much more. It can e.g. be helpful to "
  593. "look at this information before allowing &apt; to remove a package or while "
  594. "searching for new packages to install."
  595. msgstr ""
  596. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  597. #: apt.8.xml:1 apt.8.xml:1
  598. msgid "(work-in-progress)"
  599. msgstr ""
  600. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  601. #: apt.8.xml:1
  602. msgid ""
  603. "<option>list</option> is somewhat similar to <command>dpkg-query "
  604. "--list</command> in that it can display a list of packages satisfying "
  605. "certain criteria. It supports &glob; patterns for matching package names as "
  606. "well as options to list installed (<option>--installed</option>), "
  607. "upgradeable (<option>--upgradeable</option>) or all available "
  608. "(<option>--all-versions</option>) versions."
  609. msgstr ""
  610. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  611. #: apt.8.xml:1
  612. msgid ""
  613. "<literal>edit-sources</literal> lets you edit your &sources-list; files in "
  614. "your preferred texteditor while also providing basic sanity checks."
  615. msgstr ""
  616. #. type: Content of: <refentry><refsect1><title>
  617. #: apt.8.xml:1
  618. msgid "Script Usage and Differences from Other APT Tools"
  619. msgstr ""
  620. #. type: Content of: <refentry><refsect1><para>
  621. #: apt.8.xml:1
  622. msgid ""
  623. "The &apt; commandline is designed as an end-user tool and it may change "
  624. "behavior between versions. While it tries not to break backward "
  625. "compatibility this is not guaranteed either if a change seems beneficial for "
  626. "interactive use."
  627. msgstr ""
  628. #. type: Content of: <refentry><refsect1><para>
  629. #: apt.8.xml:1
  630. msgid ""
  631. "All features of &apt; are available in dedicated APT tools like &apt-get; "
  632. "and &apt-cache; as well. &apt; just changes the default value of some "
  633. "options (see &apt-conf; and specifically the Binary scope). So you should "
  634. "prefer using these commands (potentially with some additional options "
  635. "enabled) in your scripts as they keep backward compatibility as much as "
  636. "possible."
  637. msgstr ""
  638. #. type: Content of: <refentry><refsect1><title>
  639. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  640. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  641. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  642. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  643. msgid "See Also"
  644. msgstr ""
  645. #. type: Content of: <refentry><refsect1><para>
  646. #: apt.8.xml:1
  647. msgid ""
  648. "&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
  649. "User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
  650. msgstr ""
  651. #. type: Content of: <refentry><refsect1><title>
  652. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-mark.8.xml:1
  653. #: apt-cdrom.8.xml:1 apt-config.8.xml:1 apt-extracttemplates.1.xml:1
  654. #: apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  655. msgid "Diagnostics"
  656. msgstr ""
  657. #. type: Content of: <refentry><refsect1><para>
  658. #: apt.8.xml:1
  659. msgid ""
  660. "<command>apt</command> returns zero on normal operation, decimal 100 on "
  661. "error."
  662. msgstr ""
  663. #. type: Content of: <refentry><refnamediv><refpurpose>
  664. #: apt-get.8.xml:1
  665. msgid "APT package handling utility -- command-line interface"
  666. msgstr ""
  667. #. type: Content of: <refentry><refsect1><para>
  668. #: apt-get.8.xml:1
  669. msgid ""
  670. "<command>apt-get</command> is the command-line tool for handling packages, "
  671. "and may be considered the user's \"back-end\" to other tools using the APT "
  672. "library. Several \"front-end\" interfaces exist, such as &aptitude;, "
  673. "&synaptic; and &wajig;."
  674. msgstr ""
  675. #. type: Content of: <refentry><refsect1><para>
  676. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  677. #: apt-ftparchive.1.xml:1
  678. msgid ""
  679. "Unless the <option>-h</option>, or <option>--help</option> option is given, "
  680. "one of the commands below must be present."
  681. msgstr ""
  682. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  683. #: apt-get.8.xml:1
  684. msgid ""
  685. "<literal>update</literal> is used to resynchronize the package index files "
  686. "from their sources. The indexes of available packages are fetched from the "
  687. "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
  688. "example, when using a Debian archive, this command retrieves and scans the "
  689. "<filename>Packages.gz</filename> files, so that information about new and "
  690. "updated packages is available. An <literal>update</literal> should always be "
  691. "performed before an <literal>upgrade</literal> or "
  692. "<literal>dist-upgrade</literal>. Please be aware that the overall progress "
  693. "meter will be incorrect as the size of the package files cannot be known in "
  694. "advance."
  695. msgstr ""
  696. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  697. #: apt-get.8.xml:1
  698. msgid ""
  699. "<literal>upgrade</literal> is used to install the newest versions of all "
  700. "packages currently installed on the system from the sources enumerated in "
  701. "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
  702. "with new versions available are retrieved and upgraded; under no "
  703. "circumstances are currently installed packages removed, or packages not "
  704. "already installed retrieved and installed. New versions of currently "
  705. "installed packages that cannot be upgraded without changing the install "
  706. "status of another package will be left at their current version. An "
  707. "<literal>update</literal> must be performed first so that "
  708. "<command>apt-get</command> knows that new versions of packages are "
  709. "available."
  710. msgstr ""
  711. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  712. #: apt-get.8.xml:1
  713. msgid ""
  714. "<literal>dist-upgrade</literal> in addition to performing the function of "
  715. "<literal>upgrade</literal>, also intelligently handles changing dependencies "
  716. "with new versions of packages; <command>apt-get</command> has a \"smart\" "
  717. "conflict resolution system, and it will attempt to upgrade the most "
  718. "important packages at the expense of less important ones if necessary. The "
  719. "<literal>dist-upgrade</literal> command may therefore remove some packages. "
  720. "The <filename>/etc/apt/sources.list</filename> file contains a list of "
  721. "locations from which to retrieve desired package files. See also "
  722. "&apt-preferences; for a mechanism for overriding the general settings for "
  723. "individual packages."
  724. msgstr ""
  725. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  726. #: apt-get.8.xml:1
  727. msgid ""
  728. "<literal>dselect-upgrade</literal> is used in conjunction with the "
  729. "traditional Debian packaging front-end, "
  730. "&dselect;. <literal>dselect-upgrade</literal> follows the changes made by "
  731. "&dselect; to the <literal>Status</literal> field of available packages, and "
  732. "performs the actions necessary to realize that state (for instance, the "
  733. "removal of old and the installation of new packages)."
  734. msgstr ""
  735. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  736. #: apt-get.8.xml:1
  737. msgid ""
  738. "<literal>install</literal> is followed by one or more packages desired for "
  739. "installation or upgrading. Each package is a package name, not a fully "
  740. "qualified filename (for instance, in a Debian system, "
  741. "<package>apt-utils</package> would be the argument provided, not "
  742. "<filename>apt-utils_&apt-product-version;_amd64.deb</filename>). All "
  743. "packages required by the package(s) specified for installation will also be "
  744. "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
  745. "file is used to locate the desired packages. If a hyphen is appended to the "
  746. "package name (with no intervening space), the identified package will be "
  747. "removed if it is installed. Similarly a plus sign can be used to designate "
  748. "a package to install. These latter features may be used to override "
  749. "decisions made by apt-get's conflict resolution system."
  750. msgstr ""
  751. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  752. #: apt-get.8.xml:1
  753. msgid ""
  754. "A specific version of a package can be selected for installation by "
  755. "following the package name with an equals and the version of the package to "
  756. "select. This will cause that version to be located and selected for "
  757. "install. Alternatively a specific distribution can be selected by following "
  758. "the package name with a slash and the version of the distribution or the "
  759. "Archive name (stable, testing, unstable)."
  760. msgstr ""
  761. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  762. #: apt-get.8.xml:1
  763. msgid ""
  764. "Both of the version selection mechanisms can downgrade packages and must be "
  765. "used with care."
  766. msgstr ""
  767. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  768. #: apt-get.8.xml:1
  769. msgid ""
  770. "This is also the target to use if you want to upgrade one or more "
  771. "already-installed packages without upgrading every package you have on your "
  772. "system. Unlike the \"upgrade\" target, which installs the newest version of "
  773. "all currently installed packages, \"install\" will install the newest "
  774. "version of only the package(s) specified. Simply provide the name of the "
  775. "package(s) you wish to upgrade, and if a newer version is available, it (and "
  776. "its dependencies, as described above) will be downloaded and installed."
  777. msgstr ""
  778. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  779. #: apt-get.8.xml:1
  780. msgid ""
  781. "Finally, the &apt-preferences; mechanism allows you to create an alternative "
  782. "installation policy for individual packages."
  783. msgstr ""
  784. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  785. #: apt-get.8.xml:1
  786. msgid ""
  787. "If no package matches the given expression and the expression contains one "
  788. "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
  789. "it is applied to all package names in the database. Any matches are then "
  790. "installed (or removed). Note that matching is done by substring so 'lo.*' "
  791. "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
  792. "expression with a '^' or '$' character, or create a more specific regular "
  793. "expression."
  794. msgstr ""
  795. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  796. #: apt-get.8.xml:1
  797. msgid ""
  798. "<literal>remove</literal> is identical to <literal>install</literal> except "
  799. "that packages are removed instead of installed. Note that removing a package "
  800. "leaves its configuration files on the system. If a plus sign is appended to "
  801. "the package name (with no intervening space), the identified package will be "
  802. "installed instead of removed."
  803. msgstr ""
  804. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  805. #: apt-get.8.xml:1
  806. msgid ""
  807. "<literal>purge</literal> is identical to <literal>remove</literal> except "
  808. "that packages are removed and purged (any configuration files are deleted "
  809. "too)."
  810. msgstr ""
  811. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  812. #: apt-get.8.xml:1
  813. msgid ""
  814. "<literal>source</literal> causes <command>apt-get</command> to fetch source "
  815. "packages. APT will examine the available packages to decide which source "
  816. "package to fetch. It will then find and download into the current directory "
  817. "the newest available version of that source package while respecting the "
  818. "default release, set with the option "
  819. "<literal>APT::Default-Release</literal>, the <option>-t</option> option or "
  820. "per package with the <literal>pkg/release</literal> syntax, if possible."
  821. msgstr ""
  822. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  823. #: apt-get.8.xml:1
  824. msgid ""
  825. "Source packages are tracked separately from binary packages via "
  826. "<literal>deb-src</literal> lines in the &sources-list; file. This means that "
  827. "you will need to add such a line for each repository you want to get sources "
  828. "from; otherwise you will probably get either the wrong (too old/too new) "
  829. "source versions or none at all."
  830. msgstr ""
  831. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  832. #: apt-get.8.xml:1
  833. msgid ""
  834. "If the <option>--compile</option> option is specified then the package will "
  835. "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
  836. "the architecture as defined by the <command>--host-architecture</command> "
  837. "option. If <option>--download-only</option> is specified then the source "
  838. "package will not be unpacked."
  839. msgstr ""
  840. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  841. #: apt-get.8.xml:1
  842. msgid ""
  843. "A specific source version can be retrieved by postfixing the source name "
  844. "with an equals and then the version to fetch, similar to the mechanism used "
  845. "for the package files. This enables exact matching of the source package "
  846. "name and version, implicitly enabling the "
  847. "<literal>APT::Get::Only-Source</literal> option."
  848. msgstr ""
  849. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  850. #: apt-get.8.xml:1
  851. msgid ""
  852. "Note that source packages are not installed and tracked in the "
  853. "<command>dpkg</command> database like binary packages; they are simply "
  854. "downloaded to the current directory, like source tarballs."
  855. msgstr ""
  856. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  857. #: apt-get.8.xml:1
  858. msgid ""
  859. "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
  860. "attempt to satisfy the build dependencies for a source package. By default "
  861. "the dependencies are satisfied to build the package natively. If desired a "
  862. "host-architecture can be specified with the "
  863. "<option>--host-architecture</option> option instead."
  864. msgstr ""
  865. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  866. #: apt-get.8.xml:1
  867. msgid ""
  868. "<literal>check</literal> is a diagnostic tool; it updates the package cache "
  869. "and checks for broken dependencies."
  870. msgstr ""
  871. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  872. #: apt-get.8.xml:1
  873. msgid ""
  874. "<literal>download</literal> will download the given binary package into the "
  875. "current directory."
  876. msgstr ""
  877. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  878. #: apt-get.8.xml:1
  879. msgid ""
  880. "<literal>clean</literal> clears out the local repository of retrieved "
  881. "package files. It removes everything but the lock file from "
  882. "<filename>&cachedir;/archives/</filename> and "
  883. "<filename>&cachedir;/archives/partial/</filename>."
  884. msgstr ""
  885. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  886. #: apt-get.8.xml:1 apt-get.8.xml:1
  887. msgid "(and the"
  888. msgstr ""
  889. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  890. #: apt-get.8.xml:1 apt-get.8.xml:1
  891. msgid "alias since 1.1)"
  892. msgstr ""
  893. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  894. #: apt-get.8.xml:1
  895. msgid ""
  896. "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
  897. "local repository of retrieved package files. The difference is that it only "
  898. "removes package files that can no longer be downloaded, and are largely "
  899. "useless. This allows a cache to be maintained over a long period without it "
  900. "growing out of control. The configuration option "
  901. "<literal>APT::Clean-Installed</literal> will prevent installed packages from "
  902. "being erased if it is set to off."
  903. msgstr ""
  904. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  905. #: apt-get.8.xml:1
  906. msgid ""
  907. "<literal>autoremove</literal> is used to remove packages that were "
  908. "automatically installed to satisfy dependencies for other packages and are "
  909. "now no longer needed."
  910. msgstr ""
  911. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  912. #: apt-get.8.xml:1
  913. msgid ""
  914. "<literal>changelog</literal> tries to download the changelog of a package "
  915. "and displays it through <command>sensible-pager</command>. By default it "
  916. "displays the changelog for the version that is installed. However, you can "
  917. "specify the same options as for the <option>install</option> command."
  918. msgstr ""
  919. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  920. #: apt-get.8.xml:1
  921. msgid ""
  922. "Displays by default a deb822 formatted listing of information about all data "
  923. "files (aka index targets) <command>apt-get update</command> would "
  924. "download. Supports a <option>--format</option> option to modify the output "
  925. "format as well as accepts lines of the default output to filter the records "
  926. "by. The command is mainly used as an interface for external tools working "
  927. "with APT to get information as well as filenames for downloaded files so "
  928. "they can use them as well instead of downloading them again on their "
  929. "own. Detailed documentation is omitted here and can instead be found in the "
  930. "file &apt-acquire-additional-files; shipped by the "
  931. "<package>apt-doc</package> package."
  932. msgstr ""
  933. #. type: Content of: <refentry><refsect1><title>
  934. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-config.8.xml:1
  935. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  936. msgid "options"
  937. msgstr ""
  938. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  939. #: apt-get.8.xml:1
  940. msgid ""
  941. "Do not consider recommended packages as a dependency for installing. "
  942. "Configuration Item: <literal>APT::Install-Recommends</literal>."
  943. msgstr ""
  944. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  945. #: apt-get.8.xml:1
  946. msgid ""
  947. "Consider suggested packages as a dependency for installing. Configuration "
  948. "Item: <literal>APT::Install-Suggests</literal>."
  949. msgstr ""
  950. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  951. #: apt-get.8.xml:1
  952. msgid ""
  953. "Download only; package files are only retrieved, not unpacked or installed. "
  954. "Configuration Item: <literal>APT::Get::Download-Only</literal>."
  955. msgstr ""
  956. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  957. #: apt-get.8.xml:1
  958. msgid ""
  959. "Fix; attempt to correct a system with broken dependencies in place. This "
  960. "option, when used with install/remove, can omit any packages to permit APT "
  961. "to deduce a likely solution. If packages are specified, these have to "
  962. "completely correct the problem. The option is sometimes necessary when "
  963. "running APT for the first time; APT itself does not allow broken package "
  964. "dependencies to exist on a system. It is possible that a system's dependency "
  965. "structure can be so corrupt as to require manual intervention (which usually "
  966. "means using <command>dpkg --remove</command> to eliminate some of the "
  967. "offending packages). Use of this option together with <option>-m</option> "
  968. "may produce an error in some situations. Configuration Item: "
  969. "<literal>APT::Get::Fix-Broken</literal>."
  970. msgstr ""
  971. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  972. #: apt-get.8.xml:1
  973. msgid ""
  974. "Ignore missing packages; if packages cannot be retrieved or fail the "
  975. "integrity check after retrieval (corrupted package files), hold back those "
  976. "packages and handle the result. Use of this option together with "
  977. "<option>-f</option> may produce an error in some situations. If a package is "
  978. "selected for installation (particularly if it is mentioned on the command "
  979. "line) and it could not be downloaded then it will be silently held back. "
  980. "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
  981. msgstr ""
  982. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  983. #: apt-get.8.xml:1
  984. msgid ""
  985. "Disables downloading of packages. This is best used with "
  986. "<option>--ignore-missing</option> to force APT to use only the .debs it has "
  987. "already downloaded. Configuration Item: "
  988. "<literal>APT::Get::Download</literal>."
  989. msgstr ""
  990. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  991. #: apt-get.8.xml:1
  992. msgid ""
  993. "Quiet; produces output suitable for logging, omitting progress indicators. "
  994. "More q's will produce more quiet up to a maximum of 2. You can also use "
  995. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  996. "file. Note that quiet level 2 implies <option>-y</option>; you should never "
  997. "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
  998. "may decide to do something you did not expect. Configuration Item: "
  999. "<literal>quiet</literal>."
  1000. msgstr ""
  1001. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1002. #: apt-get.8.xml:1
  1003. msgid ""
  1004. "No action; perform a simulation of events that would occur based on the "
  1005. "current system state but do not actually change the system. Locking will be "
  1006. "disabled (<option>Debug::NoLocking</option>) so the system state could "
  1007. "change while <command>apt-get</command> is running. Simulations can also be "
  1008. "executed by non-root users which might not have read access to all apt "
  1009. "configuration distorting the simulation. A notice expressing this warning "
  1010. "is also shown by default for non-root users "
  1011. "(<option>APT::Get::Show-User-Simulation-Note</option>). Configuration Item: "
  1012. "<literal>APT::Get::Simulate</literal>."
  1013. msgstr ""
  1014. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1015. #: apt-get.8.xml:1
  1016. msgid ""
  1017. "Simulated runs print out a series of lines, each representing a "
  1018. "<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
  1019. "remove (<literal>Remv</literal>) or unpack "
  1020. "(<literal>Inst</literal>). Square brackets indicate broken packages, and "
  1021. "empty square brackets indicate breaks that are of no consequence (rare)."
  1022. msgstr ""
  1023. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1024. #: apt-get.8.xml:1
  1025. msgid ""
  1026. "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
  1027. "non-interactively. If an undesirable situation, such as changing a held "
  1028. "package, trying to install a unauthenticated package or removing an "
  1029. "essential package occurs then <literal>apt-get</literal> will abort. "
  1030. "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
  1031. msgstr ""
  1032. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1033. #: apt-get.8.xml:1
  1034. msgid ""
  1035. "Automatic \"no\" to all prompts. Configuration Item: "
  1036. "<literal>APT::Get::Assume-No</literal>."
  1037. msgstr ""
  1038. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1039. #: apt-get.8.xml:1
  1040. msgid ""
  1041. "Do not show a list of all packages that are to be upgraded. Configuration "
  1042. "Item: <literal>APT::Get::Show-Upgraded</literal>."
  1043. msgstr ""
  1044. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1045. #: apt-get.8.xml:1
  1046. msgid ""
  1047. "Show full versions for upgraded and installed packages. Configuration Item: "
  1048. "<literal>APT::Get::Show-Versions</literal>."
  1049. msgstr ""
  1050. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1051. #: apt-get.8.xml:1
  1052. msgid ""
  1053. "This option controls the architecture packages are built for by "
  1054. "<command>apt-get source --compile</command> and how cross-builddependencies "
  1055. "are satisfied. By default is it not set which means that the host "
  1056. "architecture is the same as the build architecture (which is defined by "
  1057. "<literal>APT::Architecture</literal>). Configuration Item: "
  1058. "<literal>APT::Get::Host-Architecture</literal>."
  1059. msgstr ""
  1060. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1061. #: apt-get.8.xml:1
  1062. msgid ""
  1063. "This option controls the activated build profiles for which a source package "
  1064. "is built by <command>apt-get source --compile</command> and how build "
  1065. "dependencies are satisfied. By default no build profile is active. More "
  1066. "than one build profile can be activated at a time by concatenating them with "
  1067. "a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
  1068. msgstr ""
  1069. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1070. #: apt-get.8.xml:1
  1071. msgid ""
  1072. "Compile source packages after downloading them. Configuration Item: "
  1073. "<literal>APT::Get::Compile</literal>."
  1074. msgstr ""
  1075. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1076. #: apt-get.8.xml:1
  1077. msgid ""
  1078. "Ignore package holds; this causes <command>apt-get</command> to ignore a "
  1079. "hold placed on a package. This may be useful in conjunction with "
  1080. "<literal>dist-upgrade</literal> to override a large number of undesired "
  1081. "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
  1082. msgstr ""
  1083. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1084. #: apt-get.8.xml:1
  1085. msgid ""
  1086. "Allow installing new packages when used in conjunction with "
  1087. "<literal>upgrade</literal>. This is useful if the update of a installed "
  1088. "package requires new dependencies to be installed. Instead of holding the "
  1089. "package back <literal>upgrade</literal> will upgrade the package and install "
  1090. "the new dependencies. Note that <literal>upgrade</literal> with this option "
  1091. "will never remove packages, only allow adding new ones. Configuration Item: "
  1092. "<literal>APT::Get::Upgrade-Allow-New</literal>."
  1093. msgstr ""
  1094. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1095. #: apt-get.8.xml:1
  1096. msgid ""
  1097. "Do not upgrade packages; when used in conjunction with "
  1098. "<literal>install</literal>, <literal>no-upgrade</literal> will prevent "
  1099. "packages on the command line from being upgraded if they are already "
  1100. "installed. Configuration Item: <literal>APT::Get::Upgrade</literal>."
  1101. msgstr ""
  1102. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1103. #: apt-get.8.xml:1
  1104. msgid ""
  1105. "Do not install new packages; when used in conjunction with "
  1106. "<literal>install</literal>, <literal>only-upgrade</literal> will install "
  1107. "upgrades for already installed packages only and ignore requests to install "
  1108. "new packages. Configuration Item: "
  1109. "<literal>APT::Get::Only-Upgrade</literal>."
  1110. msgstr ""
  1111. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1112. #: apt-get.8.xml:1
  1113. msgid ""
  1114. "This is a dangerous option that will cause apt to continue without prompting "
  1115. "if it is doing downgrades. It should not be used except in very special "
  1116. "situations. Using it can potentially destroy your system! Configuration "
  1117. "Item: <literal>APT::Get::allow-downgrades</literal>. Introduced in APT 1.1."
  1118. msgstr ""
  1119. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1120. #: apt-get.8.xml:1
  1121. msgid ""
  1122. "Force yes; this is a dangerous option that will cause apt to continue "
  1123. "without prompting if it is removing essentials. It should not be used except "
  1124. "in very special situations. Using it can potentially destroy your system! "
  1125. "Configuration Item: "
  1126. "<literal>APT::Get::allow-remove-essential</literal>. Introduced in APT 1.1."
  1127. msgstr ""
  1128. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1129. #: apt-get.8.xml:1
  1130. msgid ""
  1131. "Force yes; this is a dangerous option that will cause apt to continue "
  1132. "without prompting if it is changing held packages. It should not be used "
  1133. "except in very special situations. Using it can potentially destroy your "
  1134. "system! Configuration Item: "
  1135. "<literal>APT::Get::allow-change-held-packages</literal>. Introduced in APT "
  1136. "1.1."
  1137. msgstr ""
  1138. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1139. #: apt-get.8.xml:1
  1140. msgid ""
  1141. "Force yes; this is a dangerous option that will cause apt to continue "
  1142. "without prompting if it is doing something potentially harmful. It should "
  1143. "not be used except in very special situations. Using "
  1144. "<literal>force-yes</literal> can potentially destroy your system! "
  1145. "Configuration Item: <literal>APT::Get::force-yes</literal>. This is "
  1146. "deprecated and replaced by <option>--allow-downgrades</option>, "
  1147. "<option>--allow-remove-essential</option>, "
  1148. "<option>--allow-change-held-packages</option> in 1.1."
  1149. msgstr ""
  1150. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1151. #: apt-get.8.xml:1
  1152. msgid ""
  1153. "Instead of fetching the files to install their URIs are printed. Each URI "
  1154. "will have the path, the destination file name, the size and the expected MD5 "
  1155. "hash. Note that the file name to write to will not always match the file "
  1156. "name on the remote site! This also works with the <literal>source</literal> "
  1157. "and <literal>update</literal> commands. When used with the "
  1158. "<literal>update</literal> command the MD5 and size are not included, and it "
  1159. "is up to the user to decompress any compressed files. Configuration Item: "
  1160. "<literal>APT::Get::Print-URIs</literal>."
  1161. msgstr ""
  1162. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1163. #: apt-get.8.xml:1
  1164. msgid ""
  1165. "Use purge instead of remove for anything that would be removed. An asterisk "
  1166. "(\"*\") will be displayed next to packages which are scheduled to be "
  1167. "purged. <option>remove --purge</option> is equivalent to the "
  1168. "<option>purge</option> command. Configuration Item: "
  1169. "<literal>APT::Get::Purge</literal>."
  1170. msgstr ""
  1171. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1172. #: apt-get.8.xml:1
  1173. msgid ""
  1174. "Re-install packages that are already installed and at the newest version. "
  1175. "Configuration Item: <literal>APT::Get::ReInstall</literal>."
  1176. msgstr ""
  1177. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1178. #: apt-get.8.xml:1
  1179. msgid ""
  1180. "This option is on by default; use <literal>--no-list-cleanup</literal> to "
  1181. "turn it off. When it is on, <command>apt-get</command> will automatically "
  1182. "manage the contents of <filename>&statedir;/lists</filename> to ensure that "
  1183. "obsolete files are erased. The only reason to turn it off is if you "
  1184. "frequently change your sources list. Configuration Item: "
  1185. "<literal>APT::Get::List-Cleanup</literal>."
  1186. msgstr ""
  1187. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1188. #: apt-get.8.xml:1
  1189. msgid ""
  1190. "This option controls the default input to the policy engine; it creates a "
  1191. "default pin at priority 990 using the specified release string. This "
  1192. "overrides the general settings in "
  1193. "<filename>/etc/apt/preferences</filename>. Specifically pinned packages are "
  1194. "not affected by the value of this option. In short, this option lets you "
  1195. "have simple control over which distribution packages will be retrieved "
  1196. "from. Some common examples might be <option>-t '2.1*'</option>, <option>-t "
  1197. "unstable</option> or <option>-t sid</option>. Configuration Item: "
  1198. "<literal>APT::Default-Release</literal>; see also the &apt-preferences; "
  1199. "manual page."
  1200. msgstr ""
  1201. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1202. #: apt-get.8.xml:1
  1203. msgid ""
  1204. "Only perform operations that are 'trivial'. Logically this can be considered "
  1205. "related to <option>--assume-yes</option>; where "
  1206. "<option>--assume-yes</option> will answer yes to any prompt, "
  1207. "<option>--trivial-only</option> will answer no. Configuration Item: "
  1208. "<literal>APT::Get::Trivial-Only</literal>."
  1209. msgstr ""
  1210. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1211. #: apt-get.8.xml:1
  1212. msgid ""
  1213. "If any packages are to be removed apt-get immediately aborts without "
  1214. "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
  1215. msgstr ""
  1216. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1217. #: apt-get.8.xml:1
  1218. msgid ""
  1219. "If the command is either <literal>install</literal> or "
  1220. "<literal>remove</literal>, then this option acts like running the "
  1221. "<literal>autoremove</literal> command, removing unused dependency "
  1222. "packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>."
  1223. msgstr ""
  1224. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1225. #: apt-get.8.xml:1
  1226. msgid ""
  1227. "Only has meaning for the <literal>source</literal> and "
  1228. "<literal>build-dep</literal> commands. Indicates that the given source "
  1229. "names are not to be mapped through the binary table. This means that if "
  1230. "this option is specified, these commands will only accept source package "
  1231. "names as arguments, rather than accepting binary package names and looking "
  1232. "up the corresponding source package. Configuration Item: "
  1233. "<literal>APT::Get::Only-Source</literal>."
  1234. msgstr ""
  1235. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1236. #: apt-get.8.xml:1
  1237. msgid ""
  1238. "Download only the diff, dsc, or tar file of a source archive. Configuration "
  1239. "Item: <literal>APT::Get::Diff-Only</literal>, "
  1240. "<literal>APT::Get::Dsc-Only</literal>, and "
  1241. "<literal>APT::Get::Tar-Only</literal>."
  1242. msgstr ""
  1243. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1244. #: apt-get.8.xml:1
  1245. msgid ""
  1246. "Only process architecture-dependent build-dependencies. Configuration Item: "
  1247. "<literal>APT::Get::Arch-Only</literal>."
  1248. msgstr ""
  1249. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1250. #: apt-get.8.xml:1
  1251. msgid ""
  1252. "Only process architecture-independent build-dependencies. Configuration "
  1253. "Item: <literal>APT::Get::Indep-Only</literal>."
  1254. msgstr ""
  1255. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1256. #: apt-get.8.xml:1
  1257. msgid ""
  1258. "Ignore if packages can't be authenticated and don't prompt about it. This "
  1259. "can be useful while working with local repositories, but is a huge security "
  1260. "risk if data authenticity isn't ensured in another way by the user itself. "
  1261. "The usage of the <option>Trusted</option> option for &sources-list; entries "
  1262. "should usually be preferred over this global override. Configuration Item: "
  1263. "<literal>APT::Get::AllowUnauthenticated</literal>."
  1264. msgstr ""
  1265. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1266. #: apt-get.8.xml:1
  1267. msgid ""
  1268. "Forbid the update command to acquire unverifiable data from configured "
  1269. "sources. APT will fail at the update command for repositories without valid "
  1270. "cryptographically signatures. See also &apt-secure; for details on the "
  1271. "concept and the implications. Configuration Item: "
  1272. "<literal>Acquire::AllowInsecureRepositories</literal>."
  1273. msgstr ""
  1274. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1275. #: apt-get.8.xml:1
  1276. msgid ""
  1277. "Allow the update command to continue downloading data from a repository "
  1278. "which changed its information of the release contained in the repository "
  1279. "indicating e.g a new major release. APT will fail at the update command for "
  1280. "such repositories until the change is confirmed to ensure the user is "
  1281. "prepared for the change. See also &apt-secure; for details on the concept "
  1282. "and configuration."
  1283. msgstr ""
  1284. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1285. #: apt-get.8.xml:1
  1286. msgid ""
  1287. "Specialist options "
  1288. "(<literal>--allow-releaseinfo-changes-</literal><replaceable>field</replaceable>) "
  1289. "exist to allow changes only for certain fields like "
  1290. "<literal>origin</literal>, <literal>label</literal>, "
  1291. "<literal>codename</literal>, <literal>suite</literal>, "
  1292. "<literal>version</literal> and <literal>defaultpin</literal>. See also "
  1293. "&apt-preferences;. Configuration Item: "
  1294. "<literal>Acquire::AllowReleaseInfoChanges</literal>."
  1295. msgstr ""
  1296. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1297. #: apt-get.8.xml:1
  1298. msgid ""
  1299. "Show user friendly progress information in the terminal window when packages "
  1300. "are installed, upgraded or removed. For a machine parsable version of this "
  1301. "data see README.progress-reporting in the apt doc directory. Configuration "
  1302. "Items: <literal>Dpkg::Progress</literal> and "
  1303. "<literal>Dpkg::Progress-Fancy</literal>."
  1304. msgstr ""
  1305. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1306. #: apt-get.8.xml:1
  1307. msgid ""
  1308. "Adds the given file as a source for metadata. Can be repeated to add "
  1309. "multiple files. See <option>--with-source</option> description in "
  1310. "&apt-cache; for further details."
  1311. msgstr ""
  1312. #. type: Content of: <refentry><refsect1><title>
  1313. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 apt-mark.8.xml:1
  1314. #: apt.conf.5.xml:1 apt_preferences.5.xml:1
  1315. msgid "Files"
  1316. msgstr ""
  1317. #. type: Content of: <refentry><refsect1><para>
  1318. #: apt-get.8.xml:1
  1319. msgid ""
  1320. "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
  1321. "&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
  1322. "APT Howto."
  1323. msgstr ""
  1324. #. type: Content of: <refentry><refsect1><para>
  1325. #: apt-get.8.xml:1
  1326. msgid ""
  1327. "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
  1328. "error."
  1329. msgstr ""
  1330. #. type: Content of: <refentry><refnamediv><refpurpose>
  1331. #: apt-cache.8.xml:1
  1332. msgid "query the APT cache"
  1333. msgstr ""
  1334. #. type: Content of: <refentry><refsect1><para>
  1335. #: apt-cache.8.xml:1
  1336. msgid ""
  1337. "<command>apt-cache</command> performs a variety of operations on APT's "
  1338. "package cache. <command>apt-cache</command> does not manipulate the state of "
  1339. "the system but does provide operations to search and generate interesting "
  1340. "output from the package metadata. The metadata is acquired and updated via "
  1341. "the 'update' command of e.g. <command>apt-get</command>, so that it can be "
  1342. "outdated if the last update is too long ago, but in exchange "
  1343. "<command>apt-cache</command> works independently of the availability of the "
  1344. "configured sources (e.g. offline)."
  1345. msgstr ""
  1346. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1347. #: apt-cache.8.xml:1
  1348. msgid ""
  1349. "<literal>gencaches</literal> creates APT's package cache. This is done "
  1350. "implicitly by all commands needing this cache if it is missing or outdated."
  1351. msgstr ""
  1352. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1353. #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
  1354. #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
  1355. msgid "&synopsis-pkg;"
  1356. msgstr ""
  1357. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1358. #: apt-cache.8.xml:1
  1359. msgid ""
  1360. "<literal>showpkg</literal> displays information about the packages listed on "
  1361. "the command line. Remaining arguments are package names. The available "
  1362. "versions and reverse dependencies of each package listed are listed, as well "
  1363. "as forward dependencies for each version. Forward (normal) dependencies are "
  1364. "those packages upon which the package in question depends; reverse "
  1365. "dependencies are those packages that depend upon the package in "
  1366. "question. Thus, forward dependencies must be satisfied for a package, but "
  1367. "reverse dependencies need not be. For instance, <command>apt-cache showpkg "
  1368. "libreadline2</command> would produce output similar to the following:"
  1369. msgstr ""
  1370. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  1371. #: apt-cache.8.xml:1
  1372. #, no-wrap
  1373. msgid ""
  1374. "Package: libreadline2\n"
  1375. "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
  1376. "Reverse Depends: \n"
  1377. " libreadlineg2,libreadline2\n"
  1378. " libreadline2-altdev,libreadline2\n"
  1379. "Dependencies:\n"
  1380. "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
  1381. "Provides:\n"
  1382. "2.1-12 - \n"
  1383. "Reverse Provides: \n"
  1384. msgstr ""
  1385. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1386. #: apt-cache.8.xml:1
  1387. msgid ""
  1388. "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
  1389. "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
  1390. "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
  1391. "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
  1392. "installed; libreadlineg2 and libreadline2-altdev do not have to be "
  1393. "installed. For the specific meaning of the remainder of the output it is "
  1394. "best to consult the apt source code."
  1395. msgstr ""
  1396. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1397. #: apt-cache.8.xml:1
  1398. msgid ""
  1399. "<literal>stats</literal> displays some statistics about the cache. No "
  1400. "further arguments are expected. Statistics reported are:"
  1401. msgstr ""
  1402. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1403. #: apt-cache.8.xml:1
  1404. msgid ""
  1405. "<literal>Total package names</literal> is the number of package names found "
  1406. "in the cache."
  1407. msgstr ""
  1408. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1409. #: apt-cache.8.xml:1
  1410. msgid ""
  1411. "<literal>Normal packages</literal> is the number of regular, ordinary "
  1412. "package names; these are packages that bear a one-to-one correspondence "
  1413. "between their names and the names used by other packages for them in "
  1414. "dependencies. The majority of packages fall into this category."
  1415. msgstr ""
  1416. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1417. #: apt-cache.8.xml:1
  1418. msgid ""
  1419. "<literal>Pure virtual packages</literal> is the number of packages that "
  1420. "exist only as a virtual package name; that is, packages only \"provide\" the "
  1421. "virtual package name, and no package actually uses the name. For instance, "
  1422. "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
  1423. "several packages provide \"mail-transport-agent\", but there is no package "
  1424. "named \"mail-transport-agent\"."
  1425. msgstr ""
  1426. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1427. #: apt-cache.8.xml:1
  1428. msgid ""
  1429. "<literal>Single virtual packages</literal> is the number of packages with "
  1430. "only one package providing a particular virtual package. For example, in the "
  1431. "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
  1432. "package, xless, provides \"X11-text-viewer\"."
  1433. msgstr ""
  1434. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1435. #: apt-cache.8.xml:1
  1436. msgid ""
  1437. "<literal>Mixed virtual packages</literal> is the number of packages that "
  1438. "either provide a particular virtual package or have the virtual package name "
  1439. "as the package name. For instance, in the Debian system, \"debconf\" is both "
  1440. "an actual package, and provided by the debconf-tiny package."
  1441. msgstr ""
  1442. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1443. #: apt-cache.8.xml:1
  1444. msgid ""
  1445. "<literal>Missing</literal> is the number of package names that were "
  1446. "referenced in a dependency but were not provided by any package. Missing "
  1447. "packages may be an evidence if a full distribution is not accessed, or if a "
  1448. "package (real or virtual) has been dropped from the distribution. Usually "
  1449. "they are referenced from Conflicts or Breaks statements."
  1450. msgstr ""
  1451. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1452. #: apt-cache.8.xml:1
  1453. msgid ""
  1454. "<literal>Total distinct</literal> versions is the number of package versions "
  1455. "found in the cache. If more than one distribution is being accessed (for "
  1456. "instance, \"stable\" and \"unstable\"), this value can be considerably "
  1457. "larger than the number of total package names."
  1458. msgstr ""
  1459. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1460. #: apt-cache.8.xml:1
  1461. msgid ""
  1462. "<literal>Total dependencies</literal> is the number of dependency "
  1463. "relationships claimed by all of the packages in the cache."
  1464. msgstr ""
  1465. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1466. #: apt-cache.8.xml:1
  1467. msgid ""
  1468. "<literal>showsrc</literal> displays all the source package records that "
  1469. "match the given package names. All versions are shown, as well as all "
  1470. "records that declare the name to be a binary package. Use "
  1471. "<option>--only-source</option> to display only source package names."
  1472. msgstr ""
  1473. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1474. #: apt-cache.8.xml:1
  1475. msgid ""
  1476. "<literal>dump</literal> shows a short listing of every package in the "
  1477. "cache. It is primarily for debugging."
  1478. msgstr ""
  1479. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1480. #: apt-cache.8.xml:1
  1481. msgid ""
  1482. "<literal>dumpavail</literal> prints out an available list to stdout. This is "
  1483. "suitable for use with &dpkg; and is used by the &dselect; method."
  1484. msgstr ""
  1485. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1486. #: apt-cache.8.xml:1
  1487. msgid ""
  1488. "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
  1489. "package cache."
  1490. msgstr ""
  1491. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1492. #: apt-cache.8.xml:1
  1493. msgid ""
  1494. "<literal>show</literal> performs a function similar to <command>dpkg "
  1495. "--print-avail</command>; it displays the package records for the named "
  1496. "packages."
  1497. msgstr ""
  1498. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1499. #: apt-cache.8.xml:1
  1500. msgid "&synopsis-regex;"
  1501. msgstr ""
  1502. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1503. #: apt-cache.8.xml:1
  1504. msgid ""
  1505. "<literal>search</literal> performs a full text search on all available "
  1506. "package lists for the POSIX regex pattern given, see &regex;. It searches "
  1507. "the package names and the descriptions for an occurrence of the regular "
  1508. "expression and prints out the package name and the short description, "
  1509. "including virtual package names. If <option>--full</option> is given then "
  1510. "output identical to <literal>show</literal> is produced for each matched "
  1511. "package, and if <option>--names-only</option> is given then the long "
  1512. "description is not searched, only the package name and provided packages "
  1513. "are."
  1514. msgstr ""
  1515. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1516. #: apt-cache.8.xml:1
  1517. msgid ""
  1518. "Separate arguments can be used to specify multiple search patterns that are "
  1519. "and'ed together."
  1520. msgstr ""
  1521. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1522. #: apt-cache.8.xml:1
  1523. msgid ""
  1524. "<literal>depends</literal> shows a listing of each dependency a package has "
  1525. "and all the possible other packages that can fulfill that dependency."
  1526. msgstr ""
  1527. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1528. #: apt-cache.8.xml:1
  1529. msgid ""
  1530. "<literal>rdepends</literal> shows a listing of each reverse dependency a "
  1531. "package has."
  1532. msgstr ""
  1533. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1534. #: apt-cache.8.xml:1
  1535. msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
  1536. msgstr ""
  1537. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1538. #: apt-cache.8.xml:1
  1539. msgid ""
  1540. "This command prints the name of each package APT knows. The optional "
  1541. "argument is a prefix match to filter the name list. The output is suitable "
  1542. "for use in a shell tab complete function and the output is generated "
  1543. "extremely quickly. This command is best used with the "
  1544. "<option>--generate</option> option."
  1545. msgstr ""
  1546. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1547. #: apt-cache.8.xml:1
  1548. msgid ""
  1549. "Note that a package which APT knows of is not necessarily available to "
  1550. "download, installable or installed, e.g. virtual packages are also listed in "
  1551. "the generated list."
  1552. msgstr ""
  1553. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1554. #: apt-cache.8.xml:1
  1555. msgid ""
  1556. "<literal>dotty</literal> takes a list of packages on the command line and "
  1557. "generates output suitable for use by dotty from the <ulink "
  1558. "url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> "
  1559. "package. The result will be a set of nodes and edges representing the "
  1560. "relationships between the packages. By default the given packages will trace "
  1561. "out all dependent packages; this can produce a very large graph. To limit "
  1562. "the output to only the packages listed on the command line, set the "
  1563. "<literal>APT::Cache::GivenOnly</literal> option."
  1564. msgstr ""
  1565. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1566. #: apt-cache.8.xml:1
  1567. msgid ""
  1568. "The resulting nodes will have several shapes; normal packages are boxes, "
  1569. "pure virtual packages are triangles, mixed virtual packages are diamonds, "
  1570. "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
  1571. "packages), blue lines are pre-depends, green lines are conflicts."
  1572. msgstr ""
  1573. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1574. #: apt-cache.8.xml:1
  1575. msgid "Caution, dotty cannot graph larger sets of packages."
  1576. msgstr ""
  1577. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1578. #: apt-cache.8.xml:1
  1579. msgid ""
  1580. "The same as <literal>dotty</literal>, only for xvcg from the <ulink "
  1581. "url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG "
  1582. "tool</ulink>."
  1583. msgstr ""
  1584. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1585. #: apt-cache.8.xml:1
  1586. msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
  1587. msgstr ""
  1588. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1589. #: apt-cache.8.xml:1
  1590. msgid ""
  1591. "<literal>policy</literal> is meant to help debug issues relating to the "
  1592. "preferences file. With no arguments it will print out the priorities of each "
  1593. "source. Otherwise it prints out detailed information about the priority "
  1594. "selection of the named package."
  1595. msgstr ""
  1596. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1597. #: apt-cache.8.xml:1
  1598. msgid ""
  1599. "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
  1600. "to mimic the output format and a subset of the functionality of the Debian "
  1601. "archive management tool, <literal>madison</literal>. It displays available "
  1602. "versions of a package in a tabular format. Unlike the original "
  1603. "<literal>madison</literal>, it can only display information for the "
  1604. "architecture for which APT has retrieved package lists "
  1605. "(<literal>APT::Architecture</literal>)."
  1606. msgstr ""
  1607. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1608. #: apt-cache.8.xml:1
  1609. msgid ""
  1610. "Select the file to store the package cache. The package cache is the primary "
  1611. "cache used by all operations. Configuration Item: "
  1612. "<literal>Dir::Cache::pkgcache</literal>."
  1613. msgstr ""
  1614. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1615. #: apt-cache.8.xml:1
  1616. msgid ""
  1617. "Select the file to store the source cache. The source is used only by "
  1618. "<literal>gencaches</literal> and it stores a parsed version of the package "
  1619. "information from remote sources. When building the package cache the source "
  1620. "cache is used to avoid reparsing all of the package files. Configuration "
  1621. "Item: <literal>Dir::Cache::srcpkgcache</literal>."
  1622. msgstr ""
  1623. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1624. #: apt-cache.8.xml:1
  1625. msgid ""
  1626. "Quiet; produces output suitable for logging, omitting progress indicators. "
  1627. "More q's will produce more quietness up to a maximum of 2. You can also use "
  1628. "<option>-q=#</option> to set the quietness level, overriding the "
  1629. "configuration file. Configuration Item: <literal>quiet</literal>."
  1630. msgstr ""
  1631. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1632. #: apt-cache.8.xml:1
  1633. msgid ""
  1634. "Print only important dependencies; for use with <literal>unmet</literal> and "
  1635. "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
  1636. "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
  1637. msgstr ""
  1638. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1639. #: apt-cache.8.xml:1
  1640. msgid ""
  1641. "Per default the <command>depends</command> and <command>rdepends</command> "
  1642. "print all dependencies. This can be tweaked with these flags which will omit "
  1643. "the specified dependency type. Configuration Item: "
  1644. "<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> "
  1645. "e.g. <literal>APT::Cache::ShowRecommends</literal>."
  1646. msgstr ""
  1647. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1648. #: apt-cache.8.xml:1
  1649. msgid ""
  1650. "Per default <command>depends</command> and <command>rdepends</command> print "
  1651. "only dependencies explicitly expressed in the metadata. With this flag it "
  1652. "will also show dependencies implicitly added based on the encountered data. "
  1653. "A <literal>Conflicts: foo</literal> e.g. expresses implicitly that this "
  1654. "package also conflicts with the package foo from any other architecture. "
  1655. "Configuration Item: <literal>APT::Cache::ShowImplicit</literal>."
  1656. msgstr ""
  1657. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1658. #: apt-cache.8.xml:1
  1659. msgid ""
  1660. "Print full package records when searching. Configuration Item: "
  1661. "<literal>APT::Cache::ShowFull</literal>."
  1662. msgstr ""
  1663. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1664. #: apt-cache.8.xml:1
  1665. msgid ""
  1666. "Print full records for all available versions. This is the default; to turn "
  1667. "it off, use <option>--no-all-versions</option>. If "
  1668. "<option>--no-all-versions</option> is specified, only the candidate version "
  1669. "will be displayed (the one which would be selected for installation). This "
  1670. "option is only applicable to the <literal>show</literal> command. "
  1671. "Configuration Item: <literal>APT::Cache::AllVersions</literal>."
  1672. msgstr ""
  1673. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1674. #: apt-cache.8.xml:1
  1675. msgid ""
  1676. "Perform automatic package cache regeneration, rather than use the cache as "
  1677. "it is. This is the default; to turn it off, use "
  1678. "<option>--no-generate</option>. Configuration Item: "
  1679. "<literal>APT::Cache::Generate</literal>."
  1680. msgstr ""
  1681. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1682. #: apt-cache.8.xml:1
  1683. msgid ""
  1684. "Only search on the package and provided package names, not the long "
  1685. "descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>."
  1686. msgstr ""
  1687. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1688. #: apt-cache.8.xml:1
  1689. msgid ""
  1690. "Make <literal>pkgnames</literal> print all names, including virtual packages "
  1691. "and missing dependencies. Configuration Item: "
  1692. "<literal>APT::Cache::AllNames</literal>."
  1693. msgstr ""
  1694. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1695. #: apt-cache.8.xml:1
  1696. msgid ""
  1697. "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
  1698. "that all packages mentioned are printed once. Configuration Item: "
  1699. "<literal>APT::Cache::RecurseDepends</literal>."
  1700. msgstr ""
  1701. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1702. #: apt-cache.8.xml:1
  1703. msgid ""
  1704. "Limit the output of <literal>depends</literal> and "
  1705. "<literal>rdepends</literal> to packages which are currently installed. "
  1706. "Configuration Item: <literal>APT::Cache::Installed</literal>."
  1707. msgstr ""
  1708. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1709. #: apt-cache.8.xml:1
  1710. msgid ""
  1711. "Adds the given file as a source for metadata. Can be repeated to add "
  1712. "multiple files. Supported are currently <literal>*.deb</literal>, "
  1713. "<literal>*.dsc</literal>, <literal>*.changes</literal>, "
  1714. "<literal>Sources</literal> and <literal>Packages</literal> files as well as "
  1715. "source package directories. Files are matched based on their name only, not "
  1716. "their content!"
  1717. msgstr ""
  1718. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1719. #: apt-cache.8.xml:1
  1720. msgid ""
  1721. "<literal>Sources</literal> and <literal>Packages</literal> can be compressed "
  1722. "in any format apt supports as long as they have the correct extension. If "
  1723. "you need to store multiple of these files in one directory you can prefix a "
  1724. "name of your choice with the last character being an underscore "
  1725. "(\"<literal>_</literal>\"). Example: my.example_Packages.xz"
  1726. msgstr ""
  1727. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1728. #: apt-cache.8.xml:1
  1729. msgid ""
  1730. "Note that these sources are treated as trusted (see &apt-secure;). "
  1731. "Configuration Item: <literal>APT::Sources::With</literal>."
  1732. msgstr ""
  1733. #. type: Content of: <refentry><refsect1><para>
  1734. #: apt-cache.8.xml:1
  1735. msgid "&apt-conf;, &sources-list;, &apt-get;"
  1736. msgstr ""
  1737. #. type: Content of: <refentry><refsect1><para>
  1738. #: apt-cache.8.xml:1
  1739. msgid ""
  1740. "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
  1741. "on error."
  1742. msgstr ""
  1743. #. type: Content of: <refentry><refnamediv><refpurpose>
  1744. #: apt-key.8.xml:1
  1745. msgid "APT key management utility"
  1746. msgstr ""
  1747. #. type: Content of: <refentry><refsect1><para>
  1748. #: apt-key.8.xml:1
  1749. msgid ""
  1750. "<command>apt-key</command> is used to manage the list of keys used by apt to "
  1751. "authenticate packages. Packages which have been authenticated using these "
  1752. "keys will be considered trusted."
  1753. msgstr ""
  1754. #. type: Content of: <refentry><refsect1><para>
  1755. #: apt-key.8.xml:1
  1756. msgid ""
  1757. "Note that if usage of <command>apt-key</command> is desired the additional "
  1758. "installation of the GNU Privacy Guard suite (packaged in "
  1759. "<package>gnupg</package>) is required. For this reason alone the "
  1760. "programmatic usage (especially in package maintainerscripts!) is strongly "
  1761. "discouraged. Further more the output format of all commands is undefined "
  1762. "and can and does change whenever the underlying commands "
  1763. "change. <command>apt-key</command> will try to detect such usage and "
  1764. "generates warnings on stderr in these cases."
  1765. msgstr ""
  1766. #. type: Content of: <refentry><refsect1><title>
  1767. #: apt-key.8.xml:1
  1768. msgid "Supported keyring files"
  1769. msgstr ""
  1770. #. type: Content of: <refentry><refsect1><para>
  1771. #: apt-key.8.xml:1
  1772. msgid ""
  1773. "apt-key supports only the binary OpenPGP format (also known as \"GPG key "
  1774. "public ring\") in files with the \"<literal>gpg</literal>\" extension, not "
  1775. "the keybox database format introduced in newer &gpg; versions as default for "
  1776. "keyring files. Binary keyring files intended to be used with any apt version "
  1777. "should therefore always be created with <command>gpg --export</command>."
  1778. msgstr ""
  1779. #. type: Content of: <refentry><refsect1><para>
  1780. #: apt-key.8.xml:1
  1781. msgid ""
  1782. "Alternatively, if all systems which should be using the created keyring have "
  1783. "at least apt version >= 1.4 installed, you can use the ASCII armored format "
  1784. "with the \"<literal>asc</literal>\" extension instead which can be created "
  1785. "with <command>gpg --armor --export</command>."
  1786. msgstr ""
  1787. #. type: Content of: <refentry><refsect1><title>
  1788. #: apt-key.8.xml:1
  1789. msgid "Commands"
  1790. msgstr ""
  1791. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1792. #: apt-key.8.xml:1
  1793. msgid ""
  1794. "Add a new key to the list of trusted keys. The key is read from the "
  1795. "filename given with the parameter &synopsis-param-filename; or if the "
  1796. "filename is <literal>-</literal> from standard input."
  1797. msgstr ""
  1798. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1799. #: apt-key.8.xml:1
  1800. msgid ""
  1801. "It is critical that keys added manually via <command>apt-key</command> are "
  1802. "verified to belong to the owner of the repositories they claim to be for "
  1803. "otherwise the &apt-secure; infrastructure is completely undermined."
  1804. msgstr ""
  1805. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1806. #: apt-key.8.xml:1
  1807. msgid ""
  1808. "<emphasis>Note</emphasis>: Instead of using this command a keyring should be "
  1809. "placed directly in the <filename>/etc/apt/trusted.gpg.d/</filename> "
  1810. "directory with a descriptive name and either \"<literal>gpg</literal>\" or "
  1811. "\"<literal>asc</literal>\" as file extension."
  1812. msgstr ""
  1813. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1814. #: apt-key.8.xml:1
  1815. msgid "Remove a key from the list of trusted keys."
  1816. msgstr ""
  1817. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1818. #: apt-key.8.xml:1
  1819. msgid "Output the key &synopsis-param-keyid; to standard output."
  1820. msgstr ""
  1821. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1822. #: apt-key.8.xml:1
  1823. msgid "Output all trusted keys to standard output."
  1824. msgstr ""
  1825. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1826. #: apt-key.8.xml:1
  1827. msgid "List trusted keys with fingerprints."
  1828. msgstr ""
  1829. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1830. #: apt-key.8.xml:1
  1831. msgid ""
  1832. "Pass advanced options to gpg. With <command>adv --recv-key</command> you can "
  1833. "e.g. download key from keyservers directly into the trusted set of "
  1834. "keys. Note that there are <emphasis>no</emphasis> checks performed, so it is "
  1835. "easy to completely undermine the &apt-secure; infrastructure if used without "
  1836. "care."
  1837. msgstr ""
  1838. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1839. #: apt-key.8.xml:1
  1840. msgid "(deprecated)"
  1841. msgstr ""
  1842. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1843. #: apt-key.8.xml:1
  1844. msgid ""
  1845. "Update the local keyring with the archive keyring and remove from the local "
  1846. "keyring the archive keys which are no longer valid. The archive keyring is "
  1847. "shipped in the <literal>archive-keyring</literal> package of your "
  1848. "distribution, e.g. the &keyring-package; package in &keyring-distro;."
  1849. msgstr ""
  1850. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1851. #: apt-key.8.xml:1
  1852. msgid ""
  1853. "Note that a distribution does not need to and in fact should not use this "
  1854. "command any longer and instead ship keyring files in the "
  1855. "<filename>/etc/apt/trusted.gpg.d/</filename> directory directly as this "
  1856. "avoids a dependency on <package>gnupg</package> and it is easier to manage "
  1857. "keys by simply adding and removing files for maintainers and users alike."
  1858. msgstr ""
  1859. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1860. #: apt-key.8.xml:1
  1861. msgid ""
  1862. "Perform an update working similarly to the <command>update</command> command "
  1863. "above, but get the archive keyring from a URI instead and validate it "
  1864. "against a master key. This requires an installed &wget; and an APT build "
  1865. "configured to have a server to fetch from and a master keyring to validate. "
  1866. "APT in Debian does not support this command, relying on "
  1867. "<command>update</command> instead, but Ubuntu's APT does."
  1868. msgstr ""
  1869. #. type: Content of: <refentry><refsect1><title>
  1870. #: apt-key.8.xml:1 apt-mark.8.xml:1 apt-mark.8.xml:1 apt-cdrom.8.xml:1
  1871. msgid "Options"
  1872. msgstr ""
  1873. #. type: Content of: <refentry><refsect1><para>
  1874. #: apt-key.8.xml:1
  1875. msgid ""
  1876. "Note that options need to be defined before the commands described in the "
  1877. "previous section."
  1878. msgstr ""
  1879. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1880. #: apt-key.8.xml:1
  1881. msgid ""
  1882. "With this option it is possible to specify a particular keyring file the "
  1883. "command should operate on. The default is that a command is executed on the "
  1884. "<filename>trusted.gpg</filename> file as well as on all parts in the "
  1885. "<filename>trusted.gpg.d</filename> directory, though "
  1886. "<filename>trusted.gpg</filename> is the primary keyring which means that "
  1887. "e.g. new keys are added to this one."
  1888. msgstr ""
  1889. #. type: Content of: <refentry><refsect1><para>
  1890. #: apt-key.8.xml:1
  1891. msgid "&apt-get;, &apt-secure;"
  1892. msgstr ""
  1893. #. type: Content of: <refentry><refnamediv><refpurpose>
  1894. #: apt-mark.8.xml:1
  1895. msgid "show, set and unset various settings for a package"
  1896. msgstr ""
  1897. #. type: Content of: <refentry><refsect1><para>
  1898. #: apt-mark.8.xml:1
  1899. msgid ""
  1900. "<command>apt-mark</command> can be used as a unified front-end to set "
  1901. "various settings for a package, such as marking a package as being "
  1902. "automatically/manually installed or changing <command>dpkg</command> "
  1903. "selections such as hold, install, deinstall and purge which are respected "
  1904. "e.g. by <command>apt-get dselect-upgrade</command> or "
  1905. "<command>aptitude</command>."
  1906. msgstr ""
  1907. #. type: Content of: <refentry><refsect1><title>
  1908. #: apt-mark.8.xml:1
  1909. msgid "Automatically and Manually Installed Packages"
  1910. msgstr ""
  1911. #. type: Content of: <refentry><refsect1><para>
  1912. #: apt-mark.8.xml:1
  1913. msgid ""
  1914. "When you request that a package is installed, and as a result other packages "
  1915. "are installed to satisfy its dependencies, the dependencies are marked as "
  1916. "being automatically installed, while the package you installed explicitly is "
  1917. "marked as manually installed. Once an automatically installed package is no "
  1918. "longer depended on by any manually installed package it is considered no "
  1919. "longer needed and e.g. <command>apt-get</command> or "
  1920. "<command>aptitude</command> will at least suggest removing them."
  1921. msgstr ""
  1922. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1923. #: apt-mark.8.xml:1
  1924. msgid ""
  1925. "<literal>auto</literal> is used to mark a package as being automatically "
  1926. "installed, which will cause the package to be removed when no more manually "
  1927. "installed packages depend on this package."
  1928. msgstr ""
  1929. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1930. #: apt-mark.8.xml:1
  1931. msgid ""
  1932. "<literal>manual</literal> is used to mark a package as being manually "
  1933. "installed, which will prevent the package from being automatically removed "
  1934. "if no other packages depend on it."
  1935. msgstr ""
  1936. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1937. #: apt-mark.8.xml:1
  1938. msgid ""
  1939. "<literal>showauto</literal> is used to print a list of automatically "
  1940. "installed packages with each package on a new line. All automatically "
  1941. "installed packages will be listed if no package is given. If packages are "
  1942. "given only those which are automatically installed will be shown."
  1943. msgstr ""
  1944. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1945. #: apt-mark.8.xml:1
  1946. msgid ""
  1947. "<literal>showmanual</literal> can be used in the same way as "
  1948. "<literal>showauto</literal> except that it will print a list of manually "
  1949. "installed packages instead."
  1950. msgstr ""
  1951. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  1952. #: apt-mark.8.xml:1
  1953. msgid ""
  1954. "Read/Write package stats from the filename given with the parameter "
  1955. "&synopsis-param-filename; instead of from the default location, which is "
  1956. "<filename>extended_status</filename> in the directory defined by the "
  1957. "Configuration Item: <literal>Dir::State</literal>."
  1958. msgstr ""
  1959. #. type: Content of: <refentry><refsect1><title>
  1960. #: apt-mark.8.xml:1
  1961. msgid "Prevent Changes for a Package"
  1962. msgstr ""
  1963. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1964. #: apt-mark.8.xml:1
  1965. msgid ""
  1966. "<literal>hold</literal> is used to mark a package as held back, which will "
  1967. "prevent the package from being automatically installed, upgraded or removed."
  1968. msgstr ""
  1969. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1970. #: apt-mark.8.xml:1
  1971. msgid ""
  1972. "<literal>unhold</literal> is used to cancel a previously set hold on a "
  1973. "package to allow all actions again."
  1974. msgstr ""
  1975. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1976. #: apt-mark.8.xml:1
  1977. msgid ""
  1978. "<literal>showhold</literal> is used to print a list of packages on hold in "
  1979. "the same way as for the other show commands."
  1980. msgstr ""
  1981. #. type: Content of: <refentry><refsect1><title>
  1982. #: apt-mark.8.xml:1
  1983. msgid "Schedule Packages for Install, Remove and Purge"
  1984. msgstr ""
  1985. #. type: Content of: <refentry><refsect1><para>
  1986. #: apt-mark.8.xml:1
  1987. msgid ""
  1988. "Some front-ends like <command>apt-get dselect-upgrade</command> can be used "
  1989. "to apply previously scheduled changes to the install state of packages. Such "
  1990. "changes can be scheduled with the <option>install</option>, "
  1991. "<option>remove</option> (also known as <option>deinstall</option>) and "
  1992. "<option>purge</option> commands. Packages with a specific selection can be "
  1993. "displayed with <option>showinstall</option>, <option>showremove</option> and "
  1994. "<option>showpurge</option> respectively. More information about these so "
  1995. "called dpkg selections can be found in &dpkg;."
  1996. msgstr ""
  1997. #. type: Content of: <refentry><refsect1><para>
  1998. #: apt-mark.8.xml:1
  1999. msgid ""
  2000. "<command>apt-mark</command> returns zero on normal operation, non-zero on "
  2001. "error."
  2002. msgstr ""
  2003. #. type: Content of: <refentry><refnamediv><refpurpose>
  2004. #: apt-secure.8.xml:1
  2005. msgid "Archive authentication support for APT"
  2006. msgstr ""
  2007. #. type: Content of: <refentry><refsect1><para>
  2008. #: apt-secure.8.xml:1
  2009. msgid ""
  2010. "Starting with version 0.6, <command>APT</command> contains code that does "
  2011. "signature checking of the Release file for all repositories. This ensures "
  2012. "that data like packages in the archive can't be modified by people who have "
  2013. "no access to the Release file signing key. Starting with version 1.1 "
  2014. "<command>APT</command> requires repositories to provide recent "
  2015. "authentication information for unimpeded usage of the repository. Since "
  2016. "version 1.5 changes in the information contained in the Release file about "
  2017. "the repository need to be confirmed before APT continues to apply updates "
  2018. "from this repository."
  2019. msgstr ""
  2020. #. type: Content of: <refentry><refsect1><para>
  2021. #: apt-secure.8.xml:1
  2022. msgid ""
  2023. "Note: All APT-based package management front-ends like &apt-get;, &aptitude; "
  2024. "and &synaptic; support this authentication feature, so this manpage uses "
  2025. "<literal>APT</literal> to refer to them all for simplicity only."
  2026. msgstr ""
  2027. #. type: Content of: <refentry><refsect1><title>
  2028. #: apt-secure.8.xml:1
  2029. msgid "Unsigned Repositories"
  2030. msgstr ""
  2031. #. type: Content of: <refentry><refsect1><para>
  2032. #: apt-secure.8.xml:1
  2033. msgid ""
  2034. "If an archive has an unsigned Release file or no Release file at all current "
  2035. "APT versions will refuse to download data from them by default in "
  2036. "<command>update</command> operations and even if forced to download "
  2037. "front-ends like &apt-get; will require explicit confirmation if an "
  2038. "installation request includes a package from such an unauthenticated "
  2039. "archive."
  2040. msgstr ""
  2041. #. type: Content of: <refentry><refsect1><para>
  2042. #: apt-secure.8.xml:1
  2043. msgid ""
  2044. "You can force all APT clients to raise only warnings by setting the "
  2045. "configuration option <option>Acquire::AllowInsecureRepositories</option> to "
  2046. "<literal>true</literal>. Individual repositories can also be allowed to be "
  2047. "insecure via the &sources-list; option "
  2048. "<literal>allow-insecure=yes</literal>. Note that insecure repositories are "
  2049. "strongly discouraged and all options to force apt to continue supporting "
  2050. "them will eventually be removed. Users also have the "
  2051. "<option>Trusted</option> option available to disable even the warnings, but "
  2052. "be sure to understand the implications as detailed in &sources-list;."
  2053. msgstr ""
  2054. #. type: Content of: <refentry><refsect1><para>
  2055. #: apt-secure.8.xml:1
  2056. msgid ""
  2057. "A repository which previously was authenticated but would loose this state "
  2058. "in an <command>update</command> operation raises an error in all APT clients "
  2059. "irrespective of the option to allow or forbid usage of insecure "
  2060. "repositories. The error can be overcome by additionally setting "
  2061. "<option>Acquire::AllowDowngradeToInsecureRepositories</option> to "
  2062. "<literal>true</literal> or for Individual repositories with the "
  2063. "&sources-list; option <literal>allow-downgrade-to-insecure=yes</literal>."
  2064. msgstr ""
  2065. #. type: Content of: <refentry><refsect1><title>
  2066. #: apt-secure.8.xml:1
  2067. msgid "Signed Repositories"
  2068. msgstr ""
  2069. #. type: Content of: <refentry><refsect1><para>
  2070. #: apt-secure.8.xml:1
  2071. msgid ""
  2072. "The chain of trust from an APT archive to the end user is made up of several "
  2073. "steps. <command>apt-secure</command> is the last step in this chain; "
  2074. "trusting an archive does not mean that you trust its packages not to contain "
  2075. "malicious code, but means that you trust the archive maintainer. It's the "
  2076. "archive maintainer's responsibility to ensure that the archive's integrity "
  2077. "is preserved."
  2078. msgstr ""
  2079. #. type: Content of: <refentry><refsect1><para>
  2080. #: apt-secure.8.xml:1
  2081. msgid ""
  2082. "apt-secure does not review signatures at a package level. If you require "
  2083. "tools to do this you should look at <command>debsig-verify</command> and "
  2084. "<command>debsign</command> (provided in the debsig-verify and devscripts "
  2085. "packages respectively)."
  2086. msgstr ""
  2087. #. type: Content of: <refentry><refsect1><para>
  2088. #: apt-secure.8.xml:1
  2089. msgid ""
  2090. "The chain of trust in Debian starts (e.g.) when a maintainer uploads a new "
  2091. "package or a new version of a package to the Debian archive. In order to "
  2092. "become effective, this upload needs to be signed by a key contained in one "
  2093. "of the Debian package maintainer keyrings (available in the debian-keyring "
  2094. "package). Maintainers' keys are signed by other maintainers following "
  2095. "pre-established procedures to ensure the identity of the key holder. Similar "
  2096. "procedures exist in all Debian-based distributions."
  2097. msgstr ""
  2098. #. type: Content of: <refentry><refsect1><para>
  2099. #: apt-secure.8.xml:1
  2100. msgid ""
  2101. "Once the uploaded package is verified and included in the archive, the "
  2102. "maintainer signature is stripped off, and checksums of the package are "
  2103. "computed and put in the Packages file. The checksums of all of the Packages "
  2104. "files are then computed and put into the Release file. The Release file is "
  2105. "then signed by the archive key for this &keyring-distro; release, and "
  2106. "distributed alongside the packages and the Packages files on "
  2107. "&keyring-distro; mirrors. The keys are in the &keyring-distro; archive "
  2108. "keyring available in the &keyring-package; package."
  2109. msgstr ""
  2110. #. type: Content of: <refentry><refsect1><para>
  2111. #: apt-secure.8.xml:1
  2112. msgid ""
  2113. "End users can check the signature of the Release file, extract a checksum of "
  2114. "a package from it and compare it with the checksum of the package they "
  2115. "downloaded by hand - or rely on APT doing this automatically."
  2116. msgstr ""
  2117. #. type: Content of: <refentry><refsect1><para>
  2118. #: apt-secure.8.xml:1
  2119. msgid ""
  2120. "Notice that this is distinct from checking signatures on a per package "
  2121. "basis. It is designed to prevent two possible attacks:"
  2122. msgstr ""
  2123. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2124. #: apt-secure.8.xml:1
  2125. msgid ""
  2126. "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
  2127. "checking, malicious agents can introduce themselves into the package "
  2128. "download process and provide malicious software either by controlling a "
  2129. "network element (router, switch, etc.) or by redirecting traffic to a rogue "
  2130. "server (through ARP or DNS spoofing attacks)."
  2131. msgstr ""
  2132. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2133. #: apt-secure.8.xml:1
  2134. msgid ""
  2135. "<literal>Mirror network compromise</literal>. Without signature checking, a "
  2136. "malicious agent can compromise a mirror host and modify the files in it to "
  2137. "propagate malicious software to all users downloading packages from that "
  2138. "host."
  2139. msgstr ""
  2140. #. type: Content of: <refentry><refsect1><para>
  2141. #: apt-secure.8.xml:1
  2142. msgid ""
  2143. "However, it does not defend against a compromise of the master server itself "
  2144. "(which signs the packages) or against a compromise of the key used to sign "
  2145. "the Release files. In any case, this mechanism can complement a per-package "
  2146. "signature."
  2147. msgstr ""
  2148. #. type: Content of: <refentry><refsect1><title>
  2149. #: apt-secure.8.xml:1
  2150. msgid "Information changes"
  2151. msgstr ""
  2152. #. type: Content of: <refentry><refsect1><para>
  2153. #: apt-secure.8.xml:1
  2154. msgid ""
  2155. "A Release file contains beside the checksums for the files in the repository "
  2156. "also general information about the repository like the origin, codename or "
  2157. "version number of the release."
  2158. msgstr ""
  2159. #. type: Content of: <refentry><refsect1><para>
  2160. #: apt-secure.8.xml:1
  2161. msgid ""
  2162. "This information is shown in various places so a repository owner should "
  2163. "always ensure correctness. Further more user configuration like "
  2164. "&apt-preferences; can depend and make use of this information. Since version "
  2165. "1.5 the user must therefore explicitly confirm changes to signal that the "
  2166. "user is sufficiently prepared e.g. for the new major release of the "
  2167. "distribution shipped in the repository (as e.g. indicated by the codename)."
  2168. msgstr ""
  2169. #. type: Content of: <refentry><refsect1><title>
  2170. #: apt-secure.8.xml:1
  2171. msgid "User Configuration"
  2172. msgstr ""
  2173. #. type: Content of: <refentry><refsect1><para>
  2174. #: apt-secure.8.xml:1
  2175. msgid ""
  2176. "<command>apt-key</command> is the program that manages the list of keys used "
  2177. "by APT to trust repositories. It can be used to add or remove keys as well "
  2178. "as list the trusted keys. Limiting which key(s) are able to sign which "
  2179. "archive is possible via the <option>Signed-By</option> in &sources-list;."
  2180. msgstr ""
  2181. #. type: Content of: <refentry><refsect1><para>
  2182. #: apt-secure.8.xml:1
  2183. msgid ""
  2184. "Note that a default installation already contains all keys to securely "
  2185. "acquire packages from the default repositories, so fiddling with "
  2186. "<command>apt-key</command> is only needed if third-party repositories are "
  2187. "added."
  2188. msgstr ""
  2189. #. type: Content of: <refentry><refsect1><para>
  2190. #: apt-secure.8.xml:1
  2191. msgid ""
  2192. "In order to add a new key you need to first download it (you should make "
  2193. "sure you are using a trusted communication channel when retrieving it), add "
  2194. "it with <command>apt-key</command> and then run <command>apt-get "
  2195. "update</command> so that apt can download and verify the "
  2196. "<filename>InRelease</filename> or <filename>Release.gpg</filename> files "
  2197. "from the archives you have configured."
  2198. msgstr ""
  2199. #. type: Content of: <refentry><refsect1><title>
  2200. #: apt-secure.8.xml:1
  2201. msgid "Repository Configuration"
  2202. msgstr ""
  2203. #. type: Content of: <refentry><refsect1><para>
  2204. #: apt-secure.8.xml:1
  2205. msgid ""
  2206. "If you want to provide archive signatures in an archive under your "
  2207. "maintenance you have to:"
  2208. msgstr ""
  2209. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2210. #: apt-secure.8.xml:1
  2211. msgid ""
  2212. "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
  2213. "already. You can do this by running <command>apt-ftparchive "
  2214. "release</command> (provided in apt-utils)."
  2215. msgstr ""
  2216. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2217. #: apt-secure.8.xml:1
  2218. msgid ""
  2219. "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg "
  2220. "--clearsign -o InRelease Release</command> and <command>gpg -abs -o "
  2221. "Release.gpg Release</command>."
  2222. msgstr ""
  2223. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2224. #: apt-secure.8.xml:1
  2225. msgid ""
  2226. "<emphasis>Publish the key fingerprint</emphasis>, so that your users will "
  2227. "know what key they need to import in order to authenticate the files in the "
  2228. "archive. It is best to ship your key in its own keyring package like "
  2229. "&keyring-distro; does with &keyring-package; to be able to distribute "
  2230. "updates and key transitions automatically later."
  2231. msgstr ""
  2232. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2233. #: apt-secure.8.xml:1
  2234. msgid ""
  2235. "<emphasis>Provide instructions on how to add your archive and "
  2236. "key</emphasis>. If your users can't acquire your key securely the chain of "
  2237. "trust described above is broken. How you can help users add your key "
  2238. "depends on your archive and target audience ranging from having your keyring "
  2239. "package included in another archive users already have configured (like the "
  2240. "default repositories of their distribution) to leveraging the web of trust."
  2241. msgstr ""
  2242. #. type: Content of: <refentry><refsect1><para>
  2243. #: apt-secure.8.xml:1
  2244. msgid ""
  2245. "Whenever the contents of the archive change (new packages are added or "
  2246. "removed) the archive maintainer has to follow the first two steps outlined "
  2247. "above."
  2248. msgstr ""
  2249. #. type: Content of: <refentry><refsect1><para>
  2250. #: apt-secure.8.xml:1
  2251. msgid ""
  2252. "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
  2253. "&debsign;, &debsig-verify;, &gpg;"
  2254. msgstr ""
  2255. #. type: Content of: <refentry><refsect1><para>
  2256. #: apt-secure.8.xml:1
  2257. msgid ""
  2258. "For more background information you might want to review the <ulink "
  2259. "url=\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
  2260. "Security Infrastructure</ulink> chapter of the Securing Debian Manual (also "
  2261. "available in the harden-doc package) and the <ulink "
  2262. "url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
  2263. "Distribution HOWTO</ulink> by V. Alex Brennen."
  2264. msgstr ""
  2265. #. type: Content of: <refentry><refsect1><title>
  2266. #: apt-secure.8.xml:1
  2267. msgid "Manpage Authors"
  2268. msgstr ""
  2269. #. type: Content of: <refentry><refsect1><para>
  2270. #: apt-secure.8.xml:1
  2271. msgid ""
  2272. "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
  2273. "Jones, Colin Walters, Florian Weimer and Michael Vogt."
  2274. msgstr ""
  2275. #. type: Content of: <refentry><refnamediv><refpurpose>
  2276. #: apt-cdrom.8.xml:1
  2277. msgid "APT CD-ROM management utility"
  2278. msgstr ""
  2279. #. type: Content of: <refentry><refsect1><para>
  2280. #: apt-cdrom.8.xml:1
  2281. msgid ""
  2282. "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
  2283. "available sources. <command>apt-cdrom</command> takes care of determining "
  2284. "the structure of the disc as well as correcting for several possible "
  2285. "mis-burns and verifying the index files."
  2286. msgstr ""
  2287. #. type: Content of: <refentry><refsect1><para>
  2288. #: apt-cdrom.8.xml:1
  2289. msgid ""
  2290. "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
  2291. "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
  2292. "must be inserted and scanned separately to account for possible mis-burns."
  2293. msgstr ""
  2294. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2295. #: apt-cdrom.8.xml:1
  2296. msgid ""
  2297. "<literal>add</literal> is used to add a new disc to the source list. It will "
  2298. "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
  2299. "to scan it and copy the index files. If the disc does not have a proper "
  2300. "<filename>.disk</filename> directory you will be prompted for a descriptive "
  2301. "title."
  2302. msgstr ""
  2303. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2304. #: apt-cdrom.8.xml:1
  2305. msgid ""
  2306. "APT uses a CD-ROM ID to track which disc is currently in the drive and "
  2307. "maintains a database of these IDs in "
  2308. "<filename>&statedir;/cdroms.list</filename>"
  2309. msgstr ""
  2310. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2311. #: apt-cdrom.8.xml:1
  2312. msgid ""
  2313. "A debugging tool to report the identity of the current disc as well as the "
  2314. "stored file name"
  2315. msgstr ""
  2316. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2317. #: apt-cdrom.8.xml:1
  2318. msgid ""
  2319. "Do not try to auto-detect the CD-ROM path. Usually combined with the "
  2320. "<option>--cdrom</option> option. Configuration Item: "
  2321. "<literal>Acquire::cdrom::AutoDetect</literal>."
  2322. msgstr ""
  2323. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2324. #: apt-cdrom.8.xml:1
  2325. msgid ""
  2326. "Mount point; specify the location to mount the CD-ROM. This mount point must "
  2327. "be listed in <filename>/etc/fstab</filename> and properly configured. "
  2328. "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
  2329. msgstr ""
  2330. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2331. #: apt-cdrom.8.xml:1
  2332. msgid ""
  2333. "Rename a disc; change the label of a disc or override the disc's given "
  2334. "label. This option will cause <command>apt-cdrom</command> to prompt for a "
  2335. "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
  2336. msgstr ""
  2337. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2338. #: apt-cdrom.8.xml:1
  2339. msgid ""
  2340. "No mounting; prevent <command>apt-cdrom</command> from mounting and "
  2341. "unmounting the mount point. Configuration Item: "
  2342. "<literal>APT::CDROM::NoMount</literal>."
  2343. msgstr ""
  2344. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2345. #: apt-cdrom.8.xml:1
  2346. msgid ""
  2347. "Fast Copy; Assume the package files are valid and do not check every "
  2348. "package. This option should be used only if <command>apt-cdrom</command> has "
  2349. "been run on this disc before and did not detect any errors. Configuration "
  2350. "Item: <literal>APT::CDROM::Fast</literal>."
  2351. msgstr ""
  2352. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2353. #: apt-cdrom.8.xml:1
  2354. msgid ""
  2355. "Thorough Package Scan; This option may be needed with some old Debian "
  2356. "1.1/1.2 discs that have Package files in strange places. It takes much "
  2357. "longer to scan the CD but will pick them all up."
  2358. msgstr ""
  2359. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2360. #: apt-cdrom.8.xml:1
  2361. msgid ""
  2362. "No Changes; Do not change the &sources-list; file and do not write index "
  2363. "files. Everything is still checked however. Configuration Item: "
  2364. "<literal>APT::CDROM::NoAct</literal>."
  2365. msgstr ""
  2366. #. type: Content of: <refentry><refsect1><para>
  2367. #: apt-cdrom.8.xml:1
  2368. msgid "&apt-conf;, &apt-get;, &sources-list;"
  2369. msgstr ""
  2370. #. type: Content of: <refentry><refsect1><para>
  2371. #: apt-cdrom.8.xml:1
  2372. msgid ""
  2373. "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
  2374. "on error."
  2375. msgstr ""
  2376. #. type: Content of: <refentry><refnamediv><refpurpose>
  2377. #: apt-config.8.xml:1
  2378. msgid "APT Configuration Query program"
  2379. msgstr ""
  2380. #. type: Content of: <refentry><refsect1><para>
  2381. #: apt-config.8.xml:1
  2382. msgid ""
  2383. "<command>apt-config</command> is an internal program used by various "
  2384. "portions of the APT suite to provide consistent configurability. It accesses "
  2385. "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
  2386. "manner that is easy to use for scripted applications."
  2387. msgstr ""
  2388. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2389. #: apt-config.8.xml:1
  2390. msgid ""
  2391. "shell is used to access the configuration information from a shell "
  2392. "script. It is given pairs of arguments, the first being a shell variable and "
  2393. "the second the configuration value to query. As output it lists shell "
  2394. "assignment commands for each value present. In a shell script it should be "
  2395. "used as follows:"
  2396. msgstr ""
  2397. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  2398. #: apt-config.8.xml:1
  2399. #, no-wrap
  2400. msgid ""
  2401. "OPTS=\"-f\"\n"
  2402. "RES=`apt-config shell OPTS MyApp::options`\n"
  2403. "eval $RES\n"
  2404. msgstr ""
  2405. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2406. #: apt-config.8.xml:1
  2407. msgid ""
  2408. "This will set the shell environment variable $OPTS to the value of "
  2409. "MyApp::options with a default of <option>-f</option>."
  2410. msgstr ""
  2411. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2412. #: apt-config.8.xml:1
  2413. msgid ""
  2414. "The configuration item may be postfixed with a /[fdbi]. f returns file "
  2415. "names, d returns directories, b returns true or false and i returns an "
  2416. "integer. Each of the returns is normalized and verified internally."
  2417. msgstr ""
  2418. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2419. #: apt-config.8.xml:1
  2420. msgid "Just show the contents of the configuration space."
  2421. msgstr ""
  2422. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2423. #: apt-config.8.xml:1
  2424. msgid ""
  2425. "Include options which have an empty value. This is the default, so use "
  2426. "--no-empty to remove them from the output."
  2427. msgstr ""
  2428. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  2429. #: apt-config.8.xml:1
  2430. msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
  2431. msgstr ""
  2432. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2433. #: apt-config.8.xml:1
  2434. msgid ""
  2435. "Defines the output of each config option. &percnt;t will be replaced with "
  2436. "its individual name, &percnt;f with its full hierarchical name and &percnt;v "
  2437. "with its value. Use uppercase letters and special characters in the value "
  2438. "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
  2439. "as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
  2440. "and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
  2441. msgstr ""
  2442. #. type: Content of: <refentry><refsect1><para>
  2443. #: apt-config.8.xml:1 apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1
  2444. #: apt-ftparchive.1.xml:1
  2445. msgid "&apt-conf;"
  2446. msgstr ""
  2447. #. type: Content of: <refentry><refsect1><para>
  2448. #: apt-config.8.xml:1
  2449. msgid ""
  2450. "<command>apt-config</command> returns zero on normal operation, decimal 100 "
  2451. "on error."
  2452. msgstr ""
  2453. #. type: Content of: <refentry><refentryinfo><author><contrib>
  2454. #: apt.conf.5.xml:1
  2455. msgid "Initial documentation of Debug::*."
  2456. msgstr ""
  2457. #. type: Content of: <refentry><refentryinfo><author><email>
  2458. #: apt.conf.5.xml:1
  2459. msgid "dburrows@debian.org"
  2460. msgstr ""
  2461. #. type: Content of: <refentry><refmeta><manvolnum>
  2462. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  2463. msgid "5"
  2464. msgstr ""
  2465. #. type: Content of: <refentry><refnamediv><refpurpose>
  2466. #: apt.conf.5.xml:1
  2467. msgid "Configuration file for APT"
  2468. msgstr ""
  2469. #. type: Content of: <refentry><refsect1><para>
  2470. #: apt.conf.5.xml:1
  2471. msgid ""
  2472. "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
  2473. "by all the tools in the APT suite of tools, though it is by no means the "
  2474. "only place options can be set. The suite also shares a common command line "
  2475. "parser to provide a uniform environment."
  2476. msgstr ""
  2477. #. type: Content of: <refentry><refsect1><orderedlist><para>
  2478. #: apt.conf.5.xml:1
  2479. msgid ""
  2480. "When an APT tool starts up it will read the configuration files in the "
  2481. "following order:"
  2482. msgstr ""
  2483. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2484. #: apt.conf.5.xml:1
  2485. msgid ""
  2486. "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
  2487. "any)"
  2488. msgstr ""
  2489. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2490. #: apt.conf.5.xml:1
  2491. msgid ""
  2492. "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
  2493. "order which have either no or \"<literal>conf</literal>\" as filename "
  2494. "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
  2495. "and period (.) characters. Otherwise APT will print a notice that it has "
  2496. "ignored a file, unless that file matches a pattern in the "
  2497. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  2498. "case it will be silently ignored."
  2499. msgstr ""
  2500. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2501. #: apt.conf.5.xml:1
  2502. msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
  2503. msgstr ""
  2504. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2505. #: apt.conf.5.xml:1
  2506. msgid ""
  2507. "all options set in the binary specific configuration subtree are moved into "
  2508. "the root of the tree."
  2509. msgstr ""
  2510. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2511. #: apt.conf.5.xml:1
  2512. msgid ""
  2513. "the command line options are applied to override the configuration "
  2514. "directives or to load even more configuration files."
  2515. msgstr ""
  2516. #. type: Content of: <refentry><refsect1><title>
  2517. #: apt.conf.5.xml:1
  2518. msgid "Syntax"
  2519. msgstr ""
  2520. #. type: Content of: <refentry><refsect1><para>
  2521. #: apt.conf.5.xml:1
  2522. msgid ""
  2523. "The configuration file is organized in a tree with options organized into "
  2524. "functional groups. Option specification is given with a double colon "
  2525. "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
  2526. "within the APT tool group, for the Get tool. Options do not inherit from "
  2527. "their parent groups."
  2528. msgstr ""
  2529. #. type: Content of: <refentry><refsect1><para>
  2530. #: apt.conf.5.xml:1
  2531. msgid ""
  2532. "Syntactically the configuration language is modeled after what the ISC tools "
  2533. "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
  2534. "treated as comments (ignored), as well as all text between "
  2535. "<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. "
  2536. "Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. "
  2537. "The quotation marks and trailing semicolon are required. The value must be "
  2538. "on one line, and there is no kind of string concatenation. Values must not "
  2539. "include backslashes or extra quotation marks. Option names are made up of "
  2540. "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
  2541. "opened with curly braces, like this:"
  2542. msgstr ""
  2543. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2544. #: apt.conf.5.xml:1
  2545. #, no-wrap
  2546. msgid ""
  2547. "APT {\n"
  2548. " Get {\n"
  2549. " Assume-Yes \"true\";\n"
  2550. " Fix-Broken \"true\";\n"
  2551. " };\n"
  2552. "};\n"
  2553. msgstr ""
  2554. #. type: Content of: <refentry><refsect1><para>
  2555. #: apt.conf.5.xml:1
  2556. msgid ""
  2557. "with newlines placed to make it more readable. Lists can be created by "
  2558. "opening a scope and including a single string enclosed in quotes followed by "
  2559. "a semicolon. Multiple entries can be included, separated by a semicolon."
  2560. msgstr ""
  2561. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2562. #: apt.conf.5.xml:1
  2563. #, no-wrap
  2564. msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
  2565. msgstr ""
  2566. #. type: Content of: <refentry><refsect1><para>
  2567. #: apt.conf.5.xml:1
  2568. msgid ""
  2569. "In general the sample configuration file &configureindex; is a good guide "
  2570. "for how it should look."
  2571. msgstr ""
  2572. #. type: Content of: <refentry><refsect1><para>
  2573. #: apt.conf.5.xml:1
  2574. msgid ""
  2575. "Case is not significant in names of configuration items, so in the previous "
  2576. "example you could use <literal>dpkg::pre-install-pkgs</literal>."
  2577. msgstr ""
  2578. #. type: Content of: <refentry><refsect1><para>
  2579. #: apt.conf.5.xml:1
  2580. msgid ""
  2581. "Names for the configuration items are optional if a list is defined as can "
  2582. "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
  2583. "you don't specify a name a new entry will simply add a new option to the "
  2584. "list. If you specify a name you can override the option in the same way as "
  2585. "any other option by reassigning a new value to the option."
  2586. msgstr ""
  2587. #. type: Content of: <refentry><refsect1><para>
  2588. #: apt.conf.5.xml:1
  2589. msgid ""
  2590. "Two special commands are defined: <literal>#include</literal> (which is "
  2591. "deprecated and not supported by alternative implementations) and "
  2592. "<literal>#clear</literal>. <literal>#include</literal> will include the "
  2593. "given file, unless the filename ends in a slash, in which case the whole "
  2594. "directory is included. <literal>#clear</literal> is used to erase a part of "
  2595. "the configuration tree. The specified element and all its descendants are "
  2596. "erased. (Note that these lines also need to end with a semicolon.)"
  2597. msgstr ""
  2598. #. type: Content of: <refentry><refsect1><para>
  2599. #: apt.conf.5.xml:1
  2600. msgid ""
  2601. "The <literal>#clear</literal> command is the only way to delete a list or a "
  2602. "complete scope. Reopening a scope (or using the syntax described below with "
  2603. "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
  2604. "previously written entries. Options can only be overridden by addressing a "
  2605. "new value to them - lists and scopes can't be overridden, only cleared."
  2606. msgstr ""
  2607. #. type: Content of: <refentry><refsect1><para>
  2608. #: apt.conf.5.xml:1
  2609. msgid ""
  2610. "All of the APT tools take an -o option which allows an arbitrary "
  2611. "configuration directive to be specified on the command line. The syntax is a "
  2612. "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
  2613. "followed by an equals sign then the new value of the option. To append a new "
  2614. "element to a list, add a trailing <literal>::</literal> to the name of the "
  2615. "list. (As you might suspect, the scope syntax can't be used on the command "
  2616. "line.)"
  2617. msgstr ""
  2618. #. type: Content of: <refentry><refsect1><para>
  2619. #: apt.conf.5.xml:1
  2620. msgid ""
  2621. "Note that appending items to a list using <literal>::</literal> only works "
  2622. "for one item per line, and that you should not use it in combination with "
  2623. "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
  2624. "syntaxes together will trigger a bug which some users unfortunately depend "
  2625. "on: an option with the unusual name \"<literal>::</literal>\" which acts "
  2626. "like every other option with a name. This introduces many problems; for one "
  2627. "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
  2628. "syntax in the hope of appending to a list will achieve the opposite, as only "
  2629. "the last assignment for this option \"<literal>::</literal>\" will be "
  2630. "used. Future versions of APT will raise errors and stop working if they "
  2631. "encounter this misuse, so please correct such statements now while APT "
  2632. "doesn't explicitly complain about them."
  2633. msgstr ""
  2634. #. type: Content of: <refentry><refsect1><title>
  2635. #: apt.conf.5.xml:1
  2636. msgid "The APT Group"
  2637. msgstr ""
  2638. #. type: Content of: <refentry><refsect1><para>
  2639. #: apt.conf.5.xml:1
  2640. msgid ""
  2641. "This group of options controls general APT behavior as well as holding the "
  2642. "options for all of the tools."
  2643. msgstr ""
  2644. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2645. #: apt.conf.5.xml:1
  2646. msgid ""
  2647. "System Architecture; sets the architecture to use when fetching files and "
  2648. "parsing package lists. The internal default is the architecture apt was "
  2649. "compiled for."
  2650. msgstr ""
  2651. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2652. #: apt.conf.5.xml:1
  2653. msgid ""
  2654. "All Architectures the system supports. For instance, CPUs implementing the "
  2655. "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
  2656. "instruction set are also able to execute binaries compiled for the "
  2657. "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
  2658. "is used when fetching files and parsing package lists. The initial default "
  2659. "is always the system's native architecture "
  2660. "(<literal>APT::Architecture</literal>), and foreign architectures are added "
  2661. "to the default list when they are registered via <command>dpkg "
  2662. "--add-architecture</command>."
  2663. msgstr ""
  2664. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2665. #: apt.conf.5.xml:1
  2666. msgid ""
  2667. "This scope defines which compression formats are supported, how compression "
  2668. "and decompression can be performed if support for this format isn't built "
  2669. "into apt directly and a cost-value indicating how costly it is to compress "
  2670. "something in this format. As an example the following configuration stanza "
  2671. "would allow apt to download and uncompress as well as create and store files "
  2672. "with the low-cost <literal>.reversed</literal> file extension which it will "
  2673. "pass to the command <command>rev</command> without additional commandline "
  2674. "parameters for compression and uncompression:"
  2675. msgstr ""
  2676. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><informalexample><programlisting>
  2677. #: apt.conf.5.xml:1
  2678. #, no-wrap
  2679. msgid ""
  2680. "APT::Compressor::rev {\n"
  2681. "\tName \"rev\";\n"
  2682. "\tExtension \".reversed\";\n"
  2683. "\tBinary \"rev\";\n"
  2684. "\tCompressArg {};\n"
  2685. "\tUncompressArg {};\n"
  2686. "\tCost \"10\";\n"
  2687. "};\n"
  2688. msgstr ""
  2689. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2690. #: apt.conf.5.xml:1
  2691. msgid ""
  2692. "List of all build profiles enabled for build-dependency resolution, without "
  2693. "the \"<literal>profile.</literal>\" namespace prefix. By default this list "
  2694. "is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by "
  2695. "&dpkg-buildpackage; overrides the list notation."
  2696. msgstr ""
  2697. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2698. #: apt.conf.5.xml:1
  2699. msgid ""
  2700. "Default release to install packages from if more than one version is "
  2701. "available. Contains release name, codename or release version. Examples: "
  2702. "'stable', 'testing', 'unstable', '&debian-stable-codename;', "
  2703. "'&debian-testing-codename;', '4.0', '5.0*'. See also &apt-preferences;."
  2704. msgstr ""
  2705. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2706. #: apt.conf.5.xml:1
  2707. msgid ""
  2708. "Ignore held packages; this global option causes the problem resolver to "
  2709. "ignore held packages in its decision making."
  2710. msgstr ""
  2711. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2712. #: apt.conf.5.xml:1
  2713. msgid ""
  2714. "Defaults to on. When turned on the autoclean feature will remove any "
  2715. "packages which can no longer be downloaded from the cache. If turned off "
  2716. "then packages that are locally installed are also excluded from cleaning - "
  2717. "but note that APT provides no direct means to reinstall them."
  2718. msgstr ""
  2719. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2720. #: apt.conf.5.xml:1
  2721. msgid ""
  2722. "Defaults to on, which will cause APT to install essential and important "
  2723. "packages as soon as possible in an install/upgrade operation, in order to "
  2724. "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
  2725. "treats an important package in the same way as an extra package: between the "
  2726. "unpacking of the package A and its configuration there can be many other "
  2727. "unpack or configuration calls for other unrelated packages B, C etc. If "
  2728. "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
  2729. "scripts generate an error), this results in a system state in which package "
  2730. "A is unpacked but unconfigured - so any package depending on A is now no "
  2731. "longer guaranteed to work, as its dependency on A is no longer satisfied."
  2732. msgstr ""
  2733. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2734. #: apt.conf.5.xml:1
  2735. msgid ""
  2736. "The immediate configuration marker is also applied in the potentially "
  2737. "problematic case of circular dependencies, since a dependency with the "
  2738. "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
  2739. "to recognise a situation in which it is unable to perform immediate "
  2740. "configuration, abort, and suggest to the user that the option should be "
  2741. "temporarily deactivated in order to allow the operation to proceed. Note "
  2742. "the use of the word \"theory\" here; in the real world this problem has "
  2743. "rarely been encountered, in non-stable distribution versions, and was caused "
  2744. "by wrong dependencies of the package in question or by a system in an "
  2745. "already broken state; so you should not blindly disable this option, as the "
  2746. "scenario mentioned above is not the only problem it can help to prevent in "
  2747. "the first place."
  2748. msgstr ""
  2749. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2750. #: apt.conf.5.xml:1
  2751. msgid ""
  2752. "Before a big operation like <literal>dist-upgrade</literal> is run with this "
  2753. "option disabled you should try to explicitly <literal>install</literal> the "
  2754. "package APT is unable to configure immediately; but please make sure you "
  2755. "also report your problem to your distribution and to the APT team with the "
  2756. "buglink below, so they can work on improving or correcting the upgrade "
  2757. "process."
  2758. msgstr ""
  2759. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2760. #: apt.conf.5.xml:1
  2761. msgid ""
  2762. "Never enable this option unless you <emphasis>really</emphasis> know what "
  2763. "you are doing. It permits APT to temporarily remove an essential package to "
  2764. "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
  2765. "essential packages. <emphasis>Such a loop should never exist and is a grave "
  2766. "bug</emphasis>. This option will work if the essential packages are not "
  2767. "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
  2768. "<command>dpkg</command>, <command>dash</command> or anything that those "
  2769. "packages depend on."
  2770. msgstr ""
  2771. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2772. #: apt.conf.5.xml:1
  2773. msgid ""
  2774. "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
  2775. "the available information. <literal>Cache-Start</literal> acts as a hint of "
  2776. "the size the cache will grow to, and is therefore the amount of memory APT "
  2777. "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
  2778. "that this amount of space needs to be available for APT; otherwise it will "
  2779. "likely fail ungracefully, so for memory restricted devices this value should "
  2780. "be lowered while on systems with a lot of configured sources it should be "
  2781. "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
  2782. "of 1048576 (~1 MB) how much the cache size will be increased in the event "
  2783. "the space defined by <literal>Cache-Start</literal> is not enough. This "
  2784. "value will be applied again and again until either the cache is big enough "
  2785. "to store all information or the size of the cache reaches the "
  2786. "<literal>Cache-Limit</literal>. The default of "
  2787. "<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
  2788. "<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache "
  2789. "is disabled."
  2790. msgstr ""
  2791. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2792. #: apt.conf.5.xml:1
  2793. msgid "Defines which packages are considered essential build dependencies."
  2794. msgstr ""
  2795. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2796. #: apt.conf.5.xml:1
  2797. msgid ""
  2798. "The Get subsection controls the &apt-get; tool; please see its documentation "
  2799. "for more information about the options here."
  2800. msgstr ""
  2801. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2802. #: apt.conf.5.xml:1
  2803. msgid ""
  2804. "The Cache subsection controls the &apt-cache; tool; please see its "
  2805. "documentation for more information about the options here."
  2806. msgstr ""
  2807. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2808. #: apt.conf.5.xml:1
  2809. msgid ""
  2810. "The CDROM subsection controls the &apt-cdrom; tool; please see its "
  2811. "documentation for more information about the options here."
  2812. msgstr ""
  2813. #. type: Content of: <refentry><refsect1><title>
  2814. #: apt.conf.5.xml:1
  2815. msgid "The Acquire Group"
  2816. msgstr ""
  2817. #. type: Content of: <refentry><refsect1><para>
  2818. #: apt.conf.5.xml:1
  2819. msgid ""
  2820. "The <literal>Acquire</literal> group of options controls the download of "
  2821. "packages as well as the various \"acquire methods\" responsible for the "
  2822. "download itself (see also &sources-list;)."
  2823. msgstr ""
  2824. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2825. #: apt.conf.5.xml:1
  2826. msgid ""
  2827. "Security related option defaulting to true, as giving a Release file's "
  2828. "validation an expiration date prevents replay attacks over a long timescale, "
  2829. "and can also for example help users to identify mirrors that are no longer "
  2830. "updated - but the feature depends on the correctness of the clock on the "
  2831. "user system. Archive maintainers are encouraged to create Release files with "
  2832. "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
  2833. "value is desired the <literal>Max-ValidTime</literal> option below can be "
  2834. "used. The <option>Check-Valid-Until</option> option of &sources-list; "
  2835. "entries should be preferred to disable the check selectively instead of "
  2836. "using this global override."
  2837. msgstr ""
  2838. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2839. #: apt.conf.5.xml:1
  2840. msgid ""
  2841. "Maximum time (in seconds) after its creation (as indicated by the "
  2842. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2843. "should be considered valid. If the Release file itself includes a "
  2844. "<literal>Valid-Until</literal> header the earlier date of the two is used as "
  2845. "the expiration date. The default value is <literal>0</literal> which stands "
  2846. "for \"valid forever\". Archive specific settings can be made by appending "
  2847. "the label of the archive to the option name. Preferably, the same can be "
  2848. "achieved for specific &sources-list; entries by using the "
  2849. "<option>Valid-Until-Max</option> option there."
  2850. msgstr ""
  2851. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2852. #: apt.conf.5.xml:1
  2853. msgid ""
  2854. "Minimum time (in seconds) after its creation (as indicated by the "
  2855. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2856. "should be considered valid. Use this if you need to use a seldom updated "
  2857. "(local) mirror of a more frequently updated archive with a "
  2858. "<literal>Valid-Until</literal> header instead of completely disabling the "
  2859. "expiration date checking. Archive specific settings can and should be used "
  2860. "by appending the label of the archive to the option name. Preferably, the "
  2861. "same can be achieved for specific &sources-list; entries by using the "
  2862. "<option>Valid-Until-Min</option> option there."
  2863. msgstr ""
  2864. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2865. #: apt.conf.5.xml:1
  2866. msgid ""
  2867. "Allow use of the internal TLS support in the http method. If set to false, "
  2868. "this completely disables support for TLS in apt's own methods (excluding the "
  2869. "curl-based https method). No TLS-related functions will be called anymore."
  2870. msgstr ""
  2871. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2872. #: apt.conf.5.xml:1
  2873. msgid ""
  2874. "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
  2875. "<filename>Packages</filename> files) instead of downloading whole ones. True "
  2876. "by default. Preferably, this can be set for specific &sources-list; entries "
  2877. "or index files by using the <option>PDiffs</option> option there."
  2878. msgstr ""
  2879. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2880. #: apt.conf.5.xml:1
  2881. msgid ""
  2882. "Two sub-options to limit the use of PDiffs are also available: "
  2883. "<literal>FileLimit</literal> can be used to specify a maximum number of "
  2884. "PDiff files should be downloaded to update a "
  2885. "file. <literal>SizeLimit</literal> on the other hand is the maximum "
  2886. "percentage of the size of all patches compared to the size of the targeted "
  2887. "file. If one of these limits is exceeded the complete file is downloaded "
  2888. "instead of the patches."
  2889. msgstr ""
  2890. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2891. #: apt.conf.5.xml:1
  2892. msgid ""
  2893. "Try to download indexes via an URI constructed from a hashsum of the "
  2894. "expected file rather than downloaded via a well-known stable filename. True "
  2895. "by default, but automatically disabled if the source indicates no support "
  2896. "for it. Usage can be forced with the special value \"force\". Preferably, "
  2897. "this can be set for specific &sources-list; entries or index files by using "
  2898. "the <option>By-Hash</option> option there."
  2899. msgstr ""
  2900. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2901. #: apt.conf.5.xml:1
  2902. msgid ""
  2903. "Queuing mode; <literal>Queue-Mode</literal> can be one of "
  2904. "<literal>host</literal> or <literal>access</literal> which determines how "
  2905. "APT parallelizes outgoing connections. <literal>host</literal> means that "
  2906. "one connection per target host will be opened, <literal>access</literal> "
  2907. "means that one connection per URI type will be opened."
  2908. msgstr ""
  2909. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2910. #: apt.conf.5.xml:1
  2911. msgid ""
  2912. "Number of retries to perform. If this is non-zero APT will retry failed "
  2913. "files the given number of times."
  2914. msgstr ""
  2915. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2916. #: apt.conf.5.xml:1
  2917. msgid ""
  2918. "Use symlinks for source archives. If set to true then source archives will "
  2919. "be symlinked when possible instead of copying. True is the default."
  2920. msgstr ""
  2921. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2922. #: apt.conf.5.xml:1
  2923. msgid ""
  2924. "<literal>http::Proxy</literal> sets the default proxy to use for HTTP "
  2925. "URIs. It is in the standard form of "
  2926. "<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies "
  2927. "can also be specified by using the form "
  2928. "<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
  2929. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2930. "settings is specified, <envar>http_proxy</envar> environment variable will "
  2931. "be used."
  2932. msgstr ""
  2933. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2934. #: apt.conf.5.xml:1
  2935. msgid ""
  2936. "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
  2937. "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
  2938. "response under any circumstances. <literal>Max-Age</literal> sets the "
  2939. "allowed maximum age (in seconds) of an index file in the cache of the "
  2940. "proxy. <literal>No-Store</literal> specifies that the proxy should not "
  2941. "store the requested archive files in its cache, which can be used to prevent "
  2942. "the proxy from polluting its cache with (big) .deb files."
  2943. msgstr ""
  2944. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2945. #: apt.conf.5.xml:1 apt.conf.5.xml:1
  2946. msgid ""
  2947. "The option <literal>timeout</literal> sets the timeout timer used by the "
  2948. "method; this value applies to the connection as well as the data timeout."
  2949. msgstr ""
  2950. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2951. #: apt.conf.5.xml:1
  2952. msgid ""
  2953. "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
  2954. "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial "
  2955. "e.g. on high-latency connections. It specifies how many requests are sent in "
  2956. "a pipeline. APT tries to detect and workaround misbehaving webservers and "
  2957. "proxies at runtime, but if you know that yours does not conform to the "
  2958. "HTTP/1.1 specification pipelining can be disabled by setting the value to "
  2959. "0. It is enabled by default with the value 10."
  2960. msgstr ""
  2961. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2962. #: apt.conf.5.xml:1
  2963. msgid ""
  2964. "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
  2965. "follow redirects, which is enabled by default."
  2966. msgstr ""
  2967. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2968. #: apt.conf.5.xml:1
  2969. msgid ""
  2970. "The used bandwidth can be limited with "
  2971. "<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
  2972. "kilobytes per second. The default value is 0 which deactivates the limit and "
  2973. "tries to use all available bandwidth. Note that this option implicitly "
  2974. "disables downloading from multiple servers at the same time."
  2975. msgstr ""
  2976. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2977. #: apt.conf.5.xml:1
  2978. msgid ""
  2979. "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
  2980. "User-Agent for the http download method as some proxies allow access for "
  2981. "clients only if the client uses a known identifier."
  2982. msgstr ""
  2983. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2984. #: apt.conf.5.xml:1
  2985. msgid ""
  2986. "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
  2987. "an external command to discover the http proxy to use. The first and only "
  2988. "parameter is an URI denoting the host to be contacted to allow for "
  2989. "host-specific configuration. APT expects the command to output the proxy on "
  2990. "stdout as a single line in the style <literal>http://proxy:port/</literal> "
  2991. "or the word <literal>DIRECT</literal> if no proxy should be used. No output "
  2992. "indicates that the generic proxy settings should be used. Note that "
  2993. "auto-detection will not be used for a host if a host-specific proxy "
  2994. "configuration is already set via "
  2995. "<literal>Acquire::http::Proxy::<replaceable>HOST</replaceable></literal>. "
  2996. "See the &squid-deb-proxy-client; package for an example implementation that "
  2997. "uses avahi. This option takes precedence over the legacy option name "
  2998. "<literal>ProxyAutoDetect</literal>."
  2999. msgstr ""
  3000. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3001. #: apt.conf.5.xml:1
  3002. msgid ""
  3003. "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
  3004. "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
  3005. "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
  3006. "the <literal>http</literal> method, and default to the same values if they "
  3007. "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
  3008. "yet supported."
  3009. msgstr ""
  3010. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3011. #: apt.conf.5.xml:1
  3012. msgid ""
  3013. "<literal>CaInfo</literal> suboption specifies place of file that holds info "
  3014. "about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
  3015. "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
  3016. "suboption determines whether or not the server's host certificate should be "
  3017. "verified against trusted certificates. "
  3018. "<literal>&lt;host&gt;::Verify-Peer</literal> is the corresponding per-host "
  3019. "option. <literal>Verify-Host</literal> boolean suboption determines whether "
  3020. "or not the server's hostname should be verified. "
  3021. "<literal>&lt;host&gt;::Verify-Host</literal> is the corresponding per-host "
  3022. "option. <literal>SslCert</literal> determines what certificate to use for "
  3023. "client authentication. <literal>&lt;host&gt;::SslCert</literal> is the "
  3024. "corresponding per-host option. <literal>SslKey</literal> determines what "
  3025. "private key to use for client "
  3026. "authentication. <literal>&lt;host&gt;::SslKey</literal> is the corresponding "
  3027. "per-host option. <literal>SslForceVersion</literal> overrides default SSL "
  3028. "version to use. It can contain either of the strings "
  3029. "'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. "
  3030. "<literal>&lt;host&gt;::SslForceVersion</literal> is the corresponding "
  3031. "per-host option."
  3032. msgstr ""
  3033. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3034. #: apt.conf.5.xml:1
  3035. msgid ""
  3036. "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
  3037. "It is in the standard form of "
  3038. "<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can "
  3039. "also be specified by using the form "
  3040. "<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
  3041. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  3042. "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
  3043. "used. To use an FTP proxy you will have to set the "
  3044. "<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
  3045. "entry specifies the commands to send to tell the proxy server what to "
  3046. "connect to. Please see &configureindex; for an example of how to do "
  3047. "this. The substitution variables representing the corresponding URI "
  3048. "component are <literal>$(PROXY_USER)</literal>, "
  3049. "<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, "
  3050. "<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and "
  3051. "<literal>$(SITE_PORT)</literal>."
  3052. msgstr ""
  3053. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3054. #: apt.conf.5.xml:1
  3055. msgid ""
  3056. "Several settings are provided to control passive mode. Generally it is safe "
  3057. "to leave passive mode on; it works in nearly every environment. However, "
  3058. "some situations require that passive mode be disabled and port mode FTP used "
  3059. "instead. This can be done globally or for connections that go through a "
  3060. "proxy or for a specific host (see the sample config file for examples)."
  3061. msgstr ""
  3062. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3063. #: apt.conf.5.xml:1
  3064. msgid ""
  3065. "It is possible to proxy FTP over HTTP by setting the "
  3066. "<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the "
  3067. "discussion of the http method above for syntax. You cannot set this in the "
  3068. "configuration file and it is not recommended to use FTP over HTTP due to its "
  3069. "low efficiency."
  3070. msgstr ""
  3071. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3072. #: apt.conf.5.xml:1
  3073. msgid ""
  3074. "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
  3075. "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
  3076. "false, which means these commands are only used if the control connection is "
  3077. "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
  3078. "that most FTP servers do not support RFC2428."
  3079. msgstr ""
  3080. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  3081. #: apt.conf.5.xml:1
  3082. #, no-wrap
  3083. msgid "/cdrom/::Mount \"foo\";"
  3084. msgstr ""
  3085. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3086. #: apt.conf.5.xml:1
  3087. msgid ""
  3088. "For URIs using the <literal>cdrom</literal> method, the only configurable "
  3089. "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
  3090. "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
  3091. "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
  3092. "and unmount commands if your mount point cannot be listed in the fstab. The "
  3093. "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
  3094. "<literal>cdrom</literal> block. It is important to have the trailing slash. "
  3095. "Unmount commands can be specified using UMount."
  3096. msgstr ""
  3097. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3098. #: apt.conf.5.xml:1
  3099. msgid ""
  3100. "For GPGV URIs the only configurable option is "
  3101. "<literal>gpgv::Options</literal>, which passes additional parameters to "
  3102. "gpgv."
  3103. msgstr ""
  3104. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3105. #: apt.conf.5.xml:1
  3106. #, no-wrap
  3107. msgid ""
  3108. "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
  3109. "\"<replaceable>Methodname</replaceable>\";"
  3110. msgstr ""
  3111. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3112. #: apt.conf.5.xml:1
  3113. msgid ""
  3114. "List of compression types which are understood by the acquire methods. "
  3115. "Files like <filename>Packages</filename> can be available in various "
  3116. "compression formats. By default the acquire methods can decompress and "
  3117. "recompress many common formats like <command>xz</command> and "
  3118. "<command>gzip</command>; with this scope the supported formats can be "
  3119. "queried, modified as well as support for more formats added (see also "
  3120. "<option>APT::Compressor</option>). The syntax for this is: <placeholder "
  3121. "type=\"synopsis\" id=\"0\"/>"
  3122. msgstr ""
  3123. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3124. #: apt.conf.5.xml:1
  3125. #, no-wrap
  3126. msgid "Acquire::CompressionTypes::Order:: \"gz\";"
  3127. msgstr ""
  3128. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3129. #: apt.conf.5.xml:1
  3130. #, no-wrap
  3131. msgid "Acquire::CompressionTypes::Order { \"xz\"; \"gz\"; };"
  3132. msgstr ""
  3133. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3134. #: apt.conf.5.xml:1
  3135. msgid ""
  3136. "Also, the <literal>Order</literal> subgroup can be used to define in which "
  3137. "order the acquire system will try to download the compressed files. The "
  3138. "acquire system will try the first and proceed with the next compression type "
  3139. "in this list on error, so to prefer one over the other type simply add the "
  3140. "preferred type first - types not already added will be implicitly appended "
  3141. "to the end of the list, so e.g. <placeholder type=\"synopsis\" id=\"0\"/> "
  3142. "can be used to prefer <command>gzip</command> compressed files over all "
  3143. "other compression formats. If <command>xz</command> should be preferred "
  3144. "over <command>gzip</command> and <command>bzip2</command> the configure "
  3145. "setting should look like this: <placeholder type=\"synopsis\" id=\"1\"/> It "
  3146. "is not needed to add <literal>bz2</literal> to the list explicitly as it "
  3147. "will be added automatically."
  3148. msgstr ""
  3149. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  3150. #: apt.conf.5.xml:1
  3151. #, no-wrap
  3152. msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
  3153. msgstr ""
  3154. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3155. #: apt.conf.5.xml:1
  3156. msgid ""
  3157. "Note that the "
  3158. "<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
  3159. "checked at run time. If this option has been set and support for this format "
  3160. "isn't directly built into apt, the method will only be used if this file "
  3161. "exists; e.g. for the <literal>bzip2</literal> method (the inbuilt) setting "
  3162. "is: <placeholder type=\"literallayout\" id=\"0\"/> Note also that list "
  3163. "entries specified on the command line will be added at the end of the list "
  3164. "specified in the configuration files, but before the default entries. To "
  3165. "prefer a type in this case over the ones specified in the configuration "
  3166. "files you can set the option direct - not in list style. This will not "
  3167. "override the defined list; it will only prefix the list with this type."
  3168. msgstr ""
  3169. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3170. #: apt.conf.5.xml:1
  3171. msgid ""
  3172. "The special type <literal>uncompressed</literal> can be used to give "
  3173. "uncompressed files a preference, but note that most archives don't provide "
  3174. "uncompressed files so this is mostly only useable for local mirrors."
  3175. msgstr ""
  3176. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3177. #: apt.conf.5.xml:1
  3178. msgid ""
  3179. "When downloading <literal>gzip</literal> compressed indexes (Packages, "
  3180. "Sources, or Translations), keep them gzip compressed locally instead of "
  3181. "unpacking them. This saves quite a lot of disk space at the expense of more "
  3182. "CPU requirements when building the local package caches. False by default."
  3183. msgstr ""
  3184. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3185. #: apt.conf.5.xml:1
  3186. msgid ""
  3187. "The Languages subsection controls which <filename>Translation</filename> "
  3188. "files are downloaded and in which order APT tries to display the "
  3189. "description-translations. APT will try to display the first available "
  3190. "description in the language which is listed first. Languages can be defined "
  3191. "with their short or long language codes. Note that not all archives provide "
  3192. "<filename>Translation</filename> files for every language - the long "
  3193. "language codes are especially rare."
  3194. msgstr ""
  3195. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
  3196. #: apt.conf.5.xml:1
  3197. #, no-wrap
  3198. msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
  3199. msgstr ""
  3200. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3201. #: apt.conf.5.xml:1
  3202. msgid ""
  3203. "The default list includes \"environment\" and "
  3204. "\"en\". \"<literal>environment</literal>\" has a special meaning here: it "
  3205. "will be replaced at runtime with the language codes extracted from the "
  3206. "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
  3207. "that these codes are not included twice in the list. If "
  3208. "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
  3209. "<filename>Translation-en</filename> file (if available) will be used. To "
  3210. "force APT to use no Translation file use the setting "
  3211. "<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
  3212. "another special meaning code which will stop the search for a suitable "
  3213. "<filename>Translation</filename> file. This tells APT to download these "
  3214. "translations too, without actually using them unless the environment "
  3215. "specifies the languages. So the following example configuration will result "
  3216. "in the order \"en, de\" in an English locale or \"de, en\" in a German "
  3217. "one. Note that \"fr\" is downloaded, but not used unless APT is used in a "
  3218. "French locale (where the order would be \"fr, de, en\"). <placeholder "
  3219. "type=\"programlisting\" id=\"0\"/>"
  3220. msgstr ""
  3221. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3222. #: apt.conf.5.xml:1
  3223. msgid ""
  3224. "Note: To prevent problems resulting from APT being executed in different "
  3225. "environments (e.g. by different users or by other programs) all Translation "
  3226. "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
  3227. "added to the end of the list (after an implicit "
  3228. "\"<literal>none</literal>\")."
  3229. msgstr ""
  3230. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3231. #: apt.conf.5.xml:1
  3232. msgid "When downloading, force to use only the IPv4 protocol."
  3233. msgstr ""
  3234. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3235. #: apt.conf.5.xml:1
  3236. msgid "When downloading, force to use only the IPv6 protocol."
  3237. msgstr ""
  3238. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3239. #: apt.conf.5.xml:1
  3240. msgid ""
  3241. "The maximum file size of Release/Release.gpg/InRelease files. The default "
  3242. "is 10MB."
  3243. msgstr ""
  3244. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3245. #: apt.conf.5.xml:1
  3246. msgid ""
  3247. "This option controls if apt will use the DNS SRV server record as specified "
  3248. "in RFC 2782 to select an alternative server to connect to. The default is "
  3249. "\"true\"."
  3250. msgstr ""
  3251. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3252. #: apt.conf.5.xml:1
  3253. msgid ""
  3254. "Allow update operations to load data files from repositories without "
  3255. "sufficient security information. The default value is "
  3256. "\"<literal>false</literal>\". Concept, implications as well as alternatives "
  3257. "are detailed in &apt-secure;."
  3258. msgstr ""
  3259. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3260. #: apt.conf.5.xml:1
  3261. msgid ""
  3262. "Allow update operations to load data files from repositories which provide "
  3263. "security information, but these are deemed no longer cryptographically "
  3264. "strong enough. The default value is \"<literal>false</literal>\". Concept, "
  3265. "implications as well as alternatives are detailed in &apt-secure;."
  3266. msgstr ""
  3267. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3268. #: apt.conf.5.xml:1
  3269. msgid ""
  3270. "Allow that a repository that was previously gpg signed to become unsigned "
  3271. "during an update operation. When there is no valid signature for a "
  3272. "previously trusted repository apt will refuse the update. This option can be "
  3273. "used to override this protection. You almost certainly never want to enable "
  3274. "this. The default is <literal>false</literal>. Concept, implications as "
  3275. "well as alternatives are detailed in &apt-secure;."
  3276. msgstr ""
  3277. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  3278. #: apt.conf.5.xml:1
  3279. msgid "scope"
  3280. msgstr ""
  3281. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3282. #: apt.conf.5.xml:1
  3283. msgid ""
  3284. "Acquiring changelogs can only be done if an URI is known from where to get "
  3285. "them. Preferable the Release file indicates this in a 'Changelogs' "
  3286. "field. If this isn't available the Label/Origin field of the Release file is "
  3287. "used to check if a "
  3288. "<literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</replaceable></literal> "
  3289. "or "
  3290. "<literal>Acquire::Changelogs::URI::Origin::<replaceable>ORIGIN</replaceable></literal> "
  3291. "option exists and if so this value is taken. The value in the Release file "
  3292. "can be overridden with "
  3293. "<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</replaceable></literal> "
  3294. "or "
  3295. "<literal>Acquire::Changelogs::URI::Override::Origin::<replaceable>ORIGIN</replaceable></literal>. "
  3296. "The value should be a normal URI to a text file, except that package "
  3297. "specific data is replaced with the placeholder "
  3298. "<literal>@CHANGEPATH@</literal>. The value for it is: 1. if the package is "
  3299. "from a component (e.g. <literal>main</literal>) this is the first part "
  3300. "otherwise it is omitted, 2. the first letter of source package name, except "
  3301. "if the source package name starts with '<literal>lib</literal>' in which "
  3302. "case it will be the first four letters. 3. The complete source package "
  3303. "name. 4. the complete name again and 5. the source version. The first (if "
  3304. "present), second, third and fourth part are separated by a slash "
  3305. "('<literal>/</literal>') and between the fourth and fifth part is an "
  3306. "underscore ('<literal>_</literal>'). The special value "
  3307. "'<literal>no</literal>' is available for this option indicating that this "
  3308. "source can't be used to acquire changelog files from. Another source will be "
  3309. "tried if available in this case."
  3310. msgstr ""
  3311. #. type: Content of: <refentry><refsect1><title>
  3312. #: apt.conf.5.xml:1
  3313. msgid "Binary specific configuration"
  3314. msgstr ""
  3315. #. type: Content of: <refentry><refsect1><para>
  3316. #: apt.conf.5.xml:1
  3317. msgid ""
  3318. "Especially with the introduction of the <command>apt</command> binary it can "
  3319. "be useful to set certain options only for a specific binary as even options "
  3320. "which look like they would effect only a certain binary like "
  3321. "<option>APT::Get::Show-Versions</option> effect <command>apt-get</command> "
  3322. "as well as <command>apt</command>."
  3323. msgstr ""
  3324. #. type: Content of: <refentry><refsect1><para>
  3325. #: apt.conf.5.xml:1
  3326. msgid ""
  3327. "Setting an option for a specific binary only can be achieved by setting the "
  3328. "option inside the "
  3329. "<option>Binary::<replaceable>specific-binary</replaceable></option> "
  3330. "scope. Setting the option <option>APT::Get::Show-Versions</option> for the "
  3331. "<command>apt</command> only can e.g. by done by setting "
  3332. "<option>Binary::apt::APT::Get::Show-Versions</option> instead."
  3333. msgstr ""
  3334. #. type: Content of: <refentry><refsect1><para>
  3335. #: apt.conf.5.xml:1
  3336. msgid ""
  3337. "Note that as seen in the DESCRIPTION section further above you can't set "
  3338. "binary-specific options on the commandline itself nor in configuration files "
  3339. "loaded via the commandline."
  3340. msgstr ""
  3341. #. type: Content of: <refentry><refsect1><title>
  3342. #: apt.conf.5.xml:1
  3343. msgid "Directories"
  3344. msgstr ""
  3345. #. type: Content of: <refentry><refsect1><para>
  3346. #: apt.conf.5.xml:1
  3347. msgid ""
  3348. "The <literal>Dir::State</literal> section has directories that pertain to "
  3349. "local state information. <literal>lists</literal> is the directory to place "
  3350. "downloaded package lists in and <literal>status</literal> is the name of the "
  3351. "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
  3352. "<filename>preferences</filename> file. <literal>Dir::State</literal> "
  3353. "contains the default directory to prefix on all sub-items if they do not "
  3354. "start with <filename>/</filename> or <filename>./</filename>."
  3355. msgstr ""
  3356. #. type: Content of: <refentry><refsect1><para>
  3357. #: apt.conf.5.xml:1
  3358. msgid ""
  3359. "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
  3360. "information, such as the two package caches <literal>srcpkgcache</literal> "
  3361. "and <literal>pkgcache</literal> as well as the location to place downloaded "
  3362. "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
  3363. "be turned off by setting <literal>pkgcache</literal> or "
  3364. "<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
  3365. "down startup but save disk space. It is probably preferable to turn off the "
  3366. "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
  3367. "the default directory is contained in <literal>Dir::Cache</literal>"
  3368. msgstr ""
  3369. #. type: Content of: <refentry><refsect1><para>
  3370. #: apt.conf.5.xml:1
  3371. msgid ""
  3372. "<literal>Dir::Etc</literal> contains the location of configuration files, "
  3373. "<literal>sourcelist</literal> gives the location of the sourcelist and "
  3374. "<literal>main</literal> is the default configuration file (setting has no "
  3375. "effect, unless it is done from the config file specified by "
  3376. "<envar>APT_CONFIG</envar>)."
  3377. msgstr ""
  3378. #. type: Content of: <refentry><refsect1><para>
  3379. #: apt.conf.5.xml:1
  3380. msgid ""
  3381. "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
  3382. "in lexical order from the directory specified. After this is done then the "
  3383. "main config file is loaded."
  3384. msgstr ""
  3385. #. type: Content of: <refentry><refsect1><para>
  3386. #: apt.conf.5.xml:1
  3387. msgid ""
  3388. "Binary programs are pointed to by "
  3389. "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
  3390. "the location of the method handlers and <literal>gzip</literal>, "
  3391. "<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
  3392. "<literal>apt-get</literal> <literal>dpkg-source</literal> "
  3393. "<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
  3394. "specify the location of the respective programs."
  3395. msgstr ""
  3396. #. type: Content of: <refentry><refsect1><para>
  3397. #: apt.conf.5.xml:1
  3398. msgid ""
  3399. "The configuration item <literal>RootDir</literal> has a special meaning. If "
  3400. "set, all paths will be relative to <literal>RootDir</literal>, "
  3401. "<emphasis>even paths that are specified absolutely</emphasis>. So, for "
  3402. "instance, if <literal>RootDir</literal> is set to "
  3403. "<filename>/tmp/staging</filename> and <literal>Dir::State::status</literal> "
  3404. "is set to <filename>/var/lib/dpkg/status</filename>, then the status file "
  3405. "will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>. "
  3406. "If you want to prefix only relative paths, set <literal>Dir</literal> "
  3407. "instead."
  3408. msgstr ""
  3409. #. type: Content of: <refentry><refsect1><para>
  3410. #: apt.conf.5.xml:1
  3411. msgid ""
  3412. "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
  3413. "which files APT should silently ignore while parsing the files in the "
  3414. "fragment directories. Per default a file which end with "
  3415. "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
  3416. "or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
  3417. "default value these patterns can use regular expression syntax."
  3418. msgstr ""
  3419. #. type: Content of: <refentry><refsect1><title>
  3420. #: apt.conf.5.xml:1
  3421. msgid "APT in DSelect"
  3422. msgstr ""
  3423. #. type: Content of: <refentry><refsect1><para>
  3424. #: apt.conf.5.xml:1
  3425. msgid ""
  3426. "When APT is used as a &dselect; method several configuration directives "
  3427. "control the default behavior. These are in the <literal>DSelect</literal> "
  3428. "section."
  3429. msgstr ""
  3430. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3431. #: apt.conf.5.xml:1
  3432. msgid ""
  3433. "Cache Clean mode; this value may be one of <literal>always</literal>, "
  3434. "<literal>prompt</literal>, <literal>auto</literal>, "
  3435. "<literal>pre-auto</literal> and <literal>never</literal>. "
  3436. "<literal>always</literal> and <literal>prompt</literal> will remove all "
  3437. "packages from the cache after upgrading, <literal>prompt</literal> (the "
  3438. "default) does so conditionally. <literal>auto</literal> removes only those "
  3439. "packages which are no longer downloadable (replaced with a new version for "
  3440. "instance). <literal>pre-auto</literal> performs this action before "
  3441. "downloading new packages."
  3442. msgstr ""
  3443. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3444. #: apt.conf.5.xml:1
  3445. msgid ""
  3446. "The contents of this variable are passed to &apt-get; as command line "
  3447. "options when it is run for the install phase."
  3448. msgstr ""
  3449. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3450. #: apt.conf.5.xml:1
  3451. msgid ""
  3452. "The contents of this variable are passed to &apt-get; as command line "
  3453. "options when it is run for the update phase."
  3454. msgstr ""
  3455. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3456. #: apt.conf.5.xml:1
  3457. msgid ""
  3458. "If true the [U]pdate operation in &dselect; will always prompt to continue. "
  3459. "The default is to prompt only on error."
  3460. msgstr ""
  3461. #. type: Content of: <refentry><refsect1><title>
  3462. #: apt.conf.5.xml:1
  3463. msgid "How APT calls &dpkg;"
  3464. msgstr ""
  3465. #. type: Content of: <refentry><refsect1><para>
  3466. #: apt.conf.5.xml:1
  3467. msgid ""
  3468. "Several configuration directives control how APT invokes &dpkg;. These are "
  3469. "in the <literal>DPkg</literal> section."
  3470. msgstr ""
  3471. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3472. #: apt.conf.5.xml:1
  3473. msgid ""
  3474. "This is a list of options to pass to &dpkg;. The options must be specified "
  3475. "using the list notation and each list item is passed as a single argument to "
  3476. "&dpkg;."
  3477. msgstr ""
  3478. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3479. #: apt.conf.5.xml:1
  3480. msgid ""
  3481. "This is a list of shell commands to run before/after invoking &dpkg;. Like "
  3482. "<literal>options</literal> this must be specified in list notation. The "
  3483. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  3484. "fail APT will abort."
  3485. msgstr ""
  3486. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3487. #: apt.conf.5.xml:1
  3488. msgid ""
  3489. "This is a list of shell commands to run before invoking &dpkg;. Like "
  3490. "<literal>options</literal> this must be specified in list notation. The "
  3491. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  3492. "fail APT will abort. APT will pass the filenames of all .deb files it is "
  3493. "going to install to the commands, one per line on the requested file "
  3494. "descriptor, defaulting to standard input."
  3495. msgstr ""
  3496. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3497. #: apt.conf.5.xml:1
  3498. msgid ""
  3499. "Version 2 of this protocol sends more information through the requested file "
  3500. "descriptor: a line with the text <literal>VERSION 2</literal>, the APT "
  3501. "configuration space, and a list of package actions with filename and version "
  3502. "information."
  3503. msgstr ""
  3504. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3505. #: apt.conf.5.xml:1
  3506. msgid ""
  3507. "Each configuration directive line has the form "
  3508. "<literal>key=value</literal>. Special characters (equal signs, newlines, "
  3509. "nonprintable characters, quotation marks, and percent signs in "
  3510. "<literal>key</literal> and newlines, nonprintable characters, and percent "
  3511. "signs in <literal>value</literal>) are %-encoded. Lists are represented by "
  3512. "multiple <literal>key::=value</literal> lines with the same key. The "
  3513. "configuration section ends with a blank line."
  3514. msgstr ""
  3515. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3516. #: apt.conf.5.xml:1
  3517. msgid ""
  3518. "Package action lines consist of five fields in Version 2: package name "
  3519. "(without architecture qualification even if foreign), old version, direction "
  3520. "of version change (&lt; for upgrades, &gt; for downgrades, = for no change), "
  3521. "new version, action. The version fields are \"-\" for no version at all (for "
  3522. "example when installing a package for the first time; no version is treated "
  3523. "as earlier than any real version, so that is an upgrade, indicated as "
  3524. "<literal>- &lt; 1.23.4</literal>). The action field is \"**CONFIGURE**\" if "
  3525. "the package is being configured, \"**REMOVE**\" if it is being removed, or "
  3526. "the filename of a .deb file if it is being unpacked."
  3527. msgstr ""
  3528. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3529. #: apt.conf.5.xml:1
  3530. msgid ""
  3531. "In Version 3 after each version field follows the architecture of this "
  3532. "version, which is \"-\" if there is no version, and a field showing the "
  3533. "MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that "
  3534. "\"none\" is an incorrect typename which is just kept to remain compatible, "
  3535. "it should be read as \"no\" and users are encouraged to support both."
  3536. msgstr ""
  3537. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3538. #: apt.conf.5.xml:1
  3539. msgid ""
  3540. "The version of the protocol to be used for the command "
  3541. "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
  3542. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</literal> "
  3543. "accordingly, the default being version 1. If APT isn't supporting the "
  3544. "requested version it will send the information in the highest version it has "
  3545. "support for instead."
  3546. msgstr ""
  3547. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3548. #: apt.conf.5.xml:1
  3549. msgid ""
  3550. "The file descriptor to be used to send the information can be requested with "
  3551. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</literal> "
  3552. "which defaults to <literal>0</literal> for standard input and is available "
  3553. "since version 0.9.11. Support for the option can be detected by looking for "
  3554. "the environment variable <envar>APT_HOOK_INFO_FD</envar> which contains the "
  3555. "number of the used file descriptor as a confirmation."
  3556. msgstr ""
  3557. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3558. #: apt.conf.5.xml:1
  3559. msgid ""
  3560. "APT chdirs to this directory before invoking &dpkg;, the default is "
  3561. "<filename>/</filename>."
  3562. msgstr ""
  3563. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3564. #: apt.conf.5.xml:1
  3565. msgid ""
  3566. "These options are passed to &dpkg-buildpackage; when compiling packages; the "
  3567. "default is to disable signing and produce all binaries."
  3568. msgstr ""
  3569. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3570. #: apt.conf.5.xml:1
  3571. msgid ""
  3572. "If this option is set APT will call <command>dpkg --configure "
  3573. "--pending</command> to let &dpkg; handle all required configurations and "
  3574. "triggers. This option is activated by default, but deactivating it could be "
  3575. "useful if you want to run APT multiple times in a row - e.g. in an "
  3576. "installer. In this scenario you could deactivate this option in all but the "
  3577. "last run."
  3578. msgstr ""
  3579. #. type: Content of: <refentry><refsect1><title>
  3580. #: apt.conf.5.xml:1
  3581. msgid "Periodic and Archives options"
  3582. msgstr ""
  3583. #. type: Content of: <refentry><refsect1><para>
  3584. #: apt.conf.5.xml:1
  3585. msgid ""
  3586. "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
  3587. "of options configure behavior of apt periodic updates, which is done by the "
  3588. "<literal>/usr/lib/apt/apt.systemd.daily</literal> script. See the top of "
  3589. "this script for the brief documentation of these options."
  3590. msgstr ""
  3591. #. type: Content of: <refentry><refsect1><title>
  3592. #: apt.conf.5.xml:1
  3593. msgid "Debug options"
  3594. msgstr ""
  3595. #. type: Content of: <refentry><refsect1><para>
  3596. #: apt.conf.5.xml:1
  3597. msgid ""
  3598. "Enabling options in the <literal>Debug::</literal> section will cause "
  3599. "debugging information to be sent to the standard error stream of the program "
  3600. "utilizing the <literal>apt</literal> libraries, or enable special program "
  3601. "modes that are primarily useful for debugging the behavior of "
  3602. "<literal>apt</literal>. Most of these options are not interesting to a "
  3603. "normal user, but a few may be:"
  3604. msgstr ""
  3605. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3606. #: apt.conf.5.xml:1
  3607. msgid ""
  3608. "<literal>Debug::pkgProblemResolver</literal> enables output about the "
  3609. "decisions made by <literal>dist-upgrade, upgrade, install, remove, "
  3610. "purge</literal>."
  3611. msgstr ""
  3612. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3613. #: apt.conf.5.xml:1
  3614. msgid ""
  3615. "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
  3616. "used to run some operations (for instance, <literal>apt-get -s "
  3617. "install</literal>) as a non-root user."
  3618. msgstr ""
  3619. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3620. #: apt.conf.5.xml:1
  3621. msgid ""
  3622. "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
  3623. "time that <literal>apt</literal> invokes &dpkg;."
  3624. msgstr ""
  3625. #. TODO: provide a
  3626. #. motivating example, except I haven't a clue why you'd want
  3627. #. to do this.
  3628. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3629. #: apt.conf.5.xml:1
  3630. msgid ""
  3631. "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
  3632. "in CD-ROM IDs."
  3633. msgstr ""
  3634. #. type: Content of: <refentry><refsect1><para>
  3635. #: apt.conf.5.xml:1
  3636. msgid "A full list of debugging options to apt follows."
  3637. msgstr ""
  3638. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3639. #: apt.conf.5.xml:1
  3640. msgid "Print information related to accessing <literal>cdrom://</literal> sources."
  3641. msgstr ""
  3642. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3643. #: apt.conf.5.xml:1
  3644. msgid "Print information related to downloading packages using FTP."
  3645. msgstr ""
  3646. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3647. #: apt.conf.5.xml:1
  3648. msgid "Print information related to downloading packages using HTTP."
  3649. msgstr ""
  3650. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3651. #: apt.conf.5.xml:1
  3652. msgid "Print information related to downloading packages using HTTPS."
  3653. msgstr ""
  3654. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3655. #: apt.conf.5.xml:1
  3656. msgid ""
  3657. "Print information related to verifying cryptographic signatures using "
  3658. "<literal>gpg</literal>."
  3659. msgstr ""
  3660. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3661. #: apt.conf.5.xml:1
  3662. msgid ""
  3663. "Output information about the process of accessing collections of packages "
  3664. "stored on CD-ROMs."
  3665. msgstr ""
  3666. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3667. #: apt.conf.5.xml:1
  3668. msgid "Describes the process of resolving build-dependencies in &apt-get;."
  3669. msgstr ""
  3670. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3671. #: apt.conf.5.xml:1
  3672. msgid ""
  3673. "Output each cryptographic hash that is generated by the "
  3674. "<literal>apt</literal> libraries."
  3675. msgstr ""
  3676. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3677. #: apt.conf.5.xml:1
  3678. msgid ""
  3679. "Do not include information from <literal>statfs</literal>, namely the number "
  3680. "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
  3681. "a CD-ROM."
  3682. msgstr ""
  3683. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3684. #: apt.conf.5.xml:1
  3685. msgid ""
  3686. "Disable all file locking. For instance, this will allow two instances of "
  3687. "<quote><literal>apt-get update</literal></quote> to run at the same time."
  3688. msgstr ""
  3689. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3690. #: apt.conf.5.xml:1
  3691. msgid "Log when items are added to or removed from the global download queue."
  3692. msgstr ""
  3693. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3694. #: apt.conf.5.xml:1
  3695. msgid ""
  3696. "Output status messages and errors related to verifying checksums and "
  3697. "cryptographic signatures of downloaded files."
  3698. msgstr ""
  3699. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3700. #: apt.conf.5.xml:1
  3701. msgid ""
  3702. "Output information about downloading and applying package index list diffs, "
  3703. "and errors relating to package index list diffs."
  3704. msgstr ""
  3705. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3706. #: apt.conf.5.xml:1
  3707. msgid ""
  3708. "Output information related to patching apt package lists when downloading "
  3709. "index diffs instead of full indices."
  3710. msgstr ""
  3711. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3712. #: apt.conf.5.xml:1
  3713. msgid "Log all interactions with the sub-processes that actually perform downloads."
  3714. msgstr ""
  3715. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3716. #: apt.conf.5.xml:1
  3717. msgid ""
  3718. "Log events related to the automatically-installed status of packages and to "
  3719. "the removal of unused packages."
  3720. msgstr ""
  3721. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3722. #: apt.conf.5.xml:1
  3723. msgid ""
  3724. "Generate debug messages describing which packages are being automatically "
  3725. "installed to resolve dependencies. This corresponds to the initial "
  3726. "auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
  3727. "and not to the full <literal>apt</literal> dependency resolver; see "
  3728. "<literal>Debug::pkgProblemResolver</literal> for that."
  3729. msgstr ""
  3730. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3731. #: apt.conf.5.xml:1
  3732. msgid ""
  3733. "Generate debug messages describing which packages are marked as "
  3734. "keep/install/remove while the ProblemResolver does his work. Each addition "
  3735. "or deletion may trigger additional actions; they are shown indented two "
  3736. "additional spaces under the original entry. The format for each line is "
  3737. "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
  3738. "<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
  3739. "-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
  3740. "is the current version of the package, <literal>d.e.f</literal> is the "
  3741. "version considered for installation and <literal>x.y.z</literal> is a newer "
  3742. "version, but not considered for installation (because of a low pin "
  3743. "score). The later two can be omitted if there is none or if it is the same "
  3744. "as the installed version. <literal>section</literal> is the name of the "
  3745. "section the package appears in."
  3746. msgstr ""
  3747. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3748. #: apt.conf.5.xml:1
  3749. msgid ""
  3750. "When invoking &dpkg;, output the precise command line with which it is being "
  3751. "invoked, with arguments separated by a single space character."
  3752. msgstr ""
  3753. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3754. #: apt.conf.5.xml:1
  3755. msgid ""
  3756. "Output all the data received from &dpkg; on the status file descriptor and "
  3757. "any errors encountered while parsing it."
  3758. msgstr ""
  3759. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3760. #: apt.conf.5.xml:1
  3761. msgid ""
  3762. "Generate a trace of the algorithm that decides the order in which "
  3763. "<literal>apt</literal> should pass packages to &dpkg;."
  3764. msgstr ""
  3765. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3766. #: apt.conf.5.xml:1
  3767. msgid "Output status messages tracing the steps performed when invoking &dpkg;."
  3768. msgstr ""
  3769. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3770. #: apt.conf.5.xml:1
  3771. msgid "Output the priority of each package list on startup."
  3772. msgstr ""
  3773. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3774. #: apt.conf.5.xml:1
  3775. msgid ""
  3776. "Trace the execution of the dependency resolver (this applies only to what "
  3777. "happens when a complex dependency problem is encountered)."
  3778. msgstr ""
  3779. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3780. #: apt.conf.5.xml:1
  3781. msgid ""
  3782. "Display a list of all installed packages with their calculated score used by "
  3783. "the pkgProblemResolver. The description of the package is the same as "
  3784. "described in <literal>Debug::pkgDepCache::Marker</literal>"
  3785. msgstr ""
  3786. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3787. #: apt.conf.5.xml:1
  3788. msgid ""
  3789. "Print information about the vendors read from "
  3790. "<filename>/etc/apt/vendors.list</filename>."
  3791. msgstr ""
  3792. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3793. #: apt.conf.5.xml:1
  3794. msgid ""
  3795. "Display the external commands that are called by apt hooks. This includes "
  3796. "e.g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
  3797. "<literal>APT::Update::{Pre,Post}-Invoke</literal>."
  3798. msgstr ""
  3799. #. type: Content of: <refentry><refsect1><title>
  3800. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  3801. #: apt-ftparchive.1.xml:1
  3802. msgid "Examples"
  3803. msgstr ""
  3804. #. type: Content of: <refentry><refsect1><para>
  3805. #: apt.conf.5.xml:1
  3806. msgid ""
  3807. "&configureindex; is a configuration file showing example values for all "
  3808. "possible options."
  3809. msgstr ""
  3810. #. ? reading apt.conf
  3811. #. type: Content of: <refentry><refsect1><para>
  3812. #: apt.conf.5.xml:1
  3813. msgid "&apt-cache;, &apt-config;, &apt-preferences;."
  3814. msgstr ""
  3815. #. type: Content of: <refentry><refnamediv><refpurpose>
  3816. #: apt_preferences.5.xml:1
  3817. msgid "Preference control file for APT"
  3818. msgstr ""
  3819. #. type: Content of: <refentry><refsect1><para>
  3820. #: apt_preferences.5.xml:1
  3821. msgid ""
  3822. "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
  3823. "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
  3824. "can be used to control which versions of packages will be selected for "
  3825. "installation."
  3826. msgstr ""
  3827. #. type: Content of: <refentry><refsect1><para>
  3828. #: apt_preferences.5.xml:1
  3829. msgid ""
  3830. "Several versions of a package may be available for installation when the "
  3831. "&sources-list; file contains references to more than one distribution (for "
  3832. "example, <literal>stable</literal> and <literal>testing</literal>). APT "
  3833. "assigns a priority to each version that is available. Subject to dependency "
  3834. "constraints, <command>apt-get</command> selects the version with the highest "
  3835. "priority for installation. The APT preferences override the priorities that "
  3836. "APT assigns to package versions by default, thus giving the user control "
  3837. "over which one is selected for installation."
  3838. msgstr ""
  3839. #. type: Content of: <refentry><refsect1><para>
  3840. #: apt_preferences.5.xml:1
  3841. msgid ""
  3842. "Several instances of the same version of a package may be available when the "
  3843. "&sources-list; file contains references to more than one source. In this "
  3844. "case <command>apt-get</command> downloads the instance listed earliest in "
  3845. "the &sources-list; file. The APT preferences do not affect the choice of "
  3846. "instance, only the choice of version."
  3847. msgstr ""
  3848. #. type: Content of: <refentry><refsect1><para>
  3849. #: apt_preferences.5.xml:1
  3850. msgid ""
  3851. "Preferences are a strong power in the hands of a system administrator but "
  3852. "they can become also their biggest nightmare if used without care! APT will "
  3853. "not question the preferences, so wrong settings can lead to uninstallable "
  3854. "packages or wrong decisions while upgrading packages. Even more problems "
  3855. "will arise if multiple distribution releases are mixed without a good "
  3856. "understanding of the following paragraphs. Packages included in a specific "
  3857. "release aren't tested in (and therefore don't always work as expected in) "
  3858. "older or newer releases, or together with other packages from different "
  3859. "releases. You have been warned."
  3860. msgstr ""
  3861. #. type: Content of: <refentry><refsect1><para>
  3862. #: apt_preferences.5.xml:1
  3863. msgid ""
  3864. "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
  3865. "directory are parsed in alphanumeric ascending order and need to obey the "
  3866. "following naming convention: The files have either no or "
  3867. "\"<literal>pref</literal>\" as filename extension and only contain "
  3868. "alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
  3869. "Otherwise APT will print a notice that it has ignored a file, unless that "
  3870. "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
  3871. "configuration list - in which case it will be silently ignored."
  3872. msgstr ""
  3873. #. type: Content of: <refentry><refsect1><refsect2><title>
  3874. #: apt_preferences.5.xml:1
  3875. msgid "APT's Default Priority Assignments"
  3876. msgstr ""
  3877. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3878. #: apt_preferences.5.xml:1
  3879. #, no-wrap
  3880. msgid ""
  3881. "<command>apt-get install -t testing "
  3882. "<replaceable>some-package</replaceable></command>\n"
  3883. msgstr ""
  3884. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3885. #: apt_preferences.5.xml:1
  3886. #, no-wrap
  3887. msgid "APT::Default-Release \"stable\";\n"
  3888. msgstr ""
  3889. #. type: Content of: <refentry><refsect1><refsect2><para>
  3890. #: apt_preferences.5.xml:1
  3891. msgid ""
  3892. "If there is no preferences file or if there is no entry in the file that "
  3893. "applies to a particular version then the priority assigned to that version "
  3894. "is the priority of the distribution to which that version belongs. It is "
  3895. "possible to single out a distribution, \"the target release\", which "
  3896. "receives a higher priority than other distributions do by default. The "
  3897. "target release can be set on the <command>apt-get</command> command line or "
  3898. "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
  3899. "that this has precedence over any general priority you set in the "
  3900. "<filename>/etc/apt/preferences</filename> file described later, but not over "
  3901. "specifically pinned packages. For example, <placeholder "
  3902. "type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
  3903. "id=\"1\"/>"
  3904. msgstr ""
  3905. #. type: Content of: <refentry><refsect1><refsect2><para>
  3906. #: apt_preferences.5.xml:1
  3907. msgid ""
  3908. "If the target release has been specified then APT uses the following "
  3909. "algorithm to set the priorities of the versions of a package. Assign:"
  3910. msgstr ""
  3911. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3912. #: apt_preferences.5.xml:1
  3913. msgid "priority 1"
  3914. msgstr ""
  3915. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3916. #: apt_preferences.5.xml:1
  3917. msgid ""
  3918. "to the versions coming from archives which in their "
  3919. "<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
  3920. "<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
  3921. "<literal>experimental</literal> archive."
  3922. msgstr ""
  3923. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3924. #: apt_preferences.5.xml:1
  3925. msgid "priority 100"
  3926. msgstr ""
  3927. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3928. #: apt_preferences.5.xml:1
  3929. msgid ""
  3930. "to the version that is already installed (if any) and to the versions coming "
  3931. "from archives which in their <filename>Release</filename> files are marked "
  3932. "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
  3933. "backports archive since <literal>squeeze-backports</literal>."
  3934. msgstr ""
  3935. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3936. #: apt_preferences.5.xml:1
  3937. msgid "priority 500"
  3938. msgstr ""
  3939. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3940. #: apt_preferences.5.xml:1
  3941. msgid "to the versions that do not belong to the target release."
  3942. msgstr ""
  3943. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3944. #: apt_preferences.5.xml:1
  3945. msgid "priority 990"
  3946. msgstr ""
  3947. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3948. #: apt_preferences.5.xml:1
  3949. msgid "to the versions that belong to the target release."
  3950. msgstr ""
  3951. #. type: Content of: <refentry><refsect1><refsect2><para>
  3952. #: apt_preferences.5.xml:1
  3953. msgid ""
  3954. "The highest of those priorities whose description matches the version is "
  3955. "assigned to the version."
  3956. msgstr ""
  3957. #. type: Content of: <refentry><refsect1><refsect2><para>
  3958. #: apt_preferences.5.xml:1
  3959. msgid ""
  3960. "If the target release has not been specified then APT simply assigns "
  3961. "priority 100 to all installed package versions and priority 500 to all "
  3962. "uninstalled package versions, except versions coming from archives which in "
  3963. "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
  3964. "- these versions get the priority 1 or priority 100 if it is additionally "
  3965. "marked as \"ButAutomaticUpgrades: yes\"."
  3966. msgstr ""
  3967. #. type: Content of: <refentry><refsect1><refsect2><para>
  3968. #: apt_preferences.5.xml:1
  3969. msgid ""
  3970. "APT then applies the following rules, listed in order of precedence, to "
  3971. "determine which version of a package to install."
  3972. msgstr ""
  3973. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3974. #: apt_preferences.5.xml:1
  3975. msgid ""
  3976. "Never downgrade unless the priority of an available version exceeds 1000. "
  3977. "(\"Downgrading\" is installing a less recent version of a package in place "
  3978. "of a more recent version. Note that none of APT's default priorities "
  3979. "exceeds 1000; such high priorities can only be set in the preferences file. "
  3980. "Note also that downgrading a package can be risky.)"
  3981. msgstr ""
  3982. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3983. #: apt_preferences.5.xml:1
  3984. msgid "Install the highest priority version."
  3985. msgstr ""
  3986. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3987. #: apt_preferences.5.xml:1
  3988. msgid ""
  3989. "If two or more versions have the same priority, install the most recent one "
  3990. "(that is, the one with the higher version number)."
  3991. msgstr ""
  3992. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3993. #: apt_preferences.5.xml:1
  3994. msgid ""
  3995. "If two or more versions have the same priority and version number but either "
  3996. "the packages differ in some of their metadata or the "
  3997. "<literal>--reinstall</literal> option is given, install the uninstalled one."
  3998. msgstr ""
  3999. #. type: Content of: <refentry><refsect1><refsect2><para>
  4000. #: apt_preferences.5.xml:1
  4001. msgid ""
  4002. "In a typical situation, the installed version of a package (priority 100) "
  4003. "is not as recent as one of the versions available from the sources listed in "
  4004. "the &sources-list; file (priority 500 or 990). Then the package will be "
  4005. "upgraded when <command>apt-get install "
  4006. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  4007. "upgrade</command> is executed."
  4008. msgstr ""
  4009. #. type: Content of: <refentry><refsect1><refsect2><para>
  4010. #: apt_preferences.5.xml:1
  4011. msgid ""
  4012. "More rarely, the installed version of a package is <emphasis>more</emphasis> "
  4013. "recent than any of the other available versions. The package will not be "
  4014. "downgraded when <command>apt-get install "
  4015. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  4016. "upgrade</command> is executed."
  4017. msgstr ""
  4018. #. type: Content of: <refentry><refsect1><refsect2><para>
  4019. #: apt_preferences.5.xml:1
  4020. msgid ""
  4021. "Sometimes the installed version of a package is more recent than the version "
  4022. "belonging to the target release, but not as recent as a version belonging to "
  4023. "some other distribution. Such a package will indeed be upgraded when "
  4024. "<command>apt-get install <replaceable>some-package</replaceable></command> "
  4025. "or <command>apt-get upgrade</command> is executed, because at least "
  4026. "<emphasis>one</emphasis> of the available versions has a higher priority "
  4027. "than the installed version."
  4028. msgstr ""
  4029. #. type: Content of: <refentry><refsect1><refsect2><title>
  4030. #: apt_preferences.5.xml:1
  4031. msgid "The Effect of APT Preferences"
  4032. msgstr ""
  4033. #. type: Content of: <refentry><refsect1><refsect2><para>
  4034. #: apt_preferences.5.xml:1
  4035. msgid ""
  4036. "The APT preferences file allows the system administrator to control the "
  4037. "assignment of priorities. The file consists of one or more multi-line "
  4038. "records separated by blank lines. Records can have one of two forms, a "
  4039. "specific form and a general form."
  4040. msgstr ""
  4041. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4042. #: apt_preferences.5.xml:1
  4043. msgid ""
  4044. "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
  4045. "specified packages with a specified version or version range. For example, "
  4046. "the following record assigns a high priority to all versions of the "
  4047. "<filename>perl</filename> package whose version number begins with "
  4048. "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
  4049. "spaces."
  4050. msgstr ""
  4051. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4052. #: apt_preferences.5.xml:1
  4053. #, no-wrap
  4054. msgid ""
  4055. "Package: perl\n"
  4056. "Pin: version &good-perl;*\n"
  4057. "Pin-Priority: 1001\n"
  4058. msgstr ""
  4059. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4060. #: apt_preferences.5.xml:1
  4061. msgid ""
  4062. "The general form assigns a priority to all of the package versions in a "
  4063. "given distribution (that is, to all the versions of packages that are listed "
  4064. "in a certain <filename>Release</filename> file) or to all of the package "
  4065. "versions coming from a particular Internet site, as identified by the site's "
  4066. "fully qualified domain name."
  4067. msgstr ""
  4068. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4069. #: apt_preferences.5.xml:1
  4070. msgid ""
  4071. "This general-form entry in the APT preferences file applies only to groups "
  4072. "of packages. For example, the following record assigns a high priority to "
  4073. "all package versions available from the local site."
  4074. msgstr ""
  4075. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4076. #: apt_preferences.5.xml:1
  4077. #, no-wrap
  4078. msgid ""
  4079. "Package: *\n"
  4080. "Pin: origin \"\"\n"
  4081. "Pin-Priority: 999\n"
  4082. msgstr ""
  4083. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4084. #: apt_preferences.5.xml:1
  4085. msgid ""
  4086. "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
  4087. "which can be used to match a hostname. The following record will assign a "
  4088. "high priority to all versions available from the server identified by the "
  4089. "hostname \"ftp.de.debian.org\""
  4090. msgstr ""
  4091. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4092. #: apt_preferences.5.xml:1
  4093. #, no-wrap
  4094. msgid ""
  4095. "Package: *\n"
  4096. "Pin: origin \"ftp.de.debian.org\"\n"
  4097. "Pin-Priority: 999\n"
  4098. msgstr ""
  4099. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4100. #: apt_preferences.5.xml:1
  4101. msgid ""
  4102. "This should <emphasis>not</emphasis> be confused with the Origin of a "
  4103. "distribution as specified in a <filename>Release</filename> file. What "
  4104. "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
  4105. "Internet address but an author or vendor name, such as \"Debian\" or "
  4106. "\"Ximian\"."
  4107. msgstr ""
  4108. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4109. #: apt_preferences.5.xml:1
  4110. msgid ""
  4111. "The following record assigns a low priority to all package versions "
  4112. "belonging to any distribution whose Archive name is "
  4113. "\"<literal>unstable</literal>\"."
  4114. msgstr ""
  4115. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4116. #: apt_preferences.5.xml:1
  4117. #, no-wrap
  4118. msgid ""
  4119. "Package: *\n"
  4120. "Pin: release a=unstable\n"
  4121. "Pin-Priority: 50\n"
  4122. msgstr ""
  4123. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4124. #: apt_preferences.5.xml:1
  4125. msgid ""
  4126. "The following record assigns a high priority to all package versions "
  4127. "belonging to any distribution whose Codename is "
  4128. "\"<literal>&debian-testing-codename;</literal>\"."
  4129. msgstr ""
  4130. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4131. #: apt_preferences.5.xml:1
  4132. #, no-wrap
  4133. msgid ""
  4134. "Package: *\n"
  4135. "Pin: release n=&debian-testing-codename;\n"
  4136. "Pin-Priority: 900\n"
  4137. msgstr ""
  4138. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4139. #: apt_preferences.5.xml:1
  4140. msgid ""
  4141. "The following record assigns a high priority to all package versions "
  4142. "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
  4143. "and whose release Version number is "
  4144. "\"<literal>&debian-stable-version;</literal>\"."
  4145. msgstr ""
  4146. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4147. #: apt_preferences.5.xml:1
  4148. #, no-wrap
  4149. msgid ""
  4150. "Package: *\n"
  4151. "Pin: release a=stable, v=&debian-stable-version;\n"
  4152. "Pin-Priority: 500\n"
  4153. msgstr ""
  4154. #. type: Content of: <refentry><refsect1><refsect2><para>
  4155. #: apt_preferences.5.xml:1
  4156. msgid ""
  4157. "The effect of the comma operator is similar to an \"and\" in logic: All "
  4158. "conditions must be satisfied for the pin to match. There is one exception: "
  4159. "For any type of condition (such as two \"a\" conditions), only the last such "
  4160. "condition is checked."
  4161. msgstr ""
  4162. #. type: Content of: <refentry><refsect1><refsect2><title>
  4163. #: apt_preferences.5.xml:1
  4164. msgid "Regular expressions and &glob; syntax"
  4165. msgstr ""
  4166. #. type: Content of: <refentry><refsect1><refsect2><para>
  4167. #: apt_preferences.5.xml:1
  4168. msgid ""
  4169. "APT also supports pinning by &glob; expressions, and regular expressions "
  4170. "surrounded by slashes. For example, the following example assigns the "
  4171. "priority 500 to all packages from experimental where the name starts with "
  4172. "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
  4173. "extended regular expression surrounded by slashes)."
  4174. msgstr ""
  4175. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4176. #: apt_preferences.5.xml:1
  4177. #, no-wrap
  4178. msgid ""
  4179. "Package: gnome* /kde/\n"
  4180. "Pin: release a=experimental\n"
  4181. "Pin-Priority: 500\n"
  4182. msgstr ""
  4183. #. type: Content of: <refentry><refsect1><refsect2><para>
  4184. #: apt_preferences.5.xml:1
  4185. msgid ""
  4186. "The rule for those expressions is that they can occur anywhere where a "
  4187. "string can occur. Thus, the following pin assigns the priority 990 to all "
  4188. "packages from a release starting with &ubuntu-codename;."
  4189. msgstr ""
  4190. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4191. #: apt_preferences.5.xml:1
  4192. #, no-wrap
  4193. msgid ""
  4194. "Package: *\n"
  4195. "Pin: release n=&ubuntu-codename;*\n"
  4196. "Pin-Priority: 990\n"
  4197. msgstr ""
  4198. #. type: Content of: <refentry><refsect1><refsect2><para>
  4199. #: apt_preferences.5.xml:1
  4200. msgid ""
  4201. "If a regular expression occurs in a <literal>Package</literal> field, the "
  4202. "behavior is the same as if this regular expression were replaced with a list "
  4203. "of all package names it matches. It is undecided whether this will change in "
  4204. "the future; thus you should always list wild-card pins first, so later "
  4205. "specific pins override it. The pattern \"<literal>*</literal>\" in a "
  4206. "Package field is not considered a &glob; expression in itself."
  4207. msgstr ""
  4208. #. type: Content of: <refentry><refsect1><refsect2><title>
  4209. #: apt_preferences.5.xml:1
  4210. msgid "How APT Interprets Priorities"
  4211. msgstr ""
  4212. #. type: Content of: <refentry><refsect1><refsect2><para>
  4213. #: apt_preferences.5.xml:1
  4214. msgid ""
  4215. "Priorities (P) assigned in the APT preferences file must be positive or "
  4216. "negative integers. They are interpreted as follows (roughly speaking):"
  4217. msgstr ""
  4218. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4219. #: apt_preferences.5.xml:1
  4220. msgid "P &gt;= 1000"
  4221. msgstr ""
  4222. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4223. #: apt_preferences.5.xml:1
  4224. msgid ""
  4225. "causes a version to be installed even if this constitutes a downgrade of the "
  4226. "package"
  4227. msgstr ""
  4228. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4229. #: apt_preferences.5.xml:1
  4230. msgid "990 &lt;= P &lt; 1000"
  4231. msgstr ""
  4232. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4233. #: apt_preferences.5.xml:1
  4234. msgid ""
  4235. "causes a version to be installed even if it does not come from the target "
  4236. "release, unless the installed version is more recent"
  4237. msgstr ""
  4238. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4239. #: apt_preferences.5.xml:1
  4240. msgid "500 &lt;= P &lt; 990"
  4241. msgstr ""
  4242. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4243. #: apt_preferences.5.xml:1
  4244. msgid ""
  4245. "causes a version to be installed unless there is a version available "
  4246. "belonging to the target release or the installed version is more recent"
  4247. msgstr ""
  4248. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4249. #: apt_preferences.5.xml:1
  4250. msgid "100 &lt;= P &lt; 500"
  4251. msgstr ""
  4252. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4253. #: apt_preferences.5.xml:1
  4254. msgid ""
  4255. "causes a version to be installed unless there is a version available "
  4256. "belonging to some other distribution or the installed version is more recent"
  4257. msgstr ""
  4258. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4259. #: apt_preferences.5.xml:1
  4260. msgid "0 &lt; P &lt; 100"
  4261. msgstr ""
  4262. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4263. #: apt_preferences.5.xml:1
  4264. msgid ""
  4265. "causes a version to be installed only if there is no installed version of "
  4266. "the package"
  4267. msgstr ""
  4268. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4269. #: apt_preferences.5.xml:1
  4270. msgid "P &lt; 0"
  4271. msgstr ""
  4272. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4273. #: apt_preferences.5.xml:1
  4274. msgid "prevents the version from being installed"
  4275. msgstr ""
  4276. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4277. #: apt_preferences.5.xml:1
  4278. msgid "P = 0"
  4279. msgstr ""
  4280. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4281. #: apt_preferences.5.xml:1
  4282. msgid "has undefined behaviour, do not use it."
  4283. msgstr ""
  4284. #. type: Content of: <refentry><refsect1><refsect2><para>
  4285. #: apt_preferences.5.xml:1
  4286. msgid ""
  4287. "The first specific-form record matching an available package version "
  4288. "determines the priority of the package version. Failing that, the priority "
  4289. "of the package is defined as the maximum of all priorities defined by "
  4290. "generic-form records matching the version. Records defined using patterns "
  4291. "in the Pin field other than \"*\" are treated like specific-form records."
  4292. msgstr ""
  4293. #. type: Content of: <refentry><refsect1><refsect2><para>
  4294. #: apt_preferences.5.xml:1
  4295. msgid ""
  4296. "For example, suppose the APT preferences file contains the three records "
  4297. "presented earlier:"
  4298. msgstr ""
  4299. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4300. #: apt_preferences.5.xml:1
  4301. #, no-wrap
  4302. msgid ""
  4303. "Package: perl\n"
  4304. "Pin: version &good-perl;*\n"
  4305. "Pin-Priority: 1001\n"
  4306. "\n"
  4307. "Package: *\n"
  4308. "Pin: origin \"\"\n"
  4309. "Pin-Priority: 999\n"
  4310. "\n"
  4311. "Package: *\n"
  4312. "Pin: release unstable\n"
  4313. "Pin-Priority: 50\n"
  4314. msgstr ""
  4315. #. type: Content of: <refentry><refsect1><refsect2><para>
  4316. #: apt_preferences.5.xml:1
  4317. msgid "Then:"
  4318. msgstr ""
  4319. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4320. #: apt_preferences.5.xml:1
  4321. msgid ""
  4322. "The most recent available version of the <literal>perl</literal> package "
  4323. "will be installed, so long as that version's version number begins with "
  4324. "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> "
  4325. "&good-perl;* version of <literal>perl</literal> is available and the "
  4326. "installed version is &bad-perl;*, then <literal>perl</literal> will be "
  4327. "downgraded."
  4328. msgstr ""
  4329. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4330. #: apt_preferences.5.xml:1
  4331. msgid ""
  4332. "A version of any package other than <literal>perl</literal> that is "
  4333. "available from the local system has priority over other versions, even "
  4334. "versions belonging to the target release."
  4335. msgstr ""
  4336. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4337. #: apt_preferences.5.xml:1
  4338. msgid ""
  4339. "A version of a package whose origin is not the local system but some other "
  4340. "site listed in &sources-list; and which belongs to an "
  4341. "<literal>unstable</literal> distribution is only installed if it is selected "
  4342. "for installation and no version of the package is already installed."
  4343. msgstr ""
  4344. #. type: Content of: <refentry><refsect1><refsect2><title>
  4345. #: apt_preferences.5.xml:1
  4346. msgid "Determination of Package Version and Distribution Properties"
  4347. msgstr ""
  4348. #. type: Content of: <refentry><refsect1><refsect2><para>
  4349. #: apt_preferences.5.xml:1
  4350. msgid ""
  4351. "The locations listed in the &sources-list; file should provide "
  4352. "<filename>Packages</filename> and <filename>Release</filename> files to "
  4353. "describe the packages available at that location."
  4354. msgstr ""
  4355. #. type: Content of: <refentry><refsect1><refsect2><para>
  4356. #: apt_preferences.5.xml:1
  4357. msgid ""
  4358. "The <filename>Packages</filename> file is normally found in the directory "
  4359. "<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
  4360. "for example, "
  4361. "<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
  4362. "consists of a series of multi-line records, one for each package available "
  4363. "in that directory. Only two lines in each record are relevant for setting "
  4364. "APT priorities:"
  4365. msgstr ""
  4366. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4367. #: apt_preferences.5.xml:1
  4368. msgid "the <literal>Package:</literal> line"
  4369. msgstr ""
  4370. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4371. #: apt_preferences.5.xml:1
  4372. msgid "gives the package name"
  4373. msgstr ""
  4374. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4375. #: apt_preferences.5.xml:1 apt_preferences.5.xml:1
  4376. msgid "the <literal>Version:</literal> line"
  4377. msgstr ""
  4378. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4379. #: apt_preferences.5.xml:1
  4380. msgid "gives the version number for the named package"
  4381. msgstr ""
  4382. #. type: Content of: <refentry><refsect1><refsect2><para>
  4383. #: apt_preferences.5.xml:1
  4384. msgid ""
  4385. "The <filename>Release</filename> file is normally found in the directory "
  4386. "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
  4387. "example, <filename>.../dists/stable/Release</filename>, or "
  4388. "<filename>.../dists/&debian-stable-codename;/Release</filename>. It "
  4389. "consists of a single multi-line record which applies to "
  4390. "<emphasis>all</emphasis> of the packages in the directory tree below its "
  4391. "parent. Unlike the <filename>Packages</filename> file, nearly all of the "
  4392. "lines in a <filename>Release</filename> file are relevant for setting APT "
  4393. "priorities:"
  4394. msgstr ""
  4395. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4396. #: apt_preferences.5.xml:1
  4397. msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
  4398. msgstr ""
  4399. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4400. #: apt_preferences.5.xml:1
  4401. msgid ""
  4402. "names the archive to which all the packages in the directory tree belong. "
  4403. "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
  4404. "that all of the packages in the directory tree below the parent of the "
  4405. "<filename>Release</filename> file are in a <literal>stable</literal> "
  4406. "archive. Specifying this value in the APT preferences file would require "
  4407. "the line:"
  4408. msgstr ""
  4409. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4410. #: apt_preferences.5.xml:1
  4411. #, no-wrap
  4412. msgid "Pin: release a=stable\n"
  4413. msgstr ""
  4414. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4415. #: apt_preferences.5.xml:1
  4416. msgid "the <literal>Codename:</literal> line"
  4417. msgstr ""
  4418. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4419. #: apt_preferences.5.xml:1
  4420. msgid ""
  4421. "names the codename to which all the packages in the directory tree belong. "
  4422. "For example, the line \"Codename: &debian-testing-codename;\" specifies that "
  4423. "all of the packages in the directory tree below the parent of the "
  4424. "<filename>Release</filename> file belong to a version named "
  4425. "<literal>&debian-testing-codename;</literal>. Specifying this value in the "
  4426. "APT preferences file would require the line:"
  4427. msgstr ""
  4428. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4429. #: apt_preferences.5.xml:1
  4430. #, no-wrap
  4431. msgid "Pin: release n=&debian-testing-codename;\n"
  4432. msgstr ""
  4433. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4434. #: apt_preferences.5.xml:1
  4435. msgid ""
  4436. "names the release version. For example, the packages in the tree might "
  4437. "belong to Debian release version &debian-stable-version;. Note that there "
  4438. "is normally no version number for the <literal>testing</literal> and "
  4439. "<literal>unstable</literal> distributions because they have not been "
  4440. "released yet. Specifying this in the APT preferences file would require one "
  4441. "of the following lines."
  4442. msgstr ""
  4443. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4444. #: apt_preferences.5.xml:1
  4445. #, no-wrap
  4446. msgid ""
  4447. "Pin: release v=&debian-stable-version;\n"
  4448. "Pin: release a=stable, v=&debian-stable-version;\n"
  4449. "Pin: release &debian-stable-version;\n"
  4450. msgstr ""
  4451. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4452. #: apt_preferences.5.xml:1
  4453. msgid "the <literal>Component:</literal> line"
  4454. msgstr ""
  4455. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4456. #: apt_preferences.5.xml:1
  4457. msgid ""
  4458. "names the licensing component associated with the packages in the directory "
  4459. "tree of the <filename>Release</filename> file. For example, the line "
  4460. "\"Component: main\" specifies that all the packages in the directory tree "
  4461. "are from the <literal>main</literal> component, which entails that they are "
  4462. "licensed under terms listed in the Debian Free Software Guidelines. "
  4463. "Specifying this component in the APT preferences file would require the "
  4464. "line:"
  4465. msgstr ""
  4466. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4467. #: apt_preferences.5.xml:1
  4468. #, no-wrap
  4469. msgid "Pin: release c=main\n"
  4470. msgstr ""
  4471. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4472. #: apt_preferences.5.xml:1
  4473. msgid "the <literal>Origin:</literal> line"
  4474. msgstr ""
  4475. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4476. #: apt_preferences.5.xml:1
  4477. msgid ""
  4478. "names the originator of the packages in the directory tree of the "
  4479. "<filename>Release</filename> file. Most commonly, this is "
  4480. "<literal>Debian</literal>. Specifying this origin in the APT preferences "
  4481. "file would require the line:"
  4482. msgstr ""
  4483. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4484. #: apt_preferences.5.xml:1
  4485. #, no-wrap
  4486. msgid "Pin: release o=Debian\n"
  4487. msgstr ""
  4488. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4489. #: apt_preferences.5.xml:1
  4490. msgid "the <literal>Label:</literal> line"
  4491. msgstr ""
  4492. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4493. #: apt_preferences.5.xml:1
  4494. msgid ""
  4495. "names the label of the packages in the directory tree of the "
  4496. "<filename>Release</filename> file. Most commonly, this is "
  4497. "<literal>Debian</literal>. Specifying this label in the APT preferences "
  4498. "file would require the line:"
  4499. msgstr ""
  4500. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4501. #: apt_preferences.5.xml:1
  4502. #, no-wrap
  4503. msgid "Pin: release l=Debian\n"
  4504. msgstr ""
  4505. #. type: Content of: <refentry><refsect1><refsect2><para>
  4506. #: apt_preferences.5.xml:1
  4507. msgid ""
  4508. "All of the <filename>Packages</filename> and <filename>Release</filename> "
  4509. "files retrieved from locations listed in the &sources-list; file are stored "
  4510. "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
  4511. "named by the variable <literal>Dir::State::Lists</literal> in the "
  4512. "<filename>apt.conf</filename> file. For example, the file "
  4513. "<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
  4514. "contains the <filename>Release</filename> file retrieved from the site "
  4515. "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
  4516. "architecture files from the <literal>contrib</literal> component of the "
  4517. "<literal>unstable</literal> distribution."
  4518. msgstr ""
  4519. #. type: Content of: <refentry><refsect1><refsect2><title>
  4520. #: apt_preferences.5.xml:1
  4521. msgid "Optional Lines in an APT Preferences Record"
  4522. msgstr ""
  4523. #. type: Content of: <refentry><refsect1><refsect2><para>
  4524. #: apt_preferences.5.xml:1
  4525. msgid ""
  4526. "Each record in the APT preferences file can optionally begin with one or "
  4527. "more lines beginning with the word <literal>Explanation:</literal>. This "
  4528. "provides a place for comments."
  4529. msgstr ""
  4530. #. type: Content of: <refentry><refsect1><refsect2><title>
  4531. #: apt_preferences.5.xml:1
  4532. msgid "Tracking Stable"
  4533. msgstr ""
  4534. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4535. #: apt_preferences.5.xml:1
  4536. #, no-wrap
  4537. msgid ""
  4538. "Explanation: Uninstall or do not install any Debian-originated\n"
  4539. "Explanation: package versions other than those in the stable distro\n"
  4540. "Package: *\n"
  4541. "Pin: release a=stable\n"
  4542. "Pin-Priority: 900\n"
  4543. "\n"
  4544. "Package: *\n"
  4545. "Pin: release o=Debian\n"
  4546. "Pin-Priority: -10\n"
  4547. msgstr ""
  4548. #. type: Content of: <refentry><refsect1><refsect2><para>
  4549. #: apt_preferences.5.xml:1
  4550. msgid ""
  4551. "The following APT preferences file will cause APT to assign a priority "
  4552. "higher than the default (500) to all package versions belonging to a "
  4553. "<literal>stable</literal> distribution and a prohibitively low priority to "
  4554. "package versions belonging to other <literal>Debian</literal> "
  4555. "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
  4556. msgstr ""
  4557. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4558. #: apt_preferences.5.xml:1 apt_preferences.5.xml:1 apt_preferences.5.xml:1
  4559. #, no-wrap
  4560. msgid ""
  4561. "apt-get install <replaceable>package-name</replaceable>\n"
  4562. "apt-get upgrade\n"
  4563. "apt-get dist-upgrade\n"
  4564. msgstr ""
  4565. #. type: Content of: <refentry><refsect1><refsect2><para>
  4566. #: apt_preferences.5.xml:1
  4567. msgid ""
  4568. "With a suitable &sources-list; file and the above preferences file, any of "
  4569. "the following commands will cause APT to upgrade to the latest "
  4570. "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
  4571. "id=\"0\"/>"
  4572. msgstr ""
  4573. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4574. #: apt_preferences.5.xml:1
  4575. #, no-wrap
  4576. msgid "apt-get install <replaceable>package</replaceable>/testing\n"
  4577. msgstr ""
  4578. #. type: Content of: <refentry><refsect1><refsect2><para>
  4579. #: apt_preferences.5.xml:1
  4580. msgid ""
  4581. "The following command will cause APT to upgrade the specified package to the "
  4582. "latest version from the <literal>testing</literal> distribution; the package "
  4583. "will not be upgraded again unless this command is given again. <placeholder "
  4584. "type=\"programlisting\" id=\"0\"/>"
  4585. msgstr ""
  4586. #. type: Content of: <refentry><refsect1><refsect2><title>
  4587. #: apt_preferences.5.xml:1
  4588. msgid "Tracking Testing or Unstable"
  4589. msgstr ""
  4590. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4591. #: apt_preferences.5.xml:1
  4592. #, no-wrap
  4593. msgid ""
  4594. "Package: *\n"
  4595. "Pin: release a=testing\n"
  4596. "Pin-Priority: 900\n"
  4597. "\n"
  4598. "Package: *\n"
  4599. "Pin: release a=unstable\n"
  4600. "Pin-Priority: 800\n"
  4601. "\n"
  4602. "Package: *\n"
  4603. "Pin: release o=Debian\n"
  4604. "Pin-Priority: -10\n"
  4605. msgstr ""
  4606. #. type: Content of: <refentry><refsect1><refsect2><para>
  4607. #: apt_preferences.5.xml:1
  4608. msgid ""
  4609. "The following APT preferences file will cause APT to assign a high priority "
  4610. "to package versions from the <literal>testing</literal> distribution, a "
  4611. "lower priority to package versions from the <literal>unstable</literal> "
  4612. "distribution, and a prohibitively low priority to package versions from "
  4613. "other <literal>Debian</literal> distributions. <placeholder "
  4614. "type=\"programlisting\" id=\"0\"/>"
  4615. msgstr ""
  4616. #. type: Content of: <refentry><refsect1><refsect2><para>
  4617. #: apt_preferences.5.xml:1
  4618. msgid ""
  4619. "With a suitable &sources-list; file and the above preferences file, any of "
  4620. "the following commands will cause APT to upgrade to the latest "
  4621. "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
  4622. "id=\"0\"/>"
  4623. msgstr ""
  4624. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4625. #: apt_preferences.5.xml:1
  4626. #, no-wrap
  4627. msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
  4628. msgstr ""
  4629. #. type: Content of: <refentry><refsect1><refsect2><para>
  4630. #: apt_preferences.5.xml:1
  4631. msgid ""
  4632. "The following command will cause APT to upgrade the specified package to the "
  4633. "latest version from the <literal>unstable</literal> distribution. "
  4634. "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
  4635. "the most recent <literal>testing</literal> version if that is more recent "
  4636. "than the installed version, otherwise, to the most recent "
  4637. "<literal>unstable</literal> version if that is more recent than the "
  4638. "installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4639. msgstr ""
  4640. #. type: Content of: <refentry><refsect1><refsect2><title>
  4641. #: apt_preferences.5.xml:1
  4642. msgid "Tracking the evolution of a codename release"
  4643. msgstr ""
  4644. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4645. #: apt_preferences.5.xml:1
  4646. #, no-wrap
  4647. msgid ""
  4648. "Explanation: Uninstall or do not install any Debian-originated package "
  4649. "versions\n"
  4650. "Explanation: other than those in the distribution codenamed with "
  4651. "&debian-testing-codename; or sid\n"
  4652. "Package: *\n"
  4653. "Pin: release n=&debian-testing-codename;\n"
  4654. "Pin-Priority: 900\n"
  4655. "\n"
  4656. "Explanation: Debian unstable is always codenamed with sid\n"
  4657. "Package: *\n"
  4658. "Pin: release n=sid\n"
  4659. "Pin-Priority: 800\n"
  4660. "\n"
  4661. "Package: *\n"
  4662. "Pin: release o=Debian\n"
  4663. "Pin-Priority: -10\n"
  4664. msgstr ""
  4665. #. type: Content of: <refentry><refsect1><refsect2><para>
  4666. #: apt_preferences.5.xml:1
  4667. msgid ""
  4668. "The following APT preferences file will cause APT to assign a priority "
  4669. "higher than the default (500) to all package versions belonging to a "
  4670. "specified codename of a distribution and a prohibitively low priority to "
  4671. "package versions belonging to other <literal>Debian</literal> distributions, "
  4672. "codenames and archives. Note that with this APT preference APT will follow "
  4673. "the migration of a release from the archive <literal>testing</literal> to "
  4674. "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
  4675. "want to follow for example the progress in <literal>testing</literal> "
  4676. "notwithstanding the codename changes you should use the example "
  4677. "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
  4678. msgstr ""
  4679. #. type: Content of: <refentry><refsect1><refsect2><para>
  4680. #: apt_preferences.5.xml:1
  4681. msgid ""
  4682. "With a suitable &sources-list; file and the above preferences file, any of "
  4683. "the following commands will cause APT to upgrade to the latest version(s) in "
  4684. "the release codenamed with <literal>&debian-testing-codename;</literal>. "
  4685. "<placeholder type=\"programlisting\" id=\"0\"/>"
  4686. msgstr ""
  4687. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4688. #: apt_preferences.5.xml:1
  4689. #, no-wrap
  4690. msgid "apt-get install <replaceable>package</replaceable>/sid\n"
  4691. msgstr ""
  4692. #. type: Content of: <refentry><refsect1><refsect2><para>
  4693. #: apt_preferences.5.xml:1
  4694. msgid ""
  4695. "The following command will cause APT to upgrade the specified package to the "
  4696. "latest version from the <literal>sid</literal> distribution. Thereafter, "
  4697. "<command>apt-get upgrade</command> will upgrade the package to the most "
  4698. "recent <literal>&debian-testing-codename;</literal> version if that is more "
  4699. "recent than the installed version, otherwise, to the most recent "
  4700. "<literal>sid</literal> version if that is more recent than the installed "
  4701. "version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4702. msgstr ""
  4703. #. type: Content of: <refentry><refsect1><para>
  4704. #: apt_preferences.5.xml:1
  4705. msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
  4706. msgstr ""
  4707. #. type: Content of: <refentry><refnamediv><refpurpose>
  4708. #: sources.list.5.xml:1
  4709. msgid "List of configured APT data sources"
  4710. msgstr ""
  4711. #. type: Content of: <refentry><refsect1><para>
  4712. #: sources.list.5.xml:1
  4713. msgid ""
  4714. "The source list <filename>/etc/apt/sources.list</filename> and the files "
  4715. "contained in <filename>/etc/apt/sources.list.d/</filename> are designed to "
  4716. "support any number of active sources and a variety of source media. The "
  4717. "files list one source per line (one-line style) or contain multiline stanzas "
  4718. "defining one or more sources per stanza (deb822 style), with the most "
  4719. "preferred source listed first (in case a single version is available from "
  4720. "more than one source). The information available from the configured sources "
  4721. "is acquired by <command>apt-get update</command> (or by an equivalent "
  4722. "command from another APT front-end)."
  4723. msgstr ""
  4724. #. type: Content of: <refentry><refsect1><title>
  4725. #: sources.list.5.xml:1
  4726. msgid "sources.list.d"
  4727. msgstr ""
  4728. #. type: Content of: <refentry><refsect1><para>
  4729. #: sources.list.5.xml:1
  4730. msgid ""
  4731. "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
  4732. "add sources.list entries in separate files. Two different file formats are "
  4733. "allowed as described in the next two sections. Filenames need to have "
  4734. "either the extension <filename>.list</filename> or "
  4735. "<filename>.sources</filename> depending on the contained format. The "
  4736. "filenames may only contain letters (a-z and A-Z), digits (0-9), underscore "
  4737. "(_), hyphen (-) and period (.) characters. Otherwise APT will print a "
  4738. "notice that it has ignored a file, unless that file matches a pattern in the "
  4739. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  4740. "case it will be silently ignored."
  4741. msgstr ""
  4742. #. type: Content of: <refentry><refsect1><title>
  4743. #: sources.list.5.xml:1
  4744. msgid "One-Line-Style Format"
  4745. msgstr ""
  4746. #. type: Content of: <refentry><refsect1><para>
  4747. #: sources.list.5.xml:1
  4748. msgid ""
  4749. "Files in this format have the extension <filename>.list</filename>. Each "
  4750. "line specifying a source starts with a type "
  4751. "(e.g. <literal>deb-src</literal>) followed by options and arguments for "
  4752. "this type. Individual entries cannot be continued onto a following "
  4753. "line. Empty lines are ignored, and a <literal>#</literal> character anywhere "
  4754. "on a line marks the remainder of that line as a comment. Consequently an "
  4755. "entry can be disabled by commenting out the entire line. If options should "
  4756. "be provided they are separated by spaces and all of them together are "
  4757. "enclosed by square brackets (<literal>[]</literal>) included in the line "
  4758. "after the type separated from it with a space. If an option allows multiple "
  4759. "values these are separated from each other with a comma "
  4760. "(<literal>,</literal>). An option name is separated from its value(s) by an "
  4761. "equals sign (<literal>=</literal>). Multivalue options also have "
  4762. "<literal>-=</literal> and <literal>+=</literal> as separators, which instead "
  4763. "of replacing the default with the given value(s) modify the default value(s) "
  4764. "to remove or include the given values."
  4765. msgstr ""
  4766. #. type: Content of: <refentry><refsect1><para>
  4767. #: sources.list.5.xml:1
  4768. msgid ""
  4769. "This is the traditional format and supported by all apt versions. Note that "
  4770. "not all options as described below are supported by all apt versions. Note "
  4771. "also that some older applications parsing this format on their own might not "
  4772. "expect to encounter options as they were uncommon before the introduction of "
  4773. "multi-architecture support."
  4774. msgstr ""
  4775. #. type: Content of: <refentry><refsect1><title>
  4776. #: sources.list.5.xml:1
  4777. msgid "deb822-Style Format"
  4778. msgstr ""
  4779. #. type: Content of: <refentry><refsect1><para>
  4780. #: sources.list.5.xml:1
  4781. msgid ""
  4782. "Files in this format have the extension <filename>.sources</filename>. The "
  4783. "format is similar in syntax to other files used by Debian and its "
  4784. "derivatives, such as the metadata files that apt will download from the "
  4785. "configured sources or the <filename>debian/control</filename> file in a "
  4786. "Debian source package. Individual entries are separated by an empty line; "
  4787. "additional empty lines are ignored, and a <literal>#</literal> character at "
  4788. "the start of the line marks the entire line as a comment. An entry can hence "
  4789. "be disabled by commenting out each line belonging to the stanza, but it is "
  4790. "usually easier to add the field \"Enabled: no\" to the stanza to disable the "
  4791. "entry. Removing the field or setting it to yes reenables it. Options have "
  4792. "the same syntax as every other field: A fieldname separated by a colon "
  4793. "(<literal>:</literal>) and optionally spaces from its value(s). Note "
  4794. "especially that multiple values are separated by spaces, not by commas as in "
  4795. "the one-line format. Multivalue fields like <literal>Architectures</literal> "
  4796. "also have <literal>Architectures-Add</literal> and "
  4797. "<literal>Architectures-Remove</literal> to modify the default value rather "
  4798. "than replacing it."
  4799. msgstr ""
  4800. #. type: Content of: <refentry><refsect1><para>
  4801. #: sources.list.5.xml:1
  4802. msgid ""
  4803. "This is a new format supported by apt itself since version 1.1. Previous "
  4804. "versions ignore such files with a notice message as described earlier. It "
  4805. "is intended to make this format gradually the default format, deprecating "
  4806. "the previously described one-line-style format, as it is easier to create, "
  4807. "extend and modify for humans and machines alike especially if a lot of "
  4808. "sources and/or options are involved. Developers who are working with and/or "
  4809. "parsing apt sources are highly encouraged to add support for this format and "
  4810. "to contact the APT team to coordinate and share this work. Users can freely "
  4811. "adopt this format already, but may encounter problems with software not "
  4812. "supporting the format yet."
  4813. msgstr ""
  4814. #. type: Content of: <refentry><refsect1><title>
  4815. #: sources.list.5.xml:1
  4816. msgid "The deb and deb-src Types: General Format"
  4817. msgstr ""
  4818. #. type: Content of: <refentry><refsect1><para>
  4819. #: sources.list.5.xml:1
  4820. msgid ""
  4821. "The <literal>deb</literal> type references a typical two-level Debian "
  4822. "archive, <filename>distribution/component</filename>. The "
  4823. "<literal>distribution</literal> is generally a suite name like "
  4824. "<literal>stable</literal> or <literal>testing</literal> or a codename like "
  4825. "<literal>&debian-stable-codename;</literal> or "
  4826. "<literal>&debian-testing-codename;</literal> while component is one of "
  4827. "<literal>main</literal>, <literal>contrib</literal> or "
  4828. "<literal>non-free</literal>. The <literal>deb-src</literal> type references "
  4829. "a Debian distribution's source code in the same form as the "
  4830. "<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
  4831. "to fetch source indexes."
  4832. msgstr ""
  4833. #. type: Content of: <refentry><refsect1><para>
  4834. #: sources.list.5.xml:1
  4835. msgid ""
  4836. "The format for two one-line-style entries using the <literal>deb</literal> "
  4837. "and <literal>deb-src</literal> types is:"
  4838. msgstr ""
  4839. #. type: Content of: <refentry><refsect1><literallayout>
  4840. #: sources.list.5.xml:1
  4841. #, no-wrap
  4842. msgid ""
  4843. "deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] "
  4844. "[...]\n"
  4845. "deb-src [ option1=value1 option2=value2 ] uri suite [component1] "
  4846. "[component2] [...]"
  4847. msgstr ""
  4848. #. type: Content of: <refentry><refsect1><para><literallayout>
  4849. #: sources.list.5.xml:1
  4850. #, no-wrap
  4851. msgid ""
  4852. " Types: deb deb-src\n"
  4853. " URIs: uri\n"
  4854. " Suites: suite\n"
  4855. " Components: [component1] [component2] [...]\n"
  4856. " option1: value1\n"
  4857. " option2: value2\n"
  4858. " "
  4859. msgstr ""
  4860. #. type: Content of: <refentry><refsect1><para>
  4861. #: sources.list.5.xml:1
  4862. msgid ""
  4863. "Alternatively the equivalent entry in deb822 style looks like this: "
  4864. "<placeholder type=\"literallayout\" id=\"0\"/>"
  4865. msgstr ""
  4866. #. type: Content of: <refentry><refsect1><para>
  4867. #: sources.list.5.xml:1
  4868. msgid ""
  4869. "The URI for the <literal>deb</literal> type must specify the base of the "
  4870. "Debian distribution, from which APT will find the information it needs. "
  4871. "<literal>suite</literal> can specify an exact path, in which case the "
  4872. "components must be omitted and <literal>suite</literal> must end with a "
  4873. "slash (<literal>/</literal>). This is useful for the case when only a "
  4874. "particular sub-directory of the archive denoted by the URI is of interest. "
  4875. "If <literal>suite</literal> does not specify an exact path, at least one "
  4876. "<literal>component</literal> must be present."
  4877. msgstr ""
  4878. #. type: Content of: <refentry><refsect1><para>
  4879. #: sources.list.5.xml:1
  4880. msgid ""
  4881. "<literal>suite</literal> may also contain a variable, "
  4882. "<literal>$(ARCH)</literal> which expands to the Debian architecture (such as "
  4883. "<literal>amd64</literal> or <literal>armel</literal>) used on the "
  4884. "system. This permits architecture-independent "
  4885. "<filename>sources.list</filename> files to be used. In general this is only "
  4886. "of interest when specifying an exact path; <literal>APT</literal> will "
  4887. "automatically generate a URI with the current architecture otherwise."
  4888. msgstr ""
  4889. #. type: Content of: <refentry><refsect1><para>
  4890. #: sources.list.5.xml:1
  4891. msgid ""
  4892. "Especially in the one-line-style format since only one distribution can be "
  4893. "specified per line it may be necessary to have multiple lines for the same "
  4894. "URI, if a subset of all available distributions or components at that "
  4895. "location is desired. APT will sort the URI list after it has generated a "
  4896. "complete set internally, and will collapse multiple references to the same "
  4897. "Internet host, for instance, into a single connection, so that it does not "
  4898. "inefficiently establish a connection, close it, do something else, and then "
  4899. "re-establish a connection to that same host. APT also parallelizes "
  4900. "connections to different hosts to more effectively deal with sites with low "
  4901. "bandwidth."
  4902. msgstr ""
  4903. #. type: Content of: <refentry><refsect1><para>
  4904. #: sources.list.5.xml:1
  4905. msgid ""
  4906. "It is important to list sources in order of preference, with the most "
  4907. "preferred source listed first. Typically this will result in sorting by "
  4908. "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
  4909. "followed by distant Internet hosts, for example)."
  4910. msgstr ""
  4911. #. type: Content of: <refentry><refsect1><para><literallayout>
  4912. #: sources.list.5.xml:1
  4913. #, no-wrap
  4914. msgid "&sourceslist-list-format;"
  4915. msgstr ""
  4916. #. type: Content of: <refentry><refsect1><para><literallayout>
  4917. #: sources.list.5.xml:1
  4918. #, no-wrap
  4919. msgid "&sourceslist-sources-format;"
  4920. msgstr ""
  4921. #. type: Content of: <refentry><refsect1><para>
  4922. #: sources.list.5.xml:1
  4923. msgid ""
  4924. "As an example, the sources for your distribution could look like this in "
  4925. "one-line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or "
  4926. "like this in deb822 style format: <placeholder type=\"literallayout\" "
  4927. "id=\"1\"/>"
  4928. msgstr ""
  4929. #. type: Content of: <refentry><refsect1><title>
  4930. #: sources.list.5.xml:1
  4931. msgid "The deb and deb-src types: Options"
  4932. msgstr ""
  4933. #. type: Content of: <refentry><refsect1><para>
  4934. #: sources.list.5.xml:1
  4935. msgid ""
  4936. "Each source entry can have options specified to modify which source is "
  4937. "accessed and how data is acquired from it. Format, syntax and names of the "
  4938. "options vary between the one-line-style and deb822-style formats as "
  4939. "described, but they both have the same options available. For simplicity we "
  4940. "list the deb822 fieldname and provide the one-line name in brackets. "
  4941. "Remember that besides setting multivalue options explicitly, there is also "
  4942. "the option to modify them based on the default, but we aren't listing those "
  4943. "names explicitly here. Unsupported options are silently ignored by all APT "
  4944. "versions."
  4945. msgstr ""
  4946. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4947. #: sources.list.5.xml:1
  4948. msgid ""
  4949. "<option>Architectures</option> (<option>arch</option>) is a multivalue "
  4950. "option defining for which architectures information should be downloaded. If "
  4951. "this option isn't set the default is all architectures as defined by the "
  4952. "<option>APT::Architectures</option> config option."
  4953. msgstr ""
  4954. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4955. #: sources.list.5.xml:1
  4956. msgid ""
  4957. "<option>Languages</option> (<option>lang</option>) is a multivalue option "
  4958. "defining for which languages information such as translated package "
  4959. "descriptions should be downloaded. If this option isn't set the default is "
  4960. "all languages as defined by the <option>Acquire::Languages</option> config "
  4961. "option."
  4962. msgstr ""
  4963. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4964. #: sources.list.5.xml:1
  4965. msgid ""
  4966. "<option>Targets</option> (<option>target</option>) is a multivalue option "
  4967. "defining which download targets apt will try to acquire from this source. If "
  4968. "not specified, the default set is defined by the "
  4969. "<option>Acquire::IndexTargets</option> configuration scope (targets are "
  4970. "specified by their name in the <literal>Created-By</literal> field). "
  4971. "Additionally, targets can be enabled or disabled by using the "
  4972. "<literal>Identifier</literal> field as an option with a boolean value "
  4973. "instead of using this multivalue option."
  4974. msgstr ""
  4975. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4976. #: sources.list.5.xml:1
  4977. msgid ""
  4978. "<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which "
  4979. "controls if APT should try to use PDiffs to update old indexes instead of "
  4980. "downloading the new indexes entirely. The value of this option is ignored if "
  4981. "the repository doesn't announce the availability of PDiffs. Defaults to the "
  4982. "value of the option with the same name for a specific index file defined in "
  4983. "the <option>Acquire::IndexTargets</option> scope, which itself defaults to "
  4984. "the value of configuration option <option>Acquire::PDiffs</option> which "
  4985. "defaults to <literal>yes</literal>."
  4986. msgstr ""
  4987. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4988. #: sources.list.5.xml:1
  4989. msgid ""
  4990. "<option>By-Hash</option> (<option>by-hash</option>) can have the value "
  4991. "<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> "
  4992. "and controls if APT should try to acquire indexes via a URI constructed from "
  4993. "a hashsum of the expected file instead of using the well-known stable "
  4994. "filename of the index. Using this can avoid hashsum mismatches, but requires "
  4995. "a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value "
  4996. "activates/disables the use of this feature if this source indicates support "
  4997. "for it, while <literal>force</literal> will enable the feature regardless of "
  4998. "what the source indicates. Defaults to the value of the option of the same "
  4999. "name for a specific index file defined in the "
  5000. "<option>Acquire::IndexTargets</option> scope, which itself defaults to the "
  5001. "value of configuration option <option>Acquire::By-Hash</option> which "
  5002. "defaults to <literal>yes</literal>."
  5003. msgstr ""
  5004. #. type: Content of: <refentry><refsect1><para>
  5005. #: sources.list.5.xml:1
  5006. msgid ""
  5007. "Furthermore, there are options which if set affect <emphasis>all</emphasis> "
  5008. "sources with the same URI and Suite, so they have to be set on all such "
  5009. "entries and can not be varied between different components. APT will try to "
  5010. "detect and error out on such anomalies."
  5011. msgstr ""
  5012. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5013. #: sources.list.5.xml:1
  5014. msgid ""
  5015. "<option>Allow-Insecure</option> (<option>allow-insecure</option>), "
  5016. "<option>Allow-Weak</option> (<option>allow-weak</option>) and "
  5017. "<option>Allow-Downgrade-To-Insecure</option> "
  5018. "(<option>allow-downgrade-to-insecure</option>) are boolean values which all "
  5019. "default to <literal>no</literal>. If set to <literal>yes</literal> they "
  5020. "circumvent parts of &apt-secure; and should therefore not be used lightly!"
  5021. msgstr ""
  5022. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5023. #: sources.list.5.xml:1
  5024. msgid ""
  5025. "<option>Trusted</option> (<option>trusted</option>) is a tri-state value "
  5026. "which defaults to APT deciding if a source is considered trusted or if "
  5027. "warnings should be raised before e.g. packages are installed from this "
  5028. "source. This option can be used to override that decision. The value "
  5029. "<literal>yes</literal> tells APT always to consider this source as trusted, "
  5030. "even if it doesn't pass authentication checks. It disables parts of "
  5031. "&apt-secure;, and should therefore only be used in a local and trusted "
  5032. "context (if at all) as otherwise security is breached. The value "
  5033. "<literal>no</literal> does the opposite, causing the source to be handled as "
  5034. "untrusted even if the authentication checks passed successfully. The default "
  5035. "value can't be set explicitly."
  5036. msgstr ""
  5037. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5038. #: sources.list.5.xml:1
  5039. msgid ""
  5040. "<option>Signed-By</option> (<option>signed-by</option>) is either an "
  5041. "absolute path to a keyring file (has to be accessible and readable for the "
  5042. "<literal>_apt</literal> user, so ensure everyone has read-permissions on the "
  5043. "file) or one or more fingerprints of keys either in the "
  5044. "<filename>trusted.gpg</filename> keyring or in the keyrings in the "
  5045. "<filename>trusted.gpg.d/</filename> directory (see <command>apt-key "
  5046. "fingerprint</command>). If the option is set, only the key(s) in this "
  5047. "keyring or only the keys with these fingerprints are used for the "
  5048. "&apt-secure; verification of this repository. Defaults to the value of the "
  5049. "option with the same name if set in the previously acquired "
  5050. "<filename>Release</filename> file. Otherwise all keys in the trusted "
  5051. "keyrings are considered valid signers for this repository."
  5052. msgstr ""
  5053. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5054. #: sources.list.5.xml:1
  5055. msgid ""
  5056. "<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is "
  5057. "a yes/no value which controls if APT should try to detect replay attacks. A "
  5058. "repository creator can declare a time until which the data provided in the "
  5059. "repository should be considered valid, and if this time is reached, but no "
  5060. "new data is provided, the data is considered expired and an error is "
  5061. "raised. Besides increasing security, as a malicious attacker can't send old "
  5062. "data forever to prevent a user from upgrading to a new version, this also "
  5063. "helps users identify mirrors which are no longer updated. However, some "
  5064. "repositories such as historic archives are not updated any more by design, "
  5065. "so this check can be disabled by setting this option to "
  5066. "<literal>no</literal>. Defaults to the value of configuration option "
  5067. "<option>Acquire::Check-Valid-Until</option> which itself defaults to "
  5068. "<literal>yes</literal>."
  5069. msgstr ""
  5070. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5071. #: sources.list.5.xml:1
  5072. msgid ""
  5073. "<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and "
  5074. "<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be "
  5075. "used to raise or lower the time period in seconds in which the data from "
  5076. "this repository is considered valid. -Max can be especially useful if the "
  5077. "repository provides no Valid-Until field on its Release file to set your own "
  5078. "value, while -Min can be used to increase the valid time on seldom updated "
  5079. "(local) mirrors of a more frequently updated but less accessible archive "
  5080. "(which is in the sources.list as well) instead of disabling the check "
  5081. "entirely. Default to the value of the configuration options "
  5082. "<option>Acquire::Min-ValidTime</option> and "
  5083. "<option>Acquire::Max-ValidTime</option> which are both unset by default."
  5084. msgstr ""
  5085. #. type: Content of: <refentry><refsect1><title>
  5086. #: sources.list.5.xml:1
  5087. msgid "URI Specification"
  5088. msgstr ""
  5089. #. type: Content of: <refentry><refsect1><para>
  5090. #: sources.list.5.xml:1
  5091. msgid "The currently recognized URI types are:"
  5092. msgstr ""
  5093. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5094. #: sources.list.5.xml:1
  5095. msgid ""
  5096. "The file scheme allows an arbitrary directory in the file system to be "
  5097. "considered an archive. This is useful for NFS mounts and local mirrors or "
  5098. "archives."
  5099. msgstr ""
  5100. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5101. #: sources.list.5.xml:1
  5102. msgid ""
  5103. "The cdrom scheme allows APT to use a local CD-ROM drive with media "
  5104. "swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
  5105. "list."
  5106. msgstr ""
  5107. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5108. #: sources.list.5.xml:1
  5109. msgid ""
  5110. "The http scheme specifies an HTTP server for the archive. If an environment "
  5111. "variable <envar>http_proxy</envar> is set with the format "
  5112. "http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
  5113. "will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
  5114. "the format http://user:pass@server:port/. Note that this is an insecure "
  5115. "method of authentication."
  5116. msgstr ""
  5117. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5118. #: sources.list.5.xml:1
  5119. msgid ""
  5120. "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
  5121. "is highly configurable; for more information see the &apt-conf; manual "
  5122. "page. Please note that an FTP proxy can be specified by using the "
  5123. "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
  5124. "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
  5125. "environment variable and <emphasis>only</emphasis> this environment "
  5126. "variable. Proxies using HTTP specified in the configuration file will be "
  5127. "ignored."
  5128. msgstr ""
  5129. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5130. #: sources.list.5.xml:1
  5131. msgid ""
  5132. "The copy scheme is identical to the file scheme except that packages are "
  5133. "copied into the cache directory instead of used directly at their location. "
  5134. "This is useful for people using removable media to copy files around with "
  5135. "APT."
  5136. msgstr ""
  5137. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5138. #: sources.list.5.xml:1
  5139. msgid ""
  5140. "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
  5141. "the files as a given user. Prior configuration of rhosts or RSA keys is "
  5142. "recommended. The standard <command>find</command> and <command>dd</command> "
  5143. "commands are used to perform the file transfers from the remote host."
  5144. msgstr ""
  5145. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
  5146. #: sources.list.5.xml:1
  5147. msgid "adding more recognizable URI types"
  5148. msgstr ""
  5149. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5150. #: sources.list.5.xml:1
  5151. msgid ""
  5152. "APT can be extended with more methods shipped in other optional packages, "
  5153. "which should follow the naming scheme "
  5154. "<package>apt-transport-<replaceable>method</replaceable></package>. For "
  5155. "instance, the APT team also maintains the package "
  5156. "<package>apt-transport-https</package>, which provides access methods for "
  5157. "HTTPS URIs with features similar to the http method. Methods for using "
  5158. "e.g. debtorrent are also available - see &apt-transport-debtorrent;."
  5159. msgstr ""
  5160. #. type: Content of: <refentry><refsect1><para>
  5161. #: sources.list.5.xml:1
  5162. msgid ""
  5163. "Uses the archive stored locally (or NFS mounted) at /home/apt/debian for "
  5164. "stable/main, stable/contrib, and stable/non-free."
  5165. msgstr ""
  5166. #. type: Content of: <refentry><refsect1><literallayout>
  5167. #: sources.list.5.xml:1
  5168. #, no-wrap
  5169. msgid "deb file:/home/apt/debian stable main contrib non-free"
  5170. msgstr ""
  5171. #. type: Content of: <refentry><refsect1><literallayout>
  5172. #: sources.list.5.xml:1
  5173. #, no-wrap
  5174. msgid ""
  5175. "Types: deb\n"
  5176. "URIs: file:/home/apt/debian\n"
  5177. "Suites: stable\n"
  5178. "Components: main contrib non-free"
  5179. msgstr ""
  5180. #. type: Content of: <refentry><refsect1><para>
  5181. #: sources.list.5.xml:1
  5182. msgid "As above, except this uses the unstable (development) distribution."
  5183. msgstr ""
  5184. #. type: Content of: <refentry><refsect1><literallayout>
  5185. #: sources.list.5.xml:1
  5186. #, no-wrap
  5187. msgid "deb file:/home/apt/debian unstable main contrib non-free"
  5188. msgstr ""
  5189. #. type: Content of: <refentry><refsect1><literallayout>
  5190. #: sources.list.5.xml:1
  5191. #, no-wrap
  5192. msgid ""
  5193. "Types: deb\n"
  5194. "URIs: file:/home/apt/debian\n"
  5195. "Suites: unstable\n"
  5196. "Components: main contrib non-free"
  5197. msgstr ""
  5198. #. type: Content of: <refentry><refsect1><para>
  5199. #: sources.list.5.xml:1
  5200. msgid "Sources specification for the above."
  5201. msgstr ""
  5202. #. type: Content of: <refentry><refsect1><literallayout>
  5203. #: sources.list.5.xml:1
  5204. #, no-wrap
  5205. msgid "deb-src file:/home/apt/debian unstable main contrib non-free"
  5206. msgstr ""
  5207. #. type: Content of: <refentry><refsect1><literallayout>
  5208. #: sources.list.5.xml:1
  5209. #, no-wrap
  5210. msgid ""
  5211. "Types: deb-src\n"
  5212. "URIs: file:/home/apt/debian\n"
  5213. "Suites: unstable\n"
  5214. "Components: main contrib non-free"
  5215. msgstr ""
  5216. #. type: Content of: <refentry><refsect1><para>
  5217. #: sources.list.5.xml:1
  5218. msgid ""
  5219. "The first line gets package information for the architectures in "
  5220. "<literal>APT::Architectures</literal> while the second always retrieves "
  5221. "<literal>amd64</literal> and <literal>armel</literal>."
  5222. msgstr ""
  5223. #. type: Content of: <refentry><refsect1><literallayout>
  5224. #: sources.list.5.xml:1
  5225. #, no-wrap
  5226. msgid ""
  5227. "deb http://deb.debian.org/debian &debian-stable-codename; main\n"
  5228. "deb [ arch=amd64,armel ] http://deb.debian.org/debian "
  5229. "&debian-stable-codename; main"
  5230. msgstr ""
  5231. #. type: Content of: <refentry><refsect1><literallayout>
  5232. #: sources.list.5.xml:1
  5233. #, no-wrap
  5234. msgid ""
  5235. "Types: deb\n"
  5236. "URIs: http://deb.debian.org/debian\n"
  5237. "Suites: &debian-stable-codename;\n"
  5238. "Components: main\n"
  5239. "\n"
  5240. "Types: deb\n"
  5241. "URIs: http://deb.debian.org/debian\n"
  5242. "Suites: &debian-stable-codename;\n"
  5243. "Components: main\n"
  5244. "Architectures: amd64 armel\n"
  5245. msgstr ""
  5246. #. type: Content of: <refentry><refsect1><para>
  5247. #: sources.list.5.xml:1
  5248. msgid ""
  5249. "Uses HTTP to access the archive at archive.debian.org, and uses only the "
  5250. "hamm/main area."
  5251. msgstr ""
  5252. #. type: Content of: <refentry><refsect1><literallayout>
  5253. #: sources.list.5.xml:1
  5254. #, no-wrap
  5255. msgid "deb http://archive.debian.org/debian-archive hamm main"
  5256. msgstr ""
  5257. #. type: Content of: <refentry><refsect1><literallayout>
  5258. #: sources.list.5.xml:1
  5259. #, no-wrap
  5260. msgid ""
  5261. "Types: deb\n"
  5262. "URIs: http://archive.debian.org/debian-archive\n"
  5263. "Suites: hamm\n"
  5264. "Components: main"
  5265. msgstr ""
  5266. #. type: Content of: <refentry><refsect1><para>
  5267. #: sources.list.5.xml:1
  5268. msgid ""
  5269. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  5270. "directory, and uses only the &debian-stable-codename;/contrib area."
  5271. msgstr ""
  5272. #. type: Content of: <refentry><refsect1><literallayout>
  5273. #: sources.list.5.xml:1
  5274. #, no-wrap
  5275. msgid "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib"
  5276. msgstr ""
  5277. #. type: Content of: <refentry><refsect1><literallayout>
  5278. #: sources.list.5.xml:1
  5279. #, no-wrap
  5280. msgid ""
  5281. "Types: deb\n"
  5282. "URIs: ftp://ftp.debian.org/debian\n"
  5283. "Suites: &debian-stable-codename;\n"
  5284. "Components: contrib"
  5285. msgstr ""
  5286. #. type: Content of: <refentry><refsect1><para>
  5287. #: sources.list.5.xml:1
  5288. msgid ""
  5289. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  5290. "directory, and uses only the unstable/contrib area. If this line appears as "
  5291. "well as the one in the previous example in <filename>sources.list</filename> "
  5292. "a single FTP session will be used for both resource lines."
  5293. msgstr ""
  5294. #. type: Content of: <refentry><refsect1><literallayout>
  5295. #: sources.list.5.xml:1
  5296. #, no-wrap
  5297. msgid "deb ftp://ftp.debian.org/debian unstable contrib"
  5298. msgstr ""
  5299. #. type: Content of: <refentry><refsect1><literallayout>
  5300. #: sources.list.5.xml:1
  5301. #, no-wrap
  5302. msgid ""
  5303. "Types: deb\n"
  5304. "URIs: ftp://ftp.debian.org/debian\n"
  5305. "Suites: unstable\n"
  5306. "Components: contrib"
  5307. msgstr ""
  5308. #. type: Content of: <refentry><refsect1><para><literallayout>
  5309. #: sources.list.5.xml:1
  5310. #, no-wrap
  5311. msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
  5312. msgstr ""
  5313. #. type: Content of: <refentry><refsect1><para><literallayout>
  5314. #: sources.list.5.xml:1
  5315. #, no-wrap
  5316. msgid ""
  5317. "Types: deb\n"
  5318. "URIs: http://ftp.tlh.debian.org/universe\n"
  5319. "Suites: unstable/binary-$(ARCH)/"
  5320. msgstr ""
  5321. #. type: Content of: <refentry><refsect1><para>
  5322. #: sources.list.5.xml:1
  5323. msgid ""
  5324. "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
  5325. "directory, and uses only files found under "
  5326. "<filename>unstable/binary-i386</filename> on i386 machines, "
  5327. "<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
  5328. "supported architectures. [Note this example only illustrates how to use the "
  5329. "substitution variable; official debian archives are not structured like "
  5330. "this] <placeholder type=\"literallayout\" id=\"0\"/> <placeholder "
  5331. "type=\"literallayout\" id=\"1\"/>"
  5332. msgstr ""
  5333. #. type: Content of: <refentry><refsect1><para>
  5334. #: sources.list.5.xml:1
  5335. msgid ""
  5336. "Uses HTTP to get binary packages as well as sources from the stable, testing "
  5337. "and unstable suites and the components main and contrib."
  5338. msgstr ""
  5339. #. type: Content of: <refentry><refsect1><literallayout>
  5340. #: sources.list.5.xml:1
  5341. #, no-wrap
  5342. msgid ""
  5343. "deb http://deb.debian.org/debian stable main contrib\n"
  5344. "deb-src http://deb.debian.org/debian stable main contrib\n"
  5345. "deb http://deb.debian.org/debian testing main contrib\n"
  5346. "deb-src http://deb.debian.org/debian testing main contrib\n"
  5347. "deb http://deb.debian.org/debian unstable main contrib\n"
  5348. "deb-src http://deb.debian.org/debian unstable main contrib"
  5349. msgstr ""
  5350. #. type: Content of: <refentry><refsect1><literallayout>
  5351. #: sources.list.5.xml:1
  5352. #, no-wrap
  5353. msgid ""
  5354. "Types: deb deb-src\n"
  5355. "URIs: http://deb.debian.org/debian\n"
  5356. "Suites: stable testing unstable\n"
  5357. "Components: main contrib\n"
  5358. msgstr ""
  5359. #. type: Content of: <refentry><refsect1><para>
  5360. #: sources.list.5.xml:1
  5361. msgid "&apt-get;, &apt-conf;, &apt-acquire-additional-files;"
  5362. msgstr ""
  5363. #. type: Content of: <refentry><refmeta><manvolnum>
  5364. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  5365. msgid "1"
  5366. msgstr ""
  5367. #. type: Content of: <refentry><refnamediv><refpurpose>
  5368. #: apt-extracttemplates.1.xml:1
  5369. msgid ""
  5370. "Utility to extract <command>debconf</command> config and templates from "
  5371. "Debian packages"
  5372. msgstr ""
  5373. #. type: Content of: <refentry><refsect1><para>
  5374. #: apt-extracttemplates.1.xml:1
  5375. msgid ""
  5376. "<command>apt-extracttemplates</command> will take one or more Debian package "
  5377. "files as input and write out (to a temporary directory) all associated "
  5378. "config scripts and template files. For each passed in package that contains "
  5379. "config scripts and templates, one line of output will be generated in the "
  5380. "format:"
  5381. msgstr ""
  5382. #. type: Content of: <refentry><refsect1><para>
  5383. #: apt-extracttemplates.1.xml:1
  5384. msgid "package version template-file config-script"
  5385. msgstr ""
  5386. #. type: Content of: <refentry><refsect1><para>
  5387. #: apt-extracttemplates.1.xml:1
  5388. msgid ""
  5389. "template-file and config-script are written to the temporary directory "
  5390. "specified by the <option>-t</option> or <option>--tempdir</option> "
  5391. "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
  5392. "filenames of the form <filename>package.template.XXXXXX</filename> and "
  5393. "<filename>package.config.XXXXXX</filename>"
  5394. msgstr ""
  5395. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5396. #: apt-extracttemplates.1.xml:1
  5397. msgid ""
  5398. "Temporary directory in which to write extracted <command>debconf</command> "
  5399. "template files and config scripts. Configuration Item: "
  5400. "<literal>APT::ExtractTemplates::TempDir</literal>"
  5401. msgstr ""
  5402. #. type: Content of: <refentry><refsect1><para>
  5403. #: apt-extracttemplates.1.xml:1
  5404. msgid ""
  5405. "<command>apt-extracttemplates</command> returns zero on normal operation, "
  5406. "decimal 100 on error."
  5407. msgstr ""
  5408. #. type: Content of: <refentry><refnamediv><refpurpose>
  5409. #: apt-sortpkgs.1.xml:1
  5410. msgid "Utility to sort package index files"
  5411. msgstr ""
  5412. #. type: Content of: <refentry><refsect1><para>
  5413. #: apt-sortpkgs.1.xml:1
  5414. msgid ""
  5415. "<command>apt-sortpkgs</command> will take an index file (source index or "
  5416. "package index) and sort the records so that they are ordered by the package "
  5417. "name. It will also sort the internal fields of each record according to the "
  5418. "internal sorting rules."
  5419. msgstr ""
  5420. #. type: Content of: <refentry><refsect1><para>
  5421. #: apt-sortpkgs.1.xml:1
  5422. msgid "All output is sent to standard output; the input must be a seekable file."
  5423. msgstr ""
  5424. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5425. #: apt-sortpkgs.1.xml:1
  5426. msgid ""
  5427. "Use source index field ordering. Configuration Item: "
  5428. "<literal>APT::SortPkgs::Source</literal>."
  5429. msgstr ""
  5430. #. type: Content of: <refentry><refsect1><para>
  5431. #: apt-sortpkgs.1.xml:1
  5432. msgid ""
  5433. "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
  5434. "100 on error."
  5435. msgstr ""
  5436. #. type: Content of: <refentry><refnamediv><refpurpose>
  5437. #: apt-ftparchive.1.xml:1
  5438. msgid "Utility to generate index files"
  5439. msgstr ""
  5440. #. type: Content of: <refentry><refsect1><para>
  5441. #: apt-ftparchive.1.xml:1
  5442. msgid ""
  5443. "<command>apt-ftparchive</command> is the command line tool that generates "
  5444. "the index files that APT uses to access a distribution source. The index "
  5445. "files should be generated on the origin site based on the content of that "
  5446. "site."
  5447. msgstr ""
  5448. #. type: Content of: <refentry><refsect1><para>
  5449. #: apt-ftparchive.1.xml:1
  5450. msgid ""
  5451. "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
  5452. "program, incorporating its entire functionality via the "
  5453. "<literal>packages</literal> command. It also contains a contents file "
  5454. "generator, <literal>contents</literal>, and an elaborate means to 'script' "
  5455. "the generation process for a complete archive."
  5456. msgstr ""
  5457. #. type: Content of: <refentry><refsect1><para>
  5458. #: apt-ftparchive.1.xml:1
  5459. msgid ""
  5460. "Internally <command>apt-ftparchive</command> can make use of binary "
  5461. "databases to cache the contents of a .deb file and it does not rely on any "
  5462. "external programs aside from &gzip;. When doing a full generate it "
  5463. "automatically performs file-change checks and builds the desired compressed "
  5464. "output files."
  5465. msgstr ""
  5466. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5467. #: apt-ftparchive.1.xml:1
  5468. msgid ""
  5469. "The packages command generates a package file from a directory tree. It "
  5470. "takes the given directory and recursively searches it for .deb files, "
  5471. "emitting a package record to stdout for each. This command is approximately "
  5472. "equivalent to &dpkg-scanpackages;."
  5473. msgstr ""
  5474. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5475. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5476. msgid "The option <option>--db</option> can be used to specify a binary caching DB."
  5477. msgstr ""
  5478. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5479. #: apt-ftparchive.1.xml:1
  5480. msgid ""
  5481. "The <literal>sources</literal> command generates a source index file from a "
  5482. "directory tree. It takes the given directory and recursively searches it "
  5483. "for .dsc files, emitting a source record to stdout for each. This command is "
  5484. "approximately equivalent to &dpkg-scansources;."
  5485. msgstr ""
  5486. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5487. #: apt-ftparchive.1.xml:1
  5488. msgid ""
  5489. "If an override file is specified then a source override file will be looked "
  5490. "for with an extension of .src. The --source-override option can be used to "
  5491. "change the source override file that will be used."
  5492. msgstr ""
  5493. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5494. #: apt-ftparchive.1.xml:1
  5495. msgid ""
  5496. "The <literal>contents</literal> command generates a contents file from a "
  5497. "directory tree. It takes the given directory and recursively searches it for "
  5498. ".deb files, and reads the file list from each file. It then sorts and writes "
  5499. "to stdout the list of files matched to packages. Directories are not written "
  5500. "to the output. If multiple packages own the same file then each package is "
  5501. "separated by a comma in the output."
  5502. msgstr ""
  5503. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5504. #: apt-ftparchive.1.xml:1
  5505. msgid ""
  5506. "The <literal>release</literal> command generates a Release file from a "
  5507. "directory tree. It recursively searches the given directory for uncompressed "
  5508. "and compressed <filename>Packages</filename>, <filename>Sources</filename>, "
  5509. "<filename>Contents</filename>, <filename>Components</filename> and "
  5510. "<filename>icons</filename> files as well as <filename>Release</filename>, "
  5511. "<filename>Index</filename> and <filename>md5sum.txt</filename> files by "
  5512. "default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). "
  5513. "Additional filename patterns can be added by listing them in "
  5514. "<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
  5515. "stdout a <filename>Release</filename> file containing (by default) an MD5, "
  5516. "SHA1, SHA256 and SHA512 digest for each file."
  5517. msgstr ""
  5518. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5519. #: apt-ftparchive.1.xml:1
  5520. msgid ""
  5521. "Values for the additional metadata fields in the Release file are taken from "
  5522. "the corresponding variables under "
  5523. "<literal>APT::FTPArchive::Release</literal>, "
  5524. "e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
  5525. "fields are <literal>Origin</literal>, <literal>Label</literal>, "
  5526. "<literal>Suite</literal>, <literal>Version</literal>, "
  5527. "<literal>Codename</literal>, <literal>Date</literal>, "
  5528. "<literal>NotAutomatic</literal>, <literal>ButAutomaticUpgrades</literal>, "
  5529. "<literal>Acquire-By-Hash</literal>, <literal>Valid-Until</literal>, "
  5530. "<literal>Signed-By</literal>, <literal>Architectures</literal>, "
  5531. "<literal>Components</literal> and <literal>Description</literal>."
  5532. msgstr ""
  5533. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5534. #: apt-ftparchive.1.xml:1
  5535. msgid ""
  5536. "The <literal>generate</literal> command is designed to be runnable from a "
  5537. "cron script and builds indexes according to the given config file. The "
  5538. "config language provides a flexible means of specifying which index files "
  5539. "are built from which directories, as well as providing a simple means of "
  5540. "maintaining the required settings."
  5541. msgstr ""
  5542. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5543. #: apt-ftparchive.1.xml:1
  5544. msgid ""
  5545. "The <literal>clean</literal> command tidies the databases used by the given "
  5546. "configuration file by removing any records that are no longer necessary."
  5547. msgstr ""
  5548. #. type: Content of: <refentry><refsect1><title>
  5549. #: apt-ftparchive.1.xml:1
  5550. msgid "The Generate Configuration"
  5551. msgstr ""
  5552. #. type: Content of: <refentry><refsect1><para>
  5553. #: apt-ftparchive.1.xml:1
  5554. msgid ""
  5555. "The <literal>generate</literal> command uses a configuration file to "
  5556. "describe the archives that are going to be generated. It follows the typical "
  5557. "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
  5558. "&apt-conf; contains a description of the syntax. Note that the generate "
  5559. "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
  5560. "tree manner. This only effects how the scope tag is handled."
  5561. msgstr ""
  5562. #. type: Content of: <refentry><refsect1><para>
  5563. #: apt-ftparchive.1.xml:1
  5564. msgid "The generate configuration has four separate sections, each described below."
  5565. msgstr ""
  5566. #. type: Content of: <refentry><refsect1><refsect2><title>
  5567. #: apt-ftparchive.1.xml:1
  5568. msgid "<literal>Dir</literal> Section"
  5569. msgstr ""
  5570. #. type: Content of: <refentry><refsect1><refsect2><para>
  5571. #: apt-ftparchive.1.xml:1
  5572. msgid ""
  5573. "The <literal>Dir</literal> section defines the standard directories needed "
  5574. "to locate the files required during the generation process. These "
  5575. "directories are prepended certain relative paths defined in later sections "
  5576. "to produce a complete an absolute path."
  5577. msgstr ""
  5578. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5579. #: apt-ftparchive.1.xml:1
  5580. msgid ""
  5581. "Specifies the root of the FTP archive, in a standard Debian configuration "
  5582. "this is the directory that contains the <filename>ls-LR</filename> and dist "
  5583. "nodes."
  5584. msgstr ""
  5585. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5586. #: apt-ftparchive.1.xml:1
  5587. msgid "Specifies the location of the override files."
  5588. msgstr ""
  5589. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5590. #: apt-ftparchive.1.xml:1
  5591. msgid "Specifies the location of the cache files."
  5592. msgstr ""
  5593. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5594. #: apt-ftparchive.1.xml:1
  5595. msgid ""
  5596. "Specifies the location of the file list files, if the "
  5597. "<literal>FileList</literal> setting is used below."
  5598. msgstr ""
  5599. #. type: Content of: <refentry><refsect1><refsect2><title>
  5600. #: apt-ftparchive.1.xml:1
  5601. msgid "<literal>Default</literal> Section"
  5602. msgstr ""
  5603. #. type: Content of: <refentry><refsect1><refsect2><para>
  5604. #: apt-ftparchive.1.xml:1
  5605. msgid ""
  5606. "The <literal>Default</literal> section specifies default values, and "
  5607. "settings that control the operation of the generator. Other sections may "
  5608. "override these defaults with a per-section setting."
  5609. msgstr ""
  5610. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5611. #: apt-ftparchive.1.xml:1
  5612. msgid ""
  5613. "Sets the default compression schemes to use for the package index files. It "
  5614. "is a string that contains a space separated list of at least one of the "
  5615. "compressors configured via the <option>APT::Compressor</option> "
  5616. "configuration scope. The default for all compression schemes is '. gzip'."
  5617. msgstr ""
  5618. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5619. #: apt-ftparchive.1.xml:1
  5620. msgid ""
  5621. "Sets the default list of file extensions that are package files. This "
  5622. "defaults to '.deb'."
  5623. msgstr ""
  5624. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5625. #: apt-ftparchive.1.xml:1
  5626. msgid ""
  5627. "This is similar to <literal>Packages::Compress</literal> except that it "
  5628. "controls the compression for the Sources files."
  5629. msgstr ""
  5630. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5631. #: apt-ftparchive.1.xml:1
  5632. msgid ""
  5633. "Sets the default list of file extensions that are source files. This "
  5634. "defaults to '.dsc'."
  5635. msgstr ""
  5636. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5637. #: apt-ftparchive.1.xml:1
  5638. msgid ""
  5639. "This is similar to <literal>Packages::Compress</literal> except that it "
  5640. "controls the compression for the Contents files."
  5641. msgstr ""
  5642. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5643. #: apt-ftparchive.1.xml:1
  5644. msgid ""
  5645. "This is similar to <literal>Packages::Compress</literal> except that it "
  5646. "controls the compression for the Translation-en master file."
  5647. msgstr ""
  5648. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5649. #: apt-ftparchive.1.xml:1
  5650. msgid ""
  5651. "Specifies the number of kilobytes to delink (and replace with hard links) "
  5652. "per run. This is used in conjunction with the per-section "
  5653. "<literal>External-Links</literal> setting."
  5654. msgstr ""
  5655. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5656. #: apt-ftparchive.1.xml:1
  5657. msgid ""
  5658. "Specifies the mode of all created index files. It defaults to 0644. All "
  5659. "index files are set to this mode with no regard to the umask."
  5660. msgstr ""
  5661. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5662. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5663. msgid ""
  5664. "Specifies whether long descriptions should be included in the "
  5665. "<filename>Packages</filename> file or split out into a master "
  5666. "<filename>Translation-en</filename> file."
  5667. msgstr ""
  5668. #. type: Content of: <refentry><refsect1><refsect2><title>
  5669. #: apt-ftparchive.1.xml:1
  5670. msgid "<literal>TreeDefault</literal> Section"
  5671. msgstr ""
  5672. #. type: Content of: <refentry><refsect1><refsect2><para>
  5673. #: apt-ftparchive.1.xml:1
  5674. msgid ""
  5675. "Sets defaults specific to <literal>Tree</literal> sections. All of these "
  5676. "variables are substitution variables and have the strings $(DIST), "
  5677. "$(SECTION) and $(ARCH) replaced with their respective values."
  5678. msgstr ""
  5679. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5680. #: apt-ftparchive.1.xml:1
  5681. msgid ""
  5682. "Sets the number of kilobytes of contents files that are generated each "
  5683. "day. The contents files are round-robined so that over several days they "
  5684. "will all be rebuilt."
  5685. msgstr ""
  5686. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5687. #: apt-ftparchive.1.xml:1
  5688. msgid ""
  5689. "Controls the number of days a contents file is allowed to be checked without "
  5690. "changing. If this limit is passed the mtime of the contents file is "
  5691. "updated. This case can occur if the package file is changed in such a way "
  5692. "that does not result in a new contents file [override edit for instance]. A "
  5693. "hold off is allowed in hopes that new .debs will be installed, requiring a "
  5694. "new file anyhow. The default is 10, the units are in days."
  5695. msgstr ""
  5696. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5697. #: apt-ftparchive.1.xml:1
  5698. msgid ""
  5699. "Sets the top of the .deb directory tree. Defaults to "
  5700. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
  5701. msgstr ""
  5702. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5703. #: apt-ftparchive.1.xml:1
  5704. msgid ""
  5705. "Sets the top of the source package directory tree. Defaults to "
  5706. "<filename>$(DIST)/$(SECTION)/source/</filename>"
  5707. msgstr ""
  5708. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5709. #: apt-ftparchive.1.xml:1
  5710. msgid ""
  5711. "Sets the output Packages file. Defaults to "
  5712. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
  5713. msgstr ""
  5714. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5715. #: apt-ftparchive.1.xml:1
  5716. msgid ""
  5717. "Sets the output Sources file. Defaults to "
  5718. "<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
  5719. msgstr ""
  5720. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5721. #: apt-ftparchive.1.xml:1
  5722. msgid ""
  5723. "Sets the output Translation-en master file with the long descriptions if "
  5724. "they should be not included in the Packages file. Defaults to "
  5725. "<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
  5726. msgstr ""
  5727. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5728. #: apt-ftparchive.1.xml:1
  5729. msgid ""
  5730. "Sets the path prefix that causes a symlink to be considered an internal link "
  5731. "instead of an external link. Defaults to "
  5732. "<filename>$(DIST)/$(SECTION)/</filename>"
  5733. msgstr ""
  5734. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5735. #: apt-ftparchive.1.xml:1
  5736. msgid ""
  5737. "Sets the output Contents file. Defaults to "
  5738. "<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting "
  5739. "causes multiple Packages files to map onto a single Contents file (as is the "
  5740. "default) then <command>apt-ftparchive</command> will integrate those "
  5741. "package files together automatically."
  5742. msgstr ""
  5743. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5744. #: apt-ftparchive.1.xml:1
  5745. msgid "Sets header file to prepend to the contents output."
  5746. msgstr ""
  5747. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5748. #: apt-ftparchive.1.xml:1
  5749. msgid ""
  5750. "Sets the binary cache database to use for this section. Multiple sections "
  5751. "can share the same database."
  5752. msgstr ""
  5753. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5754. #: apt-ftparchive.1.xml:1
  5755. msgid ""
  5756. "Specifies that instead of walking the directory tree, "
  5757. "<command>apt-ftparchive</command> should read the list of files from the "
  5758. "given file. Relative files names are prefixed with the archive directory."
  5759. msgstr ""
  5760. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5761. #: apt-ftparchive.1.xml:1
  5762. msgid ""
  5763. "Specifies that instead of walking the directory tree, "
  5764. "<command>apt-ftparchive</command> should read the list of files from the "
  5765. "given file. Relative files names are prefixed with the archive directory. "
  5766. "This is used when processing source indexes."
  5767. msgstr ""
  5768. #. type: Content of: <refentry><refsect1><refsect2><title>
  5769. #: apt-ftparchive.1.xml:1
  5770. msgid "<literal>Tree</literal> Section"
  5771. msgstr ""
  5772. #. type: Content of: <refentry><refsect1><refsect2><para>
  5773. #: apt-ftparchive.1.xml:1
  5774. msgid ""
  5775. "The <literal>Tree</literal> section defines a standard Debian file tree "
  5776. "which consists of a base directory, then multiple sections in that base "
  5777. "directory and finally multiple Architectures in each section. The exact "
  5778. "pathing used is defined by the <literal>Directory</literal> substitution "
  5779. "variable."
  5780. msgstr ""
  5781. #. type: Content of: <refentry><refsect1><refsect2><para>
  5782. #: apt-ftparchive.1.xml:1
  5783. msgid ""
  5784. "The <literal>Tree</literal> section takes a scope tag which sets the "
  5785. "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
  5786. "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
  5787. "setting such as <filename>dists/&debian-stable-codename;</filename>."
  5788. msgstr ""
  5789. #. type: Content of: <refentry><refsect1><refsect2><para>
  5790. #: apt-ftparchive.1.xml:1
  5791. msgid ""
  5792. "All of the settings defined in the <literal>TreeDefault</literal> section "
  5793. "can be used in a <literal>Tree</literal> section as well as three new "
  5794. "variables."
  5795. msgstr ""
  5796. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  5797. #: apt-ftparchive.1.xml:1
  5798. #, no-wrap
  5799. msgid ""
  5800. "for i in Sections do \n"
  5801. " for j in Architectures do\n"
  5802. " Generate for DIST=scope SECTION=i ARCH=j\n"
  5803. " "
  5804. msgstr ""
  5805. #. type: Content of: <refentry><refsect1><refsect2><para>
  5806. #: apt-ftparchive.1.xml:1
  5807. msgid ""
  5808. "When processing a <literal>Tree</literal> section "
  5809. "<command>apt-ftparchive</command> performs an operation similar to: "
  5810. "<placeholder type=\"programlisting\" id=\"0\"/>"
  5811. msgstr ""
  5812. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5813. #: apt-ftparchive.1.xml:1
  5814. msgid ""
  5815. "This is a space separated list of sections which appear under the "
  5816. "distribution; typically this is something like <literal>main contrib "
  5817. "non-free</literal>"
  5818. msgstr ""
  5819. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5820. #: apt-ftparchive.1.xml:1
  5821. msgid ""
  5822. "This is a space separated list of all the architectures that appear under "
  5823. "search section. The special architecture 'source' is used to indicate that "
  5824. "this tree has a source archive. The architecture 'all' signals that "
  5825. "architecture specific files like <filename>Packages</filename> should not "
  5826. "include information about architecture <literal>all</literal> packages in "
  5827. "all files as they will be available in a dedicated file."
  5828. msgstr ""
  5829. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5830. #: apt-ftparchive.1.xml:1
  5831. msgid ""
  5832. "Sets the binary override file. The override file contains section, priority "
  5833. "and maintainer address information."
  5834. msgstr ""
  5835. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5836. #: apt-ftparchive.1.xml:1
  5837. msgid ""
  5838. "Sets the source override file. The override file contains section "
  5839. "information."
  5840. msgstr ""
  5841. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5842. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5843. msgid "Sets the binary extra override file."
  5844. msgstr ""
  5845. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5846. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5847. msgid "Sets the source extra override file."
  5848. msgstr ""
  5849. #. type: Content of: <refentry><refsect1><refsect2><title>
  5850. #: apt-ftparchive.1.xml:1
  5851. msgid "<literal>BinDirectory</literal> Section"
  5852. msgstr ""
  5853. #. type: Content of: <refentry><refsect1><refsect2><para>
  5854. #: apt-ftparchive.1.xml:1
  5855. msgid ""
  5856. "The <literal>bindirectory</literal> section defines a binary directory tree "
  5857. "with no special structure. The scope tag specifies the location of the "
  5858. "binary directory and the settings are similar to the <literal>Tree</literal> "
  5859. "section with no substitution variables or "
  5860. "<literal>Section</literal><literal>Architecture</literal> settings."
  5861. msgstr ""
  5862. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5863. #: apt-ftparchive.1.xml:1
  5864. msgid "Sets the Packages file output."
  5865. msgstr ""
  5866. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5867. #: apt-ftparchive.1.xml:1
  5868. msgid ""
  5869. "Sets the Sources file output. At least one of <literal>Packages</literal> or "
  5870. "<literal>Sources</literal> is required."
  5871. msgstr ""
  5872. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5873. #: apt-ftparchive.1.xml:1
  5874. msgid "Sets the Contents file output (optional)."
  5875. msgstr ""
  5876. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5877. #: apt-ftparchive.1.xml:1
  5878. msgid "Sets the binary override file."
  5879. msgstr ""
  5880. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5881. #: apt-ftparchive.1.xml:1
  5882. msgid "Sets the source override file."
  5883. msgstr ""
  5884. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5885. #: apt-ftparchive.1.xml:1
  5886. msgid "Sets the cache DB."
  5887. msgstr ""
  5888. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5889. #: apt-ftparchive.1.xml:1
  5890. msgid "Appends a path to all the output paths."
  5891. msgstr ""
  5892. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5893. #: apt-ftparchive.1.xml:1
  5894. msgid "Specifies the file list file."
  5895. msgstr ""
  5896. #. type: Content of: <refentry><refsect1><title>
  5897. #: apt-ftparchive.1.xml:1
  5898. msgid "The Binary Override File"
  5899. msgstr ""
  5900. #. type: Content of: <refentry><refsect1><para>
  5901. #: apt-ftparchive.1.xml:1
  5902. msgid ""
  5903. "The binary override file is fully compatible with &dpkg-scanpackages;. It "
  5904. "contains four fields separated by spaces. The first field is the package "
  5905. "name, the second is the priority to force that package to, the third is the "
  5906. "section to force that package to and the final field is the maintainer "
  5907. "permutation field."
  5908. msgstr ""
  5909. #. type: Content of: <refentry><refsect1><para><literallayout>
  5910. #: apt-ftparchive.1.xml:1
  5911. #, no-wrap
  5912. msgid "old [// oldn]* => new"
  5913. msgstr ""
  5914. #. type: Content of: <refentry><refsect1><para><literallayout>
  5915. #: apt-ftparchive.1.xml:1
  5916. #, no-wrap
  5917. msgid "new"
  5918. msgstr ""
  5919. #. type: Content of: <refentry><refsect1><para>
  5920. #: apt-ftparchive.1.xml:1
  5921. msgid ""
  5922. "The general form of the maintainer field is: <placeholder "
  5923. "type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
  5924. "type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
  5925. "separated list of old email addresses to be specified. If any of those are "
  5926. "found then new is substituted for the maintainer field. The second form "
  5927. "unconditionally substitutes the maintainer field."
  5928. msgstr ""
  5929. #. type: Content of: <refentry><refsect1><title>
  5930. #: apt-ftparchive.1.xml:1
  5931. msgid "The Source Override File"
  5932. msgstr ""
  5933. #. type: Content of: <refentry><refsect1><para>
  5934. #: apt-ftparchive.1.xml:1
  5935. msgid ""
  5936. "The source override file is fully compatible with &dpkg-scansources;. It "
  5937. "contains two fields separated by spaces. The first field is the source "
  5938. "package name, the second is the section to assign it."
  5939. msgstr ""
  5940. #. type: Content of: <refentry><refsect1><title>
  5941. #: apt-ftparchive.1.xml:1
  5942. msgid "The Extra Override File"
  5943. msgstr ""
  5944. #. type: Content of: <refentry><refsect1><para>
  5945. #: apt-ftparchive.1.xml:1
  5946. msgid ""
  5947. "The extra override file allows any arbitrary tag to be added or replaced in "
  5948. "the output. It has three columns, the first is the package, the second is "
  5949. "the tag and the remainder of the line is the new value."
  5950. msgstr ""
  5951. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5952. #: apt-ftparchive.1.xml:1
  5953. msgid ""
  5954. "Generate the given checksum. These options default to on, when turned off "
  5955. "the generated index files will not have the checksum fields where possible. "
  5956. "Configuration Items: "
  5957. "<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
  5958. "<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
  5959. "where <literal><replaceable>Index</replaceable></literal> can be "
  5960. "<literal>Packages</literal>, <literal>Sources</literal> or "
  5961. "<literal>Release</literal> and "
  5962. "<literal><replaceable>Checksum</replaceable></literal> can be "
  5963. "<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> "
  5964. "or <literal>SHA512</literal>."
  5965. msgstr ""
  5966. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5967. #: apt-ftparchive.1.xml:1
  5968. msgid ""
  5969. "Use a binary caching DB. This has no effect on the generate command. "
  5970. "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
  5971. msgstr ""
  5972. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5973. #: apt-ftparchive.1.xml:1
  5974. msgid ""
  5975. "Quiet; produces output suitable for logging, omitting progress indicators. "
  5976. "More q's will produce more quiet up to a maximum of 2. You can also use "
  5977. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  5978. "file. Configuration Item: <literal>quiet</literal>."
  5979. msgstr ""
  5980. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5981. #: apt-ftparchive.1.xml:1
  5982. msgid ""
  5983. "Perform Delinking. If the <literal>External-Links</literal> setting is used "
  5984. "then this option actually enables delinking of the files. It defaults to on "
  5985. "and can be turned off with <option>--no-delink</option>. Configuration "
  5986. "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
  5987. msgstr ""
  5988. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5989. #: apt-ftparchive.1.xml:1
  5990. msgid ""
  5991. "Perform contents generation. When this option is set and package indexes are "
  5992. "being generated with a cache DB then the file listing will also be extracted "
  5993. "and stored in the DB for later use. When using the generate command this "
  5994. "option also allows the creation of any Contents files. The default is on. "
  5995. "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
  5996. msgstr ""
  5997. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5998. #: apt-ftparchive.1.xml:1
  5999. msgid ""
  6000. "Select the source override file to use with the <literal>sources</literal> "
  6001. "command. Configuration Item: "
  6002. "<literal>APT::FTPArchive::SourceOverride</literal>."
  6003. msgstr ""
  6004. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  6005. #: apt-ftparchive.1.xml:1
  6006. msgid ""
  6007. "Make the caching databases read only. Configuration Item: "
  6008. "<literal>APT::FTPArchive::ReadOnlyDB</literal>."
  6009. msgstr ""
  6010. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  6011. #: apt-ftparchive.1.xml:1
  6012. msgid ""
  6013. "Accept in the <literal>packages</literal> and <literal>contents</literal> "
  6014. "commands only package files matching <literal>*_arch.deb</literal> or "
  6015. "<literal>*_all.deb</literal> instead of all package files in the given "
  6016. "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
  6017. msgstr ""
  6018. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  6019. #: apt-ftparchive.1.xml:1
  6020. msgid ""
  6021. "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
  6022. "packages are recompiled and/or republished with the same version again, this "
  6023. "will lead to problems as the now outdated cached metadata like size and "
  6024. "checksums will be used. With this option enabled this will no longer happen "
  6025. "as it will be checked if the file was changed. Note that this option is set "
  6026. "to \"<literal>false</literal>\" by default as it is not recommend to upload "
  6027. "multiply versions/builds of a package with the same versionnumber, so in "
  6028. "theory nobody will have these problems and therefore all these extra checks "
  6029. "are useless."
  6030. msgstr ""
  6031. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  6032. #: apt-ftparchive.1.xml:1
  6033. msgid ""
  6034. "This configuration option defaults to \"<literal>true</literal>\" and should "
  6035. "only be set to <literal>\"false\"</literal> if the Archive generated with "
  6036. "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
  6037. "that the <filename>Translation-en</filename> master file can only be created "
  6038. "in the generate command."
  6039. msgstr ""
  6040. #. type: Content of: <refentry><refsect1><para><programlisting>
  6041. #: apt-ftparchive.1.xml:1
  6042. #, no-wrap
  6043. msgid ""
  6044. "<command>apt-ftparchive</command> packages "
  6045. "<replaceable>directory</replaceable> | <command>gzip</command> > "
  6046. "<filename>Packages.gz</filename>\n"
  6047. msgstr ""
  6048. #. type: Content of: <refentry><refsect1><para>
  6049. #: apt-ftparchive.1.xml:1
  6050. msgid ""
  6051. "To create a compressed Packages file for a directory containing binary "
  6052. "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
  6053. msgstr ""
  6054. #. type: Content of: <refentry><refsect1><para>
  6055. #: apt-ftparchive.1.xml:1
  6056. msgid ""
  6057. "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
  6058. "100 on error."
  6059. msgstr ""
  6060. #. type: Attribute 'lang' of: <book>
  6061. #: guide.dbk:1 offline.dbk:1
  6062. msgid "en"
  6063. msgstr ""
  6064. #. type: Content of: <book><title>
  6065. #: guide.dbk:1
  6066. msgid "APT User's Guide"
  6067. msgstr ""
  6068. #. type: Content of: <book><bookinfo><authorgroup><author><personname>
  6069. #: guide.dbk:1 offline.dbk:1
  6070. msgid "Jason Gunthorpe"
  6071. msgstr ""
  6072. #. type: Content of: <book><bookinfo><authorgroup><author><email>
  6073. #: guide.dbk:1 offline.dbk:1
  6074. msgid "jgg@debian.org"
  6075. msgstr ""
  6076. #. type: Content of: <book><bookinfo><releaseinfo>
  6077. #: guide.dbk:1 offline.dbk:1
  6078. msgid "Version &apt-product-version;"
  6079. msgstr ""
  6080. #. type: Content of: <book><bookinfo><abstract><para>
  6081. #: guide.dbk:1
  6082. msgid "This document provides an overview of how to use the APT package manager."
  6083. msgstr ""
  6084. #. type: Content of: <book><bookinfo>
  6085. #: guide.dbk:1
  6086. msgid "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
  6087. msgstr ""
  6088. #. type: Content of: <book><bookinfo><legalnotice><title>
  6089. #: guide.dbk:1 offline.dbk:1
  6090. msgid "License Notice"
  6091. msgstr ""
  6092. #. type: Content of: <book><bookinfo><legalnotice><para>
  6093. #: guide.dbk:1 offline.dbk:1
  6094. msgid ""
  6095. "\"APT\" and this document are free software; you can redistribute them "
  6096. "and/or modify them under the terms of the GNU General Public License as "
  6097. "published by the Free Software Foundation; either version 2 of the License, "
  6098. "or (at your option) any later version."
  6099. msgstr ""
  6100. #. type: Content of: <book><bookinfo><legalnotice><para>
  6101. #: guide.dbk:1 offline.dbk:1
  6102. msgid ""
  6103. "For more details, on Debian systems, see the file "
  6104. "/usr/share/common-licenses/GPL for the full license."
  6105. msgstr ""
  6106. #. type: Content of: <book><chapter><title>
  6107. #: guide.dbk:1
  6108. msgid "General"
  6109. msgstr ""
  6110. #. type: Content of: <book><chapter><para>
  6111. #: guide.dbk:1
  6112. msgid ""
  6113. "The APT package currently contains two sections, the APT "
  6114. "<command>dselect</command> method and the <command>apt-get</command> command "
  6115. "line user interface. Both provide a way to install and remove packages as "
  6116. "well as download new packages from the Internet."
  6117. msgstr ""
  6118. #. type: Content of: <book><chapter><section><title>
  6119. #: guide.dbk:1
  6120. msgid "Anatomy of the Package System"
  6121. msgstr ""
  6122. #. type: Content of: <book><chapter><section><para>
  6123. #: guide.dbk:1
  6124. msgid ""
  6125. "The Debian packaging system has a large amount of information associated "
  6126. "with each package to help assure that it integrates cleanly and easily into "
  6127. "the system. The most prominent of its features is the dependency system."
  6128. msgstr ""
  6129. #. type: Content of: <book><chapter><section><para>
  6130. #: guide.dbk:1
  6131. msgid ""
  6132. "The dependency system allows individual programs to make use of shared "
  6133. "elements in the system such as libraries. It simplifies placing infrequently "
  6134. "used portions of a program in separate packages to reduce the number of "
  6135. "things the average user is required to install. Also, it allows for choices "
  6136. "in mail transport agents, X servers and so on."
  6137. msgstr ""
  6138. #. type: Content of: <book><chapter><section><para>
  6139. #: guide.dbk:1
  6140. msgid ""
  6141. "The first step to understanding the dependency system is to grasp the "
  6142. "concept of a simple dependency. The meaning of a simple dependency is that a "
  6143. "package requires another package to be installed at the same time to work "
  6144. "properly."
  6145. msgstr ""
  6146. #. type: Content of: <book><chapter><section><para>
  6147. #: guide.dbk:1
  6148. msgid ""
  6149. "For instance, mailcrypt is an emacs extension that aids in encrypting email "
  6150. "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
  6151. "simple dependency on GPG. Also, because it is an emacs extension it has a "
  6152. "simple dependency on emacs, without emacs it is completely useless."
  6153. msgstr ""
  6154. #. type: Content of: <book><chapter><section><para>
  6155. #: guide.dbk:1
  6156. msgid ""
  6157. "The other important dependency to understand is a conflicting dependency. It "
  6158. "means that a package, when installed with another package, will not work and "
  6159. "may possibly be extremely harmful to the system. As an example consider a "
  6160. "mail transport agent such as sendmail, exim or qmail. It is not possible to "
  6161. "have two mail transport agents installed because both need to listen to the "
  6162. "network to receive mail. Attempting to install two will seriously damage the "
  6163. "system so all mail transport agents have a conflicting dependency with all "
  6164. "other mail transport agents."
  6165. msgstr ""
  6166. #. type: Content of: <book><chapter><section><para>
  6167. #: guide.dbk:1
  6168. msgid ""
  6169. "As an added complication there is the possibility for a package to pretend "
  6170. "to be another package. Consider that exim and sendmail for many intents are "
  6171. "identical, they both deliver mail and understand a common interface. Hence, "
  6172. <