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.
 
 
 
 
 
 

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