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.
 
 
 
 
 
 

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