]>
Commit | Line | Data |
---|---|---|
12f7536a | 1 | # Translation of apt manpages and documentation to LANGUAGE |
aec22160 | 2 | # This file is distributed under the same license as the apt-doc package. |
2a52e8c5 DK |
3 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 | # | |
5 | #, fuzzy | |
6 | msgid "" | |
7 | msgstr "" | |
59a0e89d | 8 | "Project-Id-Version: apt-doc 1.3.1\n" |
f8b830ab | 9 | "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n" |
59a0e89d | 10 | "POT-Creation-Date: 2016-10-04 19:44+0200\n" |
2a52e8c5 DK |
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" | |
0c1a7101 | 14 | "Language: \n" |
2a52e8c5 | 15 | "MIME-Version: 1.0\n" |
0c1a7101 DK |
16 | "Content-Type: text/plain; charset=UTF-8\n" |
17 | "Content-Transfer-Encoding: 8bit\n" | |
2a52e8c5 | 18 | |
2a52e8c5 | 19 | #. type: Plain text |
04f27fae | 20 | #: apt.ent:1 |
2a52e8c5 DK |
21 | #, no-wrap |
22 | msgid "" | |
23 | "<!ENTITY apt-author.team \"\n" | |
24 | " <author>\n" | |
25 | " <othername>APT team</othername>\n" | |
bcf91c1b | 26 | " <contrib></contrib>\n" |
2a52e8c5 DK |
27 | " </author>\n" |
28 | "\">\n" | |
29 | msgstr "" | |
30 | ||
31 | #. type: Plain text | |
04f27fae | 32 | #: apt.ent:1 |
2a52e8c5 DK |
33 | #, no-wrap |
34 | msgid "" | |
35 | "<!ENTITY apt-qapage \"\n" | |
36 | "\t<para>\n" | |
37 | "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n" | |
38 | "\t</para>\n" | |
39 | "\">\n" | |
40 | msgstr "" | |
41 | ||
42 | #. type: Plain text | |
04f27fae | 43 | #: apt.ent:1 |
2a52e8c5 DK |
44 | #, no-wrap |
45 | msgid "" | |
46 | "<!-- Boiler plate Bug reporting section -->\n" | |
47 | "<!ENTITY manbugs \"\n" | |
48 | " <refsect1><title>Bugs</title>\n" | |
0c1a7101 | 49 | " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n" |
2a52e8c5 DK |
50 | " If you wish to report a bug in APT, please see\n" |
51 | " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n" | |
52 | " &reportbug; command.\n" | |
53 | " </para>\n" | |
54 | " </refsect1>\n" | |
55 | "\">\n" | |
56 | msgstr "" | |
57 | ||
58 | #. type: Plain text | |
04f27fae | 59 | #: apt.ent:1 |
2a52e8c5 DK |
60 | #, no-wrap |
61 | msgid "" | |
62 | "<!-- Boiler plate Author section -->\n" | |
63 | "<!ENTITY manauthor \"\n" | |
64 | " <refsect1><title>Author</title>\n" | |
65 | " <para>APT was written by the APT team " | |
66 | "<email>apt@packages.debian.org</email>.\n" | |
67 | " </para>\n" | |
68 | " </refsect1>\n" | |
69 | "\">\n" | |
70 | msgstr "" | |
71 | ||
72 | #. type: Plain text | |
04f27fae | 73 | #: apt.ent:1 |
2a52e8c5 DK |
74 | #, no-wrap |
75 | msgid "" | |
76 | "<!-- Should be used within the option section of the text to\n" | |
77 | " put in the blurb about -h, -v, -c and -o -->\n" | |
78 | "<!ENTITY apt-commonoptions \"\n" | |
79 | " <varlistentry><term><option>-h</option></term>\n" | |
80 | " <term><option>--help</option></term>\n" | |
81 | " <listitem><para>Show a short usage summary.\n" | |
82 | " </para>\n" | |
83 | " </listitem>\n" | |
84 | " </varlistentry>\n" | |
85 | msgstr "" | |
86 | ||
87 | #. type: Plain text | |
04f27fae | 88 | #: apt.ent:1 |
2a52e8c5 DK |
89 | #, no-wrap |
90 | msgid "" | |
91 | " <varlistentry>\n" | |
92 | " <term><option>-v</option></term>\n" | |
93 | " <term><option>--version</option></term>\n" | |
94 | " <listitem><para>Show the program version.\n" | |
95 | " </para>\n" | |
96 | " </listitem>\n" | |
97 | " </varlistentry>\n" | |
98 | msgstr "" | |
99 | ||
100 | #. type: Plain text | |
04f27fae | 101 | #: apt.ent:1 |
2a52e8c5 DK |
102 | #, no-wrap |
103 | msgid "" | |
104 | " <varlistentry>\n" | |
105 | " <term><option>-c</option></term>\n" | |
106 | " <term><option>--config-file</option></term>\n" | |
107 | " <listitem><para>Configuration File; Specify a configuration file to " | |
108 | "use. \n" | |
109 | " The program will read the default configuration file and then this \n" | |
b81dbe40 DK |
110 | " configuration file. If configuration settings need to be set before " |
111 | "the\n" | |
112 | " default configuration files are parsed specify a file with the " | |
113 | "<envar>APT_CONFIG</envar>\n" | |
114 | " environment variable. See &apt-conf; for syntax information.\n" | |
2a52e8c5 DK |
115 | " </para>\n" |
116 | " </listitem>\n" | |
117 | " </varlistentry>\n" | |
118 | msgstr "" | |
119 | ||
120 | #. type: Plain text | |
04f27fae | 121 | #: apt.ent:1 |
2a52e8c5 DK |
122 | #, no-wrap |
123 | msgid "" | |
124 | " <varlistentry>\n" | |
125 | " <term><option>-o</option></term>\n" | |
126 | " <term><option>--option</option></term>\n" | |
127 | " <listitem><para>Set a Configuration Option; This will set an " | |
128 | "arbitrary\n" | |
129 | " configuration option. The syntax is <option>-o " | |
130 | "Foo::Bar=bar</option>.\n" | |
131 | " <option>-o</option> and <option>--option</option> can be used " | |
132 | "multiple\n" | |
133 | " times to set different options.\n" | |
134 | " </para>\n" | |
135 | " </listitem>\n" | |
136 | " </varlistentry>\n" | |
137 | "\">\n" | |
138 | msgstr "" | |
139 | ||
140 | #. type: Plain text | |
04f27fae | 141 | #: apt.ent:1 |
2a52e8c5 DK |
142 | #, no-wrap |
143 | msgid "" | |
144 | "<!-- Should be used within the option section of the text to\n" | |
145 | " put in the blurb about -h, -v, -c and -o -->\n" | |
146 | "<!ENTITY apt-cmdblurb \"\n" | |
147 | " <para>All command line options may be set using the configuration file, " | |
148 | "the\n" | |
149 | " descriptions indicate the configuration option to set. For boolean\n" | |
150 | " options you can override the config file by using something like \n" | |
151 | " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n" | |
152 | " or several other variations.\n" | |
153 | " </para>\n" | |
154 | "\">\n" | |
155 | msgstr "" | |
156 | ||
bcf91c1b | 157 | #. type: Plain text |
04f27fae | 158 | #: apt.ent:1 |
bcf91c1b DK |
159 | #, no-wrap |
160 | msgid "" | |
161 | "<!ENTITY file-aptconf \"\n" | |
162 | " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n" | |
163 | " <listitem><para>APT configuration file.\n" | |
164 | " Configuration Item: " | |
165 | "<literal>Dir::Etc::Main</literal>.</para></listitem>\n" | |
166 | " </varlistentry>\n" | |
167 | msgstr "" | |
168 | ||
169 | #. type: Plain text | |
04f27fae | 170 | #: apt.ent:1 |
bcf91c1b DK |
171 | #, no-wrap |
172 | msgid "" | |
173 | " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n" | |
174 | " <listitem><para>APT configuration file fragments.\n" | |
175 | " Configuration Item: " | |
176 | "<literal>Dir::Etc::Parts</literal>.</para></listitem>\n" | |
177 | " </varlistentry>\n" | |
178 | "\">\n" | |
179 | msgstr "" | |
180 | ||
181 | #. type: Plain text | |
04f27fae | 182 | #: apt.ent:1 |
bcf91c1b DK |
183 | #, no-wrap |
184 | msgid "" | |
185 | "<!ENTITY file-cachearchives \"\n" | |
186 | " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n" | |
187 | " <listitem><para>Storage area for retrieved package files.\n" | |
188 | " Configuration Item: " | |
189 | "<literal>Dir::Cache::Archives</literal>.</para></listitem>\n" | |
190 | " </varlistentry>\n" | |
191 | msgstr "" | |
192 | ||
193 | #. type: Plain text | |
04f27fae | 194 | #: apt.ent:1 |
bcf91c1b DK |
195 | #, no-wrap |
196 | msgid "" | |
197 | " " | |
198 | "<varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n" | |
199 | " <listitem><para>Storage area for package files in transit.\n" | |
c086ac18 DK |
200 | " Configuration Item: <literal>Dir::Cache::Archives</literal> " |
201 | "(<filename>partial</filename> will be implicitly " | |
aec22160 | 202 | "appended)</para></listitem>\n" |
bcf91c1b DK |
203 | " </varlistentry>\n" |
204 | "\">\n" | |
205 | msgstr "" | |
206 | ||
207 | #. type: Plain text | |
04f27fae | 208 | #: apt.ent:1 |
bcf91c1b DK |
209 | #, no-wrap |
210 | msgid "" | |
211 | "<!ENTITY file-preferences \"\n" | |
212 | " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n" | |
213 | " <listitem><para>Version preferences file.\n" | |
214 | " This is where you would specify "pinning",\n" | |
215 | " i.e. a preference to get certain packages\n" | |
216 | " from a separate source\n" | |
217 | " or from a different version of a distribution.\n" | |
218 | " Configuration Item: " | |
219 | "<literal>Dir::Etc::Preferences</literal>.</para></listitem>\n" | |
220 | " </varlistentry>\n" | |
221 | msgstr "" | |
222 | ||
223 | #. type: Plain text | |
04f27fae | 224 | #: apt.ent:1 |
bcf91c1b DK |
225 | #, no-wrap |
226 | msgid "" | |
227 | " " | |
228 | "<varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n" | |
229 | " <listitem><para>File fragments for the version preferences.\n" | |
230 | " Configuration Item: " | |
231 | "<literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n" | |
232 | " </varlistentry>\n" | |
233 | "\">\n" | |
234 | msgstr "" | |
235 | ||
236 | #. type: Plain text | |
04f27fae | 237 | #: apt.ent:1 |
bcf91c1b DK |
238 | #, no-wrap |
239 | msgid "" | |
240 | "<!ENTITY file-sourceslist \"\n" | |
241 | " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n" | |
242 | " <listitem><para>Locations to fetch packages from.\n" | |
243 | " Configuration Item: " | |
244 | "<literal>Dir::Etc::SourceList</literal>.</para></listitem>\n" | |
245 | " </varlistentry>\n" | |
246 | msgstr "" | |
247 | ||
248 | #. type: Plain text | |
04f27fae | 249 | #: apt.ent:1 |
bcf91c1b DK |
250 | #, no-wrap |
251 | msgid "" | |
252 | " " | |
253 | "<varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n" | |
254 | " <listitem><para>File fragments for locations to fetch packages from.\n" | |
255 | " Configuration Item: " | |
256 | "<literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n" | |
257 | " </varlistentry>\n" | |
258 | "\">\n" | |
259 | msgstr "" | |
260 | ||
261 | #. type: Plain text | |
04f27fae | 262 | #: apt.ent:1 |
bcf91c1b DK |
263 | #, no-wrap |
264 | msgid "" | |
265 | "<!ENTITY file-statelists \"\n" | |
266 | " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n" | |
267 | " <listitem><para>Storage area for state information for each package " | |
268 | "resource specified in\n" | |
269 | " &sources-list;\n" | |
270 | " Configuration Item: " | |
271 | "<literal>Dir::State::Lists</literal>.</para></listitem>\n" | |
272 | " </varlistentry>\n" | |
273 | msgstr "" | |
274 | ||
275 | #. type: Plain text | |
04f27fae | 276 | #: apt.ent:1 |
bcf91c1b DK |
277 | #, no-wrap |
278 | msgid "" | |
279 | " " | |
280 | "<varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n" | |
281 | " <listitem><para>Storage area for state information in transit.\n" | |
c086ac18 DK |
282 | " Configuration Item: <literal>Dir::State::Lists</literal> " |
283 | "(<filename>partial</filename> will be implicitly " | |
aec22160 | 284 | "appended)</para></listitem>\n" |
bcf91c1b DK |
285 | " </varlistentry>\n" |
286 | "\">\n" | |
287 | msgstr "" | |
288 | ||
b39c1859 | 289 | #. type: Plain text |
04f27fae | 290 | #: apt.ent:1 |
b39c1859 MV |
291 | #, no-wrap |
292 | msgid "" | |
293 | "<!ENTITY file-trustedgpg \"\n" | |
294 | " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n" | |
295 | " <listitem><para>Keyring of local trusted keys, new keys will be added " | |
296 | "here.\n" | |
297 | " Configuration Item: " | |
298 | "<literal>Dir::Etc::Trusted</literal>.</para></listitem>\n" | |
299 | " </varlistentry>\n" | |
300 | msgstr "" | |
301 | ||
302 | #. type: Plain text | |
04f27fae | 303 | #: apt.ent:1 |
b39c1859 MV |
304 | #, no-wrap |
305 | msgid "" | |
306 | " " | |
307 | "<varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n" | |
308 | " <listitem><para>File fragments for the trusted keys, additional " | |
309 | "keyrings can\n" | |
310 | " be stored here (by other packages or the administrator).\n" | |
311 | " Configuration Item " | |
312 | "<literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n" | |
313 | " </varlistentry>\n" | |
314 | "\">\n" | |
315 | msgstr "" | |
316 | ||
317 | #. type: Plain text | |
04f27fae | 318 | #: apt.ent:1 |
b6c6b52f MV |
319 | #, no-wrap |
320 | msgid "" | |
321 | "<!ENTITY file-extended_states \"\n" | |
322 | " " | |
323 | "<varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n" | |
324 | " <listitem><para>Status list of auto-installed packages.\n" | |
325 | " Configuration Item: <literal>Dir::State::extended_states</literal>.\n" | |
326 | " </para></listitem>\n" | |
327 | " </varlistentry>\n" | |
328 | "\">\n" | |
329 | msgstr "" | |
330 | ||
331 | #. type: Plain text | |
04f27fae | 332 | #: apt.ent:1 |
d8b3cbb6 DK |
333 | #, no-wrap |
334 | msgid "" | |
335 | "<!-- TRANSLATOR: This is the section header for the following paragraphs - " | |
336 | "comparable\n" | |
337 | " to the other headers like NAME and DESCRIPTION and should therefore be " | |
338 | "uppercase. -->\n" | |
339 | "<!ENTITY translation-title \"TRANSLATION\">\n" | |
b39c1859 MV |
340 | msgstr "" |
341 | ||
342 | #. type: Plain text | |
04f27fae | 343 | #: apt.ent:1 |
b39c1859 MV |
344 | #, no-wrap |
345 | msgid "" | |
346 | "<!-- TRANSLATOR: This is a placeholder. You should write here who has " | |
d8b3cbb6 | 347 | "contributed\n" |
b39c1859 MV |
348 | " to the translation in the past, who is responsible now and maybe " |
349 | "further information\n" | |
350 | " specially related to your translation. -->\n" | |
351 | "<!ENTITY translation-holder \"\n" | |
352 | " The english translation was done by John Doe " | |
353 | "<email>john@doe.org</email> in 2009,\n" | |
354 | " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together " | |
355 | "with the\n" | |
356 | " Debian Dummy l10n Team " | |
357 | "<email>debian-l10n-dummy@lists.debian.org</email>.\n" | |
358 | "\">\n" | |
359 | msgstr "" | |
360 | ||
361 | #. type: Plain text | |
04f27fae | 362 | #: apt.ent:1 |
b39c1859 MV |
363 | #, no-wrap |
364 | msgid "" | |
365 | "<!-- TRANSLATOR: As a translation is allowed to have 20% of " | |
366 | "untranslated/fuzzy strings\n" | |
d8b3cbb6 DK |
367 | " in a shipped manpage newer/modified paragraphs will maybe appear in " |
368 | "english in\n" | |
369 | " the generated manpage. This sentence is therefore here to tell the " | |
370 | "reader that this\n" | |
371 | " is not a mistake by the translator - obviously the target is that at " | |
372 | "least for stable\n" | |
373 | " releases this sentence is not needed. :) -->\n" | |
b39c1859 MV |
374 | "<!ENTITY translation-english \"\n" |
375 | " Note that this translated document may contain untranslated parts.\n" | |
376 | " This is done on purpose, to avoid losing content when the\n" | |
377 | " translation is lagging behind the original content.\n" | |
378 | "\">\n" | |
379 | msgstr "" | |
380 | ||
c77d6597 | 381 | #. type: Plain text |
04f27fae | 382 | #: apt.ent:1 |
c77d6597 MV |
383 | msgid "" |
384 | "<!-- TRANSLATOR: used as in -o=config_string " | |
385 | "e.g. -o=Debug::pkgProblemResolver=1 --> <!ENTITY synopsis-config-string " | |
386 | "\"config_string\">" | |
387 | msgstr "" | |
388 | ||
389 | #. type: Plain text | |
04f27fae | 390 | #: apt.ent:1 |
c77d6597 MV |
391 | msgid "" |
392 | "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY " | |
393 | "synopsis-config-file \"config_file\">" | |
394 | msgstr "" | |
395 | ||
396 | #. type: Plain text | |
04f27fae | 397 | #: apt.ent:1 |
c77d6597 MV |
398 | msgid "" |
399 | "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release " | |
400 | "e.g. -t=squeeze apt/experimental --> <!ENTITY synopsis-target-release " | |
401 | "\"target_release\">" | |
402 | msgstr "" | |
403 | ||
404 | #. type: Plain text | |
04f27fae | 405 | #: apt.ent:1 |
c77d6597 MV |
406 | msgid "" |
407 | "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY " | |
408 | "synopsis-architecture \"architecture\">" | |
409 | msgstr "" | |
410 | ||
411 | #. type: Plain text | |
04f27fae | 412 | #: apt.ent:1 |
c77d6597 MV |
413 | msgid "" |
414 | "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome " | |
415 | "--> <!ENTITY synopsis-pkg \"pkg\">" | |
416 | msgstr "" | |
417 | ||
418 | #. type: Plain text | |
04f27fae | 419 | #: apt.ent:1 |
c77d6597 MV |
420 | msgid "" |
421 | "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> " | |
422 | "<!ENTITY synopsis-pkg-ver-number \"pkg_version_number\">" | |
423 | msgstr "" | |
424 | ||
425 | #. type: Plain text | |
04f27fae | 426 | #: apt.ent:1 |
c77d6597 MV |
427 | msgid "" |
428 | "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache " | |
429 | "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">" | |
430 | msgstr "" | |
431 | ||
432 | #. type: Plain text | |
04f27fae | 433 | #: apt.ent:1 |
c77d6597 MV |
434 | msgid "" |
435 | "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search " | |
436 | "awesome --> <!ENTITY synopsis-regex \"regex\">" | |
437 | msgstr "" | |
438 | ||
439 | #. type: Plain text | |
04f27fae | 440 | #: apt.ent:1 |
c77d6597 MV |
441 | msgid "" |
442 | "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom " | |
443 | "-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">" | |
444 | msgstr "" | |
445 | ||
446 | #. type: Plain text | |
04f27fae | 447 | #: apt.ent:1 |
c77d6597 MV |
448 | msgid "" |
449 | "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory " | |
450 | "e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory " | |
451 | "\"temporary_directory\">" | |
452 | msgstr "" | |
453 | ||
454 | #. type: Plain text | |
04f27fae | 455 | #: apt.ent:1 |
c77d6597 MV |
456 | msgid "" |
457 | "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY " | |
458 | "synopsis-filename \"filename\">" | |
459 | msgstr "" | |
460 | ||
c086ac18 | 461 | #. type: Plain text |
04f27fae | 462 | #: apt.ent:1 |
c086ac18 DK |
463 | msgid "" |
464 | "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive " | |
465 | "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">" | |
466 | msgstr "" | |
467 | ||
c77d6597 | 468 | #. type: Plain text |
04f27fae | 469 | #: apt.ent:1 |
c77d6597 | 470 | msgid "" |
c086ac18 DK |
471 | "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive " |
472 | "packages path override-file pathprefix --> <!ENTITY synopsis-override " | |
473 | "\"override-file\">" | |
c77d6597 MV |
474 | msgstr "" |
475 | ||
476 | #. type: Plain text | |
04f27fae | 477 | #: apt.ent:1 |
c77d6597 | 478 | msgid "" |
c086ac18 DK |
479 | "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive " |
480 | "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix " | |
481 | "\"pathprefix\">" | |
482 | msgstr "" | |
483 | ||
484 | #. type: Plain text | |
04f27fae | 485 | #: apt.ent:1 |
c086ac18 DK |
486 | msgid "" |
487 | "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive " | |
488 | "generate section --> <!ENTITY synopsis-section \"section\">" | |
489 | msgstr "" | |
490 | ||
491 | #. type: Plain text | |
04f27fae | 492 | #: apt.ent:1 |
c086ac18 | 493 | msgid "" |
c77d6597 MV |
494 | "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export " |
495 | "473041FA --> <!ENTITY synopsis-keyid \"keyid\">" | |
496 | msgstr "" | |
497 | ||
2a52e8c5 | 498 | #. type: Content of: <refentry><refmeta><manvolnum> |
04f27fae MV |
499 | #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 |
500 | #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1 | |
2a52e8c5 DK |
501 | msgid "8" |
502 | msgstr "" | |
503 | ||
bcf91c1b | 504 | #. type: Content of: <refentry><refmeta><refmiscinfo> |
04f27fae MV |
505 | #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 |
506 | #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1 | |
507 | #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1 | |
508 | #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1 | |
bcf91c1b DK |
509 | msgid "APT" |
510 | msgstr "" | |
511 | ||
2a52e8c5 | 512 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 513 | #: apt.8.xml:1 |
93ae7f7f | 514 | msgid "command-line interface" |
2a52e8c5 DK |
515 | msgstr "" |
516 | ||
2a52e8c5 | 517 | #. type: Content of: <refentry><refsect1><title> |
04f27fae MV |
518 | #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 |
519 | #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1 | |
520 | #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1 | |
521 | #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1 | |
2a52e8c5 DK |
522 | msgid "Description" |
523 | msgstr "" | |
524 | ||
93ae7f7f | 525 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 526 | #: apt.8.xml:1 |
93ae7f7f | 527 | msgid "" |
cbbee23e DK |
528 | "<command>apt</command> provides a high-level commandline interface for the " |
529 | "package management system. It is intended as an end user interface and " | |
530 | "enables some options better suited for interactive usage by default compared " | |
531 | "to more specialized APT tools like &apt-get; and &apt-cache;." | |
93ae7f7f MV |
532 | msgstr "" |
533 | ||
cbbee23e | 534 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 535 | #: apt.8.xml:1 |
93ae7f7f | 536 | msgid "" |
cbbee23e DK |
537 | "Much like <command>apt</command> itself, its manpage is intended as an end " |
538 | "user interface and as such only mentions the most used commands and options " | |
539 | "partly to not duplicate information in multiple places and partly to avoid " | |
89497574 | 540 | "overwhelming readers with a cornucopia of options and details." |
93ae7f7f MV |
541 | msgstr "" |
542 | ||
cbbee23e DK |
543 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
544 | #: apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 | |
545 | msgid "(&apt-get;)" | |
93ae7f7f MV |
546 | msgstr "" |
547 | ||
548 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 549 | #: apt.8.xml:1 |
93ae7f7f | 550 | msgid "" |
cbbee23e DK |
551 | "<option>update</option> is used to download package information from all " |
552 | "configured sources. Other commands operate on this data to e.g. perform " | |
553 | "package upgrades or search in and display details about all packages " | |
554 | "available for installation." | |
93ae7f7f MV |
555 | msgstr "" |
556 | ||
557 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 558 | #: apt.8.xml:1 |
93ae7f7f | 559 | msgid "" |
cbbee23e DK |
560 | "<option>upgrade</option> is used to install available upgrades of all " |
561 | "packages currently installed on the system from the sources configured via " | |
562 | "&sources-list;. New packages will be installed if required to statisfy " | |
563 | "dependencies, but existing packages will never be removed. If an upgrade for " | |
564 | "a package requires the remove of an installed package the upgrade for this " | |
565 | "package isn't performed." | |
93ae7f7f MV |
566 | msgstr "" |
567 | ||
568 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
cbbee23e | 569 | #: apt.8.xml:1 |
93ae7f7f | 570 | msgid "" |
cbbee23e DK |
571 | "<literal>full-upgrade</literal> performs the function of upgrade but will " |
572 | "remove currently installed packages if this is needed to upgrade the system " | |
573 | "as a whole." | |
864fe99c MV |
574 | msgstr "" |
575 | ||
576 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | |
4bdf29d3 | 577 | #: apt.8.xml:1 apt.8.xml:1 apt-key.8.xml:1 |
cbbee23e | 578 | msgid "," |
864fe99c MV |
579 | msgstr "" |
580 | ||
93ae7f7f | 581 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
cbbee23e | 582 | #: apt.8.xml:1 |
864fe99c | 583 | msgid "" |
cbbee23e | 584 | "Performs the requested action on one or more packages specified via ®ex;, " |
051029f8 | 585 | "&glob; or exact match. The requested action can be overridden for specific " |
cbbee23e DK |
586 | "packages by append a plus (+) to the package name to install this package or " |
587 | "a minus (-) to remove it." | |
864fe99c MV |
588 | msgstr "" |
589 | ||
590 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 591 | #: apt.8.xml:1 |
93ae7f7f | 592 | msgid "" |
cbbee23e DK |
593 | "A specific version of a package can be selected for installation by " |
594 | "following the package name with an equals (=) and the version of the package " | |
595 | "to select. Alternatively the version from a specific release can be selected " | |
596 | "by following the package name with a forward slash (/) and codename " | |
9feb98eb DK |
597 | "(&debian-stable-codename;, &debian-testing-codename;, sid …) or suite name " |
598 | "(stable, testing, unstable). This will also select versions from this " | |
599 | "release for dependencies of this package if needed to satisfy the request." | |
93ae7f7f MV |
600 | msgstr "" |
601 | ||
602 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 603 | #: apt.8.xml:1 |
93ae7f7f | 604 | msgid "" |
cbbee23e DK |
605 | "Removing a package removes all packaged data, but leaves usually small " |
606 | "(modified) user configuration files behind, in case the remove was an " | |
051029f8 DK |
607 | "accident. Just issuing an installation request for the accidentally removed " |
608 | "package will restore its function as before in that case. On the other hand " | |
609 | "you can get rid of these leftovers by calling <command>purge</command> even " | |
610 | "on already removed packages. Note that this does not affect any data or " | |
611 | "configuration stored in your home directory." | |
93ae7f7f MV |
612 | msgstr "" |
613 | ||
614 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 615 | #: apt.8.xml:1 |
93ae7f7f | 616 | msgid "" |
cbbee23e DK |
617 | "<literal>autoremove</literal> is used to remove packages that were " |
618 | "automatically installed to satisfy dependencies for other packages and are " | |
619 | "now no longer needed as dependencies changed or the package(s) needing them " | |
620 | "were removed in the meantime." | |
93ae7f7f MV |
621 | msgstr "" |
622 | ||
623 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 624 | #: apt.8.xml:1 |
93ae7f7f | 625 | msgid "" |
051029f8 DK |
626 | "You should check that the list does not include applications you have grown " |
627 | "to like even though they were once installed just as a dependency of another " | |
cbbee23e DK |
628 | "package. You can mark such a package as manually installed by using " |
629 | "&apt-mark;. Packages which you have installed explicitly via " | |
051029f8 | 630 | "<command>install</command> are also never proposed for automatic removal." |
93ae7f7f MV |
631 | msgstr "" |
632 | ||
cbbee23e DK |
633 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
634 | #: apt.8.xml:1 apt.8.xml:1 | |
635 | msgid "(&apt-cache;)" | |
93ae7f7f MV |
636 | msgstr "" |
637 | ||
cbbee23e | 638 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 639 | #: apt.8.xml:1 |
cbbee23e DK |
640 | msgid "" |
641 | "<option>search</option> can be used to search for the given ®ex; term(s) " | |
051029f8 | 642 | "in the list of available packages and display matches. This can e.g. be " |
cbbee23e DK |
643 | "useful if you are looking for packages having a specific feature. If you " |
644 | "are looking for a package including a specific file try &apt-file;." | |
93ae7f7f MV |
645 | msgstr "" |
646 | ||
cbbee23e | 647 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 648 | #: apt.8.xml:1 |
93ae7f7f | 649 | msgid "" |
cbbee23e DK |
650 | "Show information about the given package(s) including its dependencies, " |
651 | "installation and download size, sources the package is available from, the " | |
051029f8 | 652 | "description of the packages content and much more. It can e.g. be helpful to " |
cbbee23e DK |
653 | "look at this information before allowing &apt; to remove a package or while " |
654 | "searching for new packages to install." | |
93ae7f7f MV |
655 | msgstr "" |
656 | ||
cbbee23e DK |
657 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
658 | #: apt.8.xml:1 apt.8.xml:1 | |
659 | msgid "(work-in-progress)" | |
93ae7f7f MV |
660 | msgstr "" |
661 | ||
cbbee23e | 662 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 663 | #: apt.8.xml:1 |
93ae7f7f | 664 | msgid "" |
cbbee23e DK |
665 | "<option>list</option> is somewhat similar to <command>dpkg-query " |
666 | "--list</command> in that it can display a list of packages satisfying " | |
667 | "certain criteria. It supports &glob; patterns for matching package names as " | |
668 | "well as options to list installed (<option>--installed</option>), " | |
669 | "upgradeable (<option>--upgradeable</option>) or all available " | |
670 | "(<option>--all-versions</option>) versions." | |
93ae7f7f MV |
671 | msgstr "" |
672 | ||
cbbee23e | 673 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 674 | #: apt.8.xml:1 |
cbbee23e DK |
675 | msgid "" |
676 | "<literal>edit-sources</literal> lets you edit your &sources-list; files in " | |
677 | "your preferred texteditor while also providing basic sanity checks." | |
93ae7f7f MV |
678 | msgstr "" |
679 | ||
cbbee23e | 680 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 681 | #: apt.8.xml:1 |
051029f8 | 682 | msgid "Script Usage and Differences from Other APT Tools" |
93ae7f7f MV |
683 | msgstr "" |
684 | ||
cbbee23e | 685 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 686 | #: apt.8.xml:1 |
93ae7f7f | 687 | msgid "" |
051029f8 DK |
688 | "The &apt; commandline is designed as an end-user tool and it may change " |
689 | "behavior between versions. While it tries not to break backward " | |
690 | "compatibility this is not guaranteed either if a change seems beneficial for " | |
cbbee23e | 691 | "interactive use." |
93ae7f7f MV |
692 | msgstr "" |
693 | ||
cbbee23e | 694 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 695 | #: apt.8.xml:1 |
93ae7f7f | 696 | msgid "" |
cbbee23e DK |
697 | "All features of &apt; are available in dedicated APT tools like &apt-get; " |
698 | "and &apt-cache; as well. &apt; just changes the default value of some " | |
051029f8 DK |
699 | "options (see &apt-conf; and specifically the Binary scope). So you should " |
700 | "prefer using these commands (potentially with some additional options " | |
701 | "enabled) in your scripts as they keep backward compatibility as much as " | |
702 | "possible." | |
93ae7f7f MV |
703 | msgstr "" |
704 | ||
705 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae MV |
706 | #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 |
707 | #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1 | |
708 | #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1 | |
709 | #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1 | |
93ae7f7f MV |
710 | msgid "See Also" |
711 | msgstr "" | |
712 | ||
713 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 714 | #: apt.8.xml:1 |
93ae7f7f | 715 | msgid "" |
6dbf3380 | 716 | "&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT " |
93ae7f7f MV |
717 | "User's guide in &guidesdir;, &apt-preferences;, the APT Howto." |
718 | msgstr "" | |
719 | ||
720 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae MV |
721 | #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-mark.8.xml:1 |
722 | #: apt-cdrom.8.xml:1 apt-config.8.xml:1 apt-extracttemplates.1.xml:1 | |
723 | #: apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1 | |
93ae7f7f MV |
724 | msgid "Diagnostics" |
725 | msgstr "" | |
726 | ||
727 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 728 | #: apt.8.xml:1 |
93ae7f7f MV |
729 | msgid "" |
730 | "<command>apt</command> returns zero on normal operation, decimal 100 on " | |
731 | "error." | |
732 | msgstr "" | |
733 | ||
734 | #. type: Content of: <refentry><refnamediv><refpurpose> | |
04f27fae | 735 | #: apt-get.8.xml:1 |
93ae7f7f MV |
736 | msgid "APT package handling utility -- command-line interface" |
737 | msgstr "" | |
738 | ||
2a52e8c5 | 739 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 740 | #: apt-get.8.xml:1 |
2a52e8c5 | 741 | msgid "" |
7d76ea1d DK |
742 | "<command>apt-get</command> is the command-line tool for handling packages, " |
743 | "and may be considered the user's \"back-end\" to other tools using the APT " | |
1c937475 MV |
744 | "library. Several \"front-end\" interfaces exist, such as &aptitude;, " |
745 | "&synaptic; and &wajig;." | |
2a52e8c5 DK |
746 | msgstr "" |
747 | ||
748 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae MV |
749 | #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1 |
750 | #: apt-ftparchive.1.xml:1 | |
2a52e8c5 DK |
751 | msgid "" |
752 | "Unless the <option>-h</option>, or <option>--help</option> option is given, " | |
753 | "one of the commands below must be present." | |
754 | msgstr "" | |
755 | ||
2a52e8c5 | 756 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 757 | #: apt-get.8.xml:1 |
2a52e8c5 | 758 | msgid "" |
7d76ea1d DK |
759 | "<literal>update</literal> is used to resynchronize the package index files " |
760 | "from their sources. The indexes of available packages are fetched from the " | |
761 | "location(s) specified in <filename>/etc/apt/sources.list</filename>. For " | |
762 | "example, when using a Debian archive, this command retrieves and scans the " | |
763 | "<filename>Packages.gz</filename> files, so that information about new and " | |
764 | "updated packages is available. An <literal>update</literal> should always be " | |
765 | "performed before an <literal>upgrade</literal> or " | |
766 | "<literal>dist-upgrade</literal>. Please be aware that the overall progress " | |
767 | "meter will be incorrect as the size of the package files cannot be known in " | |
768 | "advance." | |
2a52e8c5 DK |
769 | msgstr "" |
770 | ||
771 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 772 | #: apt-get.8.xml:1 |
2a52e8c5 | 773 | msgid "" |
7d76ea1d DK |
774 | "<literal>upgrade</literal> is used to install the newest versions of all " |
775 | "packages currently installed on the system from the sources enumerated in " | |
776 | "<filename>/etc/apt/sources.list</filename>. Packages currently installed " | |
777 | "with new versions available are retrieved and upgraded; under no " | |
778 | "circumstances are currently installed packages removed, or packages not " | |
779 | "already installed retrieved and installed. New versions of currently " | |
780 | "installed packages that cannot be upgraded without changing the install " | |
781 | "status of another package will be left at their current version. An " | |
782 | "<literal>update</literal> must be performed first so that " | |
783 | "<command>apt-get</command> knows that new versions of packages are " | |
784 | "available." | |
2a52e8c5 DK |
785 | msgstr "" |
786 | ||
2a52e8c5 | 787 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 788 | #: apt-get.8.xml:1 |
2a52e8c5 | 789 | msgid "" |
7d76ea1d DK |
790 | "<literal>dist-upgrade</literal> in addition to performing the function of " |
791 | "<literal>upgrade</literal>, also intelligently handles changing dependencies " | |
792 | "with new versions of packages; <command>apt-get</command> has a \"smart\" " | |
793 | "conflict resolution system, and it will attempt to upgrade the most " | |
794 | "important packages at the expense of less important ones if necessary. The " | |
795 | "<literal>dist-upgrade</literal> command may therefore remove some packages. " | |
796 | "The <filename>/etc/apt/sources.list</filename> file contains a list of " | |
797 | "locations from which to retrieve desired package files. See also " | |
798 | "&apt-preferences; for a mechanism for overriding the general settings for " | |
799 | "individual packages." | |
2a52e8c5 DK |
800 | msgstr "" |
801 | ||
802 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 803 | #: apt-get.8.xml:1 |
2a52e8c5 | 804 | msgid "" |
7d76ea1d DK |
805 | "<literal>dselect-upgrade</literal> is used in conjunction with the " |
806 | "traditional Debian packaging front-end, " | |
807 | "&dselect;. <literal>dselect-upgrade</literal> follows the changes made by " | |
808 | "&dselect; to the <literal>Status</literal> field of available packages, and " | |
809 | "performs the actions necessary to realize that state (for instance, the " | |
810 | "removal of old and the installation of new packages)." | |
2a52e8c5 DK |
811 | msgstr "" |
812 | ||
2a52e8c5 | 813 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 814 | #: apt-get.8.xml:1 |
2a52e8c5 | 815 | msgid "" |
7d76ea1d DK |
816 | "<literal>install</literal> is followed by one or more packages desired for " |
817 | "installation or upgrading. Each package is a package name, not a fully " | |
818 | "qualified filename (for instance, in a Debian system, " | |
819 | "<package>apt-utils</package> would be the argument provided, not " | |
820 | "<filename>apt-utils_&apt-product-version;_amd64.deb</filename>). All " | |
821 | "packages required by the package(s) specified for installation will also be " | |
822 | "retrieved and installed. The <filename>/etc/apt/sources.list</filename> " | |
823 | "file is used to locate the desired packages. If a hyphen is appended to the " | |
824 | "package name (with no intervening space), the identified package will be " | |
825 | "removed if it is installed. Similarly a plus sign can be used to designate " | |
826 | "a package to install. These latter features may be used to override " | |
827 | "decisions made by apt-get's conflict resolution system." | |
2a52e8c5 DK |
828 | msgstr "" |
829 | ||
cbbee23e DK |
830 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
831 | #: apt-get.8.xml:1 | |
832 | msgid "" | |
833 | "A specific version of a package can be selected for installation by " | |
834 | "following the package name with an equals and the version of the package to " | |
835 | "select. This will cause that version to be located and selected for " | |
836 | "install. Alternatively a specific distribution can be selected by following " | |
837 | "the package name with a slash and the version of the distribution or the " | |
838 | "Archive name (stable, testing, unstable)." | |
839 | msgstr "" | |
840 | ||
7d76ea1d | 841 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 842 | #: apt-get.8.xml:1 |
2a52e8c5 | 843 | msgid "" |
7d76ea1d DK |
844 | "Both of the version selection mechanisms can downgrade packages and must be " |
845 | "used with care." | |
2a52e8c5 DK |
846 | msgstr "" |
847 | ||
7d76ea1d | 848 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 849 | #: apt-get.8.xml:1 |
2a52e8c5 | 850 | msgid "" |
7d76ea1d DK |
851 | "This is also the target to use if you want to upgrade one or more " |
852 | "already-installed packages without upgrading every package you have on your " | |
853 | "system. Unlike the \"upgrade\" target, which installs the newest version of " | |
854 | "all currently installed packages, \"install\" will install the newest " | |
855 | "version of only the package(s) specified. Simply provide the name of the " | |
856 | "package(s) you wish to upgrade, and if a newer version is available, it (and " | |
857 | "its dependencies, as described above) will be downloaded and installed." | |
2a52e8c5 DK |
858 | msgstr "" |
859 | ||
7d76ea1d | 860 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 861 | #: apt-get.8.xml:1 |
2a52e8c5 | 862 | msgid "" |
7d76ea1d DK |
863 | "Finally, the &apt-preferences; mechanism allows you to create an alternative " |
864 | "installation policy for individual packages." | |
2a52e8c5 DK |
865 | msgstr "" |
866 | ||
7d76ea1d | 867 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 868 | #: apt-get.8.xml:1 |
2a52e8c5 | 869 | msgid "" |
7d76ea1d DK |
870 | "If no package matches the given expression and the expression contains one " |
871 | "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and " | |
872 | "it is applied to all package names in the database. Any matches are then " | |
873 | "installed (or removed). Note that matching is done by substring so 'lo.*' " | |
874 | "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular " | |
875 | "expression with a '^' or '$' character, or create a more specific regular " | |
876 | "expression." | |
2a52e8c5 DK |
877 | msgstr "" |
878 | ||
cbbee23e DK |
879 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
880 | #: apt-get.8.xml:1 | |
881 | msgid "" | |
882 | "<literal>remove</literal> is identical to <literal>install</literal> except " | |
883 | "that packages are removed instead of installed. Note that removing a package " | |
884 | "leaves its configuration files on the system. If a plus sign is appended to " | |
885 | "the package name (with no intervening space), the identified package will be " | |
886 | "installed instead of removed." | |
887 | msgstr "" | |
888 | ||
7d76ea1d | 889 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 890 | #: apt-get.8.xml:1 |
2a52e8c5 | 891 | msgid "" |
7d76ea1d DK |
892 | "<literal>purge</literal> is identical to <literal>remove</literal> except " |
893 | "that packages are removed and purged (any configuration files are deleted " | |
894 | "too)." | |
2a52e8c5 DK |
895 | msgstr "" |
896 | ||
2a52e8c5 | 897 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 898 | #: apt-get.8.xml:1 |
2a52e8c5 | 899 | msgid "" |
7d76ea1d DK |
900 | "<literal>source</literal> causes <command>apt-get</command> to fetch source " |
901 | "packages. APT will examine the available packages to decide which source " | |
902 | "package to fetch. It will then find and download into the current directory " | |
903 | "the newest available version of that source package while respecting the " | |
904 | "default release, set with the option " | |
905 | "<literal>APT::Default-Release</literal>, the <option>-t</option> option or " | |
906 | "per package with the <literal>pkg/release</literal> syntax, if possible." | |
2a52e8c5 DK |
907 | msgstr "" |
908 | ||
2a52e8c5 | 909 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 910 | #: apt-get.8.xml:1 |
2a52e8c5 | 911 | msgid "" |
7d76ea1d DK |
912 | "Source packages are tracked separately from binary packages via " |
913 | "<literal>deb-src</literal> lines in the &sources-list; file. This means that " | |
914 | "you will need to add such a line for each repository you want to get sources " | |
915 | "from; otherwise you will probably get either the wrong (too old/too new) " | |
916 | "source versions or none at all." | |
2a52e8c5 DK |
917 | msgstr "" |
918 | ||
2a52e8c5 | 919 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 920 | #: apt-get.8.xml:1 |
2a52e8c5 | 921 | msgid "" |
7d76ea1d DK |
922 | "If the <option>--compile</option> option is specified then the package will " |
923 | "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for " | |
924 | "the architecture as defined by the <command>--host-architecture</command> " | |
925 | "option. If <option>--download-only</option> is specified then the source " | |
926 | "package will not be unpacked." | |
2a52e8c5 DK |
927 | msgstr "" |
928 | ||
2a52e8c5 | 929 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 930 | #: apt-get.8.xml:1 |
2a52e8c5 | 931 | msgid "" |
7d76ea1d DK |
932 | "A specific source version can be retrieved by postfixing the source name " |
933 | "with an equals and then the version to fetch, similar to the mechanism used " | |
934 | "for the package files. This enables exact matching of the source package " | |
935 | "name and version, implicitly enabling the " | |
936 | "<literal>APT::Get::Only-Source</literal> option." | |
2a52e8c5 DK |
937 | msgstr "" |
938 | ||
2a52e8c5 | 939 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 940 | #: apt-get.8.xml:1 |
2a52e8c5 | 941 | msgid "" |
7d76ea1d DK |
942 | "Note that source packages are not installed and tracked in the " |
943 | "<command>dpkg</command> database like binary packages; they are simply " | |
944 | "downloaded to the current directory, like source tarballs." | |
2a52e8c5 DK |
945 | msgstr "" |
946 | ||
947 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 948 | #: apt-get.8.xml:1 |
2a52e8c5 | 949 | msgid "" |
7d76ea1d DK |
950 | "<literal>build-dep</literal> causes apt-get to install/remove packages in an " |
951 | "attempt to satisfy the build dependencies for a source package. By default " | |
952 | "the dependencies are satisfied to build the package natively. If desired a " | |
953 | "host-architecture can be specified with the " | |
954 | "<option>--host-architecture</option> option instead." | |
2a52e8c5 DK |
955 | msgstr "" |
956 | ||
957 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 958 | #: apt-get.8.xml:1 |
2a52e8c5 | 959 | msgid "" |
7d76ea1d DK |
960 | "<literal>check</literal> is a diagnostic tool; it updates the package cache " |
961 | "and checks for broken dependencies." | |
2a52e8c5 DK |
962 | msgstr "" |
963 | ||
2a52e8c5 | 964 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 965 | #: apt-get.8.xml:1 |
2a52e8c5 | 966 | msgid "" |
7d76ea1d DK |
967 | "<literal>download</literal> will download the given binary package into the " |
968 | "current directory." | |
2a52e8c5 DK |
969 | msgstr "" |
970 | ||
2a52e8c5 | 971 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 972 | #: apt-get.8.xml:1 |
2a52e8c5 | 973 | msgid "" |
7d76ea1d DK |
974 | "<literal>clean</literal> clears out the local repository of retrieved " |
975 | "package files. It removes everything but the lock file from " | |
976 | "<filename>&cachedir;/archives/</filename> and " | |
1c937475 | 977 | "<filename>&cachedir;/archives/partial/</filename>." |
2a52e8c5 DK |
978 | msgstr "" |
979 | ||
cbbee23e DK |
980 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
981 | #: apt-get.8.xml:1 apt-get.8.xml:1 | |
982 | msgid "(and the" | |
983 | msgstr "" | |
984 | ||
985 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | |
986 | #: apt-get.8.xml:1 apt-get.8.xml:1 | |
987 | msgid "alias since 1.1)" | |
988 | msgstr "" | |
989 | ||
2a52e8c5 | 990 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 991 | #: apt-get.8.xml:1 |
2a52e8c5 | 992 | msgid "" |
7d76ea1d DK |
993 | "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the " |
994 | "local repository of retrieved package files. The difference is that it only " | |
995 | "removes package files that can no longer be downloaded, and are largely " | |
996 | "useless. This allows a cache to be maintained over a long period without it " | |
997 | "growing out of control. The configuration option " | |
998 | "<literal>APT::Clean-Installed</literal> will prevent installed packages from " | |
999 | "being erased if it is set to off." | |
2a52e8c5 DK |
1000 | msgstr "" |
1001 | ||
cbbee23e DK |
1002 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
1003 | #: apt-get.8.xml:1 | |
1004 | msgid "" | |
1005 | "<literal>autoremove</literal> is used to remove packages that were " | |
1006 | "automatically installed to satisfy dependencies for other packages and are " | |
1007 | "now no longer needed." | |
1008 | msgstr "" | |
1009 | ||
63fc5550 | 1010 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1011 | #: apt-get.8.xml:1 |
63fc5550 | 1012 | msgid "" |
864fe99c MV |
1013 | "<literal>changelog</literal> tries to download the changelog of a package " |
1014 | "and displays it through <command>sensible-pager</command>. By default it " | |
1015 | "displays the changelog for the version that is installed. However, you can " | |
1016 | "specify the same options as for the <option>install</option> command." | |
63fc5550 DK |
1017 | msgstr "" |
1018 | ||
2a52e8c5 | 1019 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1020 | #: apt-get.8.xml:1 |
2a52e8c5 | 1021 | msgid "" |
864fe99c MV |
1022 | "Displays by default a deb822 formatted listing of information about all data " |
1023 | "files (aka index targets) <command>apt-get update</command> would " | |
1024 | "download. Supports a <option>--format</option> option to modify the output " | |
1025 | "format as well as accepts lines of the default output to filter the records " | |
1026 | "by. The command is mainly used as an interface for external tools working " | |
1027 | "with APT to get information as well as filenames for downloaded files so " | |
1028 | "they can use them as well instead of downloading them again on their " | |
1029 | "own. Detailed documentation is omitted here and can instead be found in the " | |
5b057748 JAK |
1030 | "file &apt-acquire-additional-files; shipped by the " |
1031 | "<package>apt-doc</package> package." | |
2a52e8c5 DK |
1032 | msgstr "" |
1033 | ||
cbbee23e DK |
1034 | #. type: Content of: <refentry><refsect1><title> |
1035 | #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-config.8.xml:1 | |
1036 | #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1 | |
1037 | msgid "options" | |
1038 | msgstr "" | |
1039 | ||
2a52e8c5 | 1040 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1041 | #: apt-get.8.xml:1 |
2a52e8c5 | 1042 | msgid "" |
7d76ea1d DK |
1043 | "Do not consider recommended packages as a dependency for installing. " |
1044 | "Configuration Item: <literal>APT::Install-Recommends</literal>." | |
2a52e8c5 DK |
1045 | msgstr "" |
1046 | ||
2a52e8c5 | 1047 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1048 | #: apt-get.8.xml:1 |
2a52e8c5 | 1049 | msgid "" |
7d76ea1d DK |
1050 | "Consider suggested packages as a dependency for installing. Configuration " |
1051 | "Item: <literal>APT::Install-Suggests</literal>." | |
2a52e8c5 DK |
1052 | msgstr "" |
1053 | ||
2a52e8c5 | 1054 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1055 | #: apt-get.8.xml:1 |
2a52e8c5 | 1056 | msgid "" |
7d76ea1d DK |
1057 | "Download only; package files are only retrieved, not unpacked or installed. " |
1058 | "Configuration Item: <literal>APT::Get::Download-Only</literal>." | |
2a52e8c5 DK |
1059 | msgstr "" |
1060 | ||
1061 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1062 | #: apt-get.8.xml:1 |
2a52e8c5 | 1063 | msgid "" |
7d76ea1d DK |
1064 | "Fix; attempt to correct a system with broken dependencies in place. This " |
1065 | "option, when used with install/remove, can omit any packages to permit APT " | |
1066 | "to deduce a likely solution. If packages are specified, these have to " | |
1067 | "completely correct the problem. The option is sometimes necessary when " | |
1068 | "running APT for the first time; APT itself does not allow broken package " | |
1069 | "dependencies to exist on a system. It is possible that a system's dependency " | |
1070 | "structure can be so corrupt as to require manual intervention (which usually " | |
1c937475 MV |
1071 | "means using <command>dpkg --remove</command> to eliminate some of the " |
1072 | "offending packages). Use of this option together with <option>-m</option> " | |
1073 | "may produce an error in some situations. Configuration Item: " | |
1074 | "<literal>APT::Get::Fix-Broken</literal>." | |
2a52e8c5 DK |
1075 | msgstr "" |
1076 | ||
2a52e8c5 | 1077 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1078 | #: apt-get.8.xml:1 |
2a52e8c5 | 1079 | msgid "" |
7d76ea1d DK |
1080 | "Ignore missing packages; if packages cannot be retrieved or fail the " |
1081 | "integrity check after retrieval (corrupted package files), hold back those " | |
1082 | "packages and handle the result. Use of this option together with " | |
1083 | "<option>-f</option> may produce an error in some situations. If a package is " | |
1084 | "selected for installation (particularly if it is mentioned on the command " | |
1085 | "line) and it could not be downloaded then it will be silently held back. " | |
1086 | "Configuration Item: <literal>APT::Get::Fix-Missing</literal>." | |
2a52e8c5 DK |
1087 | msgstr "" |
1088 | ||
2a52e8c5 | 1089 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1090 | #: apt-get.8.xml:1 |
2a52e8c5 | 1091 | msgid "" |
7d76ea1d DK |
1092 | "Disables downloading of packages. This is best used with " |
1093 | "<option>--ignore-missing</option> to force APT to use only the .debs it has " | |
1094 | "already downloaded. Configuration Item: " | |
1095 | "<literal>APT::Get::Download</literal>." | |
2a52e8c5 DK |
1096 | msgstr "" |
1097 | ||
2a52e8c5 | 1098 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1099 | #: apt-get.8.xml:1 |
2a52e8c5 | 1100 | msgid "" |
7d76ea1d DK |
1101 | "Quiet; produces output suitable for logging, omitting progress indicators. " |
1102 | "More q's will produce more quiet up to a maximum of 2. You can also use " | |
1103 | "<option>-q=#</option> to set the quiet level, overriding the configuration " | |
1104 | "file. Note that quiet level 2 implies <option>-y</option>; you should never " | |
1105 | "use -qq without a no-action modifier such as -d, --print-uris or -s as APT " | |
1106 | "may decide to do something you did not expect. Configuration Item: " | |
1107 | "<literal>quiet</literal>." | |
2a52e8c5 DK |
1108 | msgstr "" |
1109 | ||
2a52e8c5 | 1110 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1111 | #: apt-get.8.xml:1 |
2a52e8c5 | 1112 | msgid "" |
864fe99c MV |
1113 | "No action; perform a simulation of events that would occur based on the " |
1114 | "current system state but do not actually change the system. Locking will be " | |
1115 | "disabled (<option>Debug::NoLocking</option>) so the system state could " | |
1116 | "change while <command>apt-get</command> is running. Simulations can also be " | |
1117 | "executed by non-root users which might not have read access to all apt " | |
1118 | "configuration distorting the simulation. A notice expressing this warning " | |
1119 | "is also shown by default for non-root users " | |
1120 | "(<option>APT::Get::Show-User-Simulation-Note</option>). Configuration Item: " | |
7d76ea1d | 1121 | "<literal>APT::Get::Simulate</literal>." |
2a52e8c5 DK |
1122 | msgstr "" |
1123 | ||
2a52e8c5 | 1124 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1125 | #: apt-get.8.xml:1 |
2a52e8c5 | 1126 | msgid "" |
7d76ea1d DK |
1127 | "Simulated runs print out a series of lines, each representing a " |
1128 | "<command>dpkg</command> operation: configure (<literal>Conf</literal>), " | |
1129 | "remove (<literal>Remv</literal>) or unpack " | |
1130 | "(<literal>Inst</literal>). Square brackets indicate broken packages, and " | |
1131 | "empty square brackets indicate breaks that are of no consequence (rare)." | |
2a52e8c5 DK |
1132 | msgstr "" |
1133 | ||
b6c6b52f | 1134 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1135 | #: apt-get.8.xml:1 |
b6c6b52f | 1136 | msgid "" |
7d76ea1d DK |
1137 | "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " |
1138 | "non-interactively. If an undesirable situation, such as changing a held " | |
1139 | "package, trying to install a unauthenticated package or removing an " | |
1140 | "essential package occurs then <literal>apt-get</literal> will abort. " | |
1141 | "Configuration Item: <literal>APT::Get::Assume-Yes</literal>." | |
b6c6b52f MV |
1142 | msgstr "" |
1143 | ||
2a52e8c5 | 1144 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1145 | #: apt-get.8.xml:1 |
2a52e8c5 | 1146 | msgid "" |
7d76ea1d DK |
1147 | "Automatic \"no\" to all prompts. Configuration Item: " |
1148 | "<literal>APT::Get::Assume-No</literal>." | |
2a52e8c5 DK |
1149 | msgstr "" |
1150 | ||
2a52e8c5 | 1151 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1152 | #: apt-get.8.xml:1 |
2a52e8c5 | 1153 | msgid "" |
5ff8dd6b JAK |
1154 | "Do not show a list of all packages that are to be upgraded. Configuration " |
1155 | "Item: <literal>APT::Get::Show-Upgraded</literal>." | |
2a52e8c5 DK |
1156 | msgstr "" |
1157 | ||
2a52e8c5 | 1158 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1159 | #: apt-get.8.xml:1 |
2a52e8c5 | 1160 | msgid "" |
7d76ea1d DK |
1161 | "Show full versions for upgraded and installed packages. Configuration Item: " |
1162 | "<literal>APT::Get::Show-Versions</literal>." | |
2a52e8c5 DK |
1163 | msgstr "" |
1164 | ||
2a52e8c5 | 1165 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1166 | #: apt-get.8.xml:1 |
2a52e8c5 | 1167 | msgid "" |
7d76ea1d DK |
1168 | "This option controls the architecture packages are built for by " |
1169 | "<command>apt-get source --compile</command> and how cross-builddependencies " | |
1170 | "are satisfied. By default is it not set which means that the host " | |
1171 | "architecture is the same as the build architecture (which is defined by " | |
1172 | "<literal>APT::Architecture</literal>). Configuration Item: " | |
7ffbb475 | 1173 | "<literal>APT::Get::Host-Architecture</literal>." |
2a52e8c5 DK |
1174 | msgstr "" |
1175 | ||
2a52e8c5 | 1176 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1177 | #: apt-get.8.xml:1 |
2a52e8c5 | 1178 | msgid "" |
7ffbb475 MV |
1179 | "This option controls the activated build profiles for which a source package " |
1180 | "is built by <command>apt-get source --compile</command> and how build " | |
1181 | "dependencies are satisfied. By default no build profile is active. More " | |
1182 | "than one build profile can be activated at a time by concatenating them with " | |
1183 | "a comma. Configuration Item: <literal>APT::Build-Profiles</literal>." | |
1184 | msgstr "" | |
1185 | ||
1186 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1187 | #: apt-get.8.xml:1 |
7ffbb475 | 1188 | msgid "" |
7d76ea1d DK |
1189 | "Compile source packages after downloading them. Configuration Item: " |
1190 | "<literal>APT::Get::Compile</literal>." | |
2a52e8c5 DK |
1191 | msgstr "" |
1192 | ||
2a52e8c5 | 1193 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1194 | #: apt-get.8.xml:1 |
2a52e8c5 | 1195 | msgid "" |
7d76ea1d DK |
1196 | "Ignore package holds; this causes <command>apt-get</command> to ignore a " |
1197 | "hold placed on a package. This may be useful in conjunction with " | |
1198 | "<literal>dist-upgrade</literal> to override a large number of undesired " | |
1199 | "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>." | |
2a52e8c5 DK |
1200 | msgstr "" |
1201 | ||
2a52e8c5 | 1202 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1203 | #: apt-get.8.xml:1 |
ce34af08 MV |
1204 | msgid "" |
1205 | "Allow installing new packages when used in conjunction with " | |
1206 | "<literal>upgrade</literal>. This is useful if the update of a installed " | |
1207 | "package requires new dependencies to be installed. Instead of holding the " | |
1208 | "package back <literal>upgrade</literal> will upgrade the package and install " | |
1209 | "the new dependencies. Note that <literal>upgrade</literal> with this option " | |
1210 | "will never remove packages, only allow adding new ones. Configuration Item: " | |
1211 | "<literal>APT::Get::Upgrade-Allow-New</literal>." | |
1212 | msgstr "" | |
1213 | ||
1214 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1215 | #: apt-get.8.xml:1 |
2a52e8c5 | 1216 | msgid "" |
7d76ea1d DK |
1217 | "Do not upgrade packages; when used in conjunction with " |
1218 | "<literal>install</literal>, <literal>no-upgrade</literal> will prevent " | |
1219 | "packages on the command line from being upgraded if they are already " | |
1220 | "installed. Configuration Item: <literal>APT::Get::Upgrade</literal>." | |
2a52e8c5 DK |
1221 | msgstr "" |
1222 | ||
2a52e8c5 | 1223 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1224 | #: apt-get.8.xml:1 |
2a52e8c5 | 1225 | msgid "" |
7d76ea1d DK |
1226 | "Do not install new packages; when used in conjunction with " |
1227 | "<literal>install</literal>, <literal>only-upgrade</literal> will install " | |
1228 | "upgrades for already installed packages only and ignore requests to install " | |
1229 | "new packages. Configuration Item: " | |
1230 | "<literal>APT::Get::Only-Upgrade</literal>." | |
2a52e8c5 DK |
1231 | msgstr "" |
1232 | ||
7d76ea1d | 1233 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1234 | #: apt-get.8.xml:1 |
864fe99c MV |
1235 | msgid "" |
1236 | "This is a dangerous option that will cause apt to continue without prompting " | |
1237 | "if it is doing downgrades. It should not be used except in very special " | |
1238 | "situations. Using it can potentially destroy your system! Configuration " | |
1239 | "Item: <literal>APT::Get::allow-downgrades</literal>. Introduced in APT 1.1." | |
1240 | msgstr "" | |
1241 | ||
1242 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1243 | #: apt-get.8.xml:1 |
864fe99c MV |
1244 | msgid "" |
1245 | "Force yes; this is a dangerous option that will cause apt to continue " | |
1246 | "without prompting if it is removing essentials. It should not be used except " | |
1247 | "in very special situations. Using it can potentially destroy your system! " | |
1248 | "Configuration Item: " | |
1249 | "<literal>APT::Get::allow-remove-essential</literal>. Introduced in APT 1.1." | |
1250 | msgstr "" | |
1251 | ||
1252 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1253 | #: apt-get.8.xml:1 |
864fe99c MV |
1254 | msgid "" |
1255 | "Force yes; this is a dangerous option that will cause apt to continue " | |
1256 | "without prompting if it is changing held packages. It should not be used " | |
1257 | "except in very special situations. Using it can potentially destroy your " | |
1258 | "system! Configuration Item: " | |
1259 | "<literal>APT::Get::allow-change-held-packages</literal>. Introduced in APT " | |
1260 | "1.1." | |
1261 | msgstr "" | |
1262 | ||
1263 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1264 | #: apt-get.8.xml:1 |
2a52e8c5 | 1265 | msgid "" |
7d76ea1d DK |
1266 | "Force yes; this is a dangerous option that will cause apt to continue " |
1267 | "without prompting if it is doing something potentially harmful. It should " | |
1268 | "not be used except in very special situations. Using " | |
1269 | "<literal>force-yes</literal> can potentially destroy your system! " | |
864fe99c MV |
1270 | "Configuration Item: <literal>APT::Get::force-yes</literal>. This is " |
1271 | "deprecated and replaced by <option>--allow-downgrades</option>, " | |
1272 | "<option>--allow-remove-essential</option>, " | |
1273 | "<option>--allow-change-held-packages</option> in 1.1." | |
2a52e8c5 DK |
1274 | msgstr "" |
1275 | ||
7d76ea1d | 1276 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1277 | #: apt-get.8.xml:1 |
2a52e8c5 | 1278 | msgid "" |
7d76ea1d DK |
1279 | "Instead of fetching the files to install their URIs are printed. Each URI " |
1280 | "will have the path, the destination file name, the size and the expected MD5 " | |
1281 | "hash. Note that the file name to write to will not always match the file " | |
1282 | "name on the remote site! This also works with the <literal>source</literal> " | |
1283 | "and <literal>update</literal> commands. When used with the " | |
1284 | "<literal>update</literal> command the MD5 and size are not included, and it " | |
1285 | "is up to the user to decompress any compressed files. Configuration Item: " | |
1286 | "<literal>APT::Get::Print-URIs</literal>." | |
2a52e8c5 DK |
1287 | msgstr "" |
1288 | ||
7d76ea1d | 1289 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1290 | #: apt-get.8.xml:1 |
2a52e8c5 | 1291 | msgid "" |
7d76ea1d DK |
1292 | "Use purge instead of remove for anything that would be removed. An asterisk " |
1293 | "(\"*\") will be displayed next to packages which are scheduled to be " | |
1294 | "purged. <option>remove --purge</option> is equivalent to the " | |
1295 | "<option>purge</option> command. Configuration Item: " | |
1296 | "<literal>APT::Get::Purge</literal>." | |
2a52e8c5 DK |
1297 | msgstr "" |
1298 | ||
aec22160 | 1299 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1300 | #: apt-get.8.xml:1 |
2a52e8c5 | 1301 | msgid "" |
7d76ea1d DK |
1302 | "Re-install packages that are already installed and at the newest version. " |
1303 | "Configuration Item: <literal>APT::Get::ReInstall</literal>." | |
2a52e8c5 DK |
1304 | msgstr "" |
1305 | ||
aec22160 | 1306 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1307 | #: apt-get.8.xml:1 |
2a52e8c5 | 1308 | msgid "" |
7d76ea1d DK |
1309 | "This option is on by default; use <literal>--no-list-cleanup</literal> to " |
1310 | "turn it off. When it is on, <command>apt-get</command> will automatically " | |
1311 | "manage the contents of <filename>&statedir;/lists</filename> to ensure that " | |
1312 | "obsolete files are erased. The only reason to turn it off is if you " | |
1313 | "frequently change your sources list. Configuration Item: " | |
1314 | "<literal>APT::Get::List-Cleanup</literal>." | |
2a52e8c5 DK |
1315 | msgstr "" |
1316 | ||
aec22160 | 1317 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1318 | #: apt-get.8.xml:1 |
2a52e8c5 | 1319 | msgid "" |
7d76ea1d DK |
1320 | "This option controls the default input to the policy engine; it creates a " |
1321 | "default pin at priority 990 using the specified release string. This " | |
1322 | "overrides the general settings in " | |
1323 | "<filename>/etc/apt/preferences</filename>. Specifically pinned packages are " | |
1324 | "not affected by the value of this option. In short, this option lets you " | |
1325 | "have simple control over which distribution packages will be retrieved " | |
1326 | "from. Some common examples might be <option>-t '2.1*'</option>, <option>-t " | |
1327 | "unstable</option> or <option>-t sid</option>. Configuration Item: " | |
1328 | "<literal>APT::Default-Release</literal>; see also the &apt-preferences; " | |
1329 | "manual page." | |
2a52e8c5 DK |
1330 | msgstr "" |
1331 | ||
7d76ea1d | 1332 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1333 | #: apt-get.8.xml:1 |
7d76ea1d DK |
1334 | msgid "" |
1335 | "Only perform operations that are 'trivial'. Logically this can be considered " | |
1336 | "related to <option>--assume-yes</option>; where " | |
1337 | "<option>--assume-yes</option> will answer yes to any prompt, " | |
1338 | "<option>--trivial-only</option> will answer no. Configuration Item: " | |
1339 | "<literal>APT::Get::Trivial-Only</literal>." | |
2a52e8c5 DK |
1340 | msgstr "" |
1341 | ||
2a52e8c5 | 1342 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1343 | #: apt-get.8.xml:1 |
2a52e8c5 | 1344 | msgid "" |
7d76ea1d DK |
1345 | "If any packages are to be removed apt-get immediately aborts without " |
1346 | "prompting. Configuration Item: <literal>APT::Get::Remove</literal>." | |
2a52e8c5 DK |
1347 | msgstr "" |
1348 | ||
2a52e8c5 | 1349 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1350 | #: apt-get.8.xml:1 |
2a52e8c5 | 1351 | msgid "" |
7d76ea1d DK |
1352 | "If the command is either <literal>install</literal> or " |
1353 | "<literal>remove</literal>, then this option acts like running the " | |
1354 | "<literal>autoremove</literal> command, removing unused dependency " | |
1355 | "packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>." | |
2a52e8c5 DK |
1356 | msgstr "" |
1357 | ||
2a52e8c5 | 1358 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1359 | #: apt-get.8.xml:1 |
2a52e8c5 | 1360 | msgid "" |
7d76ea1d DK |
1361 | "Only has meaning for the <literal>source</literal> and " |
1362 | "<literal>build-dep</literal> commands. Indicates that the given source " | |
1363 | "names are not to be mapped through the binary table. This means that if " | |
1364 | "this option is specified, these commands will only accept source package " | |
1365 | "names as arguments, rather than accepting binary package names and looking " | |
1366 | "up the corresponding source package. Configuration Item: " | |
1367 | "<literal>APT::Get::Only-Source</literal>." | |
2a52e8c5 DK |
1368 | msgstr "" |
1369 | ||
2a52e8c5 | 1370 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1371 | #: apt-get.8.xml:1 |
2a52e8c5 | 1372 | msgid "" |
7d76ea1d DK |
1373 | "Download only the diff, dsc, or tar file of a source archive. Configuration " |
1374 | "Item: <literal>APT::Get::Diff-Only</literal>, " | |
1375 | "<literal>APT::Get::Dsc-Only</literal>, and " | |
1376 | "<literal>APT::Get::Tar-Only</literal>." | |
2a52e8c5 DK |
1377 | msgstr "" |
1378 | ||
2a52e8c5 | 1379 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1380 | #: apt-get.8.xml:1 |
2a52e8c5 | 1381 | msgid "" |
7d76ea1d DK |
1382 | "Only process architecture-dependent build-dependencies. Configuration Item: " |
1383 | "<literal>APT::Get::Arch-Only</literal>." | |
2a52e8c5 DK |
1384 | msgstr "" |
1385 | ||
2a52e8c5 | 1386 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1387 | #: apt-get.8.xml:1 |
2a52e8c5 | 1388 | msgid "" |
7d76ea1d | 1389 | "Ignore if packages can't be authenticated and don't prompt about it. This " |
864fe99c MV |
1390 | "can be useful while working with local repositories, but is a huge security " |
1391 | "risk if data authenticity isn't ensured in another way by the user itself. " | |
1392 | "The usage of the <option>Trusted</option> option for &sources-list; entries " | |
1393 | "should usually be preferred over this global override. Configuration Item: " | |
7d76ea1d DK |
1394 | "<literal>APT::Get::AllowUnauthenticated</literal>." |
1395 | msgstr "" | |
1396 | ||
ce34af08 | 1397 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1398 | #: apt-get.8.xml:1 |
ce34af08 | 1399 | msgid "" |
5b1e4e86 | 1400 | "Forbid the update command to acquire unverifiable data from configured " |
14e325c7 JAK |
1401 | "sources. APT will fail at the update command for repositories without valid " |
1402 | "cryptographically signatures. See also &apt-secure; for details on the " | |
1403 | "concept and the implications. Configuration Item: " | |
5b1e4e86 MV |
1404 | "<literal>Acquire::AllowInsecureRepositories</literal>." |
1405 | msgstr "" | |
1406 | ||
1407 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1408 | #: apt-get.8.xml:1 |
5b1e4e86 | 1409 | msgid "" |
ce34af08 MV |
1410 | "Show user friendly progress information in the terminal window when packages " |
1411 | "are installed, upgraded or removed. For a machine parsable version of this " | |
1412 | "data see README.progress-reporting in the apt doc directory. Configuration " | |
506ab3c7 | 1413 | "Item: <literal>Dpkg::Progress</literal> and " |
ce34af08 MV |
1414 | "<literal>Dpkg::Progress-Fancy</literal>." |
1415 | msgstr "" | |
1416 | ||
43670e2e JAK |
1417 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
1418 | #: apt-get.8.xml:1 | |
1419 | msgid "" | |
1420 | "Adds the given file as a source for metadata. Can be repeated to add " | |
1421 | "multiple files. See <option>--with-source</option> description in " | |
1422 | "&apt-cache; for further details." | |
1423 | msgstr "" | |
1424 | ||
7d76ea1d | 1425 | #. type: Content of: <refentry><refsect1><title> |
04f27fae MV |
1426 | #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 apt-mark.8.xml:1 |
1427 | #: apt.conf.5.xml:1 apt_preferences.5.xml:1 | |
7d76ea1d DK |
1428 | msgid "Files" |
1429 | msgstr "" | |
1430 | ||
2a52e8c5 | 1431 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 1432 | #: apt-get.8.xml:1 |
7d76ea1d | 1433 | msgid "" |
1c937475 MV |
1434 | "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, " |
1435 | "&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the " | |
1436 | "APT Howto." | |
7d76ea1d DK |
1437 | msgstr "" |
1438 | ||
2a52e8c5 | 1439 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 1440 | #: apt-get.8.xml:1 |
2a52e8c5 | 1441 | msgid "" |
7d76ea1d DK |
1442 | "<command>apt-get</command> returns zero on normal operation, decimal 100 on " |
1443 | "error." | |
2a52e8c5 DK |
1444 | msgstr "" |
1445 | ||
2a52e8c5 | 1446 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 1447 | #: apt-cache.8.xml:1 |
7d76ea1d | 1448 | msgid "query the APT cache" |
2a52e8c5 DK |
1449 | msgstr "" |
1450 | ||
2a52e8c5 | 1451 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 1452 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1453 | msgid "" |
7d76ea1d DK |
1454 | "<command>apt-cache</command> performs a variety of operations on APT's " |
1455 | "package cache. <command>apt-cache</command> does not manipulate the state of " | |
1456 | "the system but does provide operations to search and generate interesting " | |
8561c2fe DK |
1457 | "output from the package metadata. The metadata is acquired and updated via " |
1458 | "the 'update' command of e.g. <command>apt-get</command>, so that it can be " | |
1459 | "outdated if the last update is too long ago, but in exchange " | |
1460 | "<command>apt-cache</command> works independently of the availability of the " | |
1461 | "configured sources (e.g. offline)." | |
2a52e8c5 DK |
1462 | msgstr "" |
1463 | ||
2a52e8c5 | 1464 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1465 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1466 | msgid "" |
7d76ea1d DK |
1467 | "<literal>gencaches</literal> creates APT's package cache. This is done " |
1468 | "implicitly by all commands needing this cache if it is missing or outdated." | |
2a52e8c5 DK |
1469 | msgstr "" |
1470 | ||
7d76ea1d | 1471 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable> |
04f27fae MV |
1472 | #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 |
1473 | #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 | |
7d76ea1d | 1474 | msgid "&synopsis-pkg;" |
2a52e8c5 DK |
1475 | msgstr "" |
1476 | ||
1477 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1478 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1479 | msgid "" |
7d76ea1d DK |
1480 | "<literal>showpkg</literal> displays information about the packages listed on " |
1481 | "the command line. Remaining arguments are package names. The available " | |
1482 | "versions and reverse dependencies of each package listed are listed, as well " | |
1483 | "as forward dependencies for each version. Forward (normal) dependencies are " | |
1484 | "those packages upon which the package in question depends; reverse " | |
1485 | "dependencies are those packages that depend upon the package in " | |
1486 | "question. Thus, forward dependencies must be satisfied for a package, but " | |
1487 | "reverse dependencies need not be. For instance, <command>apt-cache showpkg " | |
1488 | "libreadline2</command> would produce output similar to the following:" | |
2a52e8c5 DK |
1489 | msgstr "" |
1490 | ||
7d76ea1d | 1491 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting> |
04f27fae | 1492 | #: apt-cache.8.xml:1 |
7d76ea1d | 1493 | #, no-wrap |
2a52e8c5 | 1494 | msgid "" |
7d76ea1d DK |
1495 | "Package: libreadline2\n" |
1496 | "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n" | |
1497 | "Reverse Depends: \n" | |
1498 | " libreadlineg2,libreadline2\n" | |
1499 | " libreadline2-altdev,libreadline2\n" | |
1500 | "Dependencies:\n" | |
1501 | "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n" | |
1502 | "Provides:\n" | |
1503 | "2.1-12 - \n" | |
1504 | "Reverse Provides: \n" | |
2a52e8c5 DK |
1505 | msgstr "" |
1506 | ||
1507 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1508 | #: apt-cache.8.xml:1 |
7d76ea1d DK |
1509 | msgid "" |
1510 | "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and " | |
1511 | "ncurses3.0 which must be installed for libreadline2 to work. In turn, " | |
1512 | "libreadlineg2 and libreadline2-altdev depend on libreadline2. If " | |
1513 | "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be " | |
1514 | "installed; libreadlineg2 and libreadline2-altdev do not have to be " | |
1515 | "installed. For the specific meaning of the remainder of the output it is " | |
1516 | "best to consult the apt source code." | |
2a52e8c5 DK |
1517 | msgstr "" |
1518 | ||
aa2218b2 | 1519 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1520 | #: apt-cache.8.xml:1 |
aa2218b2 | 1521 | msgid "" |
7d76ea1d DK |
1522 | "<literal>stats</literal> displays some statistics about the cache. No " |
1523 | "further arguments are expected. Statistics reported are:" | |
aa2218b2 MV |
1524 | msgstr "" |
1525 | ||
7d76ea1d | 1526 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> |
04f27fae | 1527 | #: apt-cache.8.xml:1 |
aa2218b2 | 1528 | msgid "" |
7d76ea1d DK |
1529 | "<literal>Total package names</literal> is the number of package names found " |
1530 | "in the cache." | |
aa2218b2 MV |
1531 | msgstr "" |
1532 | ||
7d76ea1d | 1533 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> |
04f27fae | 1534 | #: apt-cache.8.xml:1 |
aa2218b2 | 1535 | msgid "" |
7d76ea1d DK |
1536 | "<literal>Normal packages</literal> is the number of regular, ordinary " |
1537 | "package names; these are packages that bear a one-to-one correspondence " | |
1538 | "between their names and the names used by other packages for them in " | |
1539 | "dependencies. The majority of packages fall into this category." | |
2a52e8c5 DK |
1540 | msgstr "" |
1541 | ||
7d76ea1d | 1542 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> |
04f27fae | 1543 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1544 | msgid "" |
7d76ea1d DK |
1545 | "<literal>Pure virtual packages</literal> is the number of packages that " |
1546 | "exist only as a virtual package name; that is, packages only \"provide\" the " | |
1547 | "virtual package name, and no package actually uses the name. For instance, " | |
1548 | "\"mail-transport-agent\" in the Debian system is a pure virtual package; " | |
1549 | "several packages provide \"mail-transport-agent\", but there is no package " | |
1550 | "named \"mail-transport-agent\"." | |
2a52e8c5 DK |
1551 | msgstr "" |
1552 | ||
7d76ea1d | 1553 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> |
04f27fae | 1554 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1555 | msgid "" |
7d76ea1d DK |
1556 | "<literal>Single virtual packages</literal> is the number of packages with " |
1557 | "only one package providing a particular virtual package. For example, in the " | |
1558 | "Debian system, \"X11-text-viewer\" is a virtual package, but only one " | |
1559 | "package, xless, provides \"X11-text-viewer\"." | |
2a52e8c5 DK |
1560 | msgstr "" |
1561 | ||
7d76ea1d | 1562 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> |
04f27fae | 1563 | #: apt-cache.8.xml:1 |
7d76ea1d DK |
1564 | msgid "" |
1565 | "<literal>Mixed virtual packages</literal> is the number of packages that " | |
1566 | "either provide a particular virtual package or have the virtual package name " | |
1567 | "as the package name. For instance, in the Debian system, \"debconf\" is both " | |
1568 | "an actual package, and provided by the debconf-tiny package." | |
2a52e8c5 DK |
1569 | msgstr "" |
1570 | ||
7d76ea1d | 1571 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> |
04f27fae | 1572 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1573 | msgid "" |
7d76ea1d DK |
1574 | "<literal>Missing</literal> is the number of package names that were " |
1575 | "referenced in a dependency but were not provided by any package. Missing " | |
1576 | "packages may be an evidence if a full distribution is not accessed, or if a " | |
1577 | "package (real or virtual) has been dropped from the distribution. Usually " | |
1578 | "they are referenced from Conflicts or Breaks statements." | |
2a52e8c5 DK |
1579 | msgstr "" |
1580 | ||
7d76ea1d | 1581 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> |
04f27fae | 1582 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1583 | msgid "" |
7d76ea1d | 1584 | "<literal>Total distinct</literal> versions is the number of package versions " |
864fe99c | 1585 | "found in the cache. If more than one distribution is being accessed (for " |
7d76ea1d DK |
1586 | "instance, \"stable\" and \"unstable\"), this value can be considerably " |
1587 | "larger than the number of total package names." | |
2a52e8c5 DK |
1588 | msgstr "" |
1589 | ||
7d76ea1d | 1590 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> |
04f27fae | 1591 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1592 | msgid "" |
7d76ea1d DK |
1593 | "<literal>Total dependencies</literal> is the number of dependency " |
1594 | "relationships claimed by all of the packages in the cache." | |
2a52e8c5 DK |
1595 | msgstr "" |
1596 | ||
2a52e8c5 | 1597 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1598 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1599 | msgid "" |
7d76ea1d DK |
1600 | "<literal>showsrc</literal> displays all the source package records that " |
1601 | "match the given package names. All versions are shown, as well as all " | |
864fe99c MV |
1602 | "records that declare the name to be a binary package. Use " |
1603 | "<option>--only-source</option> to display only source package names." | |
2a52e8c5 DK |
1604 | msgstr "" |
1605 | ||
2a52e8c5 | 1606 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1607 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1608 | msgid "" |
7d76ea1d DK |
1609 | "<literal>dump</literal> shows a short listing of every package in the " |
1610 | "cache. It is primarily for debugging." | |
2a52e8c5 DK |
1611 | msgstr "" |
1612 | ||
7d76ea1d | 1613 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1614 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1615 | msgid "" |
7d76ea1d DK |
1616 | "<literal>dumpavail</literal> prints out an available list to stdout. This is " |
1617 | "suitable for use with &dpkg; and is used by the &dselect; method." | |
2a52e8c5 DK |
1618 | msgstr "" |
1619 | ||
7d76ea1d | 1620 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1621 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1622 | msgid "" |
7d76ea1d DK |
1623 | "<literal>unmet</literal> displays a summary of all unmet dependencies in the " |
1624 | "package cache." | |
2a52e8c5 DK |
1625 | msgstr "" |
1626 | ||
7d76ea1d | 1627 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1628 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1629 | msgid "" |
7d76ea1d DK |
1630 | "<literal>show</literal> performs a function similar to <command>dpkg " |
1631 | "--print-avail</command>; it displays the package records for the named " | |
1632 | "packages." | |
2a52e8c5 DK |
1633 | msgstr "" |
1634 | ||
7d76ea1d | 1635 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable> |
04f27fae | 1636 | #: apt-cache.8.xml:1 |
7d76ea1d | 1637 | msgid "&synopsis-regex;" |
2a52e8c5 DK |
1638 | msgstr "" |
1639 | ||
2a52e8c5 | 1640 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1641 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1642 | msgid "" |
7d76ea1d DK |
1643 | "<literal>search</literal> performs a full text search on all available " |
1644 | "package lists for the POSIX regex pattern given, see ®ex;. It searches " | |
1645 | "the package names and the descriptions for an occurrence of the regular " | |
1646 | "expression and prints out the package name and the short description, " | |
1647 | "including virtual package names. If <option>--full</option> is given then " | |
1648 | "output identical to <literal>show</literal> is produced for each matched " | |
1649 | "package, and if <option>--names-only</option> is given then the long " | |
864fe99c MV |
1650 | "description is not searched, only the package name and provided packages " |
1651 | "are." | |
2a52e8c5 DK |
1652 | msgstr "" |
1653 | ||
1654 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1655 | #: apt-cache.8.xml:1 |
7d76ea1d DK |
1656 | msgid "" |
1657 | "Separate arguments can be used to specify multiple search patterns that are " | |
1658 | "and'ed together." | |
2a52e8c5 DK |
1659 | msgstr "" |
1660 | ||
2a52e8c5 | 1661 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1662 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1663 | msgid "" |
7d76ea1d DK |
1664 | "<literal>depends</literal> shows a listing of each dependency a package has " |
1665 | "and all the possible other packages that can fulfill that dependency." | |
2a52e8c5 DK |
1666 | msgstr "" |
1667 | ||
1668 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1669 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1670 | msgid "" |
7d76ea1d DK |
1671 | "<literal>rdepends</literal> shows a listing of each reverse dependency a " |
1672 | "package has." | |
2a52e8c5 DK |
1673 | msgstr "" |
1674 | ||
7d76ea1d | 1675 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
04f27fae | 1676 | #: apt-cache.8.xml:1 |
7d76ea1d | 1677 | msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>" |
2a52e8c5 DK |
1678 | msgstr "" |
1679 | ||
2a52e8c5 | 1680 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1681 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1682 | msgid "" |
7d76ea1d DK |
1683 | "This command prints the name of each package APT knows. The optional " |
1684 | "argument is a prefix match to filter the name list. The output is suitable " | |
1685 | "for use in a shell tab complete function and the output is generated " | |
1686 | "extremely quickly. This command is best used with the " | |
1687 | "<option>--generate</option> option." | |
2a52e8c5 DK |
1688 | msgstr "" |
1689 | ||
2a52e8c5 | 1690 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1691 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1692 | msgid "" |
7d76ea1d DK |
1693 | "Note that a package which APT knows of is not necessarily available to " |
1694 | "download, installable or installed, e.g. virtual packages are also listed in " | |
1695 | "the generated list." | |
2a52e8c5 DK |
1696 | msgstr "" |
1697 | ||
1698 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1699 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1700 | msgid "" |
7d76ea1d DK |
1701 | "<literal>dotty</literal> takes a list of packages on the command line and " |
1702 | "generates output suitable for use by dotty from the <ulink " | |
1703 | "url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> " | |
1704 | "package. The result will be a set of nodes and edges representing the " | |
1705 | "relationships between the packages. By default the given packages will trace " | |
1706 | "out all dependent packages; this can produce a very large graph. To limit " | |
1707 | "the output to only the packages listed on the command line, set the " | |
1708 | "<literal>APT::Cache::GivenOnly</literal> option." | |
2a52e8c5 DK |
1709 | msgstr "" |
1710 | ||
2a52e8c5 | 1711 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1712 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1713 | msgid "" |
7d76ea1d DK |
1714 | "The resulting nodes will have several shapes; normal packages are boxes, " |
1715 | "pure virtual packages are triangles, mixed virtual packages are diamonds, " | |
1716 | "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf " | |
1717 | "packages), blue lines are pre-depends, green lines are conflicts." | |
2a52e8c5 DK |
1718 | msgstr "" |
1719 | ||
2a52e8c5 | 1720 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1721 | #: apt-cache.8.xml:1 |
7d76ea1d | 1722 | msgid "Caution, dotty cannot graph larger sets of packages." |
2a52e8c5 DK |
1723 | msgstr "" |
1724 | ||
7d76ea1d | 1725 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1726 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1727 | msgid "" |
7d76ea1d DK |
1728 | "The same as <literal>dotty</literal>, only for xvcg from the <ulink " |
1729 | "url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG " | |
1730 | "tool</ulink>." | |
2a52e8c5 DK |
1731 | msgstr "" |
1732 | ||
7d76ea1d | 1733 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
04f27fae | 1734 | #: apt-cache.8.xml:1 |
7d76ea1d | 1735 | msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>" |
2a52e8c5 DK |
1736 | msgstr "" |
1737 | ||
7d76ea1d | 1738 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1739 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1740 | msgid "" |
7d76ea1d DK |
1741 | "<literal>policy</literal> is meant to help debug issues relating to the " |
1742 | "preferences file. With no arguments it will print out the priorities of each " | |
1743 | "source. Otherwise it prints out detailed information about the priority " | |
1744 | "selection of the named package." | |
2a52e8c5 DK |
1745 | msgstr "" |
1746 | ||
7d76ea1d | 1747 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1748 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1749 | msgid "" |
7d76ea1d DK |
1750 | "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts " |
1751 | "to mimic the output format and a subset of the functionality of the Debian " | |
1752 | "archive management tool, <literal>madison</literal>. It displays available " | |
1753 | "versions of a package in a tabular format. Unlike the original " | |
1754 | "<literal>madison</literal>, it can only display information for the " | |
1755 | "architecture for which APT has retrieved package lists " | |
1756 | "(<literal>APT::Architecture</literal>)." | |
2a52e8c5 DK |
1757 | msgstr "" |
1758 | ||
7d76ea1d | 1759 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1760 | #: apt-cache.8.xml:1 |
7d76ea1d DK |
1761 | msgid "" |
1762 | "Select the file to store the package cache. The package cache is the primary " | |
1763 | "cache used by all operations. Configuration Item: " | |
1764 | "<literal>Dir::Cache::pkgcache</literal>." | |
2a52e8c5 DK |
1765 | msgstr "" |
1766 | ||
7d76ea1d | 1767 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1768 | #: apt-cache.8.xml:1 |
7d76ea1d DK |
1769 | msgid "" |
1770 | "Select the file to store the source cache. The source is used only by " | |
1771 | "<literal>gencaches</literal> and it stores a parsed version of the package " | |
1772 | "information from remote sources. When building the package cache the source " | |
1773 | "cache is used to avoid reparsing all of the package files. Configuration " | |
1774 | "Item: <literal>Dir::Cache::srcpkgcache</literal>." | |
2a52e8c5 DK |
1775 | msgstr "" |
1776 | ||
7d76ea1d | 1777 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1778 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1779 | msgid "" |
7d76ea1d DK |
1780 | "Quiet; produces output suitable for logging, omitting progress indicators. " |
1781 | "More q's will produce more quietness up to a maximum of 2. You can also use " | |
1782 | "<option>-q=#</option> to set the quietness level, overriding the " | |
1783 | "configuration file. Configuration Item: <literal>quiet</literal>." | |
2a52e8c5 DK |
1784 | msgstr "" |
1785 | ||
7d76ea1d | 1786 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1787 | #: apt-cache.8.xml:1 |
7d76ea1d DK |
1788 | msgid "" |
1789 | "Print only important dependencies; for use with <literal>unmet</literal> and " | |
1790 | "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to " | |
1791 | "be printed. Configuration Item: <literal>APT::Cache::Important</literal>." | |
2a52e8c5 DK |
1792 | msgstr "" |
1793 | ||
7d76ea1d | 1794 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1795 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1796 | msgid "" |
864fe99c | 1797 | "Per default the <command>depends</command> and <command>rdepends</command> " |
7d76ea1d DK |
1798 | "print all dependencies. This can be tweaked with these flags which will omit " |
1799 | "the specified dependency type. Configuration Item: " | |
1800 | "<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> " | |
1801 | "e.g. <literal>APT::Cache::ShowRecommends</literal>." | |
2a52e8c5 DK |
1802 | msgstr "" |
1803 | ||
7d76ea1d | 1804 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1805 | #: apt-cache.8.xml:1 |
864fe99c MV |
1806 | msgid "" |
1807 | "Per default <command>depends</command> and <command>rdepends</command> print " | |
1808 | "only dependencies explicitly expressed in the metadata. With this flag it " | |
5ff8dd6b JAK |
1809 | "will also show dependencies implicitly added based on the encountered data. " |
1810 | "A <literal>Conflicts: foo</literal> e.g. expresses implicitly that this " | |
1811 | "package also conflicts with the package foo from any other architecture. " | |
1812 | "Configuration Item: <literal>APT::Cache::ShowImplicit</literal>." | |
864fe99c MV |
1813 | msgstr "" |
1814 | ||
1815 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 1816 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1817 | msgid "" |
7d76ea1d DK |
1818 | "Print full package records when searching. Configuration Item: " |
1819 | "<literal>APT::Cache::ShowFull</literal>." | |
2a52e8c5 DK |
1820 | msgstr "" |
1821 | ||
7d76ea1d | 1822 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1823 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1824 | msgid "" |
7d76ea1d DK |
1825 | "Print full records for all available versions. This is the default; to turn " |
1826 | "it off, use <option>--no-all-versions</option>. If " | |
1827 | "<option>--no-all-versions</option> is specified, only the candidate version " | |
1828 | "will be displayed (the one which would be selected for installation). This " | |
1829 | "option is only applicable to the <literal>show</literal> command. " | |
1830 | "Configuration Item: <literal>APT::Cache::AllVersions</literal>." | |
2a52e8c5 DK |
1831 | msgstr "" |
1832 | ||
7d76ea1d | 1833 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1834 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1835 | msgid "" |
7d76ea1d DK |
1836 | "Perform automatic package cache regeneration, rather than use the cache as " |
1837 | "it is. This is the default; to turn it off, use " | |
1838 | "<option>--no-generate</option>. Configuration Item: " | |
1839 | "<literal>APT::Cache::Generate</literal>." | |
2a52e8c5 DK |
1840 | msgstr "" |
1841 | ||
7d76ea1d | 1842 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1843 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1844 | msgid "" |
864fe99c MV |
1845 | "Only search on the package and provided package names, not the long " |
1846 | "descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>." | |
2a52e8c5 DK |
1847 | msgstr "" |
1848 | ||
7d76ea1d | 1849 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1850 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1851 | msgid "" |
7d76ea1d DK |
1852 | "Make <literal>pkgnames</literal> print all names, including virtual packages " |
1853 | "and missing dependencies. Configuration Item: " | |
1854 | "<literal>APT::Cache::AllNames</literal>." | |
2a52e8c5 DK |
1855 | msgstr "" |
1856 | ||
7d76ea1d | 1857 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1858 | #: apt-cache.8.xml:1 |
2a52e8c5 | 1859 | msgid "" |
7d76ea1d DK |
1860 | "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so " |
1861 | "that all packages mentioned are printed once. Configuration Item: " | |
1862 | "<literal>APT::Cache::RecurseDepends</literal>." | |
b81dbe40 DK |
1863 | msgstr "" |
1864 | ||
7d76ea1d | 1865 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1866 | #: apt-cache.8.xml:1 |
b81dbe40 | 1867 | msgid "" |
7d76ea1d DK |
1868 | "Limit the output of <literal>depends</literal> and " |
1869 | "<literal>rdepends</literal> to packages which are currently installed. " | |
1870 | "Configuration Item: <literal>APT::Cache::Installed</literal>." | |
2a52e8c5 DK |
1871 | msgstr "" |
1872 | ||
43670e2e JAK |
1873 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
1874 | #: apt-cache.8.xml:1 | |
1875 | msgid "" | |
1876 | "Adds the given file as a source for metadata. Can be repeated to add " | |
1877 | "multiple files. Supported are currently <literal>*.deb</literal>, " | |
1878 | "<literal>*.dsc</literal>, <literal>*.changes</literal>, " | |
1879 | "<literal>Sources</literal> and <literal>Packages</literal> files as well as " | |
1880 | "source package directories. Files are matched based on their name only, not " | |
1881 | "their content!" | |
1882 | msgstr "" | |
1883 | ||
1884 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
1885 | #: apt-cache.8.xml:1 | |
1886 | msgid "" | |
1887 | "<literal>Sources</literal> and <literal>Packages</literal> can be compressed " | |
1888 | "in any format apt supports as long as they have the correct extension. If " | |
1889 | "you need to store multiple of these files in one directory you can prefix a " | |
1890 | "name of your choice with the last character being an underscore " | |
1891 | "(\"<literal>_</literal>\"). Example: my.example_Packages.xz" | |
1892 | msgstr "" | |
1893 | ||
1894 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
1895 | #: apt-cache.8.xml:1 | |
1896 | msgid "" | |
1897 | "Note that these sources are treated as trusted (see &apt-secure;). " | |
1898 | "Configuration Item: <literal>APT::Sources::With</literal>." | |
1899 | msgstr "" | |
1900 | ||
7d76ea1d | 1901 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 1902 | #: apt-cache.8.xml:1 |
7d76ea1d | 1903 | msgid "&apt-conf;, &sources-list;, &apt-get;" |
2a52e8c5 DK |
1904 | msgstr "" |
1905 | ||
7d76ea1d | 1906 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 1907 | #: apt-cache.8.xml:1 |
b81dbe40 | 1908 | msgid "" |
7d76ea1d DK |
1909 | "<command>apt-cache</command> returns zero on normal operation, decimal 100 " |
1910 | "on error." | |
b81dbe40 DK |
1911 | msgstr "" |
1912 | ||
7d76ea1d | 1913 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 1914 | #: apt-key.8.xml:1 |
7d76ea1d | 1915 | msgid "APT key management utility" |
2a52e8c5 DK |
1916 | msgstr "" |
1917 | ||
7d76ea1d | 1918 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 1919 | #: apt-key.8.xml:1 |
2a52e8c5 | 1920 | msgid "" |
7d76ea1d DK |
1921 | "<command>apt-key</command> is used to manage the list of keys used by apt to " |
1922 | "authenticate packages. Packages which have been authenticated using these " | |
1923 | "keys will be considered trusted." | |
2a52e8c5 DK |
1924 | msgstr "" |
1925 | ||
4bdf29d3 JAK |
1926 | #. type: Content of: <refentry><refsect1><para> |
1927 | #: apt-key.8.xml:1 | |
1928 | msgid "" | |
1929 | "Note that if usage of <command>apt-key</command> is desired the additional " | |
1930 | "installation of the GNU Privacy Guard suite (packaged in " | |
f8b879c2 JAK |
1931 | "<package>gnupg</package>) is required. For this reason alone the " |
1932 | "programmatic usage (especially in package maintainerscripts!) is strongly " | |
1933 | "discouraged. Further more the output format of all commands is undefined " | |
1934 | "and can and does change whenever the underlying commands " | |
1935 | "change. <command>apt-key</command> will try to detect such usage and " | |
1936 | "generates warnings on stderr in these cases." | |
4bdf29d3 JAK |
1937 | msgstr "" |
1938 | ||
7d76ea1d | 1939 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 1940 | #: apt-key.8.xml:1 |
7d76ea1d | 1941 | msgid "Commands" |
2a52e8c5 DK |
1942 | msgstr "" |
1943 | ||
7d76ea1d | 1944 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1945 | #: apt-key.8.xml:1 |
2a52e8c5 | 1946 | msgid "" |
7d76ea1d DK |
1947 | "Add a new key to the list of trusted keys. The key is read from the " |
1948 | "filename given with the parameter &synopsis-param-filename; or if the " | |
1949 | "filename is <literal>-</literal> from standard input." | |
2a52e8c5 DK |
1950 | msgstr "" |
1951 | ||
cbbee23e DK |
1952 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
1953 | #: apt-key.8.xml:1 | |
1954 | msgid "" | |
1955 | "It is critical that keys added manually via <command>apt-key</command> are " | |
1956 | "verified to belong to the owner of the repositories they claim to be for " | |
1957 | "otherwise the &apt-secure; infrastructure is completely undermined." | |
1958 | msgstr "" | |
1959 | ||
7d76ea1d | 1960 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1961 | #: apt-key.8.xml:1 |
4bdf29d3 JAK |
1962 | msgid "" |
1963 | "Instead of using this command a keyring can be placed directly in the " | |
1964 | "<filename>/etc/apt/trusted.gpg.d/</filename> directory with a descriptive " | |
1965 | "name (same rules for filename apply as for &apt-conf; files) and " | |
1966 | "\"<literal>gpg</literal>\" as file extension." | |
2a52e8c5 DK |
1967 | msgstr "" |
1968 | ||
7d76ea1d | 1969 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1970 | #: apt-key.8.xml:1 |
4bdf29d3 | 1971 | msgid "Remove a key from the list of trusted keys." |
2a52e8c5 DK |
1972 | msgstr "" |
1973 | ||
7d76ea1d | 1974 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1975 | #: apt-key.8.xml:1 |
4bdf29d3 | 1976 | msgid "Output the key &synopsis-param-keyid; to standard output." |
2a52e8c5 DK |
1977 | msgstr "" |
1978 | ||
7d76ea1d | 1979 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1980 | #: apt-key.8.xml:1 |
4bdf29d3 | 1981 | msgid "Output all trusted keys to standard output." |
2a52e8c5 DK |
1982 | msgstr "" |
1983 | ||
7d76ea1d | 1984 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1985 | #: apt-key.8.xml:1 |
4bdf29d3 | 1986 | msgid "List trusted keys with fingerprints." |
b81dbe40 DK |
1987 | msgstr "" |
1988 | ||
7d76ea1d | 1989 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 1990 | #: apt-key.8.xml:1 |
b81dbe40 | 1991 | msgid "" |
cbbee23e DK |
1992 | "Pass advanced options to gpg. With <command>adv --recv-key</command> you can " |
1993 | "e.g. download key from keyservers directly into the the trusted set of " | |
1994 | "keys. Note that there are <emphasis>no</emphasis> checks performed, so it is " | |
1995 | "easy to completely undermine the &apt-secure; infrastructure if used without " | |
1996 | "care." | |
b81dbe40 DK |
1997 | msgstr "" |
1998 | ||
4bdf29d3 JAK |
1999 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2000 | #: apt-key.8.xml:1 | |
2001 | msgid "(deprecated)" | |
2002 | msgstr "" | |
2003 | ||
7d76ea1d | 2004 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2005 | #: apt-key.8.xml:1 |
2a52e8c5 | 2006 | msgid "" |
7d76ea1d DK |
2007 | "Update the local keyring with the archive keyring and remove from the local " |
2008 | "keyring the archive keys which are no longer valid. The archive keyring is " | |
2009 | "shipped in the <literal>archive-keyring</literal> package of your " | |
ce34af08 | 2010 | "distribution, e.g. the &keyring-package; package in &keyring-distro;." |
2a52e8c5 DK |
2011 | msgstr "" |
2012 | ||
4bdf29d3 JAK |
2013 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2014 | #: apt-key.8.xml:1 | |
2015 | msgid "" | |
2016 | "Note that a distribution does not need to and in fact should not use this " | |
2017 | "command any longer and instead ship keyring files in the " | |
2018 | "<filename>/etc/apt/trusted.gpg</filename> directory directly as this avoids " | |
2019 | "a dependency on <package>gnupg</package> and it is easier to manage keys by " | |
2020 | "simply adding and removing files for maintainers and users alike." | |
2021 | msgstr "" | |
2022 | ||
7d76ea1d | 2023 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2024 | #: apt-key.8.xml:1 |
2a52e8c5 | 2025 | msgid "" |
6072cbe1 JR |
2026 | "Perform an update working similarly to the <command>update</command> command " |
2027 | "above, but get the archive keyring from a URI instead and validate it " | |
2028 | "against a master key. This requires an installed &wget; and an APT build " | |
2029 | "configured to have a server to fetch from and a master keyring to validate. " | |
2030 | "APT in Debian does not support this command, relying on " | |
2031 | "<command>update</command> instead, but Ubuntu's APT does." | |
2a52e8c5 DK |
2032 | msgstr "" |
2033 | ||
7d76ea1d | 2034 | #. type: Content of: <refentry><refsect1><title> |
cbbee23e | 2035 | #: apt-key.8.xml:1 apt-mark.8.xml:1 apt-mark.8.xml:1 apt-cdrom.8.xml:1 |
7d76ea1d | 2036 | msgid "Options" |
2a52e8c5 DK |
2037 | msgstr "" |
2038 | ||
7d76ea1d | 2039 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2040 | #: apt-key.8.xml:1 |
2a52e8c5 | 2041 | msgid "" |
7d76ea1d DK |
2042 | "Note that options need to be defined before the commands described in the " |
2043 | "previous section." | |
2a52e8c5 DK |
2044 | msgstr "" |
2045 | ||
7d76ea1d | 2046 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2047 | #: apt-key.8.xml:1 |
2a52e8c5 | 2048 | msgid "" |
6072cbe1 | 2049 | "With this option it is possible to specify a particular keyring file the " |
7d76ea1d DK |
2050 | "command should operate on. The default is that a command is executed on the " |
2051 | "<filename>trusted.gpg</filename> file as well as on all parts in the " | |
2052 | "<filename>trusted.gpg.d</filename> directory, though " | |
2053 | "<filename>trusted.gpg</filename> is the primary keyring which means that " | |
2054 | "e.g. new keys are added to this one." | |
2a52e8c5 DK |
2055 | msgstr "" |
2056 | ||
7d76ea1d | 2057 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2058 | #: apt-key.8.xml:1 |
7d76ea1d | 2059 | msgid "&apt-get;, &apt-secure;" |
2a52e8c5 DK |
2060 | msgstr "" |
2061 | ||
7d76ea1d | 2062 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 2063 | #: apt-mark.8.xml:1 |
cbbee23e | 2064 | msgid "show, set and unset various settings for a package" |
2a52e8c5 DK |
2065 | msgstr "" |
2066 | ||
7d76ea1d | 2067 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2068 | #: apt-mark.8.xml:1 |
2a52e8c5 | 2069 | msgid "" |
051029f8 DK |
2070 | "<command>apt-mark</command> can be used as a unified front-end to set " |
2071 | "various settings for a package, such as marking a package as being " | |
cbbee23e DK |
2072 | "automatically/manually installed or changing <command>dpkg</command> " |
2073 | "selections such as hold, install, deinstall and purge which are respected " | |
2074 | "e.g. by <command>apt-get dselect-upgrade</command> or " | |
2075 | "<command>aptitude</command>." | |
2076 | msgstr "" | |
2077 | ||
2078 | #. type: Content of: <refentry><refsect1><title> | |
2079 | #: apt-mark.8.xml:1 | |
051029f8 | 2080 | msgid "Automatically and Manually Installed Packages" |
2a52e8c5 DK |
2081 | msgstr "" |
2082 | ||
7d76ea1d | 2083 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2084 | #: apt-mark.8.xml:1 |
2a52e8c5 | 2085 | msgid "" |
7d76ea1d DK |
2086 | "When you request that a package is installed, and as a result other packages " |
2087 | "are installed to satisfy its dependencies, the dependencies are marked as " | |
051029f8 DK |
2088 | "being automatically installed, while the package you installed explicitly is " |
2089 | "marked as manually installed. Once an automatically installed package is no " | |
cbbee23e DK |
2090 | "longer depended on by any manually installed package it is considered no " |
2091 | "longer needed and e.g. <command>apt-get</command> or " | |
2092 | "<command>aptitude</command> will at least suggest removing them." | |
2a52e8c5 DK |
2093 | msgstr "" |
2094 | ||
7d76ea1d | 2095 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2096 | #: apt-mark.8.xml:1 |
2a52e8c5 | 2097 | msgid "" |
7d76ea1d DK |
2098 | "<literal>auto</literal> is used to mark a package as being automatically " |
2099 | "installed, which will cause the package to be removed when no more manually " | |
2100 | "installed packages depend on this package." | |
2a52e8c5 DK |
2101 | msgstr "" |
2102 | ||
7d76ea1d | 2103 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2104 | #: apt-mark.8.xml:1 |
7d76ea1d DK |
2105 | msgid "" |
2106 | "<literal>manual</literal> is used to mark a package as being manually " | |
2107 | "installed, which will prevent the package from being automatically removed " | |
2108 | "if no other packages depend on it." | |
2a52e8c5 DK |
2109 | msgstr "" |
2110 | ||
7d76ea1d | 2111 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2112 | #: apt-mark.8.xml:1 |
2a52e8c5 | 2113 | msgid "" |
cbbee23e DK |
2114 | "<literal>showauto</literal> is used to print a list of automatically " |
2115 | "installed packages with each package on a new line. All automatically " | |
2116 | "installed packages will be listed if no package is given. If packages are " | |
2117 | "given only those which are automatically installed will be shown." | |
2a52e8c5 DK |
2118 | msgstr "" |
2119 | ||
7d76ea1d | 2120 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2121 | #: apt-mark.8.xml:1 |
7d76ea1d | 2122 | msgid "" |
cbbee23e DK |
2123 | "<literal>showmanual</literal> can be used in the same way as " |
2124 | "<literal>showauto</literal> except that it will print a list of manually " | |
2125 | "installed packages instead." | |
2126 | msgstr "" | |
2127 | ||
2128 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | |
2129 | #: apt-mark.8.xml:1 | |
2130 | msgid "" | |
2131 | "Read/Write package stats from the filename given with the parameter " | |
2132 | "&synopsis-param-filename; instead of from the default location, which is " | |
2133 | "<filename>extended_status</filename> in the directory defined by the " | |
2134 | "Configuration Item: <literal>Dir::State</literal>." | |
2135 | msgstr "" | |
2136 | ||
2137 | #. type: Content of: <refentry><refsect1><title> | |
2138 | #: apt-mark.8.xml:1 | |
051029f8 | 2139 | msgid "Prevent Changes for a Package" |
2a52e8c5 DK |
2140 | msgstr "" |
2141 | ||
7d76ea1d | 2142 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2143 | #: apt-mark.8.xml:1 |
2a52e8c5 | 2144 | msgid "" |
cbbee23e DK |
2145 | "<literal>hold</literal> is used to mark a package as held back, which will " |
2146 | "prevent the package from being automatically installed, upgraded or removed." | |
2a52e8c5 DK |
2147 | msgstr "" |
2148 | ||
7d76ea1d | 2149 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2150 | #: apt-mark.8.xml:1 |
7d76ea1d | 2151 | msgid "" |
cbbee23e DK |
2152 | "<literal>unhold</literal> is used to cancel a previously set hold on a " |
2153 | "package to allow all actions again." | |
2a52e8c5 DK |
2154 | msgstr "" |
2155 | ||
7d76ea1d | 2156 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2157 | #: apt-mark.8.xml:1 |
2a52e8c5 | 2158 | msgid "" |
7d76ea1d DK |
2159 | "<literal>showhold</literal> is used to print a list of packages on hold in " |
2160 | "the same way as for the other show commands." | |
2a52e8c5 DK |
2161 | msgstr "" |
2162 | ||
cbbee23e DK |
2163 | #. type: Content of: <refentry><refsect1><title> |
2164 | #: apt-mark.8.xml:1 | |
051029f8 | 2165 | msgid "Schedule Packages for Install, Remove and Purge" |
cbbee23e DK |
2166 | msgstr "" |
2167 | ||
2168 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2169 | #: apt-mark.8.xml:1 |
7d76ea1d | 2170 | msgid "" |
add81166 | 2171 | "Some front-ends like <command>apt-get dselect-upgrade</command> can be used " |
051029f8 DK |
2172 | "to apply previously scheduled changes to the install state of packages. Such " |
2173 | "changes can be scheduled with the <option>install</option>, " | |
cbbee23e DK |
2174 | "<option>remove</option> (also known as <option>deinstall</option>) and " |
2175 | "<option>purge</option> commands. Packages with a specific selection can be " | |
2176 | "displayed with <option>showinstall</option>, <option>showremove</option> and " | |
2177 | "<option>showpurge</option> respectively. More information about these so " | |
2178 | "called dpkg selections can be found in &dpkg;." | |
2a52e8c5 DK |
2179 | msgstr "" |
2180 | ||
7d76ea1d | 2181 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2182 | #: apt-mark.8.xml:1 |
7d76ea1d DK |
2183 | msgid "" |
2184 | "<command>apt-mark</command> returns zero on normal operation, non-zero on " | |
2185 | "error." | |
2a52e8c5 DK |
2186 | msgstr "" |
2187 | ||
7d76ea1d | 2188 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 2189 | #: apt-secure.8.xml:1 |
7d76ea1d | 2190 | msgid "Archive authentication support for APT" |
2a52e8c5 DK |
2191 | msgstr "" |
2192 | ||
7d76ea1d | 2193 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2194 | #: apt-secure.8.xml:1 |
7d76ea1d | 2195 | msgid "" |
cbbee23e DK |
2196 | "Starting with version 0.6, <command>APT</command> contains code that does " |
2197 | "signature checking of the Release file for all repositories. This ensures " | |
2198 | "that data like packages in the archive can't be modified by people who have " | |
14e325c7 JAK |
2199 | "no access to the Release file signing key. Starting with version 1.1 " |
2200 | "<command>APT</command> requires repositories to provide recent " | |
2201 | "authentication information for unimpeded usage of the repository." | |
2a52e8c5 DK |
2202 | msgstr "" |
2203 | ||
7d76ea1d | 2204 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2205 | #: apt-secure.8.xml:1 |
7d76ea1d | 2206 | msgid "" |
051029f8 | 2207 | "If an archive has an unsigned Release file or no Release file at all current " |
14e325c7 JAK |
2208 | "APT versions will refuse to download data from them by default in " |
2209 | "<command>update</command> operations and even if forced to download " | |
2210 | "front-ends like &apt-get; will require explicit confirmation if an " | |
2211 | "installation request includes a package from such an unauthenticated " | |
2212 | "archive." | |
2a52e8c5 DK |
2213 | msgstr "" |
2214 | ||
2a52e8c5 | 2215 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2216 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2217 | msgid "" |
14e325c7 JAK |
2218 | "As a temporary exception &apt-get; (not &apt;!) raises warnings only if it " |
2219 | "encounters unauthenticated archives to give a slightly longer grace period " | |
2220 | "on this backward compatibility effecting change. This exception will be " | |
2221 | "removed in future releases and you can opt-out of this grace period by " | |
2222 | "setting the configuration option " | |
2223 | "<option>Binary::apt-get::Acquire::AllowInsecureRepositories</option> to " | |
2224 | "<literal>false</literal> or " | |
2225 | "<option>--no-allow-insecure-repositories</option> on the command line." | |
2226 | msgstr "" | |
2227 | ||
2228 | #. type: Content of: <refentry><refsect1><para> | |
2229 | #: apt-secure.8.xml:1 | |
2230 | msgid "" | |
2231 | "You can force all APT clients to raise only warnings by setting the " | |
2232 | "configuration option <option>Acquire::AllowInsecureRepositories</option> to " | |
2233 | "<literal>true</literal>. Individual repositories can also be allowed to be " | |
2234 | "insecure via the &sources-list; option " | |
2235 | "<literal>allow-insecure=yes</literal>. Note that insecure repositories are " | |
2236 | "strongly discouraged and all options to force apt to continue supporting " | |
2237 | "them will eventually be removed. Users also have the " | |
2238 | "<option>Trusted</option> option available to disable even the warnings, but " | |
2239 | "be sure to understand the implications as detailed in &sources-list;." | |
2240 | msgstr "" | |
2241 | ||
2242 | #. type: Content of: <refentry><refsect1><para> | |
2243 | #: apt-secure.8.xml:1 | |
2244 | msgid "" | |
2245 | "A repository which previously was authentication but would loose this state " | |
2246 | "in an <command>update</command> operation raises an error in all APT clients " | |
2247 | "irrespective of the option to allow or forbid usage of insecure " | |
2248 | "repositories. The error can be overcome by additionally setting " | |
2249 | "<option>Acquire::AllowDowngradeToInsecureRepositories</option> to " | |
2250 | "<literal>true</literal> or for Individual repositories with the " | |
2251 | "&sources-list; option <literal>allow-downgrade-to-insecure=yes</literal>." | |
cbbee23e DK |
2252 | msgstr "" |
2253 | ||
2254 | #. type: Content of: <refentry><refsect1><para> | |
2255 | #: apt-secure.8.xml:1 | |
2256 | msgid "" | |
add81166 | 2257 | "Note: All APT-based package management front-ends like &apt-get;, &aptitude; " |
cbbee23e DK |
2258 | "and &synaptic; support this authentication feature, so this manpage uses " |
2259 | "<literal>APT</literal> to refer to them all for simplicity only." | |
2a52e8c5 DK |
2260 | msgstr "" |
2261 | ||
2262 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae | 2263 | #: apt-secure.8.xml:1 |
051029f8 | 2264 | msgid "Trusted Repositories" |
2a52e8c5 DK |
2265 | msgstr "" |
2266 | ||
2267 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2268 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2269 | msgid "" |
cbbee23e | 2270 | "The chain of trust from an APT archive to the end user is made up of several " |
75d9bdba JR |
2271 | "steps. <command>apt-secure</command> is the last step in this chain; " |
2272 | "trusting an archive does not mean that you trust its packages not to contain " | |
2273 | "malicious code, but means that you trust the archive maintainer. It's the " | |
2274 | "archive maintainer's responsibility to ensure that the archive's integrity " | |
2275 | "is preserved." | |
2a52e8c5 DK |
2276 | msgstr "" |
2277 | ||
2278 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2279 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2280 | msgid "" |
7d76ea1d DK |
2281 | "apt-secure does not review signatures at a package level. If you require " |
2282 | "tools to do this you should look at <command>debsig-verify</command> and " | |
2283 | "<command>debsign</command> (provided in the debsig-verify and devscripts " | |
2284 | "packages respectively)." | |
2a52e8c5 DK |
2285 | msgstr "" |
2286 | ||
7d76ea1d | 2287 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2288 | #: apt-secure.8.xml:1 |
7d76ea1d | 2289 | msgid "" |
051029f8 | 2290 | "The chain of trust in Debian starts (e.g.) when a maintainer uploads a new " |
cbbee23e DK |
2291 | "package or a new version of a package to the Debian archive. In order to " |
2292 | "become effective, this upload needs to be signed by a key contained in one " | |
051029f8 | 2293 | "of the Debian package maintainer keyrings (available in the debian-keyring " |
cbbee23e DK |
2294 | "package). Maintainers' keys are signed by other maintainers following " |
2295 | "pre-established procedures to ensure the identity of the key holder. Similar " | |
2296 | "procedures exist in all Debian-based distributions." | |
2a52e8c5 DK |
2297 | msgstr "" |
2298 | ||
2299 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2300 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2301 | msgid "" |
7d76ea1d | 2302 | "Once the uploaded package is verified and included in the archive, the " |
75d9bdba JR |
2303 | "maintainer signature is stripped off, and checksums of the package are " |
2304 | "computed and put in the Packages file. The checksums of all of the Packages " | |
2305 | "files are then computed and put into the Release file. The Release file is " | |
ce34af08 MV |
2306 | "then signed by the archive key for this &keyring-distro; release, and " |
2307 | "distributed alongside the packages and the Packages files on " | |
2308 | "&keyring-distro; mirrors. The keys are in the &keyring-distro; archive " | |
2309 | "keyring available in the &keyring-package; package." | |
2a52e8c5 DK |
2310 | msgstr "" |
2311 | ||
7d76ea1d | 2312 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2313 | #: apt-secure.8.xml:1 |
7d76ea1d | 2314 | msgid "" |
75d9bdba JR |
2315 | "End users can check the signature of the Release file, extract a checksum of " |
2316 | "a package from it and compare it with the checksum of the package they " | |
2317 | "downloaded by hand - or rely on APT doing this automatically." | |
2a52e8c5 DK |
2318 | msgstr "" |
2319 | ||
2320 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2321 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2322 | msgid "" |
7d76ea1d DK |
2323 | "Notice that this is distinct from checking signatures on a per package " |
2324 | "basis. It is designed to prevent two possible attacks:" | |
2a52e8c5 DK |
2325 | msgstr "" |
2326 | ||
7d76ea1d | 2327 | #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> |
04f27fae | 2328 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2329 | msgid "" |
7d76ea1d | 2330 | "<literal>Network \"man in the middle\" attacks</literal>. Without signature " |
75d9bdba JR |
2331 | "checking, malicious agents can introduce themselves into the package " |
2332 | "download process and provide malicious software either by controlling a " | |
2333 | "network element (router, switch, etc.) or by redirecting traffic to a rogue " | |
2334 | "server (through ARP or DNS spoofing attacks)." | |
2a52e8c5 DK |
2335 | msgstr "" |
2336 | ||
7d76ea1d | 2337 | #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> |
04f27fae | 2338 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2339 | msgid "" |
7d76ea1d DK |
2340 | "<literal>Mirror network compromise</literal>. Without signature checking, a " |
2341 | "malicious agent can compromise a mirror host and modify the files in it to " | |
2342 | "propagate malicious software to all users downloading packages from that " | |
2343 | "host." | |
2a52e8c5 DK |
2344 | msgstr "" |
2345 | ||
7d76ea1d | 2346 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2347 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2348 | msgid "" |
cbbee23e DK |
2349 | "However, it does not defend against a compromise of the master server itself " |
2350 | "(which signs the packages) or against a compromise of the key used to sign " | |
2351 | "the Release files. In any case, this mechanism can complement a per-package " | |
2352 | "signature." | |
2a52e8c5 DK |
2353 | msgstr "" |
2354 | ||
7d76ea1d | 2355 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 2356 | #: apt-secure.8.xml:1 |
051029f8 | 2357 | msgid "User Configuration" |
2a52e8c5 DK |
2358 | msgstr "" |
2359 | ||
7d76ea1d | 2360 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2361 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2362 | msgid "" |
7d76ea1d | 2363 | "<command>apt-key</command> is the program that manages the list of keys used " |
cbbee23e DK |
2364 | "by APT to trust repositories. It can be used to add or remove keys as well " |
2365 | "as list the trusted keys. Limiting which key(s) are able to sign which " | |
2366 | "archive is possible via the <option>Signed-By</option> in &sources-list;." | |
2367 | msgstr "" | |
2368 | ||
2369 | #. type: Content of: <refentry><refsect1><para> | |
2370 | #: apt-secure.8.xml:1 | |
2371 | msgid "" | |
d04e44ac | 2372 | "Note that a default installation already contains all keys to securely " |
cbbee23e DK |
2373 | "acquire packages from the default repositories, so fiddling with " |
2374 | "<command>apt-key</command> is only needed if third-party repositories are " | |
2375 | "added." | |
2a52e8c5 DK |
2376 | msgstr "" |
2377 | ||
7d76ea1d | 2378 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2379 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2380 | msgid "" |
7d76ea1d DK |
2381 | "In order to add a new key you need to first download it (you should make " |
2382 | "sure you are using a trusted communication channel when retrieving it), add " | |
2383 | "it with <command>apt-key</command> and then run <command>apt-get " | |
2384 | "update</command> so that apt can download and verify the " | |
2385 | "<filename>InRelease</filename> or <filename>Release.gpg</filename> files " | |
2386 | "from the archives you have configured." | |
2a52e8c5 DK |
2387 | msgstr "" |
2388 | ||
7d76ea1d | 2389 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 2390 | #: apt-secure.8.xml:1 |
051029f8 | 2391 | msgid "Archive Configuration" |
7d76ea1d DK |
2392 | msgstr "" |
2393 | ||
2394 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2395 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2396 | msgid "" |
7d76ea1d DK |
2397 | "If you want to provide archive signatures in an archive under your " |
2398 | "maintenance you have to:" | |
2a52e8c5 DK |
2399 | msgstr "" |
2400 | ||
7d76ea1d | 2401 | #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> |
04f27fae | 2402 | #: apt-secure.8.xml:1 |
43be0ac4 | 2403 | msgid "" |
7d76ea1d DK |
2404 | "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist " |
2405 | "already. You can do this by running <command>apt-ftparchive " | |
2406 | "release</command> (provided in apt-utils)." | |
0fd68707 MV |
2407 | msgstr "" |
2408 | ||
7d76ea1d | 2409 | #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> |
04f27fae | 2410 | #: apt-secure.8.xml:1 |
0fd68707 | 2411 | msgid "" |
7d76ea1d DK |
2412 | "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg " |
2413 | "--clearsign -o InRelease Release</command> and <command>gpg -abs -o " | |
2414 | "Release.gpg Release</command>." | |
b39c1859 MV |
2415 | msgstr "" |
2416 | ||
7d76ea1d | 2417 | #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> |
04f27fae | 2418 | #: apt-secure.8.xml:1 |
b39c1859 | 2419 | msgid "" |
051029f8 | 2420 | "<emphasis>Publish the key fingerprint</emphasis>, so that your users will " |
7d76ea1d | 2421 | "know what key they need to import in order to authenticate the files in the " |
cbbee23e DK |
2422 | "archive. It is best to ship your key in its own keyring package like " |
2423 | "&keyring-distro; does with &keyring-package; to be able to distribute " | |
2424 | "updates and key transitions automatically later." | |
2425 | msgstr "" | |
2426 | ||
2427 | #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> | |
2428 | #: apt-secure.8.xml:1 | |
2429 | msgid "" | |
2430 | "<emphasis>Provide instructions on how to add your archive and " | |
d04e44ac | 2431 | "key</emphasis>. If your users can't acquire your key securely the chain of " |
cbbee23e DK |
2432 | "trust described above is broken. How you can help users add your key " |
2433 | "depends on your archive and target audience ranging from having your keyring " | |
2434 | "package included in another archive users already have configured (like the " | |
051029f8 | 2435 | "default repositories of their distribution) to leveraging the web of trust." |
43be0ac4 MV |
2436 | msgstr "" |
2437 | ||
7d76ea1d | 2438 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2439 | #: apt-secure.8.xml:1 |
7d76ea1d | 2440 | msgid "" |
75d9bdba JR |
2441 | "Whenever the contents of the archive change (new packages are added or " |
2442 | "removed) the archive maintainer has to follow the first two steps outlined " | |
2443 | "above." | |
2a52e8c5 DK |
2444 | msgstr "" |
2445 | ||
7d76ea1d | 2446 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2447 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2448 | msgid "" |
7d76ea1d | 2449 | "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, " |
480c2414 | 2450 | "&debsign;, &debsig-verify;, &gpg;" |
2a52e8c5 DK |
2451 | msgstr "" |
2452 | ||
2453 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2454 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2455 | msgid "" |
7d76ea1d | 2456 | "For more background information you might want to review the <ulink " |
cbbee23e | 2457 | "url=\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian " |
051029f8 DK |
2458 | "Security Infrastructure</ulink> chapter of the Securing Debian Manual (also " |
2459 | "available in the harden-doc package) and the <ulink " | |
7d76ea1d DK |
2460 | "url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong " |
2461 | "Distribution HOWTO</ulink> by V. Alex Brennen." | |
2462 | msgstr "" | |
2463 | ||
2464 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae | 2465 | #: apt-secure.8.xml:1 |
7d76ea1d | 2466 | msgid "Manpage Authors" |
2a52e8c5 DK |
2467 | msgstr "" |
2468 | ||
2469 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2470 | #: apt-secure.8.xml:1 |
2a52e8c5 | 2471 | msgid "" |
7d76ea1d DK |
2472 | "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac " |
2473 | "Jones, Colin Walters, Florian Weimer and Michael Vogt." | |
2a52e8c5 DK |
2474 | msgstr "" |
2475 | ||
2a52e8c5 | 2476 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 2477 | #: apt-cdrom.8.xml:1 |
7d76ea1d | 2478 | msgid "APT CD-ROM management utility" |
2a52e8c5 DK |
2479 | msgstr "" |
2480 | ||
2a52e8c5 | 2481 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2482 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2483 | msgid "" |
7d76ea1d DK |
2484 | "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of " |
2485 | "available sources. <command>apt-cdrom</command> takes care of determining " | |
2486 | "the structure of the disc as well as correcting for several possible " | |
2487 | "mis-burns and verifying the index files." | |
2a52e8c5 DK |
2488 | msgstr "" |
2489 | ||
7d76ea1d | 2490 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2491 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2492 | msgid "" |
7d76ea1d DK |
2493 | "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT " |
2494 | "system; it cannot be done by hand. Furthermore each disc in a multi-CD set " | |
2495 | "must be inserted and scanned separately to account for possible mis-burns." | |
2a52e8c5 DK |
2496 | msgstr "" |
2497 | ||
2a52e8c5 | 2498 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2499 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2500 | msgid "" |
7d76ea1d DK |
2501 | "<literal>add</literal> is used to add a new disc to the source list. It will " |
2502 | "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed " | |
2503 | "to scan it and copy the index files. If the disc does not have a proper " | |
2504 | "<filename>.disk</filename> directory you will be prompted for a descriptive " | |
2505 | "title." | |
2a52e8c5 DK |
2506 | msgstr "" |
2507 | ||
2a52e8c5 | 2508 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2509 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2510 | msgid "" |
7d76ea1d DK |
2511 | "APT uses a CD-ROM ID to track which disc is currently in the drive and " |
2512 | "maintains a database of these IDs in " | |
2513 | "<filename>&statedir;/cdroms.list</filename>" | |
2a52e8c5 DK |
2514 | msgstr "" |
2515 | ||
2a52e8c5 | 2516 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2517 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2518 | msgid "" |
7d76ea1d DK |
2519 | "A debugging tool to report the identity of the current disc as well as the " |
2520 | "stored file name" | |
2a52e8c5 DK |
2521 | msgstr "" |
2522 | ||
2a52e8c5 | 2523 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2524 | #: apt-cdrom.8.xml:1 |
ce34af08 MV |
2525 | msgid "" |
2526 | "Do not try to auto-detect the CD-ROM path. Usually combined with the " | |
2527 | "<option>--cdrom</option> option. Configuration Item: " | |
2528 | "<literal>Acquire::cdrom::AutoDetect</literal>." | |
2529 | msgstr "" | |
2530 | ||
2531 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2532 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2533 | msgid "" |
7d76ea1d DK |
2534 | "Mount point; specify the location to mount the CD-ROM. This mount point must " |
2535 | "be listed in <filename>/etc/fstab</filename> and properly configured. " | |
2536 | "Configuration Item: <literal>Acquire::cdrom::mount</literal>." | |
2a52e8c5 DK |
2537 | msgstr "" |
2538 | ||
2539 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2540 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2541 | msgid "" |
7d76ea1d DK |
2542 | "Rename a disc; change the label of a disc or override the disc's given " |
2543 | "label. This option will cause <command>apt-cdrom</command> to prompt for a " | |
2544 | "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>." | |
2a52e8c5 DK |
2545 | msgstr "" |
2546 | ||
2547 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2548 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2549 | msgid "" |
7d76ea1d DK |
2550 | "No mounting; prevent <command>apt-cdrom</command> from mounting and " |
2551 | "unmounting the mount point. Configuration Item: " | |
2552 | "<literal>APT::CDROM::NoMount</literal>." | |
2a52e8c5 DK |
2553 | msgstr "" |
2554 | ||
2555 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2556 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2557 | msgid "" |
7d76ea1d DK |
2558 | "Fast Copy; Assume the package files are valid and do not check every " |
2559 | "package. This option should be used only if <command>apt-cdrom</command> has " | |
2560 | "been run on this disc before and did not detect any errors. Configuration " | |
2561 | "Item: <literal>APT::CDROM::Fast</literal>." | |
2a52e8c5 DK |
2562 | msgstr "" |
2563 | ||
2564 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2565 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2566 | msgid "" |
7d76ea1d DK |
2567 | "Thorough Package Scan; This option may be needed with some old Debian " |
2568 | "1.1/1.2 discs that have Package files in strange places. It takes much " | |
2569 | "longer to scan the CD but will pick them all up." | |
2a52e8c5 DK |
2570 | msgstr "" |
2571 | ||
2572 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2573 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2574 | msgid "" |
7d76ea1d DK |
2575 | "No Changes; Do not change the &sources-list; file and do not write index " |
2576 | "files. Everything is still checked however. Configuration Item: " | |
2577 | "<literal>APT::CDROM::NoAct</literal>." | |
2a52e8c5 DK |
2578 | msgstr "" |
2579 | ||
7d76ea1d | 2580 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2581 | #: apt-cdrom.8.xml:1 |
7d76ea1d | 2582 | msgid "&apt-conf;, &apt-get;, &sources-list;" |
2a52e8c5 DK |
2583 | msgstr "" |
2584 | ||
7d76ea1d | 2585 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2586 | #: apt-cdrom.8.xml:1 |
2a52e8c5 | 2587 | msgid "" |
7d76ea1d DK |
2588 | "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 " |
2589 | "on error." | |
2a52e8c5 DK |
2590 | msgstr "" |
2591 | ||
7d76ea1d | 2592 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 2593 | #: apt-config.8.xml:1 |
7d76ea1d | 2594 | msgid "APT Configuration Query program" |
2a52e8c5 DK |
2595 | msgstr "" |
2596 | ||
7d76ea1d | 2597 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2598 | #: apt-config.8.xml:1 |
bcf91c1b | 2599 | msgid "" |
7d76ea1d DK |
2600 | "<command>apt-config</command> is an internal program used by various " |
2601 | "portions of the APT suite to provide consistent configurability. It accesses " | |
2602 | "the main configuration file <filename>/etc/apt/apt.conf</filename> in a " | |
2603 | "manner that is easy to use for scripted applications." | |
bcf91c1b DK |
2604 | msgstr "" |
2605 | ||
2606 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2607 | #: apt-config.8.xml:1 |
bcf91c1b | 2608 | msgid "" |
7d76ea1d DK |
2609 | "shell is used to access the configuration information from a shell " |
2610 | "script. It is given pairs of arguments, the first being a shell variable and " | |
2611 | "the second the configuration value to query. As output it lists shell " | |
2612 | "assignment commands for each value present. In a shell script it should be " | |
2613 | "used as follows:" | |
bcf91c1b DK |
2614 | msgstr "" |
2615 | ||
7d76ea1d | 2616 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting> |
04f27fae | 2617 | #: apt-config.8.xml:1 |
7d76ea1d | 2618 | #, no-wrap |
2a52e8c5 | 2619 | msgid "" |
7d76ea1d DK |
2620 | "OPTS=\"-f\"\n" |
2621 | "RES=`apt-config shell OPTS MyApp::options`\n" | |
2622 | "eval $RES\n" | |
2a52e8c5 DK |
2623 | msgstr "" |
2624 | ||
2625 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2626 | #: apt-config.8.xml:1 |
2a52e8c5 | 2627 | msgid "" |
7d76ea1d DK |
2628 | "This will set the shell environment variable $OPTS to the value of " |
2629 | "MyApp::options with a default of <option>-f</option>." | |
2a52e8c5 DK |
2630 | msgstr "" |
2631 | ||
2a52e8c5 | 2632 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2633 | #: apt-config.8.xml:1 |
2a52e8c5 | 2634 | msgid "" |
7d76ea1d DK |
2635 | "The configuration item may be postfixed with a /[fdbi]. f returns file " |
2636 | "names, d returns directories, b returns true or false and i returns an " | |
2637 | "integer. Each of the returns is normalized and verified internally." | |
2a52e8c5 DK |
2638 | msgstr "" |
2639 | ||
2a52e8c5 | 2640 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2641 | #: apt-config.8.xml:1 |
7d76ea1d | 2642 | msgid "Just show the contents of the configuration space." |
2a52e8c5 DK |
2643 | msgstr "" |
2644 | ||
2645 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2646 | #: apt-config.8.xml:1 |
2a52e8c5 | 2647 | msgid "" |
7d76ea1d DK |
2648 | "Include options which have an empty value. This is the default, so use " |
2649 | "--no-empty to remove them from the output." | |
30549c0c MV |
2650 | msgstr "" |
2651 | ||
7d76ea1d | 2652 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable> |
04f27fae | 2653 | #: apt-config.8.xml:1 |
7d76ea1d | 2654 | msgid "%f "%v";%n" |
2a52e8c5 DK |
2655 | msgstr "" |
2656 | ||
2a52e8c5 | 2657 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2658 | #: apt-config.8.xml:1 |
2a52e8c5 | 2659 | msgid "" |
7d76ea1d DK |
2660 | "Defines the output of each config option. %t will be replaced with " |
2661 | "its individual name, %f with its full hierarchical name and %v " | |
2662 | "with its value. Use uppercase letters and special characters in the value " | |
2663 | "will be encoded to ensure that it can e.g. be safely used in a quoted-string " | |
2664 | "as defined by RFC822. Additionally %n will be replaced by a newline, " | |
2665 | "and %N by a tab. A % can be printed by using %%." | |
2a52e8c5 DK |
2666 | msgstr "" |
2667 | ||
7d76ea1d | 2668 | #. type: Content of: <refentry><refsect1><para> |
04f27fae MV |
2669 | #: apt-config.8.xml:1 apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 |
2670 | #: apt-ftparchive.1.xml:1 | |
7d76ea1d | 2671 | msgid "&apt-conf;" |
2a52e8c5 DK |
2672 | msgstr "" |
2673 | ||
7d76ea1d | 2674 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2675 | #: apt-config.8.xml:1 |
2a52e8c5 | 2676 | msgid "" |
7d76ea1d DK |
2677 | "<command>apt-config</command> returns zero on normal operation, decimal 100 " |
2678 | "on error." | |
30549c0c MV |
2679 | msgstr "" |
2680 | ||
7d76ea1d | 2681 | #. type: Content of: <refentry><refentryinfo><author><contrib> |
04f27fae | 2682 | #: apt.conf.5.xml:1 |
7d76ea1d | 2683 | msgid "Initial documentation of Debug::*." |
2a52e8c5 DK |
2684 | msgstr "" |
2685 | ||
7d76ea1d | 2686 | #. type: Content of: <refentry><refentryinfo><author><email> |
04f27fae | 2687 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
2688 | msgid "dburrows@debian.org" |
2689 | msgstr "" | |
2690 | ||
2691 | #. type: Content of: <refentry><refmeta><manvolnum> | |
04f27fae | 2692 | #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1 |
7d76ea1d DK |
2693 | msgid "5" |
2694 | msgstr "" | |
2695 | ||
2696 | #. type: Content of: <refentry><refnamediv><refpurpose> | |
04f27fae | 2697 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
2698 | msgid "Configuration file for APT" |
2699 | msgstr "" | |
2700 | ||
2701 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 2702 | #: apt.conf.5.xml:1 |
30549c0c | 2703 | msgid "" |
5723791e JR |
2704 | "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared " |
2705 | "by all the tools in the APT suite of tools, though it is by no means the " | |
2706 | "only place options can be set. The suite also shares a common command line " | |
2707 | "parser to provide a uniform environment." | |
30549c0c MV |
2708 | msgstr "" |
2709 | ||
7d76ea1d | 2710 | #. type: Content of: <refentry><refsect1><orderedlist><para> |
04f27fae | 2711 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2712 | msgid "" |
7d76ea1d DK |
2713 | "When an APT tool starts up it will read the configuration files in the " |
2714 | "following order:" | |
2a52e8c5 DK |
2715 | msgstr "" |
2716 | ||
7d76ea1d | 2717 | #. type: Content of: <refentry><refsect1><orderedlist><listitem><para> |
04f27fae | 2718 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2719 | msgid "" |
7d76ea1d DK |
2720 | "the file specified by the <envar>APT_CONFIG</envar> environment variable (if " |
2721 | "any)" | |
2a52e8c5 DK |
2722 | msgstr "" |
2723 | ||
7d76ea1d | 2724 | #. type: Content of: <refentry><refsect1><orderedlist><listitem><para> |
04f27fae | 2725 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2726 | msgid "" |
7d76ea1d DK |
2727 | "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending " |
2728 | "order which have either no or \"<literal>conf</literal>\" as filename " | |
2729 | "extension and which only contain alphanumeric, hyphen (-), underscore (_) " | |
2730 | "and period (.) characters. Otherwise APT will print a notice that it has " | |
44477002 | 2731 | "ignored a file, unless that file matches a pattern in the " |
5723791e | 2732 | "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which " |
7d76ea1d | 2733 | "case it will be silently ignored." |
2a52e8c5 DK |
2734 | msgstr "" |
2735 | ||
7d76ea1d | 2736 | #. type: Content of: <refentry><refsect1><orderedlist><listitem><para> |
04f27fae | 2737 | #: apt.conf.5.xml:1 |
7d76ea1d | 2738 | msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>" |
2a52e8c5 DK |
2739 | msgstr "" |
2740 | ||
cbbee23e DK |
2741 | #. type: Content of: <refentry><refsect1><orderedlist><listitem><para> |
2742 | #: apt.conf.5.xml:1 | |
2743 | msgid "" | |
2744 | "all options set in the binary specific configuration subtree are moved into " | |
2745 | "the root of the tree." | |
2746 | msgstr "" | |
2747 | ||
7d76ea1d | 2748 | #. type: Content of: <refentry><refsect1><orderedlist><listitem><para> |
04f27fae | 2749 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2750 | msgid "" |
7d76ea1d DK |
2751 | "the command line options are applied to override the configuration " |
2752 | "directives or to load even more configuration files." | |
2a52e8c5 DK |
2753 | msgstr "" |
2754 | ||
7d76ea1d | 2755 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 2756 | #: apt.conf.5.xml:1 |
7d76ea1d | 2757 | msgid "Syntax" |
2a52e8c5 DK |
2758 | msgstr "" |
2759 | ||
7d76ea1d | 2760 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2761 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2762 | msgid "" |
7d76ea1d DK |
2763 | "The configuration file is organized in a tree with options organized into " |
2764 | "functional groups. Option specification is given with a double colon " | |
5723791e | 2765 | "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option " |
7d76ea1d DK |
2766 | "within the APT tool group, for the Get tool. Options do not inherit from " |
2767 | "their parent groups." | |
2a52e8c5 DK |
2768 | msgstr "" |
2769 | ||
7d76ea1d | 2770 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2771 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2772 | msgid "" |
7d76ea1d DK |
2773 | "Syntactically the configuration language is modeled after what the ISC tools " |
2774 | "such as bind and dhcp use. Lines starting with <literal>//</literal> are " | |
2775 | "treated as comments (ignored), as well as all text between " | |
2776 | "<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. " | |
5723791e JR |
2777 | "Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. " |
2778 | "The quotation marks and trailing semicolon are required. The value must be " | |
2779 | "on one line, and there is no kind of string concatenation. Values must not " | |
2780 | "include backslashes or extra quotation marks. Option names are made up of " | |
2781 | "alphanumeric characters and the characters \"/-:._+\". A new scope can be " | |
2782 | "opened with curly braces, like this:" | |
2a52e8c5 DK |
2783 | msgstr "" |
2784 | ||
7d76ea1d | 2785 | #. type: Content of: <refentry><refsect1><informalexample><programlisting> |
04f27fae | 2786 | #: apt.conf.5.xml:1 |
7d76ea1d | 2787 | #, no-wrap |
2a52e8c5 | 2788 | msgid "" |
7d76ea1d DK |
2789 | "APT {\n" |
2790 | " Get {\n" | |
2791 | " Assume-Yes \"true\";\n" | |
2792 | " Fix-Broken \"true\";\n" | |
2793 | " };\n" | |
2794 | "};\n" | |
2a52e8c5 DK |
2795 | msgstr "" |
2796 | ||
7d76ea1d | 2797 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2798 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2799 | msgid "" |
7d76ea1d DK |
2800 | "with newlines placed to make it more readable. Lists can be created by " |
2801 | "opening a scope and including a single string enclosed in quotes followed by " | |
5723791e | 2802 | "a semicolon. Multiple entries can be included, separated by a semicolon." |
2a52e8c5 DK |
2803 | msgstr "" |
2804 | ||
7d76ea1d | 2805 | #. type: Content of: <refentry><refsect1><informalexample><programlisting> |
04f27fae | 2806 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
2807 | #, no-wrap |
2808 | msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n" | |
c77d6597 MV |
2809 | msgstr "" |
2810 | ||
7d76ea1d | 2811 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2812 | #: apt.conf.5.xml:1 |
c77d6597 | 2813 | msgid "" |
00612a8c DK |
2814 | "In general the sample configuration file &configureindex; is a good guide " |
2815 | "for how it should look." | |
c77d6597 MV |
2816 | msgstr "" |
2817 | ||
7d76ea1d | 2818 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2819 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2820 | msgid "" |
5723791e JR |
2821 | "Case is not significant in names of configuration items, so in the previous " |
2822 | "example you could use <literal>dpkg::pre-install-pkgs</literal>." | |
2a52e8c5 DK |
2823 | msgstr "" |
2824 | ||
7d76ea1d | 2825 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2826 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2827 | msgid "" |
5723791e JR |
2828 | "Names for the configuration items are optional if a list is defined as can " |
2829 | "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If " | |
2830 | "you don't specify a name a new entry will simply add a new option to the " | |
2831 | "list. If you specify a name you can override the option in the same way as " | |
2832 | "any other option by reassigning a new value to the option." | |
2a52e8c5 DK |
2833 | msgstr "" |
2834 | ||
7d76ea1d | 2835 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2836 | #: apt.conf.5.xml:1 |
c77d6597 | 2837 | msgid "" |
5723791e JR |
2838 | "Two special commands are defined: <literal>#include</literal> (which is " |
2839 | "deprecated and not supported by alternative implementations) and " | |
2840 | "<literal>#clear</literal>. <literal>#include</literal> will include the " | |
2841 | "given file, unless the filename ends in a slash, in which case the whole " | |
2842 | "directory is included. <literal>#clear</literal> is used to erase a part of " | |
2843 | "the configuration tree. The specified element and all its descendants are " | |
7d76ea1d | 2844 | "erased. (Note that these lines also need to end with a semicolon.)" |
c77d6597 MV |
2845 | msgstr "" |
2846 | ||
7d76ea1d | 2847 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2848 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2849 | msgid "" |
5723791e JR |
2850 | "The <literal>#clear</literal> command is the only way to delete a list or a " |
2851 | "complete scope. Reopening a scope (or using the syntax described below with " | |
2852 | "an appended <literal>::</literal>) will <emphasis>not</emphasis> override " | |
2853 | "previously written entries. Options can only be overridden by addressing a " | |
2854 | "new value to them - lists and scopes can't be overridden, only cleared." | |
2a52e8c5 DK |
2855 | msgstr "" |
2856 | ||
7d76ea1d | 2857 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2858 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2859 | msgid "" |
5723791e | 2860 | "All of the APT tools take an -o option which allows an arbitrary " |
7d76ea1d DK |
2861 | "configuration directive to be specified on the command line. The syntax is a " |
2862 | "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) " | |
2863 | "followed by an equals sign then the new value of the option. To append a new " | |
5723791e JR |
2864 | "element to a list, add a trailing <literal>::</literal> to the name of the " |
2865 | "list. (As you might suspect, the scope syntax can't be used on the command " | |
2866 | "line.)" | |
2a52e8c5 DK |
2867 | msgstr "" |
2868 | ||
7d76ea1d | 2869 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2870 | #: apt.conf.5.xml:1 |
5723791e JR |
2871 | msgid "" |
2872 | "Note that appending items to a list using <literal>::</literal> only works " | |
2873 | "for one item per line, and that you should not use it in combination with " | |
2874 | "the scope syntax (which adds <literal>::</literal> implicitly). Using both " | |
2875 | "syntaxes together will trigger a bug which some users unfortunately depend " | |
2876 | "on: an option with the unusual name \"<literal>::</literal>\" which acts " | |
2877 | "like every other option with a name. This introduces many problems; for one " | |
2878 | "thing, users who write multiple lines in this <emphasis>wrong</emphasis> " | |
2879 | "syntax in the hope of appending to a list will achieve the opposite, as only " | |
2880 | "the last assignment for this option \"<literal>::</literal>\" will be " | |
2881 | "used. Future versions of APT will raise errors and stop working if they " | |
2882 | "encounter this misuse, so please correct such statements now while APT " | |
2883 | "doesn't explicitly complain about them." | |
a7307a87 DK |
2884 | msgstr "" |
2885 | ||
7d76ea1d | 2886 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 2887 | #: apt.conf.5.xml:1 |
7d76ea1d | 2888 | msgid "The APT Group" |
2a52e8c5 DK |
2889 | msgstr "" |
2890 | ||
7d76ea1d | 2891 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 2892 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2893 | msgid "" |
7d76ea1d DK |
2894 | "This group of options controls general APT behavior as well as holding the " |
2895 | "options for all of the tools." | |
2a52e8c5 DK |
2896 | msgstr "" |
2897 | ||
2a52e8c5 | 2898 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2899 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2900 | msgid "" |
7d76ea1d DK |
2901 | "System Architecture; sets the architecture to use when fetching files and " |
2902 | "parsing package lists. The internal default is the architecture apt was " | |
2903 | "compiled for." | |
a7307a87 DK |
2904 | msgstr "" |
2905 | ||
a7307a87 | 2906 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2907 | #: apt.conf.5.xml:1 |
a7307a87 | 2908 | msgid "" |
5723791e JR |
2909 | "All Architectures the system supports. For instance, CPUs implementing the " |
2910 | "<literal>amd64</literal> (also called <literal>x86-64</literal>) " | |
2911 | "instruction set are also able to execute binaries compiled for the " | |
2912 | "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list " | |
2913 | "is used when fetching files and parsing package lists. The initial default " | |
2914 | "is always the system's native architecture " | |
2915 | "(<literal>APT::Architecture</literal>), and foreign architectures are added " | |
2916 | "to the default list when they are registered via <command>dpkg " | |
2917 | "--add-architecture</command>." | |
2a52e8c5 DK |
2918 | msgstr "" |
2919 | ||
5ff8dd6b JAK |
2920 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2921 | #: apt.conf.5.xml:1 | |
2922 | msgid "" | |
2923 | "This scope defines which compression formats are supported, how compression " | |
2924 | "and decompression can be performed if support for this format isn't built " | |
2925 | "into apt directly and a cost-value indicating how costly it is to compress " | |
2926 | "something in this format. As an example the following configuration stanza " | |
2927 | "would allow apt to download and uncompress as well as create and store files " | |
2928 | "with the low-cost <literal>.reversed</literal> file extension which it will " | |
2929 | "pass to the command <command>rev</command> without additional commandline " | |
2930 | "parameters for compression and uncompression:" | |
2931 | msgstr "" | |
2932 | ||
2933 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><informalexample><programlisting> | |
2934 | #: apt.conf.5.xml:1 | |
2935 | #, no-wrap | |
2936 | msgid "" | |
2937 | "APT::Compressor::rev {\n" | |
2938 | "\tName \"rev\";\n" | |
2939 | "\tExtension \".reversed\";\n" | |
2940 | "\tBinary \"rev\";\n" | |
2941 | "\tCompressArg {};\n" | |
2942 | "\tUncompressArg {};\n" | |
2943 | "\tCost \"10\";\n" | |
2944 | "};\n" | |
2945 | msgstr "" | |
2946 | ||
2a52e8c5 | 2947 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2948 | #: apt.conf.5.xml:1 |
7ffbb475 MV |
2949 | msgid "" |
2950 | "List of all build profiles enabled for build-dependency resolution, without " | |
2951 | "the \"<literal>profile.</literal>\" namespace prefix. By default this list " | |
2952 | "is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by " | |
2953 | "&dpkg-buildpackage; overrides the list notation." | |
2954 | msgstr "" | |
2955 | ||
2956 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 2957 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2958 | msgid "" |
5723791e | 2959 | "Default release to install packages from if more than one version is " |
7d76ea1d | 2960 | "available. Contains release name, codename or release version. Examples: " |
9feb98eb DK |
2961 | "'stable', 'testing', 'unstable', '&debian-stable-codename;', " |
2962 | "'&debian-testing-codename;', '4.0', '5.0*'. See also &apt-preferences;." | |
2a52e8c5 DK |
2963 | msgstr "" |
2964 | ||
2a52e8c5 | 2965 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2966 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2967 | msgid "" |
5723791e | 2968 | "Ignore held packages; this global option causes the problem resolver to " |
7d76ea1d | 2969 | "ignore held packages in its decision making." |
2a52e8c5 DK |
2970 | msgstr "" |
2971 | ||
2a52e8c5 | 2972 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2973 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2974 | msgid "" |
7d76ea1d DK |
2975 | "Defaults to on. When turned on the autoclean feature will remove any " |
2976 | "packages which can no longer be downloaded from the cache. If turned off " | |
2977 | "then packages that are locally installed are also excluded from cleaning - " | |
2978 | "but note that APT provides no direct means to reinstall them." | |
2a52e8c5 DK |
2979 | msgstr "" |
2980 | ||
2a52e8c5 | 2981 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2982 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2983 | msgid "" |
5723791e JR |
2984 | "Defaults to on, which will cause APT to install essential and important " |
2985 | "packages as soon as possible in an install/upgrade operation, in order to " | |
2986 | "limit the effect of a failing &dpkg; call. If this option is disabled, APT " | |
2987 | "treats an important package in the same way as an extra package: between the " | |
2988 | "unpacking of the package A and its configuration there can be many other " | |
2989 | "unpack or configuration calls for other unrelated packages B, C etc. If " | |
2990 | "these cause the &dpkg; call to fail (e.g. because package B's maintainer " | |
2991 | "scripts generate an error), this results in a system state in which package " | |
2992 | "A is unpacked but unconfigured - so any package depending on A is now no " | |
2993 | "longer guaranteed to work, as its dependency on A is no longer satisfied." | |
2a52e8c5 DK |
2994 | msgstr "" |
2995 | ||
2a52e8c5 | 2996 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 2997 | #: apt.conf.5.xml:1 |
2a52e8c5 | 2998 | msgid "" |
5723791e JR |
2999 | "The immediate configuration marker is also applied in the potentially " |
3000 | "problematic case of circular dependencies, since a dependency with the " | |
3001 | "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT " | |
3002 | "to recognise a situation in which it is unable to perform immediate " | |
3003 | "configuration, abort, and suggest to the user that the option should be " | |
3004 | "temporarily deactivated in order to allow the operation to proceed. Note " | |
3005 | "the use of the word \"theory\" here; in the real world this problem has " | |
3006 | "rarely been encountered, in non-stable distribution versions, and was caused " | |
3007 | "by wrong dependencies of the package in question or by a system in an " | |
3008 | "already broken state; so you should not blindly disable this option, as the " | |
3009 | "scenario mentioned above is not the only problem it can help to prevent in " | |
3010 | "the first place." | |
2a52e8c5 DK |
3011 | msgstr "" |
3012 | ||
2a52e8c5 | 3013 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3014 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3015 | msgid "" |
5723791e JR |
3016 | "Before a big operation like <literal>dist-upgrade</literal> is run with this " |
3017 | "option disabled you should try to explicitly <literal>install</literal> the " | |
3018 | "package APT is unable to configure immediately; but please make sure you " | |
3019 | "also report your problem to your distribution and to the APT team with the " | |
3020 | "buglink below, so they can work on improving or correcting the upgrade " | |
3021 | "process." | |
2a52e8c5 DK |
3022 | msgstr "" |
3023 | ||
2a52e8c5 | 3024 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3025 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3026 | msgid "" |
5723791e JR |
3027 | "Never enable this option unless you <emphasis>really</emphasis> know what " |
3028 | "you are doing. It permits APT to temporarily remove an essential package to " | |
3029 | "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two " | |
3030 | "essential packages. <emphasis>Such a loop should never exist and is a grave " | |
3031 | "bug</emphasis>. This option will work if the essential packages are not " | |
3032 | "<command>tar</command>, <command>gzip</command>, <command>libc</command>, " | |
3033 | "<command>dpkg</command>, <command>dash</command> or anything that those " | |
3034 | "packages depend on." | |
2a52e8c5 DK |
3035 | msgstr "" |
3036 | ||
2a52e8c5 | 3037 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3038 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3039 | msgid "" |
7d76ea1d | 3040 | "APT uses since version 0.7.26 a resizable memory mapped cache file to store " |
5723791e JR |
3041 | "the available information. <literal>Cache-Start</literal> acts as a hint of " |
3042 | "the size the cache will grow to, and is therefore the amount of memory APT " | |
7d76ea1d | 3043 | "will request at startup. The default value is 20971520 bytes (~20 MB). Note " |
5723791e | 3044 | "that this amount of space needs to be available for APT; otherwise it will " |
7d76ea1d DK |
3045 | "likely fail ungracefully, so for memory restricted devices this value should " |
3046 | "be lowered while on systems with a lot of configured sources it should be " | |
3047 | "increased. <literal>Cache-Grow</literal> defines in bytes with the default " | |
5723791e JR |
3048 | "of 1048576 (~1 MB) how much the cache size will be increased in the event " |
3049 | "the space defined by <literal>Cache-Start</literal> is not enough. This " | |
7d76ea1d DK |
3050 | "value will be applied again and again until either the cache is big enough " |
3051 | "to store all information or the size of the cache reaches the " | |
3052 | "<literal>Cache-Limit</literal>. The default of " | |
3053 | "<literal>Cache-Limit</literal> is 0 which stands for no limit. If " | |
5723791e JR |
3054 | "<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache " |
3055 | "is disabled." | |
2a52e8c5 DK |
3056 | msgstr "" |
3057 | ||
2a52e8c5 | 3058 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3059 | #: apt.conf.5.xml:1 |
5723791e | 3060 | msgid "Defines which packages are considered essential build dependencies." |
2a52e8c5 DK |
3061 | msgstr "" |
3062 | ||
2a52e8c5 | 3063 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3064 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3065 | msgid "" |
5723791e | 3066 | "The Get subsection controls the &apt-get; tool; please see its documentation " |
7d76ea1d | 3067 | "for more information about the options here." |
2a52e8c5 DK |
3068 | msgstr "" |
3069 | ||
2a52e8c5 | 3070 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3071 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3072 | msgid "" |
5723791e | 3073 | "The Cache subsection controls the &apt-cache; tool; please see its " |
7d76ea1d | 3074 | "documentation for more information about the options here." |
2a52e8c5 DK |
3075 | msgstr "" |
3076 | ||
2a52e8c5 | 3077 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3078 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3079 | msgid "" |
5723791e | 3080 | "The CDROM subsection controls the &apt-cdrom; tool; please see its " |
7d76ea1d | 3081 | "documentation for more information about the options here." |
2a52e8c5 DK |
3082 | msgstr "" |
3083 | ||
7d76ea1d | 3084 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 3085 | #: apt.conf.5.xml:1 |
7d76ea1d | 3086 | msgid "The Acquire Group" |
2a52e8c5 DK |
3087 | msgstr "" |
3088 | ||
3089 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3090 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3091 | msgid "" |
7d76ea1d | 3092 | "The <literal>Acquire</literal> group of options controls the download of " |
5723791e JR |
3093 | "packages as well as the various \"acquire methods\" responsible for the " |
3094 | "download itself (see also &sources-list;)." | |
2a52e8c5 DK |
3095 | msgstr "" |
3096 | ||
5723791e | 3097 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3098 | #: apt.conf.5.xml:1 |
7d76ea1d | 3099 | msgid "" |
5723791e JR |
3100 | "Security related option defaulting to true, as giving a Release file's " |
3101 | "validation an expiration date prevents replay attacks over a long timescale, " | |
3102 | "and can also for example help users to identify mirrors that are no longer " | |
3103 | "updated - but the feature depends on the correctness of the clock on the " | |
3104 | "user system. Archive maintainers are encouraged to create Release files with " | |
3105 | "the <literal>Valid-Until</literal> header, but if they don't or a stricter " | |
3106 | "value is desired the <literal>Max-ValidTime</literal> option below can be " | |
864fe99c MV |
3107 | "used. The <option>Check-Valid-Until</option> option of &sources-list; " |
3108 | "entries should be preferred to disable the check selectively instead of " | |
3109 | "using this global override." | |
2a52e8c5 DK |
3110 | msgstr "" |
3111 | ||
5723791e | 3112 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3113 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3114 | msgid "" |
5723791e JR |
3115 | "Maximum time (in seconds) after its creation (as indicated by the " |
3116 | "<literal>Date</literal> header) that the <filename>Release</filename> file " | |
3117 | "should be considered valid. If the Release file itself includes a " | |
3118 | "<literal>Valid-Until</literal> header the earlier date of the two is used as " | |
3119 | "the expiration date. The default value is <literal>0</literal> which stands " | |
3120 | "for \"valid forever\". Archive specific settings can be made by appending " | |
864fe99c MV |
3121 | "the label of the archive to the option name. Preferably, the same can be " |
3122 | "achieved for specific &sources-list; entries by using the " | |
3123 | "<option>Valid-Until-Max</option> option there." | |
2a52e8c5 DK |
3124 | msgstr "" |
3125 | ||
5723791e | 3126 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3127 | #: apt.conf.5.xml:1 |
7d76ea1d | 3128 | msgid "" |
5723791e JR |
3129 | "Minimum time (in seconds) after its creation (as indicated by the " |
3130 | "<literal>Date</literal> header) that the <filename>Release</filename> file " | |
3131 | "should be considered valid. Use this if you need to use a seldom updated " | |
3132 | "(local) mirror of a more frequently updated archive with a " | |
3133 | "<literal>Valid-Until</literal> header instead of completely disabling the " | |
3134 | "expiration date checking. Archive specific settings can and should be used " | |
864fe99c MV |
3135 | "by appending the label of the archive to the option name. Preferably, the " |
3136 | "same can be achieved for specific &sources-list; entries by using the " | |
3137 | "<option>Valid-Until-Min</option> option there." | |
2a52e8c5 DK |
3138 | msgstr "" |
3139 | ||
2a52e8c5 | 3140 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3141 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3142 | msgid "" |
5723791e JR |
3143 | "Try to download deltas called <literal>PDiffs</literal> for indexes (like " |
3144 | "<filename>Packages</filename> files) instead of downloading whole ones. True " | |
e49dd9d3 MV |
3145 | "by default. Preferably, this can be set for specific &sources-list; entries " |
3146 | "or index files by using the <option>PDiffs</option> option there." | |
2a52e8c5 DK |
3147 | msgstr "" |
3148 | ||
2a52e8c5 | 3149 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3150 | #: apt.conf.5.xml:1 |
7d76ea1d | 3151 | msgid "" |
5723791e JR |
3152 | "Two sub-options to limit the use of PDiffs are also available: " |
3153 | "<literal>FileLimit</literal> can be used to specify a maximum number of " | |
3154 | "PDiff files should be downloaded to update a " | |
3155 | "file. <literal>SizeLimit</literal> on the other hand is the maximum " | |
3156 | "percentage of the size of all patches compared to the size of the targeted " | |
3157 | "file. If one of these limits is exceeded the complete file is downloaded " | |
3158 | "instead of the patches." | |
2a52e8c5 DK |
3159 | msgstr "" |
3160 | ||
2a52e8c5 | 3161 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae MV |
3162 | #: apt.conf.5.xml:1 |
3163 | msgid "" | |
3164 | "Try to download indexes via an URI constructed from a hashsum of the " | |
3165 | "expected file rather than downloaded via a well-known stable filename. True " | |
3166 | "by default, but automatically disabled if the source indicates no support " | |
3167 | "for it. Usage can be forced with the special value \"force\". Preferably, " | |
3168 | "this can be set for specific &sources-list; entries or index files by using " | |
3169 | "the <option>By-Hash</option> option there." | |
3170 | msgstr "" | |
3171 | ||
3172 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
3173 | #: apt.conf.5.xml:1 | |
7d76ea1d DK |
3174 | msgid "" |
3175 | "Queuing mode; <literal>Queue-Mode</literal> can be one of " | |
3176 | "<literal>host</literal> or <literal>access</literal> which determines how " | |
3177 | "APT parallelizes outgoing connections. <literal>host</literal> means that " | |
3178 | "one connection per target host will be opened, <literal>access</literal> " | |
3179 | "means that one connection per URI type will be opened." | |
2a52e8c5 DK |
3180 | msgstr "" |
3181 | ||
2a52e8c5 | 3182 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3183 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3184 | msgid "" |
3185 | "Number of retries to perform. If this is non-zero APT will retry failed " | |
3186 | "files the given number of times." | |
2a52e8c5 DK |
3187 | msgstr "" |
3188 | ||
2a52e8c5 | 3189 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3190 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3191 | msgid "" |
7d76ea1d DK |
3192 | "Use symlinks for source archives. If set to true then source archives will " |
3193 | "be symlinked when possible instead of copying. True is the default." | |
2a52e8c5 DK |
3194 | msgstr "" |
3195 | ||
2a52e8c5 | 3196 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3197 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3198 | msgid "" |
5723791e JR |
3199 | "<literal>http::Proxy</literal> sets the default proxy to use for HTTP " |
3200 | "URIs. It is in the standard form of " | |
3201 | "<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies " | |
3202 | "can also be specified by using the form " | |
7d76ea1d DK |
3203 | "<literal>http::Proxy::<host></literal> with the special keyword " |
3204 | "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above " | |
3205 | "settings is specified, <envar>http_proxy</envar> environment variable will " | |
3206 | "be used." | |
2a52e8c5 DK |
3207 | msgstr "" |
3208 | ||
2a52e8c5 | 3209 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3210 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3211 | msgid "" |
7d76ea1d | 3212 | "Three settings are provided for cache control with HTTP/1.1 compliant proxy " |
5723791e JR |
3213 | "caches. <literal>No-Cache</literal> tells the proxy not to use its cached " |
3214 | "response under any circumstances. <literal>Max-Age</literal> sets the " | |
3215 | "allowed maximum age (in seconds) of an index file in the cache of the " | |
3216 | "proxy. <literal>No-Store</literal> specifies that the proxy should not " | |
3217 | "store the requested archive files in its cache, which can be used to prevent " | |
3218 | "the proxy from polluting its cache with (big) .deb files." | |
2a52e8c5 DK |
3219 | msgstr "" |
3220 | ||
3221 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3222 | #: apt.conf.5.xml:1 apt.conf.5.xml:1 |
2a52e8c5 | 3223 | msgid "" |
7d76ea1d | 3224 | "The option <literal>timeout</literal> sets the timeout timer used by the " |
5723791e | 3225 | "method; this value applies to the connection as well as the data timeout." |
2a52e8c5 DK |
3226 | msgstr "" |
3227 | ||
782486e8 | 3228 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3229 | #: apt.conf.5.xml:1 |
782486e8 | 3230 | msgid "" |
7d76ea1d | 3231 | "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to " |
5723791e JR |
3232 | "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial " |
3233 | "e.g. on high-latency connections. It specifies how many requests are sent in " | |
5b1e4e86 MV |
3234 | "a pipeline. APT tries to detect and workaround misbehaving webservers and " |
3235 | "proxies at runtime, but if you know that yours does not conform to the " | |
3236 | "HTTP/1.1 specification pipelining can be disabled by setting the value to " | |
3237 | "0. It is enabled by default with the value 10." | |
782486e8 MV |
3238 | msgstr "" |
3239 | ||
5723791e | 3240 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3241 | #: apt.conf.5.xml:1 |
b39c1859 | 3242 | msgid "" |
5723791e JR |
3243 | "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will " |
3244 | "follow redirects, which is enabled by default." | |
b39c1859 MV |
3245 | msgstr "" |
3246 | ||
2a52e8c5 | 3247 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3248 | #: apt.conf.5.xml:1 |
b39c1859 | 3249 | msgid "" |
7d76ea1d DK |
3250 | "The used bandwidth can be limited with " |
3251 | "<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in " | |
ce34af08 MV |
3252 | "kilobytes per second. The default value is 0 which deactivates the limit and " |
3253 | "tries to use all available bandwidth. Note that this option implicitly " | |
3254 | "disables downloading from multiple servers at the same time." | |
b39c1859 MV |
3255 | msgstr "" |
3256 | ||
5723791e | 3257 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3258 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3259 | msgid "" |
3260 | "<literal>Acquire::http::User-Agent</literal> can be used to set a different " | |
3261 | "User-Agent for the http download method as some proxies allow access for " | |
3262 | "clients only if the client uses a known identifier." | |
2a52e8c5 DK |
3263 | msgstr "" |
3264 | ||
3265 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3266 | #: apt.conf.5.xml:1 |
7d76ea1d | 3267 | msgid "" |
ce34af08 | 3268 | "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify " |
14e325c7 JAK |
3269 | "an external command to discover the http proxy to use. The first and only " |
3270 | "parameter is an URI denoting the host to be contacted to allow for " | |
3271 | "host-specific configuration. APT expects the command to output the proxy on " | |
3272 | "stdout as a single line in the style <literal>http://proxy:port/</literal> " | |
3273 | "or the word <literal>DIRECT</literal> if no proxy should be used. No output " | |
3274 | "indicates that the generic proxy settings should be used. Note that " | |
3275 | "auto-detection will not be used for a host if a host-specific proxy " | |
3276 | "configuration is already set via " | |
3277 | "<literal>Acquire::http::Proxy::<replaceable>HOST</replaceable></literal>. " | |
3278 | "See the &squid-deb-proxy-client; package for an example implementation that " | |
3279 | "uses avahi. This option takes precedence over the legacy option name " | |
ce34af08 MV |
3280 | "<literal>ProxyAutoDetect</literal>." |
3281 | msgstr "" | |
3282 | ||
3283 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3284 | #: apt.conf.5.xml:1 |
ce34af08 | 3285 | msgid "" |
5723791e JR |
3286 | "The <literal>Cache-control</literal>, <literal>Timeout</literal>, " |
3287 | "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and " | |
3288 | "<literal>proxy</literal> options work for HTTPS URIs in the same way as for " | |
3289 | "the <literal>http</literal> method, and default to the same values if they " | |
3290 | "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not " | |
3291 | "yet supported." | |
2a52e8c5 DK |
3292 | msgstr "" |
3293 | ||
5723791e | 3294 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3295 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3296 | msgid "" |
3297 | "<literal>CaInfo</literal> suboption specifies place of file that holds info " | |
5723791e | 3298 | "about trusted certificates. <literal><host>::CaInfo</literal> is the " |
7d76ea1d | 3299 | "corresponding per-host option. <literal>Verify-Peer</literal> boolean " |
5723791e JR |
3300 | "suboption determines whether or not the server's host certificate should be " |
3301 | "verified against trusted certificates. " | |
3302 | "<literal><host>::Verify-Peer</literal> is the corresponding per-host " | |
3303 | "option. <literal>Verify-Host</literal> boolean suboption determines whether " | |
3304 | "or not the server's hostname should be verified. " | |
3305 | "<literal><host>::Verify-Host</literal> is the corresponding per-host " | |
7d76ea1d | 3306 | "option. <literal>SslCert</literal> determines what certificate to use for " |
5723791e | 3307 | "client authentication. <literal><host>::SslCert</literal> is the " |
7d76ea1d DK |
3308 | "corresponding per-host option. <literal>SslKey</literal> determines what " |
3309 | "private key to use for client " | |
5723791e | 3310 | "authentication. <literal><host>::SslKey</literal> is the corresponding " |
7d76ea1d | 3311 | "per-host option. <literal>SslForceVersion</literal> overrides default SSL " |
5723791e JR |
3312 | "version to use. It can contain either of the strings " |
3313 | "'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. " | |
3314 | "<literal><host>::SslForceVersion</literal> is the corresponding " | |
3315 | "per-host option." | |
2a52e8c5 DK |
3316 | msgstr "" |
3317 | ||
3318 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3319 | #: apt.conf.5.xml:1 |
7d76ea1d | 3320 | msgid "" |
5723791e JR |
3321 | "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. " |
3322 | "It is in the standard form of " | |
3323 | "<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can " | |
3324 | "also be specified by using the form " | |
7d76ea1d DK |
3325 | "<literal>ftp::Proxy::<host></literal> with the special keyword " |
3326 | "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above " | |
3327 | "settings is specified, <envar>ftp_proxy</envar> environment variable will be " | |
5723791e | 3328 | "used. To use an FTP proxy you will have to set the " |
7d76ea1d DK |
3329 | "<literal>ftp::ProxyLogin</literal> script in the configuration file. This " |
3330 | "entry specifies the commands to send to tell the proxy server what to " | |
3331 | "connect to. Please see &configureindex; for an example of how to do " | |
5723791e JR |
3332 | "this. The substitution variables representing the corresponding URI " |
3333 | "component are <literal>$(PROXY_USER)</literal>, " | |
3334 | "<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, " | |
3335 | "<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and " | |
3336 | "<literal>$(SITE_PORT)</literal>." | |
2a52e8c5 DK |
3337 | msgstr "" |
3338 | ||
5723791e | 3339 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3340 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3341 | msgid "" |
3342 | "Several settings are provided to control passive mode. Generally it is safe " | |
5723791e JR |
3343 | "to leave passive mode on; it works in nearly every environment. However, " |
3344 | "some situations require that passive mode be disabled and port mode FTP used " | |
3345 | "instead. This can be done globally or for connections that go through a " | |
3346 | "proxy or for a specific host (see the sample config file for examples)." | |
2a52e8c5 DK |
3347 | msgstr "" |
3348 | ||
3349 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3350 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3351 | msgid "" |
3352 | "It is possible to proxy FTP over HTTP by setting the " | |
5723791e | 3353 | "<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the " |
7d76ea1d DK |
3354 | "discussion of the http method above for syntax. You cannot set this in the " |
3355 | "configuration file and it is not recommended to use FTP over HTTP due to its " | |
3356 | "low efficiency." | |
2a52e8c5 DK |
3357 | msgstr "" |
3358 | ||
5723791e | 3359 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3360 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3361 | msgid "" |
7d76ea1d DK |
3362 | "The setting <literal>ForceExtended</literal> controls the use of RFC2428 " |
3363 | "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is " | |
3364 | "false, which means these commands are only used if the control connection is " | |
3365 | "IPv6. Setting this to true forces their use even on IPv4 connections. Note " | |
3366 | "that most FTP servers do not support RFC2428." | |
2a52e8c5 DK |
3367 | msgstr "" |
3368 | ||
5723791e | 3369 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout> |
04f27fae | 3370 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3371 | #, no-wrap |
3372 | msgid "/cdrom/::Mount \"foo\";" | |
2a52e8c5 DK |
3373 | msgstr "" |
3374 | ||
5723791e | 3375 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3376 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3377 | msgid "" |
5723791e JR |
3378 | "For URIs using the <literal>cdrom</literal> method, the only configurable " |
3379 | "option is the mount point, <literal>cdrom::Mount</literal>, which must be " | |
3380 | "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in " | |
3381 | "<filename>/etc/fstab</filename>. It is possible to provide alternate mount " | |
3382 | "and unmount commands if your mount point cannot be listed in the fstab. The " | |
7d76ea1d | 3383 | "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the " |
5723791e JR |
3384 | "<literal>cdrom</literal> block. It is important to have the trailing slash. " |
3385 | "Unmount commands can be specified using UMount." | |
2a52e8c5 DK |
3386 | msgstr "" |
3387 | ||
5723791e | 3388 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3389 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3390 | msgid "" |
5723791e JR |
3391 | "For GPGV URIs the only configurable option is " |
3392 | "<literal>gpgv::Options</literal>, which passes additional parameters to " | |
3393 | "gpgv." | |
2a52e8c5 DK |
3394 | msgstr "" |
3395 | ||
5723791e | 3396 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis> |
04f27fae | 3397 | #: apt.conf.5.xml:1 |
7d76ea1d | 3398 | #, no-wrap |
2a52e8c5 | 3399 | msgid "" |
7d76ea1d DK |
3400 | "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> " |
3401 | "\"<replaceable>Methodname</replaceable>\";" | |
2a52e8c5 DK |
3402 | msgstr "" |
3403 | ||
2a52e8c5 | 3404 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3405 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3406 | msgid "" |
7d76ea1d DK |
3407 | "List of compression types which are understood by the acquire methods. " |
3408 | "Files like <filename>Packages</filename> can be available in various " | |
5ff8dd6b JAK |
3409 | "compression formats. By default the acquire methods can decompress and " |
3410 | "recompress many common formats like <command>xz</command> and " | |
3411 | "<command>gzip</command>; with this scope the supported formats can be " | |
3412 | "queried, modified as well as support for more formats added (see also " | |
3413 | "<option>APT::Compressor</option>). The syntax for this is: <placeholder " | |
3414 | "type=\"synopsis\" id=\"0\"/>" | |
7d76ea1d DK |
3415 | msgstr "" |
3416 | ||
5723791e | 3417 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis> |
04f27fae | 3418 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3419 | #, no-wrap |
3420 | msgid "Acquire::CompressionTypes::Order:: \"gz\";" | |
3421 | msgstr "" | |
3422 | ||
5723791e | 3423 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis> |
04f27fae | 3424 | #: apt.conf.5.xml:1 |
7d76ea1d | 3425 | #, no-wrap |
5ff8dd6b | 3426 | msgid "Acquire::CompressionTypes::Order { \"xz\"; \"gz\"; };" |
2a52e8c5 DK |
3427 | msgstr "" |
3428 | ||
bcf91c1b | 3429 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3430 | #: apt.conf.5.xml:1 |
bcf91c1b | 3431 | msgid "" |
5723791e | 3432 | "Also, the <literal>Order</literal> subgroup can be used to define in which " |
7d76ea1d DK |
3433 | "order the acquire system will try to download the compressed files. The " |
3434 | "acquire system will try the first and proceed with the next compression type " | |
5723791e | 3435 | "in this list on error, so to prefer one over the other type simply add the " |
5ff8dd6b JAK |
3436 | "preferred type first - types not already added will be implicitly appended " |
3437 | "to the end of the list, so e.g. <placeholder type=\"synopsis\" id=\"0\"/> " | |
3438 | "can be used to prefer <command>gzip</command> compressed files over all " | |
3439 | "other compression formats. If <command>xz</command> should be preferred " | |
3440 | "over <command>gzip</command> and <command>bzip2</command> the configure " | |
3441 | "setting should look like this: <placeholder type=\"synopsis\" id=\"1\"/> It " | |
3442 | "is not needed to add <literal>bz2</literal> to the list explicitly as it " | |
3443 | "will be added automatically." | |
7d76ea1d DK |
3444 | msgstr "" |
3445 | ||
5723791e | 3446 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout> |
04f27fae | 3447 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3448 | #, no-wrap |
3449 | msgid "Dir::Bin::bzip2 \"/bin/bzip2\";" | |
bcf91c1b DK |
3450 | msgstr "" |
3451 | ||
782486e8 | 3452 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3453 | #: apt.conf.5.xml:1 |
782486e8 | 3454 | msgid "" |
5723791e | 3455 | "Note that the " |
7d76ea1d | 3456 | "<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be " |
5ff8dd6b JAK |
3457 | "checked at run time. If this option has been set and support for this format " |
3458 | "isn't directly built into apt, the method will only be used if this file " | |
3459 | "exists; e.g. for the <literal>bzip2</literal> method (the inbuilt) setting " | |
3460 | "is: <placeholder type=\"literallayout\" id=\"0\"/> Note also that list " | |
3461 | "entries specified on the command line will be added at the end of the list " | |
3462 | "specified in the configuration files, but before the default entries. To " | |
3463 | "prefer a type in this case over the ones specified in the configuration " | |
3464 | "files you can set the option direct - not in list style. This will not " | |
3465 | "override the defined list; it will only prefix the list with this type." | |
2a52e8c5 DK |
3466 | msgstr "" |
3467 | ||
2a52e8c5 | 3468 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3469 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3470 | msgid "" |
7d76ea1d DK |
3471 | "The special type <literal>uncompressed</literal> can be used to give " |
3472 | "uncompressed files a preference, but note that most archives don't provide " | |
3473 | "uncompressed files so this is mostly only useable for local mirrors." | |
2a52e8c5 DK |
3474 | msgstr "" |
3475 | ||
782486e8 | 3476 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3477 | #: apt.conf.5.xml:1 |
782486e8 | 3478 | msgid "" |
7d76ea1d DK |
3479 | "When downloading <literal>gzip</literal> compressed indexes (Packages, " |
3480 | "Sources, or Translations), keep them gzip compressed locally instead of " | |
3481 | "unpacking them. This saves quite a lot of disk space at the expense of more " | |
3482 | "CPU requirements when building the local package caches. False by default." | |
2a52e8c5 DK |
3483 | msgstr "" |
3484 | ||
2a52e8c5 | 3485 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3486 | #: apt.conf.5.xml:1 |
782486e8 | 3487 | msgid "" |
7d76ea1d DK |
3488 | "The Languages subsection controls which <filename>Translation</filename> " |
3489 | "files are downloaded and in which order APT tries to display the " | |
5723791e JR |
3490 | "description-translations. APT will try to display the first available " |
3491 | "description in the language which is listed first. Languages can be defined " | |
3492 | "with their short or long language codes. Note that not all archives provide " | |
3493 | "<filename>Translation</filename> files for every language - the long " | |
3494 | "language codes are especially rare." | |
2a52e8c5 DK |
3495 | msgstr "" |
3496 | ||
5723791e | 3497 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting> |
04f27fae | 3498 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3499 | #, no-wrap |
3500 | msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };" | |
2a52e8c5 DK |
3501 | msgstr "" |
3502 | ||
2a52e8c5 | 3503 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3504 | #: apt.conf.5.xml:1 |
782486e8 | 3505 | msgid "" |
7d76ea1d | 3506 | "The default list includes \"environment\" and " |
5723791e JR |
3507 | "\"en\". \"<literal>environment</literal>\" has a special meaning here: it " |
3508 | "will be replaced at runtime with the language codes extracted from the " | |
7d76ea1d DK |
3509 | "<literal>LC_MESSAGES</literal> environment variable. It will also ensure " |
3510 | "that these codes are not included twice in the list. If " | |
3511 | "<literal>LC_MESSAGES</literal> is set to \"C\" only the " | |
3512 | "<filename>Translation-en</filename> file (if available) will be used. To " | |
5723791e | 3513 | "force APT to use no Translation file use the setting " |
7d76ea1d | 3514 | "<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is " |
5723791e JR |
3515 | "another special meaning code which will stop the search for a suitable " |
3516 | "<filename>Translation</filename> file. This tells APT to download these " | |
3517 | "translations too, without actually using them unless the environment " | |
3518 | "specifies the languages. So the following example configuration will result " | |
3519 | "in the order \"en, de\" in an English locale or \"de, en\" in a German " | |
3520 | "one. Note that \"fr\" is downloaded, but not used unless APT is used in a " | |
3521 | "French locale (where the order would be \"fr, de, en\"). <placeholder " | |
3522 | "type=\"programlisting\" id=\"0\"/>" | |
bcf91c1b DK |
3523 | msgstr "" |
3524 | ||
5723791e | 3525 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3526 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3527 | msgid "" |
7d76ea1d DK |
3528 | "Note: To prevent problems resulting from APT being executed in different " |
3529 | "environments (e.g. by different users or by other programs) all Translation " | |
3530 | "files which are found in <filename>/var/lib/apt/lists/</filename> will be " | |
3531 | "added to the end of the list (after an implicit " | |
3532 | "\"<literal>none</literal>\")." | |
2a52e8c5 DK |
3533 | msgstr "" |
3534 | ||
c1b21367 | 3535 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3536 | #: apt.conf.5.xml:1 |
c1b21367 MV |
3537 | msgid "When downloading, force to use only the IPv4 protocol." |
3538 | msgstr "" | |
3539 | ||
3540 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3541 | #: apt.conf.5.xml:1 |
c1b21367 MV |
3542 | msgid "When downloading, force to use only the IPv6 protocol." |
3543 | msgstr "" | |
3544 | ||
5b1e4e86 | 3545 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3546 | #: apt.conf.5.xml:1 |
5b1e4e86 MV |
3547 | msgid "" |
3548 | "The maximum file size of Release/Release.gpg/InRelease files. The default " | |
3549 | "is 10MB." | |
3550 | msgstr "" | |
3551 | ||
3552 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3553 | #: apt.conf.5.xml:1 |
864fe99c MV |
3554 | msgid "" |
3555 | "This option controls if apt will use the DNS SRV server record as specified " | |
3556 | "in RFC 2782 to select an alternative server to connect to. The default is " | |
3557 | "\"true\"." | |
3558 | msgstr "" | |
3559 | ||
3560 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3561 | #: apt.conf.5.xml:1 |
5b1e4e86 | 3562 | msgid "" |
14e325c7 JAK |
3563 | "Allow update operations to load data files from repositories without " |
3564 | "sufficient security information. The default value is " | |
3565 | "\"<literal>false</literal>\". Concept, implications as well as alternatives " | |
3566 | "are detailed in &apt-secure;." | |
3567 | msgstr "" | |
3568 | ||
3569 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
3570 | #: apt.conf.5.xml:1 | |
3571 | msgid "" | |
3572 | "Allow update operations to load data files from repositories which provide " | |
3573 | "security information, but these are deemed no longer cryptographically " | |
3574 | "strong enough. The default value is \"<literal>false</literal>\". Concept, " | |
3575 | "implications as well as alternatives are detailed in &apt-secure;." | |
5b1e4e86 MV |
3576 | msgstr "" |
3577 | ||
3578 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3579 | #: apt.conf.5.xml:1 |
5b1e4e86 MV |
3580 | msgid "" |
3581 | "Allow that a repository that was previously gpg signed to become unsigned " | |
14e325c7 JAK |
3582 | "during an update operation. When there is no valid signature for a " |
3583 | "previously trusted repository apt will refuse the update. This option can be " | |
3584 | "used to override this protection. You almost certainly never want to enable " | |
3585 | "this. The default is <literal>false</literal>. Concept, implications as " | |
3586 | "well as alternatives are detailed in &apt-secure;." | |
5b1e4e86 MV |
3587 | msgstr "" |
3588 | ||
864fe99c | 3589 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
04f27fae | 3590 | #: apt.conf.5.xml:1 |
864fe99c MV |
3591 | msgid "scope" |
3592 | msgstr "" | |
3593 | ||
3594 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3595 | #: apt.conf.5.xml:1 |
864fe99c MV |
3596 | msgid "" |
3597 | "Acquiring changelogs can only be done if an URI is known from where to get " | |
3598 | "them. Preferable the Release file indicates this in a 'Changelogs' " | |
3599 | "field. If this isn't available the Label/Origin field of the Release file is " | |
3600 | "used to check if a " | |
3601 | "<literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</replaceable></literal> " | |
3602 | "or " | |
3603 | "<literal>Acquire::Changelogs::URI::Origin::<replaceable>ORIGIN</replaceable></literal> " | |
3604 | "option exists and if so this value is taken. The value in the Release file " | |
3605 | "can be overridden with " | |
3606 | "<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</replaceable></literal> " | |
3607 | "or " | |
3608 | "<literal>Acquire::Changelogs::URI::Override::Origin::<replaceable>ORIGIN</replaceable></literal>. " | |
2ffd3535 | 3609 | "The value should be a normal URI to a text file, except that package " |
864fe99c | 3610 | "specific data is replaced with the placeholder " |
430481e7 | 3611 | "<literal>@CHANGEPATH@</literal>. The value for it is: 1. if the package is " |
864fe99c | 3612 | "from a component (e.g. <literal>main</literal>) this is the first part " |
2ffd3535 | 3613 | "otherwise it is omitted, 2. the first letter of source package name, except " |
864fe99c MV |
3614 | "if the source package name starts with '<literal>lib</literal>' in which " |
3615 | "case it will be the first four letters. 3. The complete source package " | |
3616 | "name. 4. the complete name again and 5. the source version. The first (if " | |
3617 | "present), second, third and fourth part are separated by a slash " | |
3618 | "('<literal>/</literal>') and between the fourth and fifth part is an " | |
3619 | "underscore ('<literal>_</literal>'). The special value " | |
3620 | "'<literal>no</literal>' is available for this option indicating that this " | |
3621 | "source can't be used to acquire changelog files from. Another source will be " | |
3622 | "tried if available in this case." | |
3623 | msgstr "" | |
3624 | ||
cbbee23e DK |
3625 | #. type: Content of: <refentry><refsect1><title> |
3626 | #: apt.conf.5.xml:1 | |
3627 | msgid "Binary specific configuration" | |
3628 | msgstr "" | |
3629 | ||
3630 | #. type: Content of: <refentry><refsect1><para> | |
3631 | #: apt.conf.5.xml:1 | |
3632 | msgid "" | |
3633 | "Especially with the introduction of the <command>apt</command> binary it can " | |
3634 | "be useful to set certain options only for a specific binary as even options " | |
3635 | "which look like they would effect only a certain binary like " | |
3636 | "<option>APT::Get::Show-Versions</option> effect <command>apt-get</command> " | |
3637 | "as well as <command>apt</command>." | |
3638 | msgstr "" | |
3639 | ||
3640 | #. type: Content of: <refentry><refsect1><para> | |
3641 | #: apt.conf.5.xml:1 | |
3642 | msgid "" | |
3643 | "Setting an option for a specific binary only can be achieved by setting the " | |
3644 | "option inside the " | |
3645 | "<option>Binary::<replaceable>specific-binary</replaceable></option> " | |
3646 | "scope. Setting the option <option>APT::Get::Show-Versions</option> for the " | |
3647 | "<command>apt</command> only can e.g. by done by setting " | |
3648 | "<option>Binary::apt::APT::Get::Show-Versions</option> instead." | |
3649 | msgstr "" | |
3650 | ||
3651 | #. type: Content of: <refentry><refsect1><para> | |
3652 | #: apt.conf.5.xml:1 | |
3653 | msgid "" | |
3654 | "Note that as seen in the DESCRIPTION section further above you can't set " | |
3655 | "binary-specific options on the commandline itself nor in configuration files " | |
3656 | "loaded via the commandline." | |
3657 | msgstr "" | |
3658 | ||
7d76ea1d | 3659 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 3660 | #: apt.conf.5.xml:1 |
7d76ea1d | 3661 | msgid "Directories" |
2a52e8c5 DK |
3662 | msgstr "" |
3663 | ||
3664 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3665 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3666 | msgid "" |
7d76ea1d DK |
3667 | "The <literal>Dir::State</literal> section has directories that pertain to " |
3668 | "local state information. <literal>lists</literal> is the directory to place " | |
3669 | "downloaded package lists in and <literal>status</literal> is the name of the " | |
5723791e | 3670 | "&dpkg; status file. <literal>preferences</literal> is the name of the APT " |
7d76ea1d | 3671 | "<filename>preferences</filename> file. <literal>Dir::State</literal> " |
5723791e | 3672 | "contains the default directory to prefix on all sub-items if they do not " |
7d76ea1d | 3673 | "start with <filename>/</filename> or <filename>./</filename>." |
2a52e8c5 DK |
3674 | msgstr "" |
3675 | ||
3676 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3677 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3678 | msgid "" |
7d76ea1d DK |
3679 | "<literal>Dir::Cache</literal> contains locations pertaining to local cache " |
3680 | "information, such as the two package caches <literal>srcpkgcache</literal> " | |
3681 | "and <literal>pkgcache</literal> as well as the location to place downloaded " | |
3682 | "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can " | |
1e7ec0d8 MV |
3683 | "be turned off by setting <literal>pkgcache</literal> or " |
3684 | "<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow " | |
5723791e | 3685 | "down startup but save disk space. It is probably preferable to turn off the " |
1e7ec0d8 MV |
3686 | "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> " |
3687 | "the default directory is contained in <literal>Dir::Cache</literal>" | |
2a52e8c5 DK |
3688 | msgstr "" |
3689 | ||
2a52e8c5 | 3690 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 3691 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3692 | msgid "" |
7d76ea1d DK |
3693 | "<literal>Dir::Etc</literal> contains the location of configuration files, " |
3694 | "<literal>sourcelist</literal> gives the location of the sourcelist and " | |
3695 | "<literal>main</literal> is the default configuration file (setting has no " | |
3696 | "effect, unless it is done from the config file specified by " | |
3697 | "<envar>APT_CONFIG</envar>)." | |
2a52e8c5 DK |
3698 | msgstr "" |
3699 | ||
3700 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3701 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3702 | msgid "" |
7d76ea1d DK |
3703 | "The <literal>Dir::Parts</literal> setting reads in all the config fragments " |
3704 | "in lexical order from the directory specified. After this is done then the " | |
3705 | "main config file is loaded." | |
2a52e8c5 DK |
3706 | msgstr "" |
3707 | ||
3708 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3709 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3710 | msgid "" |
7d76ea1d DK |
3711 | "Binary programs are pointed to by " |
3712 | "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies " | |
3713 | "the location of the method handlers and <literal>gzip</literal>, " | |
3714 | "<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, " | |
3715 | "<literal>apt-get</literal> <literal>dpkg-source</literal> " | |
3716 | "<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> " | |
3717 | "specify the location of the respective programs." | |
2a52e8c5 DK |
3718 | msgstr "" |
3719 | ||
3720 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3721 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3722 | msgid "" |
7d76ea1d | 3723 | "The configuration item <literal>RootDir</literal> has a special meaning. If " |
864fe99c MV |
3724 | "set, all paths will be relative to <literal>RootDir</literal>, " |
3725 | "<emphasis>even paths that are specified absolutely</emphasis>. So, for " | |
3726 | "instance, if <literal>RootDir</literal> is set to " | |
3727 | "<filename>/tmp/staging</filename> and <literal>Dir::State::status</literal> " | |
3728 | "is set to <filename>/var/lib/dpkg/status</filename>, then the status file " | |
3729 | "will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>. " | |
3730 | "If you want to prefix only relative paths, set <literal>Dir</literal> " | |
3731 | "instead." | |
2a52e8c5 DK |
3732 | msgstr "" |
3733 | ||
3734 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3735 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3736 | msgid "" |
7d76ea1d DK |
3737 | "The <literal>Ignore-Files-Silently</literal> list can be used to specify " |
3738 | "which files APT should silently ignore while parsing the files in the " | |
3739 | "fragment directories. Per default a file which end with " | |
3740 | "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> " | |
3741 | "or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last " | |
3742 | "default value these patterns can use regular expression syntax." | |
2a52e8c5 DK |
3743 | msgstr "" |
3744 | ||
7d76ea1d | 3745 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 3746 | #: apt.conf.5.xml:1 |
7d76ea1d | 3747 | msgid "APT in DSelect" |
2a52e8c5 DK |
3748 | msgstr "" |
3749 | ||
3750 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3751 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3752 | msgid "" |
7d76ea1d | 3753 | "When APT is used as a &dselect; method several configuration directives " |
5723791e | 3754 | "control the default behavior. These are in the <literal>DSelect</literal> " |
7d76ea1d | 3755 | "section." |
2a52e8c5 DK |
3756 | msgstr "" |
3757 | ||
7d76ea1d | 3758 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3759 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3760 | msgid "" |
5723791e JR |
3761 | "Cache Clean mode; this value may be one of <literal>always</literal>, " |
3762 | "<literal>prompt</literal>, <literal>auto</literal>, " | |
3763 | "<literal>pre-auto</literal> and <literal>never</literal>. " | |
3764 | "<literal>always</literal> and <literal>prompt</literal> will remove all " | |
3765 | "packages from the cache after upgrading, <literal>prompt</literal> (the " | |
3766 | "default) does so conditionally. <literal>auto</literal> removes only those " | |
3767 | "packages which are no longer downloadable (replaced with a new version for " | |
3768 | "instance). <literal>pre-auto</literal> performs this action before " | |
3769 | "downloading new packages." | |
2a52e8c5 DK |
3770 | msgstr "" |
3771 | ||
7d76ea1d | 3772 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3773 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3774 | msgid "" |
5723791e JR |
3775 | "The contents of this variable are passed to &apt-get; as command line " |
3776 | "options when it is run for the install phase." | |
2a52e8c5 DK |
3777 | msgstr "" |
3778 | ||
7d76ea1d | 3779 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3780 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3781 | msgid "" |
5723791e JR |
3782 | "The contents of this variable are passed to &apt-get; as command line " |
3783 | "options when it is run for the update phase." | |
2a52e8c5 DK |
3784 | msgstr "" |
3785 | ||
7d76ea1d | 3786 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3787 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3788 | msgid "" |
7d76ea1d DK |
3789 | "If true the [U]pdate operation in &dselect; will always prompt to continue. " |
3790 | "The default is to prompt only on error." | |
2a52e8c5 DK |
3791 | msgstr "" |
3792 | ||
3793 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae | 3794 | #: apt.conf.5.xml:1 |
5723791e | 3795 | msgid "How APT calls &dpkg;" |
2a52e8c5 DK |
3796 | msgstr "" |
3797 | ||
3798 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3799 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3800 | msgid "" |
7d76ea1d DK |
3801 | "Several configuration directives control how APT invokes &dpkg;. These are " |
3802 | "in the <literal>DPkg</literal> section." | |
2a52e8c5 DK |
3803 | msgstr "" |
3804 | ||
7d76ea1d | 3805 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3806 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3807 | msgid "" |
5723791e | 3808 | "This is a list of options to pass to &dpkg;. The options must be specified " |
7d76ea1d DK |
3809 | "using the list notation and each list item is passed as a single argument to " |
3810 | "&dpkg;." | |
2a52e8c5 DK |
3811 | msgstr "" |
3812 | ||
7d76ea1d | 3813 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3814 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3815 | msgid "" |
7d76ea1d DK |
3816 | "This is a list of shell commands to run before/after invoking &dpkg;. Like " |
3817 | "<literal>options</literal> this must be specified in list notation. The " | |
5723791e | 3818 | "commands are invoked in order using <filename>/bin/sh</filename>; should any " |
7d76ea1d | 3819 | "fail APT will abort." |
2a52e8c5 DK |
3820 | msgstr "" |
3821 | ||
7d76ea1d | 3822 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3823 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3824 | msgid "" |
5723791e | 3825 | "This is a list of shell commands to run before invoking &dpkg;. Like " |
7d76ea1d | 3826 | "<literal>options</literal> this must be specified in list notation. The " |
5723791e JR |
3827 | "commands are invoked in order using <filename>/bin/sh</filename>; should any " |
3828 | "fail APT will abort. APT will pass the filenames of all .deb files it is " | |
ce34af08 MV |
3829 | "going to install to the commands, one per line on the requested file " |
3830 | "descriptor, defaulting to standard input." | |
2a52e8c5 DK |
3831 | msgstr "" |
3832 | ||
7d76ea1d | 3833 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3834 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3835 | msgid "" |
864fe99c MV |
3836 | "Version 2 of this protocol sends more information through the requested file " |
3837 | "descriptor: a line with the text <literal>VERSION 2</literal>, the APT " | |
3838 | "configuration space, and a list of package actions with filename and version " | |
3839 | "information." | |
ce34af08 MV |
3840 | msgstr "" |
3841 | ||
3842 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3843 | #: apt.conf.5.xml:1 |
864fe99c MV |
3844 | msgid "" |
3845 | "Each configuration directive line has the form " | |
3846 | "<literal>key=value</literal>. Special characters (equal signs, newlines, " | |
3847 | "nonprintable characters, quotation marks, and percent signs in " | |
3848 | "<literal>key</literal> and newlines, nonprintable characters, and percent " | |
3849 | "signs in <literal>value</literal>) are %-encoded. Lists are represented by " | |
3850 | "multiple <literal>key::=value</literal> lines with the same key. The " | |
3851 | "configuration section ends with a blank line." | |
3852 | msgstr "" | |
3853 | ||
3854 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3855 | #: apt.conf.5.xml:1 |
864fe99c | 3856 | msgid "" |
2ffd3535 BT |
3857 | "Package action lines consist of five fields in Version 2: package name " |
3858 | "(without architecture qualification even if foreign), old version, direction " | |
3859 | "of version change (< for upgrades, > for downgrades, = for no change), " | |
3860 | "new version, action. The version fields are \"-\" for no version at all (for " | |
3861 | "example when installing a package for the first time; no version is treated " | |
3862 | "as earlier than any real version, so that is an upgrade, indicated as " | |
3863 | "<literal>- < 1.23.4</literal>). The action field is \"**CONFIGURE**\" if " | |
3864 | "the package is being configured, \"**REMOVE**\" if it is being removed, or " | |
3865 | "the filename of a .deb file if it is being unpacked." | |
864fe99c MV |
3866 | msgstr "" |
3867 | ||
3868 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3869 | #: apt.conf.5.xml:1 |
864fe99c MV |
3870 | msgid "" |
3871 | "In Version 3 after each version field follows the architecture of this " | |
3872 | "version, which is \"-\" if there is no version, and a field showing the " | |
2ffd3535 | 3873 | "MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that " |
864fe99c MV |
3874 | "\"none\" is an incorrect typename which is just kept to remain compatible, " |
3875 | "it should be read as \"no\" and users are encouraged to support both." | |
3876 | msgstr "" | |
3877 | ||
3878 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3879 | #: apt.conf.5.xml:1 |
ce34af08 MV |
3880 | msgid "" |
3881 | "The version of the protocol to be used for the command " | |
3882 | "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting " | |
3883 | "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</literal> " | |
3884 | "accordingly, the default being version 1. If APT isn't supporting the " | |
3885 | "requested version it will send the information in the highest version it has " | |
3886 | "support for instead." | |
3887 | msgstr "" | |
3888 | ||
3889 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | |
04f27fae | 3890 | #: apt.conf.5.xml:1 |
ce34af08 MV |
3891 | msgid "" |
3892 | "The file descriptor to be used to send the information can be requested with " | |
3893 | "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</literal> " | |
3894 | "which defaults to <literal>0</literal> for standard input and is available " | |
3895 | "since version 0.9.11. Support for the option can be detected by looking for " | |
3896 | "the environment variable <envar>APT_HOOK_INFO_FD</envar> which contains the " | |
3897 | "number of the used file descriptor as a confirmation." | |
2a52e8c5 DK |
3898 | msgstr "" |
3899 | ||
7d76ea1d | 3900 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3901 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3902 | msgid "" |
5723791e | 3903 | "APT chdirs to this directory before invoking &dpkg;, the default is " |
7d76ea1d | 3904 | "<filename>/</filename>." |
2a52e8c5 DK |
3905 | msgstr "" |
3906 | ||
7d76ea1d | 3907 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3908 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3909 | msgid "" |
5723791e | 3910 | "These options are passed to &dpkg-buildpackage; when compiling packages; the " |
7d76ea1d | 3911 | "default is to disable signing and produce all binaries." |
2a52e8c5 DK |
3912 | msgstr "" |
3913 | ||
f8b879c2 | 3914 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3915 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3916 | msgid "" |
5723791e JR |
3917 | "If this option is set APT will call <command>dpkg --configure " |
3918 | "--pending</command> to let &dpkg; handle all required configurations and " | |
f8b879c2 | 3919 | "triggers. This option is activated by default, but deactivating it could be " |
7d76ea1d | 3920 | "useful if you want to run APT multiple times in a row - e.g. in an " |
f8b879c2 JAK |
3921 | "installer. In this scenario you could deactivate this option in all but the " |
3922 | "last run." | |
2a52e8c5 DK |
3923 | msgstr "" |
3924 | ||
7d76ea1d | 3925 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 3926 | #: apt.conf.5.xml:1 |
7d76ea1d | 3927 | msgid "Periodic and Archives options" |
89fd753d MV |
3928 | msgstr "" |
3929 | ||
7d76ea1d | 3930 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 3931 | #: apt.conf.5.xml:1 |
7d76ea1d DK |
3932 | msgid "" |
3933 | "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups " | |
5723791e | 3934 | "of options configure behavior of apt periodic updates, which is done by the " |
4adc750a JAK |
3935 | "<literal>/usr/lib/apt/apt.systemd.daily</literal> script. See the top of " |
3936 | "this script for the brief documentation of these options." | |
2a52e8c5 DK |
3937 | msgstr "" |
3938 | ||
7d76ea1d | 3939 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 3940 | #: apt.conf.5.xml:1 |
7d76ea1d | 3941 | msgid "Debug options" |
2a52e8c5 DK |
3942 | msgstr "" |
3943 | ||
3944 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3945 | #: apt.conf.5.xml:1 |
2a52e8c5 | 3946 | msgid "" |
7d76ea1d DK |
3947 | "Enabling options in the <literal>Debug::</literal> section will cause " |
3948 | "debugging information to be sent to the standard error stream of the program " | |
3949 | "utilizing the <literal>apt</literal> libraries, or enable special program " | |
3950 | "modes that are primarily useful for debugging the behavior of " | |
3951 | "<literal>apt</literal>. Most of these options are not interesting to a " | |
3952 | "normal user, but a few may be:" | |
b39c1859 MV |
3953 | msgstr "" |
3954 | ||
7d76ea1d | 3955 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
04f27fae | 3956 | #: apt.conf.5.xml:1 |
b39c1859 | 3957 | msgid "" |
7d76ea1d DK |
3958 | "<literal>Debug::pkgProblemResolver</literal> enables output about the " |
3959 | "decisions made by <literal>dist-upgrade, upgrade, install, remove, " | |
3960 | "purge</literal>." | |
b39c1859 MV |
3961 | msgstr "" |
3962 | ||
7d76ea1d | 3963 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
04f27fae | 3964 | #: apt.conf.5.xml:1 |
b39c1859 | 3965 | msgid "" |
7d76ea1d DK |
3966 | "<literal>Debug::NoLocking</literal> disables all file locking. This can be " |
3967 | "used to run some operations (for instance, <literal>apt-get -s " | |
3968 | "install</literal>) as a non-root user." | |
b39c1859 MV |
3969 | msgstr "" |
3970 | ||
7d76ea1d | 3971 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
04f27fae | 3972 | #: apt.conf.5.xml:1 |
b39c1859 | 3973 | msgid "" |
7d76ea1d DK |
3974 | "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each " |
3975 | "time that <literal>apt</literal> invokes &dpkg;." | |
b39c1859 MV |
3976 | msgstr "" |
3977 | ||
7d76ea1d DK |
3978 | #. TODO: provide a |
3979 | #. motivating example, except I haven't a clue why you'd want | |
3980 | #. to do this. | |
3981 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> | |
04f27fae | 3982 | #: apt.conf.5.xml:1 |
b39c1859 | 3983 | msgid "" |
7d76ea1d DK |
3984 | "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data " |
3985 | "in CD-ROM IDs." | |
2a52e8c5 DK |
3986 | msgstr "" |
3987 | ||
3988 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 3989 | #: apt.conf.5.xml:1 |
7d76ea1d | 3990 | msgid "A full list of debugging options to apt follows." |
2a52e8c5 DK |
3991 | msgstr "" |
3992 | ||
7d76ea1d | 3993 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3994 | #: apt.conf.5.xml:1 |
7d76ea1d | 3995 | msgid "Print information related to accessing <literal>cdrom://</literal> sources." |
2a52e8c5 DK |
3996 | msgstr "" |
3997 | ||
7d76ea1d | 3998 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 3999 | #: apt.conf.5.xml:1 |
7d76ea1d | 4000 | msgid "Print information related to downloading packages using FTP." |
2a52e8c5 DK |
4001 | msgstr "" |
4002 | ||
7d76ea1d | 4003 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4004 | #: apt.conf.5.xml:1 |
7d76ea1d | 4005 | msgid "Print information related to downloading packages using HTTP." |
2a52e8c5 DK |
4006 | msgstr "" |
4007 | ||
7d76ea1d | 4008 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4009 | #: apt.conf.5.xml:1 |
7d76ea1d | 4010 | msgid "Print information related to downloading packages using HTTPS." |
2a52e8c5 DK |
4011 | msgstr "" |
4012 | ||
7d76ea1d | 4013 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4014 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4015 | msgid "" |
7d76ea1d DK |
4016 | "Print information related to verifying cryptographic signatures using " |
4017 | "<literal>gpg</literal>." | |
2a52e8c5 DK |
4018 | msgstr "" |
4019 | ||
7d76ea1d | 4020 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4021 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4022 | msgid "" |
7d76ea1d DK |
4023 | "Output information about the process of accessing collections of packages " |
4024 | "stored on CD-ROMs." | |
2a52e8c5 DK |
4025 | msgstr "" |
4026 | ||
7d76ea1d | 4027 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4028 | #: apt.conf.5.xml:1 |
7d76ea1d | 4029 | msgid "Describes the process of resolving build-dependencies in &apt-get;." |
63fc5550 DK |
4030 | msgstr "" |
4031 | ||
7d76ea1d | 4032 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4033 | #: apt.conf.5.xml:1 |
63fc5550 | 4034 | msgid "" |
7d76ea1d DK |
4035 | "Output each cryptographic hash that is generated by the " |
4036 | "<literal>apt</literal> libraries." | |
2a52e8c5 DK |
4037 | msgstr "" |
4038 | ||
7d76ea1d | 4039 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4040 | #: apt.conf.5.xml:1 |
63fc5550 | 4041 | msgid "" |
7d76ea1d DK |
4042 | "Do not include information from <literal>statfs</literal>, namely the number " |
4043 | "of used and free blocks on the CD-ROM filesystem, when generating an ID for " | |
4044 | "a CD-ROM." | |
63fc5550 DK |
4045 | msgstr "" |
4046 | ||
7d76ea1d | 4047 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4048 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4049 | msgid "" |
7d76ea1d DK |
4050 | "Disable all file locking. For instance, this will allow two instances of " |
4051 | "<quote><literal>apt-get update</literal></quote> to run at the same time." | |
63fc5550 DK |
4052 | msgstr "" |
4053 | ||
7d76ea1d | 4054 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4055 | #: apt.conf.5.xml:1 |
7d76ea1d | 4056 | msgid "Log when items are added to or removed from the global download queue." |
2a52e8c5 DK |
4057 | msgstr "" |
4058 | ||
7d76ea1d | 4059 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4060 | #: apt.conf.5.xml:1 |
63fc5550 | 4061 | msgid "" |
7d76ea1d DK |
4062 | "Output status messages and errors related to verifying checksums and " |
4063 | "cryptographic signatures of downloaded files." | |
2a52e8c5 DK |
4064 | msgstr "" |
4065 | ||
7d76ea1d | 4066 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4067 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4068 | msgid "" |
7d76ea1d DK |
4069 | "Output information about downloading and applying package index list diffs, " |
4070 | "and errors relating to package index list diffs." | |
2a52e8c5 DK |
4071 | msgstr "" |
4072 | ||
2a52e8c5 | 4073 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4074 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4075 | msgid "" |
7d76ea1d DK |
4076 | "Output information related to patching apt package lists when downloading " |
4077 | "index diffs instead of full indices." | |
2a52e8c5 DK |
4078 | msgstr "" |
4079 | ||
c77d6597 | 4080 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4081 | #: apt.conf.5.xml:1 |
7d76ea1d | 4082 | msgid "Log all interactions with the sub-processes that actually perform downloads." |
c77d6597 MV |
4083 | msgstr "" |
4084 | ||
2a52e8c5 | 4085 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4086 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4087 | msgid "" |
7d76ea1d DK |
4088 | "Log events related to the automatically-installed status of packages and to " |
4089 | "the removal of unused packages." | |
2a52e8c5 DK |
4090 | msgstr "" |
4091 | ||
2a52e8c5 | 4092 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4093 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4094 | msgid "" |
7d76ea1d DK |
4095 | "Generate debug messages describing which packages are being automatically " |
4096 | "installed to resolve dependencies. This corresponds to the initial " | |
4097 | "auto-install pass performed in, e.g., <literal>apt-get install</literal>, " | |
4098 | "and not to the full <literal>apt</literal> dependency resolver; see " | |
4099 | "<literal>Debug::pkgProblemResolver</literal> for that." | |
2a52e8c5 DK |
4100 | msgstr "" |
4101 | ||
2a52e8c5 | 4102 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4103 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4104 | msgid "" |
5723791e | 4105 | "Generate debug messages describing which packages are marked as " |
7d76ea1d DK |
4106 | "keep/install/remove while the ProblemResolver does his work. Each addition " |
4107 | "or deletion may trigger additional actions; they are shown indented two " | |
5723791e | 4108 | "additional spaces under the original entry. The format for each line is " |
7d76ea1d DK |
4109 | "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or " |
4110 | "<literal>MarkInstall</literal> followed by <literal>package-name <a.b.c " | |
4111 | "-> d.e.f | x.y.z> (section)</literal> where <literal>a.b.c</literal> " | |
4112 | "is the current version of the package, <literal>d.e.f</literal> is the " | |
4113 | "version considered for installation and <literal>x.y.z</literal> is a newer " | |
4114 | "version, but not considered for installation (because of a low pin " | |
4115 | "score). The later two can be omitted if there is none or if it is the same " | |
5723791e | 4116 | "as the installed version. <literal>section</literal> is the name of the " |
7d76ea1d | 4117 | "section the package appears in." |
2a52e8c5 DK |
4118 | msgstr "" |
4119 | ||
2a52e8c5 | 4120 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4121 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4122 | msgid "" |
7d76ea1d DK |
4123 | "When invoking &dpkg;, output the precise command line with which it is being " |
4124 | "invoked, with arguments separated by a single space character." | |
2a52e8c5 DK |
4125 | msgstr "" |
4126 | ||
2a52e8c5 | 4127 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4128 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4129 | msgid "" |
7d76ea1d DK |
4130 | "Output all the data received from &dpkg; on the status file descriptor and " |
4131 | "any errors encountered while parsing it." | |
2a52e8c5 DK |
4132 | msgstr "" |
4133 | ||
2a52e8c5 | 4134 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4135 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4136 | msgid "" |
7d76ea1d DK |
4137 | "Generate a trace of the algorithm that decides the order in which " |
4138 | "<literal>apt</literal> should pass packages to &dpkg;." | |
2a52e8c5 DK |
4139 | msgstr "" |
4140 | ||
2a52e8c5 | 4141 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4142 | #: apt.conf.5.xml:1 |
7d76ea1d | 4143 | msgid "Output status messages tracing the steps performed when invoking &dpkg;." |
2a52e8c5 DK |
4144 | msgstr "" |
4145 | ||
2a52e8c5 | 4146 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4147 | #: apt.conf.5.xml:1 |
7d76ea1d | 4148 | msgid "Output the priority of each package list on startup." |
2a52e8c5 DK |
4149 | msgstr "" |
4150 | ||
2a52e8c5 | 4151 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4152 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4153 | msgid "" |
7d76ea1d DK |
4154 | "Trace the execution of the dependency resolver (this applies only to what " |
4155 | "happens when a complex dependency problem is encountered)." | |
2a52e8c5 DK |
4156 | msgstr "" |
4157 | ||
2a52e8c5 | 4158 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4159 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4160 | msgid "" |
7d76ea1d DK |
4161 | "Display a list of all installed packages with their calculated score used by " |
4162 | "the pkgProblemResolver. The description of the package is the same as " | |
4163 | "described in <literal>Debug::pkgDepCache::Marker</literal>" | |
2a52e8c5 DK |
4164 | msgstr "" |
4165 | ||
2a52e8c5 | 4166 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4167 | #: apt.conf.5.xml:1 |
2a52e8c5 | 4168 | msgid "" |
7d76ea1d DK |
4169 | "Print information about the vendors read from " |
4170 | "<filename>/etc/apt/vendors.list</filename>." | |
2a52e8c5 DK |
4171 | msgstr "" |
4172 | ||
93ae7f7f | 4173 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 4174 | #: apt.conf.5.xml:1 |
93ae7f7f MV |
4175 | msgid "" |
4176 | "Display the external commands that are called by apt hooks. This includes " | |
4177 | "e.g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or " | |
4178 | "<literal>APT::Update::{Pre,Post}-Invoke</literal>." | |
4179 | msgstr "" | |
4180 | ||
2a52e8c5 | 4181 | #. type: Content of: <refentry><refsect1><title> |
04f27fae MV |
4182 | #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1 |
4183 | #: apt-ftparchive.1.xml:1 | |
7d76ea1d | 4184 | msgid "Examples" |
2a52e8c5 DK |
4185 | msgstr "" |
4186 | ||
aec22160 | 4187 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 4188 | #: apt.conf.5.xml:1 |
aec22160 | 4189 | msgid "" |
7d76ea1d DK |
4190 | "&configureindex; is a configuration file showing example values for all " |
4191 | "possible options." | |
aec22160 DK |
4192 | msgstr "" |
4193 | ||
7d76ea1d DK |
4194 | #. ? reading apt.conf |
4195 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 4196 | #: apt.conf.5.xml:1 |
7d76ea1d | 4197 | msgid "&apt-cache;, &apt-config;, &apt-preferences;." |
b6c6b52f MV |
4198 | msgstr "" |
4199 | ||
7d76ea1d | 4200 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 4201 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4202 | msgid "Preference control file for APT" |
c77d6597 MV |
4203 | msgstr "" |
4204 | ||
aec22160 | 4205 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 4206 | #: apt_preferences.5.xml:1 |
b6c6b52f | 4207 | msgid "" |
7d76ea1d DK |
4208 | "The APT preferences file <filename>/etc/apt/preferences</filename> and the " |
4209 | "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder " | |
4210 | "can be used to control which versions of packages will be selected for " | |
4211 | "installation." | |
b6c6b52f MV |
4212 | msgstr "" |
4213 | ||
7d76ea1d | 4214 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 4215 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4216 | msgid "" |
7d76ea1d DK |
4217 | "Several versions of a package may be available for installation when the " |
4218 | "&sources-list; file contains references to more than one distribution (for " | |
4219 | "example, <literal>stable</literal> and <literal>testing</literal>). APT " | |
4220 | "assigns a priority to each version that is available. Subject to dependency " | |
4221 | "constraints, <command>apt-get</command> selects the version with the highest " | |
44477002 JR |
4222 | "priority for installation. The APT preferences override the priorities that " |
4223 | "APT assigns to package versions by default, thus giving the user control " | |
4224 | "over which one is selected for installation." | |
2a52e8c5 DK |
4225 | msgstr "" |
4226 | ||
7d76ea1d | 4227 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 4228 | #: apt_preferences.5.xml:1 |
b39c1859 | 4229 | msgid "" |
7d76ea1d DK |
4230 | "Several instances of the same version of a package may be available when the " |
4231 | "&sources-list; file contains references to more than one source. In this " | |
4232 | "case <command>apt-get</command> downloads the instance listed earliest in " | |
44477002 JR |
4233 | "the &sources-list; file. The APT preferences do not affect the choice of " |
4234 | "instance, only the choice of version." | |
b39c1859 MV |
4235 | msgstr "" |
4236 | ||
7d76ea1d | 4237 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 4238 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4239 | msgid "" |
7d76ea1d DK |
4240 | "Preferences are a strong power in the hands of a system administrator but " |
4241 | "they can become also their biggest nightmare if used without care! APT will " | |
44477002 JR |
4242 | "not question the preferences, so wrong settings can lead to uninstallable " |
4243 | "packages or wrong decisions while upgrading packages. Even more problems " | |
4244 | "will arise if multiple distribution releases are mixed without a good " | |
4245 | "understanding of the following paragraphs. Packages included in a specific " | |
4246 | "release aren't tested in (and therefore don't always work as expected in) " | |
4247 | "older or newer releases, or together with other packages from different " | |
4248 | "releases. You have been warned." | |
2a52e8c5 DK |
4249 | msgstr "" |
4250 | ||
7d76ea1d | 4251 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 4252 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4253 | msgid "" |
7d76ea1d DK |
4254 | "Note that the files in the <filename>/etc/apt/preferences.d</filename> " |
4255 | "directory are parsed in alphanumeric ascending order and need to obey the " | |
4256 | "following naming convention: The files have either no or " | |
4257 | "\"<literal>pref</literal>\" as filename extension and only contain " | |
4258 | "alphanumeric, hyphen (-), underscore (_) and period (.) characters. " | |
44477002 JR |
4259 | "Otherwise APT will print a notice that it has ignored a file, unless that " |
4260 | "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> " | |
5723791e | 4261 | "configuration list - in which case it will be silently ignored." |
2a52e8c5 DK |
4262 | msgstr "" |
4263 | ||
7d76ea1d | 4264 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 4265 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4266 | msgid "APT's Default Priority Assignments" |
2a52e8c5 DK |
4267 | msgstr "" |
4268 | ||
7d76ea1d | 4269 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 4270 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4271 | #, no-wrap |
2a52e8c5 | 4272 | msgid "" |
7d76ea1d DK |
4273 | "<command>apt-get install -t testing " |
4274 | "<replaceable>some-package</replaceable></command>\n" | |
2a52e8c5 DK |
4275 | msgstr "" |
4276 | ||
7d76ea1d | 4277 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 4278 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
4279 | #, no-wrap |
4280 | msgid "APT::Default-Release \"stable\";\n" | |
4281 | msgstr "" | |
2a52e8c5 | 4282 | |
7d76ea1d | 4283 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4284 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4285 | msgid "" |
7d76ea1d DK |
4286 | "If there is no preferences file or if there is no entry in the file that " |
4287 | "applies to a particular version then the priority assigned to that version " | |
4288 | "is the priority of the distribution to which that version belongs. It is " | |
4289 | "possible to single out a distribution, \"the target release\", which " | |
4290 | "receives a higher priority than other distributions do by default. The " | |
4291 | "target release can be set on the <command>apt-get</command> command line or " | |
4292 | "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note " | |
4293 | "that this has precedence over any general priority you set in the " | |
4294 | "<filename>/etc/apt/preferences</filename> file described later, but not over " | |
4295 | "specifically pinned packages. For example, <placeholder " | |
4296 | "type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" " | |
4297 | "id=\"1\"/>" | |
2a52e8c5 DK |
4298 | msgstr "" |
4299 | ||
7d76ea1d | 4300 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4301 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4302 | msgid "" |
7d76ea1d DK |
4303 | "If the target release has been specified then APT uses the following " |
4304 | "algorithm to set the priorities of the versions of a package. Assign:" | |
2a52e8c5 DK |
4305 | msgstr "" |
4306 | ||
7d76ea1d | 4307 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4308 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4309 | msgid "priority 1" |
c086ac18 DK |
4310 | msgstr "" |
4311 | ||
7d76ea1d | 4312 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4313 | #: apt_preferences.5.xml:1 |
63fc5550 | 4314 | msgid "" |
7d76ea1d DK |
4315 | "to the versions coming from archives which in their " |
4316 | "<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but " | |
44477002 | 4317 | "<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian " |
7d76ea1d | 4318 | "<literal>experimental</literal> archive." |
63fc5550 DK |
4319 | msgstr "" |
4320 | ||
7d76ea1d | 4321 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4322 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4323 | msgid "priority 100" |
bf5c3fe8 MV |
4324 | msgstr "" |
4325 | ||
7d76ea1d | 4326 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4327 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4328 | msgid "" |
7d76ea1d DK |
4329 | "to the version that is already installed (if any) and to the versions coming " |
4330 | "from archives which in their <filename>Release</filename> files are marked " | |
44477002 | 4331 | "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian " |
7d76ea1d | 4332 | "backports archive since <literal>squeeze-backports</literal>." |
2a52e8c5 DK |
4333 | msgstr "" |
4334 | ||
7d76ea1d | 4335 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4336 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4337 | msgid "priority 500" |
2a52e8c5 DK |
4338 | msgstr "" |
4339 | ||
7d76ea1d | 4340 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4341 | #: apt_preferences.5.xml:1 |
864fe99c | 4342 | msgid "to the versions that do not belong to the target release." |
2a52e8c5 DK |
4343 | msgstr "" |
4344 | ||
7d76ea1d | 4345 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4346 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4347 | msgid "priority 990" |
c086ac18 DK |
4348 | msgstr "" |
4349 | ||
7d76ea1d | 4350 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4351 | #: apt_preferences.5.xml:1 |
864fe99c MV |
4352 | msgid "to the versions that belong to the target release." |
4353 | msgstr "" | |
4354 | ||
4355 | #. type: Content of: <refentry><refsect1><refsect2><para> | |
04f27fae | 4356 | #: apt_preferences.5.xml:1 |
864fe99c MV |
4357 | msgid "" |
4358 | "The highest of those priorities whose description matches the version is " | |
4359 | "assigned to the version." | |
63fc5550 DK |
4360 | msgstr "" |
4361 | ||
7d76ea1d | 4362 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4363 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4364 | msgid "" |
7d76ea1d DK |
4365 | "If the target release has not been specified then APT simply assigns " |
4366 | "priority 100 to all installed package versions and priority 500 to all " | |
4367 | "uninstalled package versions, except versions coming from archives which in " | |
4368 | "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" " | |
4369 | "- these versions get the priority 1 or priority 100 if it is additionally " | |
4370 | "marked as \"ButAutomaticUpgrades: yes\"." | |
2a52e8c5 DK |
4371 | msgstr "" |
4372 | ||
7d76ea1d | 4373 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4374 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4375 | msgid "" |
7d76ea1d DK |
4376 | "APT then applies the following rules, listed in order of precedence, to " |
4377 | "determine which version of a package to install." | |
2a52e8c5 DK |
4378 | msgstr "" |
4379 | ||
7d76ea1d | 4380 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4381 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4382 | msgid "" |
7d76ea1d DK |
4383 | "Never downgrade unless the priority of an available version exceeds 1000. " |
4384 | "(\"Downgrading\" is installing a less recent version of a package in place " | |
4385 | "of a more recent version. Note that none of APT's default priorities " | |
4386 | "exceeds 1000; such high priorities can only be set in the preferences file. " | |
4387 | "Note also that downgrading a package can be risky.)" | |
2a52e8c5 DK |
4388 | msgstr "" |
4389 | ||
7d76ea1d | 4390 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4391 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4392 | msgid "Install the highest priority version." |
2a52e8c5 DK |
4393 | msgstr "" |
4394 | ||
7d76ea1d | 4395 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4396 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4397 | msgid "" |
7d76ea1d DK |
4398 | "If two or more versions have the same priority, install the most recent one " |
4399 | "(that is, the one with the higher version number)." | |
2a52e8c5 DK |
4400 | msgstr "" |
4401 | ||
7d76ea1d | 4402 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4403 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4404 | msgid "" |
7d76ea1d DK |
4405 | "If two or more versions have the same priority and version number but either " |
4406 | "the packages differ in some of their metadata or the " | |
4407 | "<literal>--reinstall</literal> option is given, install the uninstalled one." | |
2a52e8c5 DK |
4408 | msgstr "" |
4409 | ||
7d76ea1d | 4410 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4411 | #: apt_preferences.5.xml:1 |
bcf91c1b | 4412 | msgid "" |
7d76ea1d DK |
4413 | "In a typical situation, the installed version of a package (priority 100) " |
4414 | "is not as recent as one of the versions available from the sources listed in " | |
4415 | "the &sources-list; file (priority 500 or 990). Then the package will be " | |
4416 | "upgraded when <command>apt-get install " | |
4417 | "<replaceable>some-package</replaceable></command> or <command>apt-get " | |
4418 | "upgrade</command> is executed." | |
bcf91c1b DK |
4419 | msgstr "" |
4420 | ||
7d76ea1d | 4421 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4422 | #: apt_preferences.5.xml:1 |
bcf91c1b | 4423 | msgid "" |
7d76ea1d DK |
4424 | "More rarely, the installed version of a package is <emphasis>more</emphasis> " |
4425 | "recent than any of the other available versions. The package will not be " | |
4426 | "downgraded when <command>apt-get install " | |
4427 | "<replaceable>some-package</replaceable></command> or <command>apt-get " | |
4428 | "upgrade</command> is executed." | |
bcf91c1b DK |
4429 | msgstr "" |
4430 | ||
7d76ea1d | 4431 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4432 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4433 | msgid "" |
7d76ea1d DK |
4434 | "Sometimes the installed version of a package is more recent than the version " |
4435 | "belonging to the target release, but not as recent as a version belonging to " | |
4436 | "some other distribution. Such a package will indeed be upgraded when " | |
4437 | "<command>apt-get install <replaceable>some-package</replaceable></command> " | |
4438 | "or <command>apt-get upgrade</command> is executed, because at least " | |
4439 | "<emphasis>one</emphasis> of the available versions has a higher priority " | |
4440 | "than the installed version." | |
bcf91c1b DK |
4441 | msgstr "" |
4442 | ||
7d76ea1d | 4443 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 4444 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4445 | msgid "The Effect of APT Preferences" |
bcf91c1b DK |
4446 | msgstr "" |
4447 | ||
7d76ea1d | 4448 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4449 | #: apt_preferences.5.xml:1 |
bcf91c1b | 4450 | msgid "" |
7d76ea1d DK |
4451 | "The APT preferences file allows the system administrator to control the " |
4452 | "assignment of priorities. The file consists of one or more multi-line " | |
4453 | "records separated by blank lines. Records can have one of two forms, a " | |
4454 | "specific form and a general form." | |
bcf91c1b DK |
4455 | msgstr "" |
4456 | ||
7d76ea1d | 4457 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4458 | #: apt_preferences.5.xml:1 |
bcf91c1b | 4459 | msgid "" |
7d76ea1d | 4460 | "The specific form assigns a priority (a \"Pin-Priority\") to one or more " |
44477002 JR |
4461 | "specified packages with a specified version or version range. For example, " |
4462 | "the following record assigns a high priority to all versions of the " | |
7d76ea1d | 4463 | "<filename>perl</filename> package whose version number begins with " |
75d9bdba JR |
4464 | "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by " |
4465 | "spaces." | |
bcf91c1b DK |
4466 | msgstr "" |
4467 | ||
7d76ea1d | 4468 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
04f27fae | 4469 | #: apt_preferences.5.xml:1 |
bcf91c1b | 4470 | #, no-wrap |
7d76ea1d DK |
4471 | msgid "" |
4472 | "Package: perl\n" | |
75d9bdba | 4473 | "Pin: version &good-perl;*\n" |
7d76ea1d | 4474 | "Pin-Priority: 1001\n" |
bcf91c1b DK |
4475 | msgstr "" |
4476 | ||
7d76ea1d | 4477 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4478 | #: apt_preferences.5.xml:1 |
bcf91c1b | 4479 | msgid "" |
7d76ea1d DK |
4480 | "The general form assigns a priority to all of the package versions in a " |
4481 | "given distribution (that is, to all the versions of packages that are listed " | |
4482 | "in a certain <filename>Release</filename> file) or to all of the package " | |
4483 | "versions coming from a particular Internet site, as identified by the site's " | |
4484 | "fully qualified domain name." | |
bcf91c1b DK |
4485 | msgstr "" |
4486 | ||
7d76ea1d | 4487 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4488 | #: apt_preferences.5.xml:1 |
bcf91c1b | 4489 | msgid "" |
7d76ea1d DK |
4490 | "This general-form entry in the APT preferences file applies only to groups " |
4491 | "of packages. For example, the following record assigns a high priority to " | |
4492 | "all package versions available from the local site." | |
bcf91c1b DK |
4493 | msgstr "" |
4494 | ||
7d76ea1d | 4495 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
04f27fae | 4496 | #: apt_preferences.5.xml:1 |
bcf91c1b | 4497 | #, no-wrap |
de2c243c | 4498 | msgid "" |
7d76ea1d DK |
4499 | "Package: *\n" |
4500 | "Pin: origin \"\"\n" | |
4501 | "Pin-Priority: 999\n" | |
de2c243c | 4502 | msgstr "" |
4503 | ||
7d76ea1d | 4504 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4505 | #: apt_preferences.5.xml:1 |
bf5c3fe8 | 4506 | msgid "" |
7d76ea1d DK |
4507 | "A note of caution: the keyword used here is \"<literal>origin</literal>\" " |
4508 | "which can be used to match a hostname. The following record will assign a " | |
4509 | "high priority to all versions available from the server identified by the " | |
4510 | "hostname \"ftp.de.debian.org\"" | |
bf5c3fe8 MV |
4511 | msgstr "" |
4512 | ||
7d76ea1d | 4513 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
04f27fae | 4514 | #: apt_preferences.5.xml:1 |
bf5c3fe8 | 4515 | #, no-wrap |
bcf91c1b | 4516 | msgid "" |
7d76ea1d DK |
4517 | "Package: *\n" |
4518 | "Pin: origin \"ftp.de.debian.org\"\n" | |
4519 | "Pin-Priority: 999\n" | |
bf5c3fe8 MV |
4520 | msgstr "" |
4521 | ||
7d76ea1d | 4522 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4523 | #: apt_preferences.5.xml:1 |
bf5c3fe8 | 4524 | msgid "" |
7d76ea1d DK |
4525 | "This should <emphasis>not</emphasis> be confused with the Origin of a " |
4526 | "distribution as specified in a <filename>Release</filename> file. What " | |
4527 | "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an " | |
4528 | "Internet address but an author or vendor name, such as \"Debian\" or " | |
4529 | "\"Ximian\"." | |
bf5c3fe8 MV |
4530 | msgstr "" |
4531 | ||
7d76ea1d | 4532 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4533 | #: apt_preferences.5.xml:1 |
c086ac18 | 4534 | msgid "" |
7d76ea1d DK |
4535 | "The following record assigns a low priority to all package versions " |
4536 | "belonging to any distribution whose Archive name is " | |
4537 | "\"<literal>unstable</literal>\"." | |
2a52e8c5 DK |
4538 | msgstr "" |
4539 | ||
7d76ea1d | 4540 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
04f27fae | 4541 | #: apt_preferences.5.xml:1 |
bf5c3fe8 | 4542 | #, no-wrap |
2a52e8c5 | 4543 | msgid "" |
7d76ea1d DK |
4544 | "Package: *\n" |
4545 | "Pin: release a=unstable\n" | |
4546 | "Pin-Priority: 50\n" | |
2a52e8c5 DK |
4547 | msgstr "" |
4548 | ||
7d76ea1d | 4549 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4550 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4551 | msgid "" |
7d76ea1d DK |
4552 | "The following record assigns a high priority to all package versions " |
4553 | "belonging to any distribution whose Codename is " | |
9feb98eb | 4554 | "\"<literal>&debian-testing-codename;</literal>\"." |
2a52e8c5 DK |
4555 | msgstr "" |
4556 | ||
7d76ea1d | 4557 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
04f27fae | 4558 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4559 | #, no-wrap |
2a52e8c5 | 4560 | msgid "" |
7d76ea1d | 4561 | "Package: *\n" |
9feb98eb | 4562 | "Pin: release n=&debian-testing-codename;\n" |
7d76ea1d | 4563 | "Pin-Priority: 900\n" |
2a52e8c5 DK |
4564 | msgstr "" |
4565 | ||
7d76ea1d | 4566 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4567 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4568 | msgid "" |
7d76ea1d DK |
4569 | "The following record assigns a high priority to all package versions " |
4570 | "belonging to any release whose Archive name is \"<literal>stable</literal>\" " | |
9feb98eb DK |
4571 | "and whose release Version number is " |
4572 | "\"<literal>&debian-stable-version;</literal>\"." | |
2a52e8c5 DK |
4573 | msgstr "" |
4574 | ||
7d76ea1d | 4575 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
04f27fae | 4576 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4577 | #, no-wrap |
2a52e8c5 | 4578 | msgid "" |
7d76ea1d | 4579 | "Package: *\n" |
9feb98eb | 4580 | "Pin: release a=stable, v=&debian-stable-version;\n" |
7d76ea1d | 4581 | "Pin-Priority: 500\n" |
2a52e8c5 DK |
4582 | msgstr "" |
4583 | ||
864fe99c | 4584 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4585 | #: apt_preferences.5.xml:1 |
864fe99c MV |
4586 | msgid "" |
4587 | "The effect of the comma operator is similar to an \"and\" in logic: All " | |
4588 | "conditions must be satisfied for the pin to match. There is one exception: " | |
4589 | "For any type of condition (such as two \"a\" conditions), only the last such " | |
4590 | "condition is checked." | |
4591 | msgstr "" | |
4592 | ||
4593 | #. type: Content of: <refentry><refsect1><refsect2><title> | |
04f27fae | 4594 | #: apt_preferences.5.xml:1 |
44477002 | 4595 | msgid "Regular expressions and &glob; syntax" |
2a52e8c5 DK |
4596 | msgstr "" |
4597 | ||
7d76ea1d | 4598 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4599 | #: apt_preferences.5.xml:1 |
b6c6b52f | 4600 | msgid "" |
44477002 JR |
4601 | "APT also supports pinning by &glob; expressions, and regular expressions " |
4602 | "surrounded by slashes. For example, the following example assigns the " | |
4603 | "priority 500 to all packages from experimental where the name starts with " | |
4604 | "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX " | |
4605 | "extended regular expression surrounded by slashes)." | |
b6c6b52f MV |
4606 | msgstr "" |
4607 | ||
7d76ea1d | 4608 | #. type: Content of: <refentry><refsect1><refsect2><programlisting> |
04f27fae | 4609 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4610 | #, no-wrap |
2a52e8c5 | 4611 | msgid "" |
7d76ea1d | 4612 | "Package: gnome* /kde/\n" |
14c50b58 | 4613 | "Pin: release a=experimental\n" |
7d76ea1d | 4614 | "Pin-Priority: 500\n" |
2a52e8c5 DK |
4615 | msgstr "" |
4616 | ||
7d76ea1d | 4617 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4618 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4619 | msgid "" |
7d76ea1d DK |
4620 | "The rule for those expressions is that they can occur anywhere where a " |
4621 | "string can occur. Thus, the following pin assigns the priority 990 to all " | |
44477002 | 4622 | "packages from a release starting with &ubuntu-codename;." |
2a52e8c5 DK |
4623 | msgstr "" |
4624 | ||
7d76ea1d | 4625 | #. type: Content of: <refentry><refsect1><refsect2><programlisting> |
04f27fae | 4626 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4627 | #, no-wrap |
2a52e8c5 | 4628 | msgid "" |
7d76ea1d | 4629 | "Package: *\n" |
44477002 | 4630 | "Pin: release n=&ubuntu-codename;*\n" |
7d76ea1d | 4631 | "Pin-Priority: 990\n" |
2a52e8c5 DK |
4632 | msgstr "" |
4633 | ||
7d76ea1d | 4634 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4635 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4636 | msgid "" |
7d76ea1d DK |
4637 | "If a regular expression occurs in a <literal>Package</literal> field, the " |
4638 | "behavior is the same as if this regular expression were replaced with a list " | |
4639 | "of all package names it matches. It is undecided whether this will change in " | |
44477002 | 4640 | "the future; thus you should always list wild-card pins first, so later " |
7d76ea1d | 4641 | "specific pins override it. The pattern \"<literal>*</literal>\" in a " |
44477002 | 4642 | "Package field is not considered a &glob; expression in itself." |
2a52e8c5 DK |
4643 | msgstr "" |
4644 | ||
7d76ea1d | 4645 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 4646 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4647 | msgid "How APT Interprets Priorities" |
2a52e8c5 DK |
4648 | msgstr "" |
4649 | ||
7d76ea1d | 4650 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4651 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4652 | msgid "" |
7d76ea1d DK |
4653 | "Priorities (P) assigned in the APT preferences file must be positive or " |
4654 | "negative integers. They are interpreted as follows (roughly speaking):" | |
2a52e8c5 DK |
4655 | msgstr "" |
4656 | ||
7d76ea1d | 4657 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4658 | #: apt_preferences.5.xml:1 |
5e594b30 | 4659 | msgid "P >= 1000" |
2a52e8c5 DK |
4660 | msgstr "" |
4661 | ||
7d76ea1d | 4662 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4663 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4664 | msgid "" |
7d76ea1d DK |
4665 | "causes a version to be installed even if this constitutes a downgrade of the " |
4666 | "package" | |
2a52e8c5 DK |
4667 | msgstr "" |
4668 | ||
7d76ea1d | 4669 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4670 | #: apt_preferences.5.xml:1 |
5e594b30 | 4671 | msgid "990 <= P < 1000" |
2a52e8c5 DK |
4672 | msgstr "" |
4673 | ||
7d76ea1d | 4674 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4675 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4676 | msgid "" |
7d76ea1d DK |
4677 | "causes a version to be installed even if it does not come from the target " |
4678 | "release, unless the installed version is more recent" | |
2a52e8c5 DK |
4679 | msgstr "" |
4680 | ||
7d76ea1d | 4681 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4682 | #: apt_preferences.5.xml:1 |
5e594b30 | 4683 | msgid "500 <= P < 990" |
2a52e8c5 DK |
4684 | msgstr "" |
4685 | ||
7d76ea1d | 4686 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4687 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4688 | msgid "" |
7d76ea1d DK |
4689 | "causes a version to be installed unless there is a version available " |
4690 | "belonging to the target release or the installed version is more recent" | |
2a52e8c5 DK |
4691 | msgstr "" |
4692 | ||
7d76ea1d | 4693 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4694 | #: apt_preferences.5.xml:1 |
5e594b30 | 4695 | msgid "100 <= P < 500" |
2a52e8c5 DK |
4696 | msgstr "" |
4697 | ||
7d76ea1d | 4698 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4699 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4700 | msgid "" |
7d76ea1d DK |
4701 | "causes a version to be installed unless there is a version available " |
4702 | "belonging to some other distribution or the installed version is more recent" | |
2a52e8c5 DK |
4703 | msgstr "" |
4704 | ||
7d76ea1d | 4705 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4706 | #: apt_preferences.5.xml:1 |
5e594b30 | 4707 | msgid "0 < P < 100" |
3e9c4f70 DK |
4708 | msgstr "" |
4709 | ||
7d76ea1d | 4710 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4711 | #: apt_preferences.5.xml:1 |
3e9c4f70 | 4712 | msgid "" |
7d76ea1d DK |
4713 | "causes a version to be installed only if there is no installed version of " |
4714 | "the package" | |
3e9c4f70 DK |
4715 | msgstr "" |
4716 | ||
7d76ea1d | 4717 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4718 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4719 | msgid "P < 0" |
3e9c4f70 DK |
4720 | msgstr "" |
4721 | ||
7d76ea1d | 4722 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4723 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4724 | msgid "prevents the version from being installed" |
3e9c4f70 DK |
4725 | msgstr "" |
4726 | ||
864fe99c | 4727 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4728 | #: apt_preferences.5.xml:1 |
864fe99c MV |
4729 | msgid "P = 0" |
4730 | msgstr "" | |
4731 | ||
4732 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | |
04f27fae | 4733 | #: apt_preferences.5.xml:1 |
864fe99c MV |
4734 | msgid "has undefined behaviour, do not use it." |
4735 | msgstr "" | |
4736 | ||
7d76ea1d | 4737 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4738 | #: apt_preferences.5.xml:1 |
3e9c4f70 | 4739 | msgid "" |
864fe99c MV |
4740 | "The first specific-form record matching an available package version " |
4741 | "determines the priority of the package version. Failing that, the priority " | |
4742 | "of the package is defined as the maximum of all priorities defined by " | |
4743 | "generic-form records matching the version. Records defined using patterns " | |
4744 | "in the Pin field other than \"*\" are treated like specific-form records." | |
3e9c4f70 DK |
4745 | msgstr "" |
4746 | ||
3e9c4f70 | 4747 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4748 | #: apt_preferences.5.xml:1 |
5e312de7 | 4749 | msgid "" |
7d76ea1d DK |
4750 | "For example, suppose the APT preferences file contains the three records " |
4751 | "presented earlier:" | |
3e9c4f70 DK |
4752 | msgstr "" |
4753 | ||
7d76ea1d | 4754 | #. type: Content of: <refentry><refsect1><refsect2><programlisting> |
04f27fae | 4755 | #: apt_preferences.5.xml:1 |
3e9c4f70 | 4756 | #, no-wrap |
5e312de7 | 4757 | msgid "" |
7d76ea1d | 4758 | "Package: perl\n" |
75d9bdba | 4759 | "Pin: version &good-perl;*\n" |
7d76ea1d DK |
4760 | "Pin-Priority: 1001\n" |
4761 | "\n" | |
4762 | "Package: *\n" | |
4763 | "Pin: origin \"\"\n" | |
4764 | "Pin-Priority: 999\n" | |
4765 | "\n" | |
4766 | "Package: *\n" | |
4767 | "Pin: release unstable\n" | |
4768 | "Pin-Priority: 50\n" | |
5e312de7 DK |
4769 | msgstr "" |
4770 | ||
3e9c4f70 | 4771 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4772 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4773 | msgid "Then:" |
5e312de7 DK |
4774 | msgstr "" |
4775 | ||
7d76ea1d | 4776 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4777 | #: apt_preferences.5.xml:1 |
5e312de7 | 4778 | msgid "" |
7d76ea1d DK |
4779 | "The most recent available version of the <literal>perl</literal> package " |
4780 | "will be installed, so long as that version's version number begins with " | |
75d9bdba JR |
4781 | "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> " |
4782 | "&good-perl;* version of <literal>perl</literal> is available and the " | |
4783 | "installed version is &bad-perl;*, then <literal>perl</literal> will be " | |
4784 | "downgraded." | |
5e312de7 DK |
4785 | msgstr "" |
4786 | ||
7d76ea1d | 4787 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4788 | #: apt_preferences.5.xml:1 |
5e312de7 | 4789 | msgid "" |
7d76ea1d DK |
4790 | "A version of any package other than <literal>perl</literal> that is " |
4791 | "available from the local system has priority over other versions, even " | |
4792 | "versions belonging to the target release." | |
2a52e8c5 DK |
4793 | msgstr "" |
4794 | ||
7d76ea1d | 4795 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
04f27fae | 4796 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4797 | msgid "" |
7d76ea1d DK |
4798 | "A version of a package whose origin is not the local system but some other " |
4799 | "site listed in &sources-list; and which belongs to an " | |
4800 | "<literal>unstable</literal> distribution is only installed if it is selected " | |
4801 | "for installation and no version of the package is already installed." | |
2a52e8c5 DK |
4802 | msgstr "" |
4803 | ||
7d76ea1d | 4804 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 4805 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4806 | msgid "Determination of Package Version and Distribution Properties" |
2a52e8c5 DK |
4807 | msgstr "" |
4808 | ||
7d76ea1d | 4809 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4810 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4811 | msgid "" |
7d76ea1d DK |
4812 | "The locations listed in the &sources-list; file should provide " |
4813 | "<filename>Packages</filename> and <filename>Release</filename> files to " | |
4814 | "describe the packages available at that location." | |
2a52e8c5 DK |
4815 | msgstr "" |
4816 | ||
7d76ea1d | 4817 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4818 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4819 | msgid "" |
7d76ea1d DK |
4820 | "The <filename>Packages</filename> file is normally found in the directory " |
4821 | "<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: " | |
4822 | "for example, " | |
4823 | "<filename>.../dists/stable/main/binary-i386/Packages</filename>. It " | |
4824 | "consists of a series of multi-line records, one for each package available " | |
4825 | "in that directory. Only two lines in each record are relevant for setting " | |
4826 | "APT priorities:" | |
2a52e8c5 DK |
4827 | msgstr "" |
4828 | ||
7d76ea1d | 4829 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4830 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4831 | msgid "the <literal>Package:</literal> line" |
2a52e8c5 DK |
4832 | msgstr "" |
4833 | ||
7d76ea1d | 4834 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4835 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4836 | msgid "gives the package name" |
2a52e8c5 DK |
4837 | msgstr "" |
4838 | ||
7d76ea1d | 4839 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4840 | #: apt_preferences.5.xml:1 apt_preferences.5.xml:1 |
7d76ea1d | 4841 | msgid "the <literal>Version:</literal> line" |
2a52e8c5 DK |
4842 | msgstr "" |
4843 | ||
7d76ea1d | 4844 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4845 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4846 | msgid "gives the version number for the named package" |
2a52e8c5 DK |
4847 | msgstr "" |
4848 | ||
7d76ea1d | 4849 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4850 | #: apt_preferences.5.xml:1 |
5e312de7 | 4851 | msgid "" |
7d76ea1d DK |
4852 | "The <filename>Release</filename> file is normally found in the directory " |
4853 | "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for " | |
4854 | "example, <filename>.../dists/stable/Release</filename>, or " | |
9feb98eb DK |
4855 | "<filename>.../dists/&debian-stable-codename;/Release</filename>. It " |
4856 | "consists of a single multi-line record which applies to " | |
4857 | "<emphasis>all</emphasis> of the packages in the directory tree below its " | |
4858 | "parent. Unlike the <filename>Packages</filename> file, nearly all of the " | |
4859 | "lines in a <filename>Release</filename> file are relevant for setting APT " | |
4860 | "priorities:" | |
2a52e8c5 DK |
4861 | msgstr "" |
4862 | ||
7d76ea1d | 4863 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4864 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4865 | msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line" |
2a52e8c5 DK |
4866 | msgstr "" |
4867 | ||
7d76ea1d | 4868 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4869 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4870 | msgid "" |
7d76ea1d DK |
4871 | "names the archive to which all the packages in the directory tree belong. " |
4872 | "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies " | |
4873 | "that all of the packages in the directory tree below the parent of the " | |
4874 | "<filename>Release</filename> file are in a <literal>stable</literal> " | |
4875 | "archive. Specifying this value in the APT preferences file would require " | |
4876 | "the line:" | |
2a52e8c5 DK |
4877 | msgstr "" |
4878 | ||
7d76ea1d | 4879 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> |
04f27fae | 4880 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
4881 | #, no-wrap |
4882 | msgid "Pin: release a=stable\n" | |
2a52e8c5 DK |
4883 | msgstr "" |
4884 | ||
7d76ea1d | 4885 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4886 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4887 | msgid "the <literal>Codename:</literal> line" |
2a52e8c5 DK |
4888 | msgstr "" |
4889 | ||
7d76ea1d | 4890 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4891 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4892 | msgid "" |
7d76ea1d | 4893 | "names the codename to which all the packages in the directory tree belong. " |
9feb98eb DK |
4894 | "For example, the line \"Codename: &debian-testing-codename;\" specifies that " |
4895 | "all of the packages in the directory tree below the parent of the " | |
7d76ea1d | 4896 | "<filename>Release</filename> file belong to a version named " |
9feb98eb DK |
4897 | "<literal>&debian-testing-codename;</literal>. Specifying this value in the " |
4898 | "APT preferences file would require the line:" | |
2a52e8c5 DK |
4899 | msgstr "" |
4900 | ||
7d76ea1d | 4901 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> |
04f27fae | 4902 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4903 | #, no-wrap |
9feb98eb | 4904 | msgid "Pin: release n=&debian-testing-codename;\n" |
2a52e8c5 DK |
4905 | msgstr "" |
4906 | ||
7d76ea1d | 4907 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4908 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4909 | msgid "" |
7d76ea1d | 4910 | "names the release version. For example, the packages in the tree might " |
9feb98eb DK |
4911 | "belong to Debian release version &debian-stable-version;. Note that there " |
4912 | "is normally no version number for the <literal>testing</literal> and " | |
7d76ea1d DK |
4913 | "<literal>unstable</literal> distributions because they have not been " |
4914 | "released yet. Specifying this in the APT preferences file would require one " | |
4915 | "of the following lines." | |
2a52e8c5 DK |
4916 | msgstr "" |
4917 | ||
7d76ea1d | 4918 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> |
04f27fae | 4919 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4920 | #, no-wrap |
2a52e8c5 | 4921 | msgid "" |
9feb98eb DK |
4922 | "Pin: release v=&debian-stable-version;\n" |
4923 | "Pin: release a=stable, v=&debian-stable-version;\n" | |
4924 | "Pin: release &debian-stable-version;\n" | |
2a52e8c5 DK |
4925 | msgstr "" |
4926 | ||
7d76ea1d | 4927 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4928 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4929 | msgid "the <literal>Component:</literal> line" |
2a52e8c5 DK |
4930 | msgstr "" |
4931 | ||
7d76ea1d | 4932 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4933 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4934 | msgid "" |
7d76ea1d DK |
4935 | "names the licensing component associated with the packages in the directory " |
4936 | "tree of the <filename>Release</filename> file. For example, the line " | |
4937 | "\"Component: main\" specifies that all the packages in the directory tree " | |
4938 | "are from the <literal>main</literal> component, which entails that they are " | |
4939 | "licensed under terms listed in the Debian Free Software Guidelines. " | |
4940 | "Specifying this component in the APT preferences file would require the " | |
4941 | "line:" | |
2a52e8c5 DK |
4942 | msgstr "" |
4943 | ||
7d76ea1d | 4944 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> |
04f27fae | 4945 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
4946 | #, no-wrap |
4947 | msgid "Pin: release c=main\n" | |
2a52e8c5 DK |
4948 | msgstr "" |
4949 | ||
7d76ea1d | 4950 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4951 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4952 | msgid "the <literal>Origin:</literal> line" |
2a52e8c5 DK |
4953 | msgstr "" |
4954 | ||
7d76ea1d | 4955 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4956 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4957 | msgid "" |
7d76ea1d DK |
4958 | "names the originator of the packages in the directory tree of the " |
4959 | "<filename>Release</filename> file. Most commonly, this is " | |
4960 | "<literal>Debian</literal>. Specifying this origin in the APT preferences " | |
4961 | "file would require the line:" | |
2a52e8c5 DK |
4962 | msgstr "" |
4963 | ||
7d76ea1d | 4964 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> |
04f27fae | 4965 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
4966 | #, no-wrap |
4967 | msgid "Pin: release o=Debian\n" | |
2a52e8c5 DK |
4968 | msgstr "" |
4969 | ||
7d76ea1d | 4970 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
04f27fae | 4971 | #: apt_preferences.5.xml:1 |
7d76ea1d | 4972 | msgid "the <literal>Label:</literal> line" |
2a52e8c5 DK |
4973 | msgstr "" |
4974 | ||
7d76ea1d | 4975 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
04f27fae | 4976 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4977 | msgid "" |
7d76ea1d DK |
4978 | "names the label of the packages in the directory tree of the " |
4979 | "<filename>Release</filename> file. Most commonly, this is " | |
4980 | "<literal>Debian</literal>. Specifying this label in the APT preferences " | |
4981 | "file would require the line:" | |
2a52e8c5 DK |
4982 | msgstr "" |
4983 | ||
7d76ea1d | 4984 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> |
04f27fae | 4985 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
4986 | #, no-wrap |
4987 | msgid "Pin: release l=Debian\n" | |
2a52e8c5 DK |
4988 | msgstr "" |
4989 | ||
7d76ea1d | 4990 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 4991 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 4992 | msgid "" |
7d76ea1d DK |
4993 | "All of the <filename>Packages</filename> and <filename>Release</filename> " |
4994 | "files retrieved from locations listed in the &sources-list; file are stored " | |
4995 | "in the directory <filename>/var/lib/apt/lists</filename>, or in the file " | |
4996 | "named by the variable <literal>Dir::State::Lists</literal> in the " | |
4997 | "<filename>apt.conf</filename> file. For example, the file " | |
4998 | "<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> " | |
4999 | "contains the <filename>Release</filename> file retrieved from the site " | |
5000 | "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> " | |
5001 | "architecture files from the <literal>contrib</literal> component of the " | |
5002 | "<literal>unstable</literal> distribution." | |
2a52e8c5 DK |
5003 | msgstr "" |
5004 | ||
7d76ea1d | 5005 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 5006 | #: apt_preferences.5.xml:1 |
7d76ea1d | 5007 | msgid "Optional Lines in an APT Preferences Record" |
2a52e8c5 DK |
5008 | msgstr "" |
5009 | ||
7d76ea1d | 5010 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5011 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 5012 | msgid "" |
7d76ea1d DK |
5013 | "Each record in the APT preferences file can optionally begin with one or " |
5014 | "more lines beginning with the word <literal>Explanation:</literal>. This " | |
5015 | "provides a place for comments." | |
2a52e8c5 DK |
5016 | msgstr "" |
5017 | ||
7d76ea1d | 5018 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 5019 | #: apt_preferences.5.xml:1 |
7d76ea1d | 5020 | msgid "Tracking Stable" |
2a52e8c5 DK |
5021 | msgstr "" |
5022 | ||
7d76ea1d | 5023 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 5024 | #: apt_preferences.5.xml:1 |
7d76ea1d | 5025 | #, no-wrap |
2a52e8c5 | 5026 | msgid "" |
7d76ea1d DK |
5027 | "Explanation: Uninstall or do not install any Debian-originated\n" |
5028 | "Explanation: package versions other than those in the stable distro\n" | |
5029 | "Package: *\n" | |
5030 | "Pin: release a=stable\n" | |
5031 | "Pin-Priority: 900\n" | |
5032 | "\n" | |
5033 | "Package: *\n" | |
5034 | "Pin: release o=Debian\n" | |
5035 | "Pin-Priority: -10\n" | |
2a52e8c5 DK |
5036 | msgstr "" |
5037 | ||
7d76ea1d | 5038 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5039 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 5040 | msgid "" |
7d76ea1d DK |
5041 | "The following APT preferences file will cause APT to assign a priority " |
5042 | "higher than the default (500) to all package versions belonging to a " | |
5043 | "<literal>stable</literal> distribution and a prohibitively low priority to " | |
5044 | "package versions belonging to other <literal>Debian</literal> " | |
5045 | "distributions. <placeholder type=\"programlisting\" id=\"0\"/>" | |
2a52e8c5 DK |
5046 | msgstr "" |
5047 | ||
7d76ea1d | 5048 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 5049 | #: apt_preferences.5.xml:1 apt_preferences.5.xml:1 apt_preferences.5.xml:1 |
7d76ea1d | 5050 | #, no-wrap |
2a52e8c5 | 5051 | msgid "" |
7d76ea1d DK |
5052 | "apt-get install <replaceable>package-name</replaceable>\n" |
5053 | "apt-get upgrade\n" | |
5054 | "apt-get dist-upgrade\n" | |
2a52e8c5 DK |
5055 | msgstr "" |
5056 | ||
7d76ea1d | 5057 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5058 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 5059 | msgid "" |
7d76ea1d DK |
5060 | "With a suitable &sources-list; file and the above preferences file, any of " |
5061 | "the following commands will cause APT to upgrade to the latest " | |
5062 | "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" " | |
5063 | "id=\"0\"/>" | |
2a52e8c5 DK |
5064 | msgstr "" |
5065 | ||
7d76ea1d | 5066 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 5067 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
5068 | #, no-wrap |
5069 | msgid "apt-get install <replaceable>package</replaceable>/testing\n" | |
2a52e8c5 DK |
5070 | msgstr "" |
5071 | ||
7d76ea1d | 5072 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5073 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 5074 | msgid "" |
7d76ea1d DK |
5075 | "The following command will cause APT to upgrade the specified package to the " |
5076 | "latest version from the <literal>testing</literal> distribution; the package " | |
5077 | "will not be upgraded again unless this command is given again. <placeholder " | |
5078 | "type=\"programlisting\" id=\"0\"/>" | |
2a52e8c5 DK |
5079 | msgstr "" |
5080 | ||
7d76ea1d | 5081 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 5082 | #: apt_preferences.5.xml:1 |
7d76ea1d | 5083 | msgid "Tracking Testing or Unstable" |
2a52e8c5 DK |
5084 | msgstr "" |
5085 | ||
7d76ea1d | 5086 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 5087 | #: apt_preferences.5.xml:1 |
7d76ea1d | 5088 | #, no-wrap |
2a52e8c5 | 5089 | msgid "" |
7d76ea1d DK |
5090 | "Package: *\n" |
5091 | "Pin: release a=testing\n" | |
5092 | "Pin-Priority: 900\n" | |
5093 | "\n" | |
5094 | "Package: *\n" | |
5095 | "Pin: release a=unstable\n" | |
5096 | "Pin-Priority: 800\n" | |
5097 | "\n" | |
5098 | "Package: *\n" | |
5099 | "Pin: release o=Debian\n" | |
5100 | "Pin-Priority: -10\n" | |
2a52e8c5 DK |
5101 | msgstr "" |
5102 | ||
7d76ea1d | 5103 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5104 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 5105 | msgid "" |
7d76ea1d DK |
5106 | "The following APT preferences file will cause APT to assign a high priority " |
5107 | "to package versions from the <literal>testing</literal> distribution, a " | |
5108 | "lower priority to package versions from the <literal>unstable</literal> " | |
5109 | "distribution, and a prohibitively low priority to package versions from " | |
5110 | "other <literal>Debian</literal> distributions. <placeholder " | |
5111 | "type=\"programlisting\" id=\"0\"/>" | |
2a52e8c5 DK |
5112 | msgstr "" |
5113 | ||
7d76ea1d | 5114 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5115 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 5116 | msgid "" |
7d76ea1d DK |
5117 | "With a suitable &sources-list; file and the above preferences file, any of " |
5118 | "the following commands will cause APT to upgrade to the latest " | |
5119 | "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" " | |
5120 | "id=\"0\"/>" | |
2a52e8c5 DK |
5121 | msgstr "" |
5122 | ||
7d76ea1d | 5123 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 5124 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
5125 | #, no-wrap |
5126 | msgid "apt-get install <replaceable>package</replaceable>/unstable\n" | |
2a52e8c5 DK |
5127 | msgstr "" |
5128 | ||
7d76ea1d | 5129 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5130 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
5131 | msgid "" |
5132 | "The following command will cause APT to upgrade the specified package to the " | |
5133 | "latest version from the <literal>unstable</literal> distribution. " | |
5134 | "Thereafter, <command>apt-get upgrade</command> will upgrade the package to " | |
5135 | "the most recent <literal>testing</literal> version if that is more recent " | |
5136 | "than the installed version, otherwise, to the most recent " | |
5137 | "<literal>unstable</literal> version if that is more recent than the " | |
5138 | "installed version. <placeholder type=\"programlisting\" id=\"0\"/>" | |
2a52e8c5 DK |
5139 | msgstr "" |
5140 | ||
7d76ea1d | 5141 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 5142 | #: apt_preferences.5.xml:1 |
7d76ea1d | 5143 | msgid "Tracking the evolution of a codename release" |
2a52e8c5 DK |
5144 | msgstr "" |
5145 | ||
7d76ea1d | 5146 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 5147 | #: apt_preferences.5.xml:1 |
7d76ea1d | 5148 | #, no-wrap |
2a52e8c5 | 5149 | msgid "" |
7d76ea1d DK |
5150 | "Explanation: Uninstall or do not install any Debian-originated package " |
5151 | "versions\n" | |
5152 | "Explanation: other than those in the distribution codenamed with " | |
9feb98eb | 5153 | "&debian-testing-codename; or sid\n" |
7d76ea1d | 5154 | "Package: *\n" |
9feb98eb | 5155 | "Pin: release n=&debian-testing-codename;\n" |
7d76ea1d DK |
5156 | "Pin-Priority: 900\n" |
5157 | "\n" | |
5158 | "Explanation: Debian unstable is always codenamed with sid\n" | |
5159 | "Package: *\n" | |
5160 | "Pin: release n=sid\n" | |
5161 | "Pin-Priority: 800\n" | |
5162 | "\n" | |
5163 | "Package: *\n" | |
5164 | "Pin: release o=Debian\n" | |
5165 | "Pin-Priority: -10\n" | |
2a52e8c5 DK |
5166 | msgstr "" |
5167 | ||
7d76ea1d | 5168 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5169 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 5170 | msgid "" |
7d76ea1d DK |
5171 | "The following APT preferences file will cause APT to assign a priority " |
5172 | "higher than the default (500) to all package versions belonging to a " | |
5173 | "specified codename of a distribution and a prohibitively low priority to " | |
5174 | "package versions belonging to other <literal>Debian</literal> distributions, " | |
5175 | "codenames and archives. Note that with this APT preference APT will follow " | |
5176 | "the migration of a release from the archive <literal>testing</literal> to " | |
5177 | "<literal>stable</literal> and later <literal>oldstable</literal>. If you " | |
5178 | "want to follow for example the progress in <literal>testing</literal> " | |
5179 | "notwithstanding the codename changes you should use the example " | |
5180 | "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>" | |
2a52e8c5 DK |
5181 | msgstr "" |
5182 | ||
7d76ea1d | 5183 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 5184 | #: apt_preferences.5.xml:1 |
2a52e8c5 | 5185 | msgid "" |
7d76ea1d DK |
5186 | "With a suitable &sources-list; file and the above preferences file, any of " |
5187 | "the following commands will cause APT to upgrade to the latest version(s) in " | |
9feb98eb | 5188 | "the release codenamed with <literal>&debian-testing-codename;</literal>. " |
7d76ea1d | 5189 | "<placeholder type=\"programlisting\" id=\"0\"/>" |
2a52e8c5 DK |
5190 | msgstr "" |
5191 | ||
7d76ea1d | 5192 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
04f27fae | 5193 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
5194 | #, no-wrap |
5195 | msgid "apt-get install <replaceable>package</replaceable>/sid\n" | |
5196 | msgstr "" | |
5197 | ||
5198 | #. type: Content of: <refentry><refsect1><refsect2><para> | |
04f27fae | 5199 | #: apt_preferences.5.xml:1 |
7d76ea1d DK |
5200 | msgid "" |
5201 | "The following command will cause APT to upgrade the specified package to the " | |
5202 | "latest version from the <literal>sid</literal> distribution. Thereafter, " | |
5203 | "<command>apt-get upgrade</command> will upgrade the package to the most " | |
9feb98eb DK |
5204 | "recent <literal>&debian-testing-codename;</literal> version if that is more " |
5205 | "recent than the installed version, otherwise, to the most recent " | |
7d76ea1d DK |
5206 | "<literal>sid</literal> version if that is more recent than the installed " |
5207 | "version. <placeholder type=\"programlisting\" id=\"0\"/>" | |
2a52e8c5 DK |
5208 | msgstr "" |
5209 | ||
b39c1859 | 5210 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5211 | #: apt_preferences.5.xml:1 |
7d76ea1d | 5212 | msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;" |
2a52e8c5 DK |
5213 | msgstr "" |
5214 | ||
7d76ea1d | 5215 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 5216 | #: sources.list.5.xml:1 |
dabb215c | 5217 | msgid "List of configured APT data sources" |
2a52e8c5 DK |
5218 | msgstr "" |
5219 | ||
5220 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5221 | #: sources.list.5.xml:1 |
b39c1859 | 5222 | msgid "" |
051029f8 | 5223 | "The source list <filename>/etc/apt/sources.list</filename> and the files " |
864fe99c MV |
5224 | "contained in <filename>/etc/apt/sources.list.d/</filename> are designed to " |
5225 | "support any number of active sources and a variety of source media. The " | |
051029f8 | 5226 | "files list one source per line (one-line style) or contain multiline stanzas " |
864fe99c MV |
5227 | "defining one or more sources per stanza (deb822 style), with the most " |
5228 | "preferred source listed first (in case a single version is available from " | |
5229 | "more than one source). The information available from the configured sources " | |
5230 | "is acquired by <command>apt-get update</command> (or by an equivalent " | |
5231 | "command from another APT front-end)." | |
5232 | msgstr "" | |
5233 | ||
5234 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae | 5235 | #: sources.list.5.xml:1 |
864fe99c | 5236 | msgid "sources.list.d" |
0fd68707 MV |
5237 | msgstr "" |
5238 | ||
5239 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5240 | #: sources.list.5.xml:1 |
0fd68707 | 5241 | msgid "" |
864fe99c MV |
5242 | "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to " |
5243 | "add sources.list entries in separate files. Two different file formats are " | |
5244 | "allowed as described in the next two sections. Filenames need to have " | |
5245 | "either the extension <filename>.list</filename> or " | |
5246 | "<filename>.sources</filename> depending on the contained format. The " | |
5247 | "filenames may only contain letters (a-z and A-Z), digits (0-9), underscore " | |
5248 | "(_), hyphen (-) and period (.) characters. Otherwise APT will print a " | |
5249 | "notice that it has ignored a file, unless that file matches a pattern in the " | |
5250 | "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which " | |
5251 | "case it will be silently ignored." | |
5252 | msgstr "" | |
5253 | ||
5254 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae | 5255 | #: sources.list.5.xml:1 |
051029f8 | 5256 | msgid "One-Line-Style Format" |
864fe99c MV |
5257 | msgstr "" |
5258 | ||
5259 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5260 | #: sources.list.5.xml:1 |
864fe99c MV |
5261 | msgid "" |
5262 | "Files in this format have the extension <filename>.list</filename>. Each " | |
5263 | "line specifying a source starts with a type " | |
5723791e JR |
5264 | "(e.g. <literal>deb-src</literal>) followed by options and arguments for " |
5265 | "this type. Individual entries cannot be continued onto a following " | |
5266 | "line. Empty lines are ignored, and a <literal>#</literal> character anywhere " | |
864fe99c MV |
5267 | "on a line marks the remainder of that line as a comment. Consequently an " |
5268 | "entry can be disabled by commenting out the entire line. If options should " | |
5269 | "be provided they are separated by spaces and all of them together are " | |
5270 | "enclosed by square brackets (<literal>[]</literal>) included in the line " | |
5271 | "after the type separated from it with a space. If an option allows multiple " | |
5272 | "values these are separated from each other with a comma " | |
051029f8 DK |
5273 | "(<literal>,</literal>). An option name is separated from its value(s) by an " |
5274 | "equals sign (<literal>=</literal>). Multivalue options also have " | |
5275 | "<literal>-=</literal> and <literal>+=</literal> as separators, which instead " | |
864fe99c MV |
5276 | "of replacing the default with the given value(s) modify the default value(s) " |
5277 | "to remove or include the given values." | |
5278 | msgstr "" | |
5279 | ||
5280 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5281 | #: sources.list.5.xml:1 |
864fe99c MV |
5282 | msgid "" |
5283 | "This is the traditional format and supported by all apt versions. Note that " | |
5284 | "not all options as described below are supported by all apt versions. Note " | |
051029f8 | 5285 | "also that some older applications parsing this format on their own might not " |
864fe99c MV |
5286 | "expect to encounter options as they were uncommon before the introduction of " |
5287 | "multi-architecture support." | |
b39c1859 MV |
5288 | msgstr "" |
5289 | ||
7d76ea1d | 5290 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 5291 | #: sources.list.5.xml:1 |
051029f8 | 5292 | msgid "deb822-Style Format" |
2a52e8c5 DK |
5293 | msgstr "" |
5294 | ||
0fd68707 | 5295 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5296 | #: sources.list.5.xml:1 |
864fe99c MV |
5297 | msgid "" |
5298 | "Files in this format have the extension <filename>.sources</filename>. The " | |
5299 | "format is similar in syntax to other files used by Debian and its " | |
051029f8 DK |
5300 | "derivatives, such as the metadata files that apt will download from the " |
5301 | "configured sources or the <filename>debian/control</filename> file in a " | |
5302 | "Debian source package. Individual entries are separated by an empty line; " | |
5303 | "additional empty lines are ignored, and a <literal>#</literal> character at " | |
5304 | "the start of the line marks the entire line as a comment. An entry can hence " | |
5305 | "be disabled by commenting out each line belonging to the stanza, but it is " | |
864fe99c MV |
5306 | "usually easier to add the field \"Enabled: no\" to the stanza to disable the " |
5307 | "entry. Removing the field or setting it to yes reenables it. Options have " | |
5308 | "the same syntax as every other field: A fieldname separated by a colon " | |
5309 | "(<literal>:</literal>) and optionally spaces from its value(s). Note " | |
5310 | "especially that multiple values are separated by spaces, not by commas as in " | |
051029f8 | 5311 | "the one-line format. Multivalue fields like <literal>Architectures</literal> " |
864fe99c MV |
5312 | "also have <literal>Architectures-Add</literal> and " |
5313 | "<literal>Architectures-Remove</literal> to modify the default value rather " | |
5314 | "than replacing it." | |
5315 | msgstr "" | |
5316 | ||
5317 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5318 | #: sources.list.5.xml:1 |
2a52e8c5 | 5319 | msgid "" |
864fe99c MV |
5320 | "This is a new format supported by apt itself since version 1.1. Previous " |
5321 | "versions ignore such files with a notice message as described earlier. It " | |
051029f8 DK |
5322 | "is intended to make this format gradually the default format, deprecating " |
5323 | "the previously described one-line-style format, as it is easier to create, " | |
5324 | "extend and modify for humans and machines alike especially if a lot of " | |
864fe99c MV |
5325 | "sources and/or options are involved. Developers who are working with and/or " |
5326 | "parsing apt sources are highly encouraged to add support for this format and " | |
5327 | "to contact the APT team to coordinate and share this work. Users can freely " | |
051029f8 | 5328 | "adopt this format already, but may encounter problems with software not " |
864fe99c | 5329 | "supporting the format yet." |
2a52e8c5 DK |
5330 | msgstr "" |
5331 | ||
7d76ea1d | 5332 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 5333 | #: sources.list.5.xml:1 |
051029f8 | 5334 | msgid "The deb and deb-src Types: General Format" |
2a52e8c5 DK |
5335 | msgstr "" |
5336 | ||
7d76ea1d | 5337 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5338 | #: sources.list.5.xml:1 |
2a52e8c5 | 5339 | msgid "" |
5723791e JR |
5340 | "The <literal>deb</literal> type references a typical two-level Debian " |
5341 | "archive, <filename>distribution/component</filename>. The " | |
864fe99c | 5342 | "<literal>distribution</literal> is generally a suite name like " |
7d76ea1d | 5343 | "<literal>stable</literal> or <literal>testing</literal> or a codename like " |
9feb98eb DK |
5344 | "<literal>&debian-stable-codename;</literal> or " |
5345 | "<literal>&debian-testing-codename;</literal> while component is one of " | |
5723791e JR |
5346 | "<literal>main</literal>, <literal>contrib</literal> or " |
5347 | "<literal>non-free</literal>. The <literal>deb-src</literal> type references " | |
5348 | "a Debian distribution's source code in the same form as the " | |
7d76ea1d DK |
5349 | "<literal>deb</literal> type. A <literal>deb-src</literal> line is required " |
5350 | "to fetch source indexes." | |
2a52e8c5 DK |
5351 | msgstr "" |
5352 | ||
7d76ea1d | 5353 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5354 | #: sources.list.5.xml:1 |
aec22160 | 5355 | msgid "" |
051029f8 | 5356 | "The format for two one-line-style entries using the <literal>deb</literal> " |
864fe99c | 5357 | "and <literal>deb-src</literal> types is:" |
aec22160 DK |
5358 | msgstr "" |
5359 | ||
7d76ea1d | 5360 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5361 | #: sources.list.5.xml:1 |
2a52e8c5 | 5362 | #, no-wrap |
864fe99c MV |
5363 | msgid "" |
5364 | "deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] " | |
5365 | "[...]\n" | |
5366 | "deb-src [ option1=value1 option2=value2 ] uri suite [component1] " | |
5367 | "[component2] [...]" | |
609bb2ea MV |
5368 | msgstr "" |
5369 | ||
5370 | #. type: Content of: <refentry><refsect1><para><literallayout> | |
04f27fae | 5371 | #: sources.list.5.xml:1 |
609bb2ea MV |
5372 | #, no-wrap |
5373 | msgid "" | |
b18dd45f | 5374 | " Types: deb deb-src\n" |
864fe99c MV |
5375 | " URIs: uri\n" |
5376 | " Suites: suite\n" | |
5377 | " Components: [component1] [component2] [...]\n" | |
5378 | " option1: value1\n" | |
5379 | " option2: value2\n" | |
609bb2ea | 5380 | " " |
2a52e8c5 DK |
5381 | msgstr "" |
5382 | ||
7d76ea1d | 5383 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5384 | #: sources.list.5.xml:1 |
609bb2ea | 5385 | msgid "" |
864fe99c MV |
5386 | "Alternatively the equivalent entry in deb822 style looks like this: " |
5387 | "<placeholder type=\"literallayout\" id=\"0\"/>" | |
609bb2ea MV |
5388 | msgstr "" |
5389 | ||
5390 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5391 | #: sources.list.5.xml:1 |
b6c6b52f | 5392 | msgid "" |
7d76ea1d DK |
5393 | "The URI for the <literal>deb</literal> type must specify the base of the " |
5394 | "Debian distribution, from which APT will find the information it needs. " | |
609bb2ea MV |
5395 | "<literal>suite</literal> can specify an exact path, in which case the " |
5396 | "components must be omitted and <literal>suite</literal> must end with a " | |
5397 | "slash (<literal>/</literal>). This is useful for the case when only a " | |
864fe99c MV |
5398 | "particular sub-directory of the archive denoted by the URI is of interest. " |
5399 | "If <literal>suite</literal> does not specify an exact path, at least one " | |
7d76ea1d | 5400 | "<literal>component</literal> must be present." |
b6c6b52f MV |
5401 | msgstr "" |
5402 | ||
7d76ea1d | 5403 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5404 | #: sources.list.5.xml:1 |
aec22160 | 5405 | msgid "" |
609bb2ea | 5406 | "<literal>suite</literal> may also contain a variable, " |
5723791e JR |
5407 | "<literal>$(ARCH)</literal> which expands to the Debian architecture (such as " |
5408 | "<literal>amd64</literal> or <literal>armel</literal>) used on the " | |
5409 | "system. This permits architecture-independent " | |
5410 | "<filename>sources.list</filename> files to be used. In general this is only " | |
051029f8 | 5411 | "of interest when specifying an exact path; <literal>APT</literal> will " |
5723791e | 5412 | "automatically generate a URI with the current architecture otherwise." |
b6c6b52f MV |
5413 | msgstr "" |
5414 | ||
7d76ea1d | 5415 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5416 | #: sources.list.5.xml:1 |
782486e8 | 5417 | msgid "" |
051029f8 | 5418 | "Especially in the one-line-style format since only one distribution can be " |
864fe99c MV |
5419 | "specified per line it may be necessary to have multiple lines for the same " |
5420 | "URI, if a subset of all available distributions or components at that " | |
609bb2ea MV |
5421 | "location is desired. APT will sort the URI list after it has generated a " |
5422 | "complete set internally, and will collapse multiple references to the same " | |
5423 | "Internet host, for instance, into a single connection, so that it does not " | |
864fe99c MV |
5424 | "inefficiently establish a connection, close it, do something else, and then " |
5425 | "re-establish a connection to that same host. APT also parallelizes " | |
5426 | "connections to different hosts to more effectively deal with sites with low " | |
5427 | "bandwidth." | |
5428 | msgstr "" | |
5429 | ||
5430 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5431 | #: sources.list.5.xml:1 |
864fe99c MV |
5432 | msgid "" |
5433 | "It is important to list sources in order of preference, with the most " | |
5434 | "preferred source listed first. Typically this will result in sorting by " | |
5435 | "speed from fastest to slowest (CD-ROM followed by hosts on a local network, " | |
5436 | "followed by distant Internet hosts, for example)." | |
5437 | msgstr "" | |
5438 | ||
5439 | #. type: Content of: <refentry><refsect1><para><literallayout> | |
04f27fae | 5440 | #: sources.list.5.xml:1 |
864fe99c MV |
5441 | #, no-wrap |
5442 | msgid "&sourceslist-list-format;" | |
5443 | msgstr "" | |
5444 | ||
5445 | #. type: Content of: <refentry><refsect1><para><literallayout> | |
04f27fae | 5446 | #: sources.list.5.xml:1 |
864fe99c MV |
5447 | #, no-wrap |
5448 | msgid "&sourceslist-sources-format;" | |
2a52e8c5 DK |
5449 | msgstr "" |
5450 | ||
7d76ea1d | 5451 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5452 | #: sources.list.5.xml:1 |
b6c6b52f | 5453 | msgid "" |
051029f8 DK |
5454 | "As an example, the sources for your distribution could look like this in " |
5455 | "one-line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or " | |
5456 | "like this in deb822 style format: <placeholder type=\"literallayout\" " | |
5457 | "id=\"1\"/>" | |
864fe99c MV |
5458 | msgstr "" |
5459 | ||
5460 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae | 5461 | #: sources.list.5.xml:1 |
864fe99c MV |
5462 | msgid "The deb and deb-src types: Options" |
5463 | msgstr "" | |
5464 | ||
5465 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5466 | #: sources.list.5.xml:1 |
864fe99c | 5467 | msgid "" |
051029f8 DK |
5468 | "Each source entry can have options specified to modify which source is " |
5469 | "accessed and how data is acquired from it. Format, syntax and names of the " | |
5470 | "options vary between the one-line-style and deb822-style formats as " | |
5471 | "described, but they both have the same options available. For simplicity we " | |
5472 | "list the deb822 fieldname and provide the one-line name in brackets. " | |
5473 | "Remember that besides setting multivalue options explicitly, there is also " | |
864fe99c MV |
5474 | "the option to modify them based on the default, but we aren't listing those " |
5475 | "names explicitly here. Unsupported options are silently ignored by all APT " | |
5476 | "versions." | |
2a52e8c5 DK |
5477 | msgstr "" |
5478 | ||
7d76ea1d | 5479 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
04f27fae | 5480 | #: sources.list.5.xml:1 |
2a52e8c5 | 5481 | msgid "" |
864fe99c MV |
5482 | "<option>Architectures</option> (<option>arch</option>) is a multivalue " |
5483 | "option defining for which architectures information should be downloaded. If " | |
5484 | "this option isn't set the default is all architectures as defined by the " | |
5485 | "<option>APT::Architectures</option> config option." | |
2a52e8c5 DK |
5486 | msgstr "" |
5487 | ||
7d76ea1d | 5488 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
04f27fae | 5489 | #: sources.list.5.xml:1 |
ce34af08 | 5490 | msgid "" |
864fe99c | 5491 | "<option>Languages</option> (<option>lang</option>) is a multivalue option " |
051029f8 | 5492 | "defining for which languages information such as translated package " |
864fe99c MV |
5493 | "descriptions should be downloaded. If this option isn't set the default is " |
5494 | "all languages as defined by the <option>Acquire::Languages</option> config " | |
5495 | "option." | |
ce34af08 MV |
5496 | msgstr "" |
5497 | ||
5498 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> | |
04f27fae | 5499 | #: sources.list.5.xml:1 |
782486e8 | 5500 | msgid "" |
864fe99c MV |
5501 | "<option>Targets</option> (<option>target</option>) is a multivalue option " |
5502 | "defining which download targets apt will try to acquire from this source. If " | |
5503 | "not specified, the default set is defined by the " | |
5b057748 JAK |
5504 | "<option>Acquire::IndexTargets</option> configuration scope (targets are " |
5505 | "specified by their name in the <literal>Created-By</literal> field). " | |
5506 | "Additionally, targets can be enabled or disabled by using the " | |
5507 | "<literal>Identifier</literal> field as an option with a boolean value " | |
5508 | "instead of using this multivalue option." | |
2a52e8c5 DK |
5509 | msgstr "" |
5510 | ||
e49dd9d3 | 5511 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
04f27fae | 5512 | #: sources.list.5.xml:1 |
e49dd9d3 MV |
5513 | msgid "" |
5514 | "<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which " | |
5515 | "controls if APT should try to use PDiffs to update old indexes instead of " | |
5516 | "downloading the new indexes entirely. The value of this option is ignored if " | |
5517 | "the repository doesn't announce the availability of PDiffs. Defaults to the " | |
5518 | "value of the option with the same name for a specific index file defined in " | |
051029f8 | 5519 | "the <option>Acquire::IndexTargets</option> scope, which itself defaults to " |
e49dd9d3 MV |
5520 | "the value of configuration option <option>Acquire::PDiffs</option> which " |
5521 | "defaults to <literal>yes</literal>." | |
5522 | msgstr "" | |
5523 | ||
04f27fae MV |
5524 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
5525 | #: sources.list.5.xml:1 | |
5526 | msgid "" | |
5527 | "<option>By-Hash</option> (<option>by-hash</option>) can have the value " | |
051029f8 DK |
5528 | "<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> " |
5529 | "and controls if APT should try to acquire indexes via a URI constructed from " | |
5530 | "a hashsum of the expected file instead of using the well-known stable " | |
5531 | "filename of the index. Using this can avoid hashsum mismatches, but requires " | |
5532 | "a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value " | |
5533 | "activates/disables the use of this feature if this source indicates support " | |
5534 | "for it, while <literal>force</literal> will enable the feature regardless of " | |
5535 | "what the source indicates. Defaults to the value of the option of the same " | |
5536 | "name for a specific index file defined in the " | |
04f27fae MV |
5537 | "<option>Acquire::IndexTargets</option> scope, which itself defaults to the " |
5538 | "value of configuration option <option>Acquire::By-Hash</option> which " | |
5539 | "defaults to <literal>yes</literal>." | |
5540 | msgstr "" | |
5541 | ||
7d76ea1d | 5542 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5543 | #: sources.list.5.xml:1 |
7d76ea1d | 5544 | msgid "" |
051029f8 | 5545 | "Furthermore, there are options which if set affect <emphasis>all</emphasis> " |
864fe99c MV |
5546 | "sources with the same URI and Suite, so they have to be set on all such " |
5547 | "entries and can not be varied between different components. APT will try to " | |
5548 | "detect and error out on such anomalies." | |
2a52e8c5 DK |
5549 | msgstr "" |
5550 | ||
14e325c7 JAK |
5551 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
5552 | #: sources.list.5.xml:1 | |
5553 | msgid "" | |
5554 | "<option>Allow-Insecure</option> (<option>allow-insecure</option>), " | |
5555 | "<option>Allow-Weak</option> (<option>allow-weak</option>) and " | |
5556 | "<option>Allow-Downgrade-To-Insecure</option> " | |
5557 | "(<option>allow-downgrade-to-insecure</option>) are boolean values which all " | |
5558 | "default to <literal>no</literal>. If set to <literal>yes</literal> they " | |
5559 | "circumvent parts of &apt-secure; and should therefore not be used lightly!" | |
5560 | msgstr "" | |
5561 | ||
864fe99c | 5562 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
cbbee23e DK |
5563 | #: sources.list.5.xml:1 |
5564 | msgid "" | |
5565 | "<option>Trusted</option> (<option>trusted</option>) is a tri-state value " | |
5566 | "which defaults to APT deciding if a source is considered trusted or if " | |
5567 | "warnings should be raised before e.g. packages are installed from this " | |
4c482ac5 MV |
5568 | "source. This option can be used to override that decision. The value " |
5569 | "<literal>yes</literal> tells APT always to consider this source as trusted, " | |
5570 | "even if it doesn't pass authentication checks. It disables parts of " | |
5571 | "&apt-secure;, and should therefore only be used in a local and trusted " | |
5572 | "context (if at all) as otherwise security is breached. The value " | |
5573 | "<literal>no</literal> does the opposite, causing the source to be handled as " | |
5574 | "untrusted even if the authentication checks passed successfully. The default " | |
5575 | "value can't be set explicitly." | |
cbbee23e DK |
5576 | msgstr "" |
5577 | ||
5578 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> | |
04f27fae | 5579 | #: sources.list.5.xml:1 |
864fe99c MV |
5580 | msgid "" |
5581 | "<option>Signed-By</option> (<option>signed-by</option>) is either an " | |
5582 | "absolute path to a keyring file (has to be accessible and readable for the " | |
5583 | "<literal>_apt</literal> user, so ensure everyone has read-permissions on the " | |
5b057748 JAK |
5584 | "file) or one or more fingerprints of keys either in the " |
5585 | "<filename>trusted.gpg</filename> keyring or in the keyrings in the " | |
864fe99c | 5586 | "<filename>trusted.gpg.d/</filename> directory (see <command>apt-key " |
051029f8 | 5587 | "fingerprint</command>). If the option is set, only the key(s) in this " |
5b057748 JAK |
5588 | "keyring or only the keys with these fingerprints are used for the " |
5589 | "&apt-secure; verification of this repository. Defaults to the value of the " | |
5590 | "option with the same name if set in the previously acquired " | |
5591 | "<filename>Release</filename> file. Otherwise all keys in the trusted " | |
5592 | "keyrings are considered valid signers for this repository." | |
2a52e8c5 DK |
5593 | msgstr "" |
5594 | ||
864fe99c | 5595 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
04f27fae | 5596 | #: sources.list.5.xml:1 |
2a52e8c5 | 5597 | msgid "" |
864fe99c MV |
5598 | "<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is " |
5599 | "a yes/no value which controls if APT should try to detect replay attacks. A " | |
051029f8 DK |
5600 | "repository creator can declare a time until which the data provided in the " |
5601 | "repository should be considered valid, and if this time is reached, but no " | |
5602 | "new data is provided, the data is considered expired and an error is " | |
5603 | "raised. Besides increasing security, as a malicious attacker can't send old " | |
5604 | "data forever to prevent a user from upgrading to a new version, this also " | |
5605 | "helps users identify mirrors which are no longer updated. However, some " | |
5606 | "repositories such as historic archives are not updated any more by design, " | |
5607 | "so this check can be disabled by setting this option to " | |
5608 | "<literal>no</literal>. Defaults to the value of configuration option " | |
864fe99c MV |
5609 | "<option>Acquire::Check-Valid-Until</option> which itself defaults to " |
5610 | "<literal>yes</literal>." | |
5611 | msgstr "" | |
5612 | ||
5613 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> | |
04f27fae | 5614 | #: sources.list.5.xml:1 |
864fe99c | 5615 | msgid "" |
e49dd9d3 | 5616 | "<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and " |
864fe99c MV |
5617 | "<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be " |
5618 | "used to raise or lower the time period in seconds in which the data from " | |
5619 | "this repository is considered valid. -Max can be especially useful if the " | |
5620 | "repository provides no Valid-Until field on its Release file to set your own " | |
bf33c3bd | 5621 | "value, while -Min can be used to increase the valid time on seldom updated " |
864fe99c MV |
5622 | "(local) mirrors of a more frequently updated but less accessible archive " |
5623 | "(which is in the sources.list as well) instead of disabling the check " | |
5624 | "entirely. Default to the value of the configuration options " | |
5625 | "<option>Acquire::Min-ValidTime</option> and " | |
5626 | "<option>Acquire::Max-ValidTime</option> which are both unset by default." | |
2a52e8c5 DK |
5627 | msgstr "" |
5628 | ||
7d76ea1d | 5629 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 5630 | #: sources.list.5.xml:1 |
051029f8 | 5631 | msgid "URI Specification" |
2a52e8c5 DK |
5632 | msgstr "" |
5633 | ||
7d76ea1d | 5634 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5635 | #: sources.list.5.xml:1 |
7d76ea1d | 5636 | msgid "The currently recognized URI types are:" |
2a52e8c5 DK |
5637 | msgstr "" |
5638 | ||
7d76ea1d | 5639 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
04f27fae | 5640 | #: sources.list.5.xml:1 |
2a52e8c5 | 5641 | msgid "" |
7d76ea1d DK |
5642 | "The file scheme allows an arbitrary directory in the file system to be " |
5643 | "considered an archive. This is useful for NFS mounts and local mirrors or " | |
5644 | "archives." | |
2a52e8c5 DK |
5645 | msgstr "" |
5646 | ||
7d76ea1d | 5647 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
04f27fae | 5648 | #: sources.list.5.xml:1 |
2a52e8c5 | 5649 | msgid "" |
7d76ea1d DK |
5650 | "The cdrom scheme allows APT to use a local CD-ROM drive with media " |
5651 | "swapping. Use the &apt-cdrom; program to create cdrom entries in the source " | |
5652 | "list." | |
2a52e8c5 DK |
5653 | msgstr "" |
5654 | ||
7d76ea1d | 5655 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
04f27fae | 5656 | #: sources.list.5.xml:1 |
2a52e8c5 | 5657 | msgid "" |
7d76ea1d DK |
5658 | "The http scheme specifies an HTTP server for the archive. If an environment " |
5659 | "variable <envar>http_proxy</envar> is set with the format " | |
5660 | "http://server:port/, the proxy server specified in <envar>http_proxy</envar> " | |
5661 | "will be used. Users of authenticated HTTP/1.1 proxies may use a string of " | |
5662 | "the format http://user:pass@server:port/. Note that this is an insecure " | |
5663 | "method of authentication." | |
2a52e8c5 DK |
5664 | msgstr "" |
5665 | ||
7d76ea1d | 5666 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
04f27fae | 5667 | #: sources.list.5.xml:1 |
2a52e8c5 | 5668 | msgid "" |
7d76ea1d DK |
5669 | "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior " |
5670 | "is highly configurable; for more information see the &apt-conf; manual " | |
5723791e JR |
5671 | "page. Please note that an FTP proxy can be specified by using the " |
5672 | "<envar>ftp_proxy</envar> environment variable. It is possible to specify an " | |
5673 | "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this " | |
dabb215c | 5674 | "environment variable and <emphasis>only</emphasis> this environment " |
5723791e JR |
5675 | "variable. Proxies using HTTP specified in the configuration file will be " |
5676 | "ignored." | |
2a52e8c5 DK |
5677 | msgstr "" |
5678 | ||
7d76ea1d | 5679 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
04f27fae | 5680 | #: sources.list.5.xml:1 |
2a52e8c5 | 5681 | msgid "" |
7d76ea1d DK |
5682 | "The copy scheme is identical to the file scheme except that packages are " |
5683 | "copied into the cache directory instead of used directly at their location. " | |
5723791e JR |
5684 | "This is useful for people using removable media to copy files around with " |
5685 | "APT." | |
2a52e8c5 DK |
5686 | msgstr "" |
5687 | ||
7d76ea1d | 5688 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
04f27fae | 5689 | #: sources.list.5.xml:1 |
2a52e8c5 | 5690 | msgid "" |
5723791e JR |
5691 | "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access " |
5692 | "the files as a given user. Prior configuration of rhosts or RSA keys is " | |
5693 | "recommended. The standard <command>find</command> and <command>dd</command> " | |
5694 | "commands are used to perform the file transfers from the remote host." | |
2a52e8c5 DK |
5695 | msgstr "" |
5696 | ||
7d76ea1d | 5697 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> |
04f27fae | 5698 | #: sources.list.5.xml:1 |
7d76ea1d | 5699 | msgid "adding more recognizable URI types" |
2a52e8c5 DK |
5700 | msgstr "" |
5701 | ||
7d76ea1d | 5702 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
04f27fae | 5703 | #: sources.list.5.xml:1 |
2a52e8c5 | 5704 | msgid "" |
5723791e JR |
5705 | "APT can be extended with more methods shipped in other optional packages, " |
5706 | "which should follow the naming scheme " | |
5707 | "<package>apt-transport-<replaceable>method</replaceable></package>. For " | |
5708 | "instance, the APT team also maintains the package " | |
5709 | "<package>apt-transport-https</package>, which provides access methods for " | |
5710 | "HTTPS URIs with features similar to the http method. Methods for using " | |
5711 | "e.g. debtorrent are also available - see &apt-transport-debtorrent;." | |
2a52e8c5 DK |
5712 | msgstr "" |
5713 | ||
7d76ea1d | 5714 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5715 | #: sources.list.5.xml:1 |
2a52e8c5 | 5716 | msgid "" |
864fe99c | 5717 | "Uses the archive stored locally (or NFS mounted) at /home/apt/debian for " |
7d76ea1d | 5718 | "stable/main, stable/contrib, and stable/non-free." |
2a52e8c5 DK |
5719 | msgstr "" |
5720 | ||
7d76ea1d | 5721 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5722 | #: sources.list.5.xml:1 |
7d76ea1d | 5723 | #, no-wrap |
864fe99c MV |
5724 | msgid "deb file:/home/apt/debian stable main contrib non-free" |
5725 | msgstr "" | |
5726 | ||
5727 | #. type: Content of: <refentry><refsect1><literallayout> | |
04f27fae | 5728 | #: sources.list.5.xml:1 |
864fe99c MV |
5729 | #, no-wrap |
5730 | msgid "" | |
5731 | "Types: deb\n" | |
5732 | "URIs: file:/home/apt/debian\n" | |
5733 | "Suites: stable\n" | |
5734 | "Components: main contrib non-free" | |
2a52e8c5 DK |
5735 | msgstr "" |
5736 | ||
7d76ea1d | 5737 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5738 | #: sources.list.5.xml:1 |
7d76ea1d | 5739 | msgid "As above, except this uses the unstable (development) distribution." |
2a52e8c5 DK |
5740 | msgstr "" |
5741 | ||
7d76ea1d | 5742 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5743 | #: sources.list.5.xml:1 |
2a52e8c5 | 5744 | #, no-wrap |
864fe99c MV |
5745 | msgid "deb file:/home/apt/debian unstable main contrib non-free" |
5746 | msgstr "" | |
5747 | ||
5748 | #. type: Content of: <refentry><refsect1><literallayout> | |
04f27fae | 5749 | #: sources.list.5.xml:1 |
864fe99c MV |
5750 | #, no-wrap |
5751 | msgid "" | |
5752 | "Types: deb\n" | |
5753 | "URIs: file:/home/apt/debian\n" | |
5754 | "Suites: unstable\n" | |
5755 | "Components: main contrib non-free" | |
2a52e8c5 DK |
5756 | msgstr "" |
5757 | ||
7d76ea1d | 5758 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5759 | #: sources.list.5.xml:1 |
051029f8 | 5760 | msgid "Sources specification for the above." |
2a52e8c5 DK |
5761 | msgstr "" |
5762 | ||
7d76ea1d | 5763 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5764 | #: sources.list.5.xml:1 |
864fe99c MV |
5765 | #, no-wrap |
5766 | msgid "deb-src file:/home/apt/debian unstable main contrib non-free" | |
5767 | msgstr "" | |
5768 | ||
5769 | #. type: Content of: <refentry><refsect1><literallayout> | |
04f27fae | 5770 | #: sources.list.5.xml:1 |
2a52e8c5 | 5771 | #, no-wrap |
864fe99c MV |
5772 | msgid "" |
5773 | "Types: deb-src\n" | |
5774 | "URIs: file:/home/apt/debian\n" | |
5775 | "Suites: unstable\n" | |
5776 | "Components: main contrib non-free" | |
b81dbe40 DK |
5777 | msgstr "" |
5778 | ||
7d76ea1d | 5779 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5780 | #: sources.list.5.xml:1 |
b81dbe40 | 5781 | msgid "" |
7d76ea1d DK |
5782 | "The first line gets package information for the architectures in " |
5783 | "<literal>APT::Architectures</literal> while the second always retrieves " | |
5784 | "<literal>amd64</literal> and <literal>armel</literal>." | |
2a52e8c5 DK |
5785 | msgstr "" |
5786 | ||
7d76ea1d | 5787 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5788 | #: sources.list.5.xml:1 |
864fe99c MV |
5789 | #, no-wrap |
5790 | msgid "" | |
30749ef1 JAK |
5791 | "deb http://deb.debian.org/debian &debian-stable-codename; main\n" |
5792 | "deb [ arch=amd64,armel ] http://deb.debian.org/debian " | |
9feb98eb | 5793 | "&debian-stable-codename; main" |
864fe99c MV |
5794 | msgstr "" |
5795 | ||
5796 | #. type: Content of: <refentry><refsect1><literallayout> | |
04f27fae | 5797 | #: sources.list.5.xml:1 |
7d76ea1d | 5798 | #, no-wrap |
b81dbe40 | 5799 | msgid "" |
864fe99c | 5800 | "Types: deb\n" |
30749ef1 | 5801 | "URIs: http://deb.debian.org/debian\n" |
9feb98eb | 5802 | "Suites: &debian-stable-codename;\n" |
864fe99c MV |
5803 | "Components: main\n" |
5804 | "\n" | |
5805 | "Types: deb\n" | |
30749ef1 | 5806 | "URIs: http://deb.debian.org/debian\n" |
9feb98eb | 5807 | "Suites: &debian-stable-codename;\n" |
864fe99c MV |
5808 | "Components: main\n" |
5809 | "Architectures: amd64 armel\n" | |
b81dbe40 DK |
5810 | msgstr "" |
5811 | ||
7d76ea1d | 5812 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5813 | #: sources.list.5.xml:1 |
2a52e8c5 | 5814 | msgid "" |
7d76ea1d DK |
5815 | "Uses HTTP to access the archive at archive.debian.org, and uses only the " |
5816 | "hamm/main area." | |
2a52e8c5 DK |
5817 | msgstr "" |
5818 | ||
7d76ea1d | 5819 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5820 | #: sources.list.5.xml:1 |
2a52e8c5 | 5821 | #, no-wrap |
7d76ea1d | 5822 | msgid "deb http://archive.debian.org/debian-archive hamm main" |
2a52e8c5 DK |
5823 | msgstr "" |
5824 | ||
864fe99c | 5825 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5826 | #: sources.list.5.xml:1 |
864fe99c MV |
5827 | #, no-wrap |
5828 | msgid "" | |
5829 | "Types: deb\n" | |
5830 | "URIs: http://archive.debian.org/debian-archive\n" | |
5831 | "Suites: hamm\n" | |
5832 | "Components: main" | |
5833 | msgstr "" | |
5834 | ||
7d76ea1d | 5835 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5836 | #: sources.list.5.xml:1 |
2a52e8c5 | 5837 | msgid "" |
7d76ea1d | 5838 | "Uses FTP to access the archive at ftp.debian.org, under the debian " |
9feb98eb | 5839 | "directory, and uses only the &debian-stable-codename;/contrib area." |
2a52e8c5 DK |
5840 | msgstr "" |
5841 | ||
7d76ea1d | 5842 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5843 | #: sources.list.5.xml:1 |
2a52e8c5 | 5844 | #, no-wrap |
9feb98eb | 5845 | msgid "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib" |
2a52e8c5 DK |
5846 | msgstr "" |
5847 | ||
864fe99c | 5848 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5849 | #: sources.list.5.xml:1 |
864fe99c MV |
5850 | #, no-wrap |
5851 | msgid "" | |
5852 | "Types: deb\n" | |
5853 | "URIs: ftp://ftp.debian.org/debian\n" | |
9feb98eb | 5854 | "Suites: &debian-stable-codename;\n" |
864fe99c MV |
5855 | "Components: contrib" |
5856 | msgstr "" | |
5857 | ||
7d76ea1d | 5858 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5859 | #: sources.list.5.xml:1 |
2a52e8c5 | 5860 | msgid "" |
7d76ea1d DK |
5861 | "Uses FTP to access the archive at ftp.debian.org, under the debian " |
5862 | "directory, and uses only the unstable/contrib area. If this line appears as " | |
5863 | "well as the one in the previous example in <filename>sources.list</filename> " | |
5864 | "a single FTP session will be used for both resource lines." | |
2a52e8c5 DK |
5865 | msgstr "" |
5866 | ||
7d76ea1d | 5867 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5868 | #: sources.list.5.xml:1 |
2a52e8c5 | 5869 | #, no-wrap |
7d76ea1d | 5870 | msgid "deb ftp://ftp.debian.org/debian unstable contrib" |
2a52e8c5 DK |
5871 | msgstr "" |
5872 | ||
864fe99c | 5873 | #. type: Content of: <refentry><refsect1><literallayout> |
04f27fae | 5874 | #: sources.list.5.xml:1 |
864fe99c MV |
5875 | #, no-wrap |
5876 | msgid "" | |
5877 | "Types: deb\n" | |
5878 | "URIs: ftp://ftp.debian.org/debian\n" | |
5879 | "Suites: unstable\n" | |
5880 | "Components: contrib" | |
5881 | msgstr "" | |
5882 | ||
7d76ea1d | 5883 | #. type: Content of: <refentry><refsect1><para><literallayout> |
04f27fae | 5884 | #: sources.list.5.xml:1 |
2a52e8c5 | 5885 | #, no-wrap |
7d76ea1d | 5886 | msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/" |
782486e8 MV |
5887 | msgstr "" |
5888 | ||
864fe99c | 5889 | #. type: Content of: <refentry><refsect1><para><literallayout> |
04f27fae | 5890 | #: sources.list.5.xml:1 |
864fe99c MV |
5891 | #, no-wrap |
5892 | msgid "" | |
5893 | "Types: deb\n" | |
5894 | "URIs: http://ftp.tlh.debian.org/universe\n" | |
5895 | "Suites: unstable/binary-$(ARCH)/" | |
5896 | msgstr "" | |
5897 | ||
7d76ea1d | 5898 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5899 | #: sources.list.5.xml:1 |
782486e8 | 5900 | msgid "" |
7d76ea1d DK |
5901 | "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe " |
5902 | "directory, and uses only files found under " | |
5903 | "<filename>unstable/binary-i386</filename> on i386 machines, " | |
5904 | "<filename>unstable/binary-amd64</filename> on amd64, and so forth for other " | |
5905 | "supported architectures. [Note this example only illustrates how to use the " | |
5906 | "substitution variable; official debian archives are not structured like " | |
864fe99c MV |
5907 | "this] <placeholder type=\"literallayout\" id=\"0\"/> <placeholder " |
5908 | "type=\"literallayout\" id=\"1\"/>" | |
5909 | msgstr "" | |
5910 | ||
5911 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 5912 | #: sources.list.5.xml:1 |
864fe99c MV |
5913 | msgid "" |
5914 | "Uses HTTP to get binary packages as well as sources from the stable, testing " | |
5915 | "and unstable suites and the components main and contrib." | |
5916 | msgstr "" | |
5917 | ||
5918 | #. type: Content of: <refentry><refsect1><literallayout> | |
04f27fae | 5919 | #: sources.list.5.xml:1 |
864fe99c MV |
5920 | #, no-wrap |
5921 | msgid "" | |
30749ef1 JAK |
5922 | "deb http://deb.debian.org/debian stable main contrib\n" |
5923 | "deb-src http://deb.debian.org/debian stable main contrib\n" | |
5924 | "deb http://deb.debian.org/debian testing main contrib\n" | |
5925 | "deb-src http://deb.debian.org/debian testing main contrib\n" | |
5926 | "deb http://deb.debian.org/debian unstable main contrib\n" | |
5927 | "deb-src http://deb.debian.org/debian unstable main contrib" | |
864fe99c MV |
5928 | msgstr "" |
5929 | ||
5930 | #. type: Content of: <refentry><refsect1><literallayout> | |
04f27fae | 5931 | #: sources.list.5.xml:1 |
864fe99c MV |
5932 | #, no-wrap |
5933 | msgid "" | |
5934 | "Types: deb deb-src\n" | |
30749ef1 | 5935 | "URIs: http://deb.debian.org/debian\n" |
864fe99c MV |
5936 | "Suites: stable testing unstable\n" |
5937 | "Components: main contrib\n" | |
782486e8 MV |
5938 | msgstr "" |
5939 | ||
7d76ea1d | 5940 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5941 | #: sources.list.5.xml:1 |
5b057748 | 5942 | msgid "&apt-get;, &apt-conf;, &apt-acquire-additional-files;" |
782486e8 MV |
5943 | msgstr "" |
5944 | ||
7d76ea1d | 5945 | #. type: Content of: <refentry><refmeta><manvolnum> |
04f27fae | 5946 | #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1 |
7d76ea1d | 5947 | msgid "1" |
782486e8 MV |
5948 | msgstr "" |
5949 | ||
7d76ea1d | 5950 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 5951 | #: apt-extracttemplates.1.xml:1 |
782486e8 | 5952 | msgid "" |
7d76ea1d DK |
5953 | "Utility to extract <command>debconf</command> config and templates from " |
5954 | "Debian packages" | |
782486e8 MV |
5955 | msgstr "" |
5956 | ||
7d76ea1d | 5957 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5958 | #: apt-extracttemplates.1.xml:1 |
2b9b27c3 | 5959 | msgid "" |
7d76ea1d DK |
5960 | "<command>apt-extracttemplates</command> will take one or more Debian package " |
5961 | "files as input and write out (to a temporary directory) all associated " | |
5962 | "config scripts and template files. For each passed in package that contains " | |
5963 | "config scripts and templates, one line of output will be generated in the " | |
5964 | "format:" | |
782486e8 MV |
5965 | msgstr "" |
5966 | ||
7d76ea1d | 5967 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5968 | #: apt-extracttemplates.1.xml:1 |
7d76ea1d | 5969 | msgid "package version template-file config-script" |
2a52e8c5 DK |
5970 | msgstr "" |
5971 | ||
7d76ea1d | 5972 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5973 | #: apt-extracttemplates.1.xml:1 |
aec22160 | 5974 | msgid "" |
7d76ea1d DK |
5975 | "template-file and config-script are written to the temporary directory " |
5976 | "specified by the <option>-t</option> or <option>--tempdir</option> " | |
5977 | "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with " | |
93ae7f7f MV |
5978 | "filenames of the form <filename>package.template.XXXXXX</filename> and " |
5979 | "<filename>package.config.XXXXXX</filename>" | |
aec22160 DK |
5980 | msgstr "" |
5981 | ||
7d76ea1d | 5982 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 5983 | #: apt-extracttemplates.1.xml:1 |
782486e8 | 5984 | msgid "" |
7d76ea1d DK |
5985 | "Temporary directory in which to write extracted <command>debconf</command> " |
5986 | "template files and config scripts. Configuration Item: " | |
5987 | "<literal>APT::ExtractTemplates::TempDir</literal>" | |
2a52e8c5 DK |
5988 | msgstr "" |
5989 | ||
7d76ea1d | 5990 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 5991 | #: apt-extracttemplates.1.xml:1 |
2a52e8c5 | 5992 | msgid "" |
7d76ea1d DK |
5993 | "<command>apt-extracttemplates</command> returns zero on normal operation, " |
5994 | "decimal 100 on error." | |
2a52e8c5 DK |
5995 | msgstr "" |
5996 | ||
7d76ea1d | 5997 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 5998 | #: apt-sortpkgs.1.xml:1 |
7d76ea1d | 5999 | msgid "Utility to sort package index files" |
2a52e8c5 DK |
6000 | msgstr "" |
6001 | ||
7d76ea1d | 6002 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6003 | #: apt-sortpkgs.1.xml:1 |
2a52e8c5 | 6004 | msgid "" |
14301cf3 JR |
6005 | "<command>apt-sortpkgs</command> will take an index file (source index or " |
6006 | "package index) and sort the records so that they are ordered by the package " | |
7d76ea1d DK |
6007 | "name. It will also sort the internal fields of each record according to the " |
6008 | "internal sorting rules." | |
2a52e8c5 DK |
6009 | msgstr "" |
6010 | ||
7d76ea1d | 6011 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6012 | #: apt-sortpkgs.1.xml:1 |
5723791e | 6013 | msgid "All output is sent to standard output; the input must be a seekable file." |
2a52e8c5 DK |
6014 | msgstr "" |
6015 | ||
7d76ea1d | 6016 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6017 | #: apt-sortpkgs.1.xml:1 |
2a52e8c5 | 6018 | msgid "" |
14301cf3 | 6019 | "Use source index field ordering. Configuration Item: " |
7d76ea1d | 6020 | "<literal>APT::SortPkgs::Source</literal>." |
2a52e8c5 DK |
6021 | msgstr "" |
6022 | ||
7d76ea1d | 6023 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6024 | #: apt-sortpkgs.1.xml:1 |
2a52e8c5 | 6025 | msgid "" |
7d76ea1d DK |
6026 | "<command>apt-sortpkgs</command> returns zero on normal operation, decimal " |
6027 | "100 on error." | |
2a52e8c5 DK |
6028 | msgstr "" |
6029 | ||
7d76ea1d | 6030 | #. type: Content of: <refentry><refnamediv><refpurpose> |
04f27fae | 6031 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6032 | msgid "Utility to generate index files" |
2a52e8c5 DK |
6033 | msgstr "" |
6034 | ||
7d76ea1d | 6035 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6036 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6037 | msgid "" |
7d76ea1d DK |
6038 | "<command>apt-ftparchive</command> is the command line tool that generates " |
6039 | "the index files that APT uses to access a distribution source. The index " | |
6040 | "files should be generated on the origin site based on the content of that " | |
6041 | "site." | |
2a52e8c5 DK |
6042 | msgstr "" |
6043 | ||
7d76ea1d | 6044 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6045 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6046 | msgid "" |
7d76ea1d DK |
6047 | "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; " |
6048 | "program, incorporating its entire functionality via the " | |
6049 | "<literal>packages</literal> command. It also contains a contents file " | |
6050 | "generator, <literal>contents</literal>, and an elaborate means to 'script' " | |
6051 | "the generation process for a complete archive." | |
2a52e8c5 DK |
6052 | msgstr "" |
6053 | ||
7d76ea1d | 6054 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6055 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6056 | msgid "" |
7d76ea1d DK |
6057 | "Internally <command>apt-ftparchive</command> can make use of binary " |
6058 | "databases to cache the contents of a .deb file and it does not rely on any " | |
6059 | "external programs aside from &gzip;. When doing a full generate it " | |
6060 | "automatically performs file-change checks and builds the desired compressed " | |
6061 | "output files." | |
2a52e8c5 DK |
6062 | msgstr "" |
6063 | ||
7d76ea1d | 6064 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6065 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6066 | msgid "" |
7d76ea1d DK |
6067 | "The packages command generates a package file from a directory tree. It " |
6068 | "takes the given directory and recursively searches it for .deb files, " | |
6069 | "emitting a package record to stdout for each. This command is approximately " | |
6070 | "equivalent to &dpkg-scanpackages;." | |
2a52e8c5 DK |
6071 | msgstr "" |
6072 | ||
7d76ea1d | 6073 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6074 | #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1 |
7d76ea1d | 6075 | msgid "The option <option>--db</option> can be used to specify a binary caching DB." |
2a52e8c5 DK |
6076 | msgstr "" |
6077 | ||
7d76ea1d | 6078 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6079 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6080 | msgid "" |
7d76ea1d DK |
6081 | "The <literal>sources</literal> command generates a source index file from a " |
6082 | "directory tree. It takes the given directory and recursively searches it " | |
6083 | "for .dsc files, emitting a source record to stdout for each. This command is " | |
6084 | "approximately equivalent to &dpkg-scansources;." | |
2a52e8c5 DK |
6085 | msgstr "" |
6086 | ||
7d76ea1d | 6087 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6088 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6089 | msgid "" |
7d76ea1d DK |
6090 | "If an override file is specified then a source override file will be looked " |
6091 | "for with an extension of .src. The --source-override option can be used to " | |
6092 | "change the source override file that will be used." | |
2a52e8c5 DK |
6093 | msgstr "" |
6094 | ||
7d76ea1d | 6095 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6096 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6097 | msgid "" |
7d76ea1d DK |
6098 | "The <literal>contents</literal> command generates a contents file from a " |
6099 | "directory tree. It takes the given directory and recursively searches it for " | |
6100 | ".deb files, and reads the file list from each file. It then sorts and writes " | |
6101 | "to stdout the list of files matched to packages. Directories are not written " | |
6102 | "to the output. If multiple packages own the same file then each package is " | |
6103 | "separated by a comma in the output." | |
2a52e8c5 DK |
6104 | msgstr "" |
6105 | ||
7d76ea1d | 6106 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6107 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6108 | msgid "" |
7d76ea1d DK |
6109 | "The <literal>release</literal> command generates a Release file from a " |
6110 | "directory tree. It recursively searches the given directory for uncompressed " | |
5ff8dd6b JAK |
6111 | "and compressed <filename>Packages</filename>, <filename>Sources</filename>, " |
6112 | "<filename>Contents</filename>, <filename>Components</filename> and " | |
6113 | "<filename>icons</filename> files as well as <filename>Release</filename>, " | |
6114 | "<filename>Index</filename> and <filename>md5sum.txt</filename> files by " | |
6115 | "default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). " | |
6116 | "Additional filename patterns can be added by listing them in " | |
7d76ea1d | 6117 | "<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to " |
04f27fae MV |
6118 | "stdout a <filename>Release</filename> file containing (by default) an MD5, " |
6119 | "SHA1, SHA256 and SHA512 digest for each file." | |
2a52e8c5 DK |
6120 | msgstr "" |
6121 | ||
7d76ea1d | 6122 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6123 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6124 | msgid "" |
7d76ea1d DK |
6125 | "Values for the additional metadata fields in the Release file are taken from " |
6126 | "the corresponding variables under " | |
6127 | "<literal>APT::FTPArchive::Release</literal>, " | |
5ff8dd6b JAK |
6128 | "e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported " |
6129 | "fields are <literal>Origin</literal>, <literal>Label</literal>, " | |
7d76ea1d DK |
6130 | "<literal>Suite</literal>, <literal>Version</literal>, " |
6131 | "<literal>Codename</literal>, <literal>Date</literal>, " | |
5ff8dd6b JAK |
6132 | "<literal>Valid-Until</literal>, <literal>Signed-By</literal>, " |
6133 | "<literal>Architectures</literal>, <literal>Components</literal> and " | |
6134 | "<literal>Description</literal>." | |
2a52e8c5 DK |
6135 | msgstr "" |
6136 | ||
7d76ea1d | 6137 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6138 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6139 | msgid "" |
7d76ea1d DK |
6140 | "The <literal>generate</literal> command is designed to be runnable from a " |
6141 | "cron script and builds indexes according to the given config file. The " | |
6142 | "config language provides a flexible means of specifying which index files " | |
6143 | "are built from which directories, as well as providing a simple means of " | |
6144 | "maintaining the required settings." | |
2a52e8c5 DK |
6145 | msgstr "" |
6146 | ||
7d76ea1d | 6147 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6148 | #: apt-ftparchive.1.xml:1 |
aec22160 | 6149 | msgid "" |
7d76ea1d DK |
6150 | "The <literal>clean</literal> command tidies the databases used by the given " |
6151 | "configuration file by removing any records that are no longer necessary." | |
aec22160 DK |
6152 | msgstr "" |
6153 | ||
7d76ea1d | 6154 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 6155 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6156 | msgid "The Generate Configuration" |
2a52e8c5 DK |
6157 | msgstr "" |
6158 | ||
7d76ea1d | 6159 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6160 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6161 | msgid "" |
7d76ea1d DK |
6162 | "The <literal>generate</literal> command uses a configuration file to " |
6163 | "describe the archives that are going to be generated. It follows the typical " | |
6164 | "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. " | |
6165 | "&apt-conf; contains a description of the syntax. Note that the generate " | |
6166 | "configuration is parsed in sectional manner, but &apt-conf; is parsed in a " | |
6167 | "tree manner. This only effects how the scope tag is handled." | |
2a52e8c5 DK |
6168 | msgstr "" |
6169 | ||
7d76ea1d | 6170 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6171 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6172 | msgid "The generate configuration has four separate sections, each described below." |
2a52e8c5 DK |
6173 | msgstr "" |
6174 | ||
2a52e8c5 | 6175 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 6176 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6177 | msgid "<literal>Dir</literal> Section" |
2a52e8c5 DK |
6178 | msgstr "" |
6179 | ||
6180 | #. type: Content of: <refentry><refsect1><refsect2><para> | |
04f27fae | 6181 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6182 | msgid "" |
7d76ea1d DK |
6183 | "The <literal>Dir</literal> section defines the standard directories needed " |
6184 | "to locate the files required during the generation process. These " | |
6185 | "directories are prepended certain relative paths defined in later sections " | |
6186 | "to produce a complete an absolute path." | |
2a52e8c5 DK |
6187 | msgstr "" |
6188 | ||
7d76ea1d | 6189 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6190 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6191 | msgid "" |
7d76ea1d DK |
6192 | "Specifies the root of the FTP archive, in a standard Debian configuration " |
6193 | "this is the directory that contains the <filename>ls-LR</filename> and dist " | |
6194 | "nodes." | |
2a52e8c5 DK |
6195 | msgstr "" |
6196 | ||
7d76ea1d | 6197 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6198 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6199 | msgid "Specifies the location of the override files." |
2a52e8c5 DK |
6200 | msgstr "" |
6201 | ||
7d76ea1d | 6202 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6203 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6204 | msgid "Specifies the location of the cache files." |
2a52e8c5 DK |
6205 | msgstr "" |
6206 | ||
7d76ea1d | 6207 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6208 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6209 | msgid "" |
7d76ea1d DK |
6210 | "Specifies the location of the file list files, if the " |
6211 | "<literal>FileList</literal> setting is used below." | |
2a52e8c5 DK |
6212 | msgstr "" |
6213 | ||
7d76ea1d | 6214 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 6215 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6216 | msgid "<literal>Default</literal> Section" |
2a52e8c5 DK |
6217 | msgstr "" |
6218 | ||
2a52e8c5 | 6219 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 6220 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6221 | msgid "" |
7d76ea1d DK |
6222 | "The <literal>Default</literal> section specifies default values, and " |
6223 | "settings that control the operation of the generator. Other sections may " | |
6224 | "override these defaults with a per-section setting." | |
2a52e8c5 DK |
6225 | msgstr "" |
6226 | ||
7d76ea1d | 6227 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6228 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6229 | msgid "" |
14301cf3 | 6230 | "Sets the default compression schemes to use for the package index files. It " |
5ff8dd6b JAK |
6231 | "is a string that contains a space separated list of at least one of the " |
6232 | "compressors configured via the <option>APT::Compressor</option> " | |
6233 | "configuration scope. The default for all compression schemes is '. gzip'." | |
2a52e8c5 DK |
6234 | msgstr "" |
6235 | ||
7d76ea1d | 6236 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6237 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6238 | msgid "" |
7d76ea1d DK |
6239 | "Sets the default list of file extensions that are package files. This " |
6240 | "defaults to '.deb'." | |
2a52e8c5 | 6241 | msgstr "" |
2a52e8c5 | 6242 | |
7d76ea1d | 6243 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6244 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6245 | msgid "" |
7d76ea1d DK |
6246 | "This is similar to <literal>Packages::Compress</literal> except that it " |
6247 | "controls the compression for the Sources files." | |
2a52e8c5 DK |
6248 | msgstr "" |
6249 | ||
7d76ea1d | 6250 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6251 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6252 | msgid "" |
7d76ea1d DK |
6253 | "Sets the default list of file extensions that are source files. This " |
6254 | "defaults to '.dsc'." | |
2a52e8c5 DK |
6255 | msgstr "" |
6256 | ||
7d76ea1d | 6257 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6258 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6259 | msgid "" |
7d76ea1d DK |
6260 | "This is similar to <literal>Packages::Compress</literal> except that it " |
6261 | "controls the compression for the Contents files." | |
2a52e8c5 DK |
6262 | msgstr "" |
6263 | ||
7d76ea1d | 6264 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6265 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6266 | msgid "" |
7d76ea1d DK |
6267 | "This is similar to <literal>Packages::Compress</literal> except that it " |
6268 | "controls the compression for the Translation-en master file." | |
2a52e8c5 DK |
6269 | msgstr "" |
6270 | ||
7d76ea1d | 6271 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6272 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6273 | msgid "" |
7d76ea1d DK |
6274 | "Specifies the number of kilobytes to delink (and replace with hard links) " |
6275 | "per run. This is used in conjunction with the per-section " | |
6276 | "<literal>External-Links</literal> setting." | |
2a52e8c5 DK |
6277 | msgstr "" |
6278 | ||
7d76ea1d | 6279 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6280 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6281 | msgid "" |
7d76ea1d DK |
6282 | "Specifies the mode of all created index files. It defaults to 0644. All " |
6283 | "index files are set to this mode with no regard to the umask." | |
2a52e8c5 DK |
6284 | msgstr "" |
6285 | ||
7d76ea1d | 6286 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6287 | #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1 |
2a52e8c5 | 6288 | msgid "" |
7d76ea1d DK |
6289 | "Specifies whether long descriptions should be included in the " |
6290 | "<filename>Packages</filename> file or split out into a master " | |
6291 | "<filename>Translation-en</filename> file." | |
2a52e8c5 DK |
6292 | msgstr "" |
6293 | ||
6294 | #. type: Content of: <refentry><refsect1><refsect2><title> | |
04f27fae | 6295 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6296 | msgid "<literal>TreeDefault</literal> Section" |
2a52e8c5 DK |
6297 | msgstr "" |
6298 | ||
6299 | #. type: Content of: <refentry><refsect1><refsect2><para> | |
04f27fae | 6300 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6301 | msgid "" |
7d76ea1d DK |
6302 | "Sets defaults specific to <literal>Tree</literal> sections. All of these " |
6303 | "variables are substitution variables and have the strings $(DIST), " | |
6304 | "$(SECTION) and $(ARCH) replaced with their respective values." | |
2a52e8c5 DK |
6305 | msgstr "" |
6306 | ||
7d76ea1d | 6307 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6308 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6309 | msgid "" |
6310 | "Sets the number of kilobytes of contents files that are generated each " | |
6311 | "day. The contents files are round-robined so that over several days they " | |
6312 | "will all be rebuilt." | |
2a52e8c5 DK |
6313 | msgstr "" |
6314 | ||
7d76ea1d | 6315 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6316 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6317 | msgid "" |
7d76ea1d DK |
6318 | "Controls the number of days a contents file is allowed to be checked without " |
6319 | "changing. If this limit is passed the mtime of the contents file is " | |
6320 | "updated. This case can occur if the package file is changed in such a way " | |
6321 | "that does not result in a new contents file [override edit for instance]. A " | |
6322 | "hold off is allowed in hopes that new .debs will be installed, requiring a " | |
6323 | "new file anyhow. The default is 10, the units are in days." | |
2a52e8c5 DK |
6324 | msgstr "" |
6325 | ||
7d76ea1d | 6326 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6327 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6328 | msgid "" |
7d76ea1d DK |
6329 | "Sets the top of the .deb directory tree. Defaults to " |
6330 | "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>" | |
2a52e8c5 DK |
6331 | msgstr "" |
6332 | ||
7d76ea1d | 6333 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6334 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6335 | msgid "" |
7d76ea1d DK |
6336 | "Sets the top of the source package directory tree. Defaults to " |
6337 | "<filename>$(DIST)/$(SECTION)/source/</filename>" | |
2a52e8c5 DK |
6338 | msgstr "" |
6339 | ||
7d76ea1d | 6340 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6341 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6342 | msgid "" |
7d76ea1d DK |
6343 | "Sets the output Packages file. Defaults to " |
6344 | "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>" | |
2a52e8c5 DK |
6345 | msgstr "" |
6346 | ||
7d76ea1d | 6347 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6348 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6349 | msgid "" |
7d76ea1d DK |
6350 | "Sets the output Sources file. Defaults to " |
6351 | "<filename>$(DIST)/$(SECTION)/source/Sources</filename>" | |
2a52e8c5 DK |
6352 | msgstr "" |
6353 | ||
7d76ea1d | 6354 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6355 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6356 | msgid "" |
7d76ea1d DK |
6357 | "Sets the output Translation-en master file with the long descriptions if " |
6358 | "they should be not included in the Packages file. Defaults to " | |
6359 | "<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>" | |
2a52e8c5 DK |
6360 | msgstr "" |
6361 | ||
7d76ea1d | 6362 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6363 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6364 | msgid "" |
7d76ea1d DK |
6365 | "Sets the path prefix that causes a symlink to be considered an internal link " |
6366 | "instead of an external link. Defaults to " | |
6367 | "<filename>$(DIST)/$(SECTION)/</filename>" | |
2a52e8c5 DK |
6368 | msgstr "" |
6369 | ||
7d76ea1d | 6370 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6371 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6372 | msgid "" |
7d76ea1d | 6373 | "Sets the output Contents file. Defaults to " |
3adddfa8 DK |
6374 | "<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting " |
6375 | "causes multiple Packages files to map onto a single Contents file (as is the " | |
7d76ea1d DK |
6376 | "default) then <command>apt-ftparchive</command> will integrate those " |
6377 | "package files together automatically." | |
2a52e8c5 DK |
6378 | msgstr "" |
6379 | ||
7d76ea1d | 6380 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6381 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6382 | msgid "Sets header file to prepend to the contents output." |
2a52e8c5 DK |
6383 | msgstr "" |
6384 | ||
7d76ea1d | 6385 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6386 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6387 | msgid "" |
7d76ea1d DK |
6388 | "Sets the binary cache database to use for this section. Multiple sections " |
6389 | "can share the same database." | |
2a52e8c5 DK |
6390 | msgstr "" |
6391 | ||
7d76ea1d | 6392 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6393 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6394 | msgid "" |
6395 | "Specifies that instead of walking the directory tree, " | |
6396 | "<command>apt-ftparchive</command> should read the list of files from the " | |
6397 | "given file. Relative files names are prefixed with the archive directory." | |
2a52e8c5 DK |
6398 | msgstr "" |
6399 | ||
7d76ea1d | 6400 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6401 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6402 | msgid "" |
7d76ea1d DK |
6403 | "Specifies that instead of walking the directory tree, " |
6404 | "<command>apt-ftparchive</command> should read the list of files from the " | |
6405 | "given file. Relative files names are prefixed with the archive directory. " | |
6406 | "This is used when processing source indexes." | |
2a52e8c5 DK |
6407 | msgstr "" |
6408 | ||
6409 | #. type: Content of: <refentry><refsect1><refsect2><title> | |
04f27fae | 6410 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6411 | msgid "<literal>Tree</literal> Section" |
2a52e8c5 DK |
6412 | msgstr "" |
6413 | ||
7d76ea1d | 6414 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 6415 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6416 | msgid "" |
7d76ea1d DK |
6417 | "The <literal>Tree</literal> section defines a standard Debian file tree " |
6418 | "which consists of a base directory, then multiple sections in that base " | |
6419 | "directory and finally multiple Architectures in each section. The exact " | |
6420 | "pathing used is defined by the <literal>Directory</literal> substitution " | |
6421 | "variable." | |
2a52e8c5 DK |
6422 | msgstr "" |
6423 | ||
6424 | #. type: Content of: <refentry><refsect1><refsect2><para> | |
04f27fae | 6425 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6426 | msgid "" |
7d76ea1d DK |
6427 | "The <literal>Tree</literal> section takes a scope tag which sets the " |
6428 | "<literal>$(DIST)</literal> variable and defines the root of the tree (the " | |
6429 | "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a " | |
9feb98eb | 6430 | "setting such as <filename>dists/&debian-stable-codename;</filename>." |
2a52e8c5 DK |
6431 | msgstr "" |
6432 | ||
6433 | #. type: Content of: <refentry><refsect1><refsect2><para> | |
04f27fae | 6434 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6435 | msgid "" |
7d76ea1d DK |
6436 | "All of the settings defined in the <literal>TreeDefault</literal> section " |
6437 | "can be used in a <literal>Tree</literal> section as well as three new " | |
6438 | "variables." | |
2a52e8c5 DK |
6439 | msgstr "" |
6440 | ||
6441 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> | |
04f27fae | 6442 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6443 | #, no-wrap |
7d76ea1d DK |
6444 | msgid "" |
6445 | "for i in Sections do \n" | |
6446 | " for j in Architectures do\n" | |
6447 | " Generate for DIST=scope SECTION=i ARCH=j\n" | |
6448 | " " | |
2a52e8c5 DK |
6449 | msgstr "" |
6450 | ||
6451 | #. type: Content of: <refentry><refsect1><refsect2><para> | |
04f27fae | 6452 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6453 | msgid "" |
7d76ea1d DK |
6454 | "When processing a <literal>Tree</literal> section " |
6455 | "<command>apt-ftparchive</command> performs an operation similar to: " | |
6456 | "<placeholder type=\"programlisting\" id=\"0\"/>" | |
2a52e8c5 DK |
6457 | msgstr "" |
6458 | ||
7d76ea1d | 6459 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6460 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6461 | msgid "" |
6462 | "This is a space separated list of sections which appear under the " | |
6463 | "distribution; typically this is something like <literal>main contrib " | |
6464 | "non-free</literal>" | |
2a52e8c5 DK |
6465 | msgstr "" |
6466 | ||
7d76ea1d | 6467 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6468 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6469 | msgid "" |
7d76ea1d DK |
6470 | "This is a space separated list of all the architectures that appear under " |
6471 | "search section. The special architecture 'source' is used to indicate that " | |
051029f8 DK |
6472 | "this tree has a source archive. The architecture 'all' signals that " |
6473 | "architecture specific files like <filename>Packages</filename> should not " | |
6474 | "include information about architecture <literal>all</literal> packages in " | |
6475 | "all files as they will be available in a dedicated file." | |
2a52e8c5 DK |
6476 | msgstr "" |
6477 | ||
7d76ea1d | 6478 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6479 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6480 | msgid "" |
7d76ea1d DK |
6481 | "Sets the binary override file. The override file contains section, priority " |
6482 | "and maintainer address information." | |
2a52e8c5 DK |
6483 | msgstr "" |
6484 | ||
7d76ea1d | 6485 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6486 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6487 | msgid "" |
7d76ea1d DK |
6488 | "Sets the source override file. The override file contains section " |
6489 | "information." | |
2a52e8c5 DK |
6490 | msgstr "" |
6491 | ||
7d76ea1d | 6492 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6493 | #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1 |
7d76ea1d | 6494 | msgid "Sets the binary extra override file." |
2a52e8c5 DK |
6495 | msgstr "" |
6496 | ||
7d76ea1d | 6497 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6498 | #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1 |
7d76ea1d | 6499 | msgid "Sets the source extra override file." |
2a52e8c5 DK |
6500 | msgstr "" |
6501 | ||
7d76ea1d | 6502 | #. type: Content of: <refentry><refsect1><refsect2><title> |
04f27fae | 6503 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6504 | msgid "<literal>BinDirectory</literal> Section" |
2a52e8c5 DK |
6505 | msgstr "" |
6506 | ||
2a52e8c5 | 6507 | #. type: Content of: <refentry><refsect1><refsect2><para> |
04f27fae | 6508 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6509 | msgid "" |
7d76ea1d DK |
6510 | "The <literal>bindirectory</literal> section defines a binary directory tree " |
6511 | "with no special structure. The scope tag specifies the location of the " | |
6512 | "binary directory and the settings are similar to the <literal>Tree</literal> " | |
6513 | "section with no substitution variables or " | |
6514 | "<literal>Section</literal><literal>Architecture</literal> settings." | |
2a52e8c5 DK |
6515 | msgstr "" |
6516 | ||
7d76ea1d | 6517 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6518 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6519 | msgid "Sets the Packages file output." |
2a52e8c5 DK |
6520 | msgstr "" |
6521 | ||
7d76ea1d | 6522 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6523 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6524 | msgid "" |
7d76ea1d DK |
6525 | "Sets the Sources file output. At least one of <literal>Packages</literal> or " |
6526 | "<literal>Sources</literal> is required." | |
2a52e8c5 DK |
6527 | msgstr "" |
6528 | ||
7d76ea1d | 6529 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6530 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6531 | msgid "Sets the Contents file output (optional)." |
2a52e8c5 DK |
6532 | msgstr "" |
6533 | ||
7d76ea1d | 6534 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6535 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6536 | msgid "Sets the binary override file." |
2a52e8c5 DK |
6537 | msgstr "" |
6538 | ||
7d76ea1d | 6539 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6540 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6541 | msgid "Sets the source override file." |
2a52e8c5 DK |
6542 | msgstr "" |
6543 | ||
7d76ea1d | 6544 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6545 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6546 | msgid "Sets the cache DB." |
2a52e8c5 DK |
6547 | msgstr "" |
6548 | ||
7d76ea1d | 6549 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6550 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6551 | msgid "Appends a path to all the output paths." |
2a52e8c5 DK |
6552 | msgstr "" |
6553 | ||
7d76ea1d | 6554 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
04f27fae | 6555 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6556 | msgid "Specifies the file list file." |
6557 | msgstr "" | |
6558 | ||
6559 | #. type: Content of: <refentry><refsect1><title> | |
04f27fae | 6560 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6561 | msgid "The Binary Override File" |
2a52e8c5 DK |
6562 | msgstr "" |
6563 | ||
6564 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 6565 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6566 | msgid "" |
7d76ea1d DK |
6567 | "The binary override file is fully compatible with &dpkg-scanpackages;. It " |
6568 | "contains four fields separated by spaces. The first field is the package " | |
6569 | "name, the second is the priority to force that package to, the third is the " | |
6570 | "section to force that package to and the final field is the maintainer " | |
6571 | "permutation field." | |
2a52e8c5 DK |
6572 | msgstr "" |
6573 | ||
7d76ea1d | 6574 | #. type: Content of: <refentry><refsect1><para><literallayout> |
04f27fae | 6575 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6576 | #, no-wrap |
7d76ea1d | 6577 | msgid "old [// oldn]* => new" |
2a52e8c5 DK |
6578 | msgstr "" |
6579 | ||
7d76ea1d | 6580 | #. type: Content of: <refentry><refsect1><para><literallayout> |
04f27fae | 6581 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6582 | #, no-wrap |
6583 | msgid "new" | |
2a52e8c5 DK |
6584 | msgstr "" |
6585 | ||
6586 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 6587 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6588 | msgid "" |
7d76ea1d DK |
6589 | "The general form of the maintainer field is: <placeholder " |
6590 | "type=\"literallayout\" id=\"0\"/> or simply, <placeholder " | |
6591 | "type=\"literallayout\" id=\"1\"/> The first form allows a double-slash " | |
6592 | "separated list of old email addresses to be specified. If any of those are " | |
6593 | "found then new is substituted for the maintainer field. The second form " | |
6594 | "unconditionally substitutes the maintainer field." | |
c77d6597 MV |
6595 | msgstr "" |
6596 | ||
7d76ea1d | 6597 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 6598 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6599 | msgid "The Source Override File" |
c77d6597 MV |
6600 | msgstr "" |
6601 | ||
2a52e8c5 | 6602 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6603 | #: apt-ftparchive.1.xml:1 |
c77d6597 | 6604 | msgid "" |
7d76ea1d DK |
6605 | "The source override file is fully compatible with &dpkg-scansources;. It " |
6606 | "contains two fields separated by spaces. The first field is the source " | |
6607 | "package name, the second is the section to assign it." | |
c77d6597 MV |
6608 | msgstr "" |
6609 | ||
7d76ea1d | 6610 | #. type: Content of: <refentry><refsect1><title> |
04f27fae | 6611 | #: apt-ftparchive.1.xml:1 |
7d76ea1d | 6612 | msgid "The Extra Override File" |
c77d6597 MV |
6613 | msgstr "" |
6614 | ||
6615 | #. type: Content of: <refentry><refsect1><para> | |
04f27fae | 6616 | #: apt-ftparchive.1.xml:1 |
c77d6597 | 6617 | msgid "" |
7d76ea1d DK |
6618 | "The extra override file allows any arbitrary tag to be added or replaced in " |
6619 | "the output. It has three columns, the first is the package, the second is " | |
6620 | "the tag and the remainder of the line is the new value." | |
2a52e8c5 DK |
6621 | msgstr "" |
6622 | ||
7d76ea1d | 6623 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6624 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6625 | msgid "" |
6626 | "Generate the given checksum. These options default to on, when turned off " | |
6627 | "the generated index files will not have the checksum fields where possible. " | |
6628 | "Configuration Items: " | |
6629 | "<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and " | |
6630 | "<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> " | |
6631 | "where <literal><replaceable>Index</replaceable></literal> can be " | |
6632 | "<literal>Packages</literal>, <literal>Sources</literal> or " | |
6633 | "<literal>Release</literal> and " | |
6634 | "<literal><replaceable>Checksum</replaceable></literal> can be " | |
04f27fae MV |
6635 | "<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> " |
6636 | "or <literal>SHA512</literal>." | |
2a52e8c5 DK |
6637 | msgstr "" |
6638 | ||
7d76ea1d | 6639 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6640 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6641 | msgid "" |
7d76ea1d DK |
6642 | "Use a binary caching DB. This has no effect on the generate command. " |
6643 | "Configuration Item: <literal>APT::FTPArchive::DB</literal>." | |
2a52e8c5 DK |
6644 | msgstr "" |
6645 | ||
7d76ea1d | 6646 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6647 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6648 | msgid "" |
6649 | "Quiet; produces output suitable for logging, omitting progress indicators. " | |
6650 | "More q's will produce more quiet up to a maximum of 2. You can also use " | |
6651 | "<option>-q=#</option> to set the quiet level, overriding the configuration " | |
6652 | "file. Configuration Item: <literal>quiet</literal>." | |
2a52e8c5 DK |
6653 | msgstr "" |
6654 | ||
7d76ea1d | 6655 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6656 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6657 | msgid "" |
6658 | "Perform Delinking. If the <literal>External-Links</literal> setting is used " | |
6659 | "then this option actually enables delinking of the files. It defaults to on " | |
6660 | "and can be turned off with <option>--no-delink</option>. Configuration " | |
6661 | "Item: <literal>APT::FTPArchive::DeLinkAct</literal>." | |
2a52e8c5 DK |
6662 | msgstr "" |
6663 | ||
7d76ea1d | 6664 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6665 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6666 | msgid "" |
7d76ea1d DK |
6667 | "Perform contents generation. When this option is set and package indexes are " |
6668 | "being generated with a cache DB then the file listing will also be extracted " | |
6669 | "and stored in the DB for later use. When using the generate command this " | |
6670 | "option also allows the creation of any Contents files. The default is on. " | |
6671 | "Configuration Item: <literal>APT::FTPArchive::Contents</literal>." | |
2a52e8c5 DK |
6672 | msgstr "" |
6673 | ||
7d76ea1d | 6674 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6675 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6676 | msgid "" |
7d76ea1d DK |
6677 | "Select the source override file to use with the <literal>sources</literal> " |
6678 | "command. Configuration Item: " | |
6679 | "<literal>APT::FTPArchive::SourceOverride</literal>." | |
2a52e8c5 DK |
6680 | msgstr "" |
6681 | ||
7d76ea1d | 6682 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6683 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6684 | msgid "" |
7d76ea1d DK |
6685 | "Make the caching databases read only. Configuration Item: " |
6686 | "<literal>APT::FTPArchive::ReadOnlyDB</literal>." | |
2a52e8c5 DK |
6687 | msgstr "" |
6688 | ||
7d76ea1d | 6689 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6690 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6691 | msgid "" |
7d76ea1d DK |
6692 | "Accept in the <literal>packages</literal> and <literal>contents</literal> " |
6693 | "commands only package files matching <literal>*_arch.deb</literal> or " | |
6694 | "<literal>*_all.deb</literal> instead of all package files in the given " | |
6695 | "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>." | |
2a52e8c5 DK |
6696 | msgstr "" |
6697 | ||
7d76ea1d | 6698 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6699 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6700 | msgid "" |
7d76ea1d DK |
6701 | "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If " |
6702 | "packages are recompiled and/or republished with the same version again, this " | |
6703 | "will lead to problems as the now outdated cached metadata like size and " | |
6704 | "checksums will be used. With this option enabled this will no longer happen " | |
6705 | "as it will be checked if the file was changed. Note that this option is set " | |
6706 | "to \"<literal>false</literal>\" by default as it is not recommend to upload " | |
6707 | "multiply versions/builds of a package with the same versionnumber, so in " | |
6708 | "theory nobody will have these problems and therefore all these extra checks " | |
6709 | "are useless." | |
2a52e8c5 DK |
6710 | msgstr "" |
6711 | ||
7d76ea1d | 6712 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
04f27fae | 6713 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6714 | msgid "" |
7d76ea1d DK |
6715 | "This configuration option defaults to \"<literal>true</literal>\" and should " |
6716 | "only be set to <literal>\"false\"</literal> if the Archive generated with " | |
6717 | "&apt-ftparchive; also provides <filename>Translation</filename> files. Note " | |
6718 | "that the <filename>Translation-en</filename> master file can only be created " | |
6719 | "in the generate command." | |
2a52e8c5 DK |
6720 | msgstr "" |
6721 | ||
7d76ea1d | 6722 | #. type: Content of: <refentry><refsect1><para><programlisting> |
04f27fae | 6723 | #: apt-ftparchive.1.xml:1 |
7d76ea1d DK |
6724 | #, no-wrap |
6725 | msgid "" | |
6726 | "<command>apt-ftparchive</command> packages " | |
6727 | "<replaceable>directory</replaceable> | <command>gzip</command> > " | |
6728 | "<filename>Packages.gz</filename>\n" | |
43be0ac4 MV |
6729 | msgstr "" |
6730 | ||
7d76ea1d | 6731 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6732 | #: apt-ftparchive.1.xml:1 |
43be0ac4 | 6733 | msgid "" |
7d76ea1d DK |
6734 | "To create a compressed Packages file for a directory containing binary " |
6735 | "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>" | |
43be0ac4 MV |
6736 | msgstr "" |
6737 | ||
2a52e8c5 | 6738 | #. type: Content of: <refentry><refsect1><para> |
04f27fae | 6739 | #: apt-ftparchive.1.xml:1 |
2a52e8c5 | 6740 | msgid "" |
7d76ea1d DK |
6741 | "<command>apt-ftparchive</command> returns zero on normal operation, decimal " |
6742 | "100 on error." | |
2a52e8c5 DK |
6743 | msgstr "" |
6744 | ||
521dd27d | 6745 | #. type: Attribute 'lang' of: <book> |
04f27fae | 6746 | #: guide.dbk:1 offline.dbk:1 |
521dd27d GJ |
6747 | msgid "en" |
6748 | msgstr "" | |
6749 | ||
6750 | #. type: Content of: <book><title> | |
04f27fae | 6751 | #: guide.dbk:1 |
43be0ac4 MV |
6752 | msgid "APT User's Guide" |
6753 | msgstr "" | |
6754 | ||
521dd27d | 6755 | #. type: Content of: <book><bookinfo><authorgroup><author><personname> |
04f27fae | 6756 | #: guide.dbk:1 offline.dbk:1 |
521dd27d GJ |
6757 | msgid "Jason Gunthorpe" |
6758 | msgstr "" | |
6759 | ||
6760 | #. type: Content of: <book><bookinfo><authorgroup><author><email> | |
04f27fae | 6761 | #: guide.dbk:1 offline.dbk:1 |
521dd27d | 6762 | msgid "jgg@debian.org" |
43be0ac4 MV |
6763 | msgstr "" |
6764 | ||
521dd27d | 6765 | #. type: Content of: <book><bookinfo><releaseinfo> |
04f27fae | 6766 | #: guide.dbk:1 offline.dbk:1 |
521dd27d | 6767 | msgid "Version &apt-product-version;" |
43be0ac4 MV |
6768 | msgstr "" |
6769 | ||
521dd27d | 6770 | #. type: Content of: <book><bookinfo><abstract><para> |
04f27fae | 6771 | #: guide.dbk:1 |
43be0ac4 MV |
6772 | msgid "" |
6773 | "This document provides an overview of how to use the the APT package " | |
6774 | "manager." | |
6775 | msgstr "" | |
6776 | ||
521dd27d | 6777 | #. type: Content of: <book><bookinfo> |
04f27fae | 6778 | #: guide.dbk:1 |
521dd27d | 6779 | msgid "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>" |
43be0ac4 MV |
6780 | msgstr "" |
6781 | ||
521dd27d | 6782 | #. type: Content of: <book><bookinfo><legalnotice><title> |
04f27fae | 6783 | #: guide.dbk:1 offline.dbk:1 |
521dd27d GJ |
6784 | msgid "License Notice" |
6785 | msgstr "" | |
6786 | ||
6787 | #. type: Content of: <book><bookinfo><legalnotice><para> | |
04f27fae | 6788 | #: guide.dbk:1 offline.dbk:1 |
43be0ac4 MV |
6789 | msgid "" |
6790 | "\"APT\" and this document are free software; you can redistribute them " | |
6791 | "and/or modify them under the terms of the GNU General Public License as " | |
6792 | "published by the Free Software Foundation; either version 2 of the License, " | |
6793 | "or (at your option) any later version." | |
6794 | msgstr "" | |
6795 | ||
521dd27d | 6796 | #. type: Content of: <book><bookinfo><legalnotice><para> |
04f27fae | 6797 | #: guide.dbk:1 offline.dbk:1 |
43be0ac4 | 6798 | msgid "" |
b176de3a | 6799 | "For more details, on Debian systems, see the file " |
43be0ac4 MV |
6800 | "/usr/share/common-licenses/GPL for the full license." |
6801 | msgstr "" | |
6802 | ||
521dd27d | 6803 | #. type: Content of: <book><chapter><title> |
04f27fae | 6804 | #: guide.dbk:1 |
43be0ac4 MV |
6805 | msgid "General" |
6806 | msgstr "" | |
6807 | ||
521dd27d | 6808 | #. type: Content of: <book><chapter><para> |
04f27fae | 6809 | #: guide.dbk:1 |
43be0ac4 MV |
6810 | msgid "" |
6811 | "The APT package currently contains two sections, the APT " | |
521dd27d GJ |
6812 | "<command>dselect</command> method and the <command>apt-get</command> command " |
6813 | "line user interface. Both provide a way to install and remove packages as " | |
6814 | "well as download new packages from the Internet." | |
43be0ac4 MV |
6815 | msgstr "" |
6816 | ||
521dd27d | 6817 | #. type: Content of: <book><chapter><section><title> |
04f27fae | 6818 | #: guide.dbk:1 |
43be0ac4 MV |
6819 | msgid "Anatomy of the Package System" |
6820 | msgstr "" | |
6821 | ||
521dd27d | 6822 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 6823 | #: guide.dbk:1 |
43be0ac4 MV |
6824 | msgid "" |
6825 | "The Debian packaging system has a large amount of information associated " | |
6826 | "with each package to help assure that it integrates cleanly and easily into " | |
6827 | "the system. The most prominent of its features is the dependency system." | |
6828 | msgstr "" | |
6829 | ||
521dd27d | 6830 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 6831 | #: guide.dbk:1 |
43be0ac4 MV |
6832 | msgid "" |
6833 | "The dependency system allows individual programs to make use of shared " | |
6834 | "elements in the system such as libraries. It simplifies placing infrequently " | |
6835 | "used portions of a program in separate packages to reduce the number of " | |
6836 | "things the average user is required to install. Also, it allows for choices " | |
6837 | "in mail transport agents, X servers and so on." | |
6838 | msgstr "" | |
6839 | ||
521dd27d | 6840 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 6841 | #: guide.dbk:1 |
43be0ac4 MV |
6842 | msgid "" |
6843 | "The first step to understanding the dependency system is to grasp the " | |
6844 | "concept of a simple dependency. The meaning of a simple dependency is that a " | |
6845 | "package requires another package to be installed at the same time to work " | |
6846 | "properly." | |
6847 | msgstr "" | |
6848 | ||
521dd27d | 6849 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 6850 | #: guide.dbk:1 |
43be0ac4 MV |
6851 | msgid "" |
6852 | "For instance, mailcrypt is an emacs extension that aids in encrypting email " | |
b39c1859 | 6853 | "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a " |
43be0ac4 MV |
6854 | "simple dependency on GPG. Also, because it is an emacs extension it has a " |
6855 | "simple dependency on emacs, without emacs it is completely useless." | |
6856 | msgstr "" | |
6857 | ||
521dd27d | 6858 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 6859 | #: guide.dbk:1 |
43be0ac4 MV |
6860 | msgid "" |
6861 | "The other important dependency to understand is a conflicting dependency. It " | |
6862 | "means that a package, when installed with another package, will not work and " | |
6863 | "may possibly be extremely harmful to the system. As an example consider a " | |
6864 | "mail transport agent such as sendmail, exim or qmail. It is not possible to " | |
6865 | "have two mail transport agents installed because both need to listen to the " | |
6866 | "network to receive mail. Attempting to install two will seriously damage the " | |
6867 | "system so all mail transport agents have a conflicting dependency with all " | |
6868 | "other mail transport agents." | |
6869 | msgstr "" | |
6870 | ||
521dd27d | 6871 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 6872 | #: guide.dbk:1 |
43be0ac4 MV |
6873 | msgid "" |
6874 | "As an added complication there is the possibility for a package to pretend " | |
6875 | "to be another package. Consider that exim and sendmail for many intents are " | |
6876 | "identical, they both deliver mail and understand a common interface. Hence, " | |
6877 | "the package system has a way for them to declare that they are both " | |
6878 | "mail-transport-agents. So, exim and sendmail both declare that they provide " | |
6879 | "a mail-transport-agent and other packages that need a mail transport agent " | |
6880 | "depend on mail-transport-agent. This can add a great deal of confusion when " | |
6881 | "trying to manually fix packages." | |
6882 | msgstr "" | |
6883 | ||
521dd27d | 6884 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 6885 | #: guide.dbk:1 |
43be0ac4 MV |
6886 | msgid "" |
6887 | "At any given time a single dependency may be met by packages that are " | |
6888 | "already installed or it may not be. APT attempts to help resolve dependency " | |
6889 | "issues by providing a number of automatic algorithms that help in selecting " | |
6890 | "packages for installation." | |
6891 | msgstr "" | |
6892 | ||
521dd27d | 6893 | #. type: Content of: <book><chapter><title> |
04f27fae | 6894 | #: guide.dbk:1 |
9aa80d52 DK |
6895 | msgid "apt-get" |
6896 | msgstr "" | |
6897 | ||
521dd27d | 6898 | #. type: Content of: <book><chapter><para> |
04f27fae | 6899 | #: guide.dbk:1 |
43be0ac4 | 6900 | msgid "" |
521dd27d GJ |
6901 | "<command>apt-get</command> provides a simple way to install packages from " |
6902 | "the command line. Unlike <command>dpkg</command>, <command>apt-get</command> " | |
6903 | "does not understand .deb files, it works with the package's proper name and " | |
6904 | "can only install .deb archives from a <emphasis>Source</emphasis>." | |
43be0ac4 MV |
6905 | msgstr "" |
6906 | ||
521dd27d | 6907 | #. type: Content of: <book><chapter><para><footnote><para> |
04f27fae | 6908 | #: guide.dbk:1 |
43be0ac4 | 6909 | msgid "" |
521dd27d GJ |
6910 | "If you are using an http proxy server you must set the http_proxy " |
6911 | "environment variable first, see sources.list(5)" | |
43be0ac4 MV |
6912 | msgstr "" |
6913 | ||
521dd27d | 6914 | #. type: Content of: <book><chapter><para> |
04f27fae | 6915 | #: guide.dbk:1 |
521dd27d GJ |
6916 | msgid "" |
6917 | "The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be " | |
6918 | "done before using <command>apt-get</command> is to fetch the package lists " | |
6919 | "from the <emphasis>Sources</emphasis> so that it knows what packages are " | |
6920 | "available. This is done with <literal>apt-get update</literal>. For " | |
6921 | "instance," | |
6922 | msgstr "" | |
6923 | ||
6924 | #. type: Content of: <book><chapter><screen> | |
04f27fae | 6925 | #: guide.dbk:1 |
43be0ac4 MV |
6926 | #, no-wrap |
6927 | msgid "" | |
6928 | "# apt-get update\n" | |
6929 | "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n" | |
6930 | "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n" | |
6931 | "Reading Package Lists... Done\n" | |
521dd27d | 6932 | "Building Dependency Tree... Done\n" |
43be0ac4 MV |
6933 | msgstr "" |
6934 | ||
521dd27d | 6935 | #. type: Content of: <book><chapter><para> |
04f27fae | 6936 | #: guide.dbk:1 |
43be0ac4 MV |
6937 | msgid "Once updated there are several commands that can be used:" |
6938 | msgstr "" | |
6939 | ||
521dd27d | 6940 | #. type: Content of: <book><chapter><variablelist><varlistentry><term> |
04f27fae | 6941 | #: guide.dbk:1 |
2b9b27c3 DK |
6942 | msgid "upgrade" |
6943 | msgstr "" | |
6944 | ||
521dd27d | 6945 | #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> |
04f27fae | 6946 | #: guide.dbk:1 |
43be0ac4 MV |
6947 | msgid "" |
6948 | "Upgrade will attempt to gently upgrade the whole system. Upgrade will never " | |
6949 | "install a new package or remove an existing package, nor will it ever " | |
6950 | "upgrade a package that might cause some other package to break. This can be " | |
6951 | "used daily to relatively safely upgrade the system. Upgrade will list all of " | |
6952 | "the packages that it could not upgrade, this usually means that they depend " | |
521dd27d GJ |
6953 | "on new packages or conflict with some other " |
6954 | "package. <command>dselect</command> or <literal>apt-get install</literal> " | |
6955 | "can be used to force these packages to install." | |
43be0ac4 MV |
6956 | msgstr "" |
6957 | ||
521dd27d | 6958 | #. type: Content of: <book><chapter><variablelist><varlistentry><term> |
04f27fae | 6959 | #: guide.dbk:1 |
2b9b27c3 DK |
6960 | msgid "install" |
6961 | msgstr "" | |
6962 | ||
521dd27d | 6963 | #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> |
04f27fae | 6964 | #: guide.dbk:1 |
43be0ac4 MV |
6965 | msgid "" |
6966 | "Install is used to install packages by name. The package is automatically " | |
6967 | "fetched and installed. This can be useful if you already know the name of " | |
6968 | "the package to install and do not want to go into a GUI to select it. Any " | |
6969 | "number of packages may be passed to install, they will all be " | |
6970 | "fetched. Install automatically attempts to resolve dependency problems with " | |
6971 | "the listed packages and will print a summary and ask for confirmation if " | |
6972 | "anything other than its arguments are changed." | |
6973 | msgstr "" | |
6974 | ||
521dd27d | 6975 | #. type: Content of: <book><chapter><variablelist><varlistentry><term> |
04f27fae | 6976 | #: guide.dbk:1 |
2b9b27c3 DK |
6977 | msgid "dist-upgrade" |
6978 | msgstr "" | |
6979 | ||
521dd27d | 6980 | #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> |
04f27fae | 6981 | #: guide.dbk:1 |
43be0ac4 MV |
6982 | msgid "" |
6983 | "Dist-upgrade is a complete upgrader designed to simplify upgrading between " | |
6984 | "releases of Debian. It uses a sophisticated algorithm to determine the best " | |
6985 | "set of packages to install, upgrade and remove to get as much of the system " | |
6986 | "to the newest release. In some situations it may be desired to use " | |
6987 | "dist-upgrade rather than spend the time manually resolving dependencies in " | |
521dd27d GJ |
6988 | "<command>dselect</command>. Once dist-upgrade has completed then " |
6989 | "<command>dselect</command> can be used to install any packages that may have " | |
6990 | "been left out." | |
43be0ac4 MV |
6991 | msgstr "" |
6992 | ||
521dd27d | 6993 | #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> |
04f27fae | 6994 | #: guide.dbk:1 |
43be0ac4 MV |
6995 | msgid "" |
6996 | "It is important to closely look at what dist-upgrade is going to do, its " | |
6997 | "decisions may sometimes be quite surprising." | |
6998 | msgstr "" | |
6999 | ||
521dd27d | 7000 | #. type: Content of: <book><chapter><para> |
04f27fae | 7001 | #: guide.dbk:1 |
43be0ac4 | 7002 | msgid "" |
521dd27d GJ |
7003 | "<command>apt-get</command> has several command line options that are " |
7004 | "detailed in its man page, " | |
7005 | "<citerefentry><refentrytitle>apt-get</refentrytitle><manvolnum>8</manvolnum></citerefentry>. " | |
7006 | "The most useful option is <literal>-d</literal> which does not install the " | |
7007 | "fetched files. If the system has to download a large number of package it " | |
7008 | "would be undesired to start installing them in case something goes " | |
7009 | "wrong. When <literal>-d</literal> is used the downloaded archives can be " | |
7010 | "installed by simply running the command that caused them to be downloaded " | |
7011 | "again without <literal>-d</literal>." | |
43be0ac4 MV |
7012 | msgstr "" |
7013 | ||
521dd27d | 7014 | #. type: Content of: <book><chapter><title> |
04f27fae | 7015 | #: guide.dbk:1 |
43be0ac4 MV |
7016 | msgid "DSelect" |
7017 | msgstr "" | |
7018 | ||
521dd27d | 7019 | #. type: Content of: <book><chapter><para> |
04f27fae | 7020 | #: guide.dbk:1 |
43be0ac4 | 7021 | msgid "" |
521dd27d GJ |
7022 | "The APT <command>dselect</command> method provides the complete APT system " |
7023 | "with the <command>dselect</command> package selection " | |
7024 | "GUI. <command>dselect</command> is used to select the packages to be " | |
7025 | "installed or removed and APT actually installs them." | |
43be0ac4 MV |
7026 | msgstr "" |
7027 | ||
521dd27d | 7028 | #. type: Content of: <book><chapter><para> |
04f27fae | 7029 | #: guide.dbk:1 |
43be0ac4 | 7030 | msgid "" |
521dd27d GJ |
7031 | "To enable the APT method you need to select [A]ccess in " |
7032 | "<command>dselect</command> and then choose the APT method. You will be " | |
7033 | "prompted for a set of <emphasis>Sources</emphasis> which are places to fetch " | |
7034 | "archives from. These can be remote Internet sites, local Debian mirrors or " | |
7035 | "CD-ROMs. Each source can provide a fragment of the total Debian archive, APT " | |
7036 | "will automatically combine them to form a complete set of packages. If you " | |
7037 | "have a CD-ROM then it is a good idea to specify it first and then specify a " | |
7038 | "mirror so that you have access to the latest bug fixes. APT will " | |
7039 | "automatically use packages on your CD-ROM before downloading from the " | |
7040 | "Internet." | |
43be0ac4 MV |
7041 | msgstr "" |
7042 | ||
521dd27d | 7043 | #. type: Content of: <book><chapter><screen> |
04f27fae | 7044 | #: guide.dbk:1 |
43be0ac4 MV |
7045 | #, no-wrap |
7046 | msgid "" | |
7047 | " Set up a list of distribution source locations\n" | |
521dd27d | 7048 | "\n" |
43be0ac4 MV |
7049 | " Please give the base URL of the debian distribution.\n" |
7050 | " The access schemes I know about are: http file\n" | |
521dd27d | 7051 | "\n" |
43be0ac4 MV |
7052 | " For example:\n" |
7053 | " file:/mnt/debian,\n" | |
7054 | " ftp://ftp.debian.org/debian,\n" | |
7055 | " http://ftp.de.debian.org/debian,\n" | |
521dd27d GJ |
7056 | "\n" |
7057 | "\n" | |
7058 | " URL [http://llug.sep.bnl.gov/debian]:\n" | |
43be0ac4 MV |
7059 | msgstr "" |
7060 | ||
521dd27d | 7061 | #. type: Content of: <book><chapter><para> |
04f27fae | 7062 | #: guide.dbk:1 |
43be0ac4 | 7063 | msgid "" |
521dd27d GJ |
7064 | "The <emphasis>Sources</emphasis> setup starts by asking for the base of the " |
7065 | "Debian archive, defaulting to a HTTP mirror. Next it asks for the " | |
7066 | "distribution to get." | |
43be0ac4 MV |
7067 | msgstr "" |
7068 | ||
521dd27d | 7069 | #. type: Content of: <book><chapter><screen> |
04f27fae | 7070 | #: guide.dbk:1 |
43be0ac4 MV |
7071 | #, no-wrap |
7072 | msgid "" | |
7073 | " Please give the distribution tag to get or a path to the\n" | |
7074 | " package file ending in a /. The distribution\n" | |
7075 | " tags are typically something like: stable unstable testing non-US\n" | |
521dd27d GJ |
7076 | "\n" |
7077 | " Distribution [stable]:\n" | |
43be0ac4 MV |
7078 | msgstr "" |
7079 | ||
521dd27d | 7080 | #. type: Content of: <book><chapter><para> |
04f27fae | 7081 | #: guide.dbk:1 |
43be0ac4 MV |
7082 | msgid "" |
7083 | "The distribution refers to the Debian version in the archive, " | |
521dd27d GJ |
7084 | "<emphasis>stable</emphasis> refers to the latest released version and " |
7085 | "<emphasis>unstable</emphasis> refers to the developmental " | |
7086 | "version. <emphasis>non-US</emphasis> is only available on some mirrors and " | |
7087 | "refers to packages that contain encryption technology or other things that " | |
7088 | "cannot be exported from the United States. Importing these packages into the " | |
7089 | "US is legal however." | |
43be0ac4 MV |
7090 | msgstr "" |
7091 | ||
521dd27d | 7092 | #. type: Content of: <book><chapter><screen> |
04f27fae | 7093 | #: guide.dbk:1 |
43be0ac4 MV |
7094 | #, no-wrap |
7095 | msgid "" | |
7096 | " Please give the components to get\n" | |
7097 | " The components are typically something like: main contrib non-free\n" | |
521dd27d GJ |
7098 | "\n" |
7099 | " Components [main contrib non-free]:\n" | |
43be0ac4 MV |
7100 | msgstr "" |
7101 | ||
521dd27d | 7102 | #. type: Content of: <book><chapter><para> |
04f27fae | 7103 | #: guide.dbk:1 |
43be0ac4 MV |
7104 | msgid "" |
7105 | "The components list refers to the list of sub distributions to fetch. The " | |
7106 | "distribution is split up based on software licenses, main being DFSG free " | |
7107 | "packages while contrib and non-free contain things that have various " | |
7108 | "restrictions placed on their use and distribution." | |
7109 | msgstr "" | |
7110 | ||
521dd27d | 7111 | #. type: Content of: <book><chapter><para> |
04f27fae | 7112 | #: guide.dbk:1 |
43be0ac4 MV |
7113 | msgid "" |
7114 | "Any number of sources can be added, the setup script will continue to prompt " | |
7115 | "until you have specified all that you want." | |
7116 | msgstr "" | |
7117 | ||
521dd27d | 7118 | #. type: Content of: <book><chapter><para> |
04f27fae | 7119 | #: guide.dbk:1 |
43be0ac4 | 7120 | msgid "" |
521dd27d GJ |
7121 | "Before starting to use <command>dselect</command> it is necessary to update " |
7122 | "the available list by selecting [U]pdate from the menu. This is a superset " | |
7123 | "of <literal>apt-get update</literal> that makes the fetched information " | |
7124 | "available to <command>dselect</command>. [U]pdate must be performed even if " | |
7125 | "<literal>apt-get update</literal> has been run before." | |
43be0ac4 MV |
7126 | msgstr "" |
7127 | ||
521dd27d | 7128 | #. type: Content of: <book><chapter><para> |
04f27fae | 7129 | #: guide.dbk:1 |
43be0ac4 MV |
7130 | msgid "" |
7131 | "You can then go on and make your selections using [S]elect and then perform " | |
7132 | "the installation using [I]nstall. When using the APT method the [C]onfig and " | |
7133 | "[R]emove commands have no meaning, the [I]nstall command performs both of " | |
7134 | "them together." | |
7135 | msgstr "" | |
7136 | ||
521dd27d | 7137 | #. type: Content of: <book><chapter><para> |
04f27fae | 7138 | #: guide.dbk:1 |
43be0ac4 MV |
7139 | msgid "" |
7140 | "By default APT will automatically remove the package (.deb) files once they " | |
7141 | "have been successfully installed. To change this behavior place " | |
521dd27d | 7142 | "<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf." |
43be0ac4 MV |
7143 | msgstr "" |
7144 | ||
521dd27d | 7145 | #. type: Content of: <book><chapter><title> |
04f27fae | 7146 | #: guide.dbk:1 |
43be0ac4 MV |
7147 | msgid "The Interface" |
7148 | msgstr "" | |
7149 | ||
521dd27d | 7150 | #. type: Content of: <book><chapter><para><footnote><para> |
04f27fae | 7151 | #: guide.dbk:1 |
521dd27d GJ |
7152 | msgid "" |
7153 | "The <command>dselect</command> method actually is a set of wrapper scripts " | |
7154 | "to <command>apt-get</command>. The method actually provides more " | |
7155 | "functionality than is present in <command>apt-get</command> alone." | |
7156 | msgstr "" | |
7157 | ||
7158 | #. type: Content of: <book><chapter><para> | |
04f27fae | 7159 | #: guide.dbk:1 |
43be0ac4 | 7160 | msgid "" |
521dd27d GJ |
7161 | "Both that APT <command>dselect</command> method and " |
7162 | "<command>apt-get</command> share the same interface. It is a simple system " | |
7163 | "that generally tells you what it will do and then goes and does " | |
7164 | "it. <placeholder type=\"footnote\" id=\"0\"/> After printing out a summary " | |
7165 | "of what will happen APT then will print out some informative status messages " | |
7166 | "so that you can estimate how far along it is and how much is left to do." | |
43be0ac4 MV |
7167 | msgstr "" |
7168 | ||
521dd27d | 7169 | #. type: Content of: <book><chapter><section><title> |
04f27fae | 7170 | #: guide.dbk:1 |
43be0ac4 MV |
7171 | msgid "Startup" |
7172 | msgstr "" | |
7173 | ||
521dd27d | 7174 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7175 | #: guide.dbk:1 |
43be0ac4 MV |
7176 | msgid "" |
7177 | "Before all operations except update, APT performs a number of actions to " | |
7178 | "prepare its internal state. It also does some checks of the system's " | |
521dd27d GJ |
7179 | "state. At any time these operations can be performed by running " |
7180 | "<literal>apt-get check</literal>." | |
43be0ac4 MV |
7181 | msgstr "" |
7182 | ||
521dd27d | 7183 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7184 | #: guide.dbk:1 |
43be0ac4 MV |
7185 | #, no-wrap |
7186 | msgid "" | |
7187 | "# apt-get check\n" | |
7188 | "Reading Package Lists... Done\n" | |
521dd27d | 7189 | "Building Dependency Tree... Done\n" |
43be0ac4 MV |
7190 | msgstr "" |
7191 | ||
521dd27d | 7192 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7193 | #: guide.dbk:1 |
43be0ac4 MV |
7194 | msgid "" |
7195 | "The first thing it does is read all the package files into memory. APT uses " | |
7196 | "a caching scheme so this operation will be faster the second time it is " | |
7197 | "run. If some of the package files are not found then they will be ignored " | |
7198 | "and a warning will be printed when apt-get exits." | |
7199 | msgstr "" | |
7200 | ||
521dd27d | 7201 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7202 | #: guide.dbk:1 |
43be0ac4 MV |
7203 | msgid "" |
7204 | "The final operation performs a detailed analysis of the system's " | |
7205 | "dependencies. It checks every dependency of every installed or unpacked " | |
7206 | "package and considers if it is OK. Should this find a problem then a report " | |
521dd27d | 7207 | "will be printed out and <command>apt-get</command> will refuse to run." |
43be0ac4 MV |
7208 | msgstr "" |
7209 | ||
521dd27d | 7210 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7211 | #: guide.dbk:1 |
43be0ac4 MV |
7212 | #, no-wrap |
7213 | msgid "" | |
7214 | "# apt-get check\n" | |
7215 | "Reading Package Lists... Done\n" | |
7216 | "Building Dependency Tree... Done\n" | |
7217 | "You might want to run apt-get -f install' to correct these.\n" | |
7218 | "Sorry, but the following packages have unmet dependencies:\n" | |
7219 | " 9fonts: Depends: xlib6g but it is not installed\n" | |
7220 | " uucp: Depends: mailx but it is not installed\n" | |
521dd27d | 7221 | " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n" |
43be0ac4 MV |
7222 | " adduser: Depends: perl-base but it is not installed\n" |
7223 | " aumix: Depends: libgpmg1 but it is not installed\n" | |
7224 | " debiandoc-sgml: Depends: sgml-base but it is not installed\n" | |
521dd27d | 7225 | " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n" |
43be0ac4 | 7226 | " cthugha: Depends: svgalibg1 but it is not installed\n" |
521dd27d GJ |
7227 | " Depends: xlib6g (>= 3.3-5) but it is not installed\n" |
7228 | " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)\n" | |
43be0ac4 MV |
7229 | msgstr "" |
7230 | ||
521dd27d | 7231 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7232 | #: guide.dbk:1 |
43be0ac4 MV |
7233 | msgid "" |
7234 | "In this example the system has many problems, including a serious problem " | |
7235 | "with libreadlineg2. For each package that has unmet dependencies a line is " | |
7236 | "printed out indicating the package with the problem and the dependencies " | |
7237 | "that are unmet. A short explanation of why the package has a dependency " | |
7238 | "problem is also included." | |
7239 | msgstr "" | |
7240 | ||
521dd27d | 7241 | #. type: Content of: <book><chapter><section><para><footnote><para> |
04f27fae | 7242 | #: guide.dbk:1 |
521dd27d GJ |
7243 | msgid "" |
7244 | "APT however considers all known dependencies and attempts to prevent broken " | |
7245 | "packages" | |
7246 | msgstr "" | |
7247 | ||
7248 | #. type: Content of: <book><chapter><section><para> | |
04f27fae | 7249 | #: guide.dbk:1 |
43be0ac4 MV |
7250 | msgid "" |
7251 | "There are two ways a system can get into a broken state like this. The first " | |
521dd27d GJ |
7252 | "is caused by <command>dpkg</command> missing some subtle relationships " |
7253 | "between packages when performing upgrades. <placeholder type=\"footnote\" " | |
7254 | "id=\"0\"/>. The second is if a package installation fails during an " | |
7255 | "operation. In this situation a package may have been unpacked without its " | |
7256 | "dependents being installed." | |
43be0ac4 MV |
7257 | msgstr "" |
7258 | ||
521dd27d | 7259 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7260 | #: guide.dbk:1 |
43be0ac4 MV |
7261 | msgid "" |
7262 | "The second situation is much less serious than the first because APT places " | |
7263 | "certain constraints on the order that packages are installed. In both cases " | |
521dd27d GJ |
7264 | "supplying the <literal>-f</literal> option to <command>apt-get</command> " |
7265 | "will cause APT to deduce a possible solution to the problem and then " | |
7266 | "continue on. The APT <command>dselect</command> method always supplies the " | |
7267 | "<literal>-f</literal> option to allow for easy continuation of failed " | |
7268 | "maintainer scripts." | |
43be0ac4 MV |
7269 | msgstr "" |
7270 | ||
521dd27d | 7271 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7272 | #: guide.dbk:1 |
43be0ac4 | 7273 | msgid "" |
521dd27d GJ |
7274 | "However, if the <literal>-f</literal> option is used to correct a seriously " |
7275 | "broken system caused by the first case then it is possible that it will " | |
7276 | "either fail immediately or the installation sequence will fail. In either " | |
7277 | "case it is necessary to manually use dpkg (possibly with forcing options) to " | |
7278 | "correct the situation enough to allow APT to proceed." | |
43be0ac4 MV |
7279 | msgstr "" |
7280 | ||
521dd27d | 7281 | #. type: Content of: <book><chapter><section><title> |
04f27fae | 7282 | #: guide.dbk:1 |
43be0ac4 MV |
7283 | msgid "The Status Report" |
7284 | msgstr "" | |
7285 | ||
521dd27d | 7286 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7287 | #: guide.dbk:1 |
43be0ac4 | 7288 | msgid "" |
521dd27d GJ |
7289 | "Before proceeding <command>apt-get</command> will present a report on what " |
7290 | "will happen. Generally the report reflects the type of operation being " | |
7291 | "performed but there are several common elements. In all cases the lists " | |
7292 | "reflect the final state of things, taking into account the " | |
7293 | "<literal>-f</literal> option and any other relevant activities to the " | |
7294 | "command being executed." | |
43be0ac4 MV |
7295 | msgstr "" |
7296 | ||
521dd27d | 7297 | #. type: Content of: <book><chapter><section><section><title> |
04f27fae | 7298 | #: guide.dbk:1 |
43be0ac4 MV |
7299 | msgid "The Extra Package list" |
7300 | msgstr "" | |
7301 | ||
521dd27d | 7302 | #. type: Content of: <book><chapter><section><section><screen> |
04f27fae | 7303 | #: guide.dbk:1 |
43be0ac4 MV |
7304 | #, no-wrap |
7305 | msgid "" | |
7306 | "The following extra packages will be installed:\n" | |
7307 | " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n" | |
7308 | " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n" | |
7309 | " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n" | |
7310 | " squake pgp-i python-base debmake ldso perl libreadlineg2\n" | |
521dd27d | 7311 | " ssh\n" |
43be0ac4 MV |
7312 | msgstr "" |
7313 | ||
521dd27d | 7314 | #. type: Content of: <book><chapter><section><section><para> |
04f27fae | 7315 | #: guide.dbk:1 |
43be0ac4 MV |
7316 | msgid "" |
7317 | "The Extra Package list shows all of the packages that will be installed or " | |
7318 | "upgraded in excess of the ones mentioned on the command line. It is only " | |
521dd27d GJ |
7319 | "generated for an <literal>install</literal> command. The listed packages are " |
7320 | "often the result of an Auto Install." | |
43be0ac4 MV |
7321 | msgstr "" |
7322 | ||
521dd27d | 7323 | #. type: Content of: <book><chapter><section><section><title> |
04f27fae | 7324 | #: guide.dbk:1 |
43be0ac4 MV |
7325 | msgid "The Packages to Remove" |
7326 | msgstr "" | |
7327 | ||
521dd27d | 7328 | #. type: Content of: <book><chapter><section><section><screen> |
04f27fae | 7329 | #: guide.dbk:1 |
43be0ac4 MV |
7330 | #, no-wrap |
7331 | msgid "" | |
7332 | "The following packages will be REMOVED:\n" | |
7333 | " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n" | |
7334 | " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n" | |
7335 | " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n" | |
521dd27d | 7336 | " nas xpilot xfig\n" |
43be0ac4 MV |
7337 | msgstr "" |
7338 | ||
521dd27d | 7339 | #. type: Content of: <book><chapter><section><section><para> |
04f27fae | 7340 | #: guide.dbk:1 |
43be0ac4 MV |
7341 | msgid "" |
7342 | "The Packages to Remove list shows all of the packages that will be removed " | |
7343 | "from the system. It can be shown for any of the operations and should be " | |
7344 | "given a careful inspection to ensure nothing important is to be taken " | |
521dd27d GJ |
7345 | "off. The <literal>-f</literal> option is especially good at generating " |
7346 | "packages to remove so extreme care should be used in that case. The list may " | |
7347 | "contain packages that are going to be removed because they are only " | |
7348 | "partially installed, possibly due to an aborted installation." | |
43be0ac4 MV |
7349 | msgstr "" |
7350 | ||
521dd27d | 7351 | #. type: Content of: <book><chapter><section><section><title> |
04f27fae | 7352 | #: guide.dbk:1 |
43be0ac4 MV |
7353 | msgid "The New Packages list" |
7354 | msgstr "" | |
7355 | ||
521dd27d | 7356 | #. type: Content of: <book><chapter><section><section><screen> |
04f27fae | 7357 | #: guide.dbk:1 |
43be0ac4 MV |
7358 | #, no-wrap |
7359 | msgid "" | |
7360 | "The following NEW packages will installed:\n" | |
521dd27d | 7361 | " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n" |
43be0ac4 MV |
7362 | msgstr "" |
7363 | ||
521dd27d | 7364 | #. type: Content of: <book><chapter><section><section><para> |
04f27fae | 7365 | #: guide.dbk:1 |
43be0ac4 MV |
7366 | msgid "" |
7367 | "The New Packages list is simply a reminder of what will happen. The packages " | |
7368 | "listed are not presently installed in the system but will be when APT is " | |
7369 | "done." | |
7370 | msgstr "" | |
7371 | ||
521dd27d | 7372 | #. type: Content of: <book><chapter><section><section><title> |
04f27fae | 7373 | #: guide.dbk:1 |
43be0ac4 MV |
7374 | msgid "The Kept Back list" |
7375 | msgstr "" | |
7376 | ||
521dd27d | 7377 | #. type: Content of: <book><chapter><section><section><screen> |
04f27fae | 7378 | #: guide.dbk:1 |
43be0ac4 MV |
7379 | #, no-wrap |
7380 | msgid "" | |
7381 | "The following packages have been kept back\n" | |
7382 | " compface man-db tetex-base msql libpaper svgalib1\n" | |
521dd27d | 7383 | " gs snmp arena lynx xpat2 groff xscreensaver\n" |
43be0ac4 MV |
7384 | msgstr "" |
7385 | ||
521dd27d | 7386 | #. type: Content of: <book><chapter><section><section><para> |
04f27fae | 7387 | #: guide.dbk:1 |
43be0ac4 MV |
7388 | msgid "" |
7389 | "Whenever the whole system is being upgraded there is the possibility that " | |
7390 | "new versions of packages cannot be installed because they require new things " | |
7391 | "or conflict with already installed things. In this case the package will " | |
7392 | "appear in the Kept Back list. The best way to convince packages listed there " | |
521dd27d GJ |
7393 | "to install is with <literal>apt-get install</literal> or by using " |
7394 | "<command>dselect</command> to resolve their problems." | |
43be0ac4 MV |
7395 | msgstr "" |
7396 | ||
521dd27d | 7397 | #. type: Content of: <book><chapter><section><section><title> |
04f27fae | 7398 | #: guide.dbk:1 |
43be0ac4 MV |
7399 | msgid "Held Packages warning" |
7400 | msgstr "" | |
7401 | ||
521dd27d | 7402 | #. type: Content of: <book><chapter><section><section><screen> |
04f27fae | 7403 | #: guide.dbk:1 |
43be0ac4 MV |
7404 | #, no-wrap |
7405 | msgid "" | |
7406 | "The following held packages will be changed:\n" | |
521dd27d | 7407 | " cvs\n" |
43be0ac4 MV |
7408 | msgstr "" |
7409 | ||
521dd27d | 7410 | #. type: Content of: <book><chapter><section><section><para> |
04f27fae | 7411 | #: guide.dbk:1 |
43be0ac4 MV |
7412 | msgid "" |
7413 | "Sometimes you can ask APT to install a package that is on hold, in such a " | |
7414 | "case it prints out a warning that the held package is going to be " | |
7415 | "changed. This should only happen during dist-upgrade or install." | |
7416 | msgstr "" | |
7417 | ||
521dd27d | 7418 | #. type: Content of: <book><chapter><section><section><title> |
04f27fae | 7419 | #: guide.dbk:1 |
43be0ac4 MV |
7420 | msgid "Final summary" |
7421 | msgstr "" | |
7422 | ||
521dd27d | 7423 | #. type: Content of: <book><chapter><section><section><para> |
04f27fae | 7424 | #: guide.dbk:1 |
43be0ac4 MV |
7425 | msgid "Finally, APT will print out a summary of all the changes that will occur." |
7426 | msgstr "" | |
7427 | ||
521dd27d | 7428 | #. type: Content of: <book><chapter><section><section><screen> |
04f27fae | 7429 | #: guide.dbk:1 |
43be0ac4 MV |
7430 | #, no-wrap |
7431 | msgid "" | |
7432 | "206 packages upgraded, 8 newly installed, 23 to remove and 51 not " | |
7433 | "upgraded.\n" | |
7434 | "12 packages not fully installed or removed.\n" | |
521dd27d | 7435 | "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n" |
43be0ac4 MV |
7436 | msgstr "" |
7437 | ||
521dd27d | 7438 | #. type: Content of: <book><chapter><section><section><para> |
04f27fae | 7439 | #: guide.dbk:1 |
43be0ac4 MV |
7440 | msgid "" |
7441 | "The first line of the summary simply is a reduced version of all of the " | |
7442 | "lists and includes the number of upgrades - that is packages already " | |
7443 | "installed that have new versions available. The second line indicates the " | |
7444 | "number of poorly configured packages, possibly the result of an aborted " | |
7445 | "installation. The final line shows the space requirements that the " | |
7446 | "installation needs. The first pair of numbers refer to the size of the " | |
7447 | "archive files. The first number indicates the number of bytes that must be " | |
7448 | "fetched from remote locations and the second indicates the total size of all " | |
7449 | "the archives required. The next number indicates the size difference between " | |
7450 | "the presently installed packages and the newly installed packages. It is " | |
7451 | "roughly equivalent to the space required in /usr after everything is " | |
7452 | "done. If a large number of packages are being removed then the value may " | |
7453 | "indicate the amount of space that will be freed." | |
7454 | msgstr "" | |
7455 | ||
521dd27d | 7456 | #. type: Content of: <book><chapter><section><section><para> |
04f27fae | 7457 | #: guide.dbk:1 |
43be0ac4 MV |
7458 | msgid "" |
7459 | "Some other reports can be generated by using the -u option to show packages " | |
7460 | "to upgrade, they are similar to the previous examples." | |
7461 | msgstr "" | |
7462 | ||
521dd27d | 7463 | #. type: Content of: <book><chapter><section><title> |
04f27fae | 7464 | #: guide.dbk:1 |
43be0ac4 MV |
7465 | msgid "The Status Display" |
7466 | msgstr "" | |
7467 | ||
521dd27d | 7468 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7469 | #: guide.dbk:1 |
43be0ac4 MV |
7470 | msgid "" |
7471 | "During the download of archives and package files APT prints out a series of " | |
7472 | "status messages." | |
7473 | msgstr "" | |
7474 | ||
521dd27d | 7475 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7476 | #: guide.dbk:1 |
43be0ac4 MV |
7477 | #, no-wrap |
7478 | msgid "" | |
7479 | "# apt-get update\n" | |
7480 | "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n" | |
7481 | "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n" | |
7482 | "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n" | |
7483 | "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ " | |
7484 | "Packages\n" | |
7485 | "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n" | |
521dd27d | 7486 | "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n" |
43be0ac4 MV |
7487 | msgstr "" |
7488 | ||
521dd27d | 7489 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7490 | #: guide.dbk:1 |
43be0ac4 | 7491 | msgid "" |
521dd27d GJ |
7492 | "The lines starting with <emphasis>Get</emphasis> are printed out when APT " |
7493 | "begins to fetch a file while the last line indicates the progress of the " | |
7494 | "download. The first percent value on the progress line indicates the total " | |
7495 | "percent done of all files. Unfortunately since the size of the Package files " | |
7496 | "is unknown <literal>apt-get update</literal> estimates the percent done " | |
7497 | "which causes some inaccuracies." | |
43be0ac4 MV |
7498 | msgstr "" |
7499 | ||
521dd27d | 7500 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7501 | #: guide.dbk:1 |
43be0ac4 MV |
7502 | msgid "" |
7503 | "The next section of the status line is repeated once for each download " | |
7504 | "thread and indicates the operation being performed and some useful " | |
7505 | "information about what is happening. Sometimes this section will simply read " | |
521dd27d GJ |
7506 | "<emphasis>Forking</emphasis> which means the OS is loading the download " |
7507 | "module. The first word after the [ is the fetch number as shown on the " | |
7508 | "history lines. The next word is the short form name of the object being " | |
43be0ac4 MV |
7509 | "downloaded. For archives it will contain the name of the package that is " |
7510 | "being fetched." | |
7511 | msgstr "" | |
7512 | ||
521dd27d | 7513 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7514 | #: guide.dbk:1 |
43be0ac4 MV |
7515 | msgid "" |
7516 | "Inside of the single quote is an informative string indicating the progress " | |
7517 | "of the negotiation phase of the download. Typically it progresses from " | |
521dd27d GJ |
7518 | "<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to " |
7519 | "<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final " | |
7520 | "value is the number of bytes downloaded from the remote site. Once the " | |
7521 | "download begins this is represented as <literal>102/10.2k</literal> " | |
7522 | "indicating that 102 bytes have been fetched and 10.2 kilobytes is " | |
7523 | "expected. The total size is always shown in 4 figure notation to preserve " | |
7524 | "space. After the size display is a percent meter for the file itself. The " | |
7525 | "second last element is the instantaneous average speed. This values is " | |
7526 | "updated every 5 seconds and reflects the rate of data transfer for that " | |
7527 | "period. Finally is shown the estimated transfer time. This is updated " | |
43be0ac4 MV |
7528 | "regularly and reflects the time to complete everything at the shown transfer " |
7529 | "rate." | |
7530 | msgstr "" | |
7531 | ||
521dd27d | 7532 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7533 | #: guide.dbk:1 |
43be0ac4 MV |
7534 | msgid "" |
7535 | "The status display updates every half second to provide a constant feedback " | |
7536 | "on the download progress while the Get lines scroll back whenever a new file " | |
7537 | "is started. Since the status display is constantly updated it is unsuitable " | |
521dd27d GJ |
7538 | "for logging to a file, use the <literal>-q</literal> option to remove the " |
7539 | "status display." | |
43be0ac4 MV |
7540 | msgstr "" |
7541 | ||
521dd27d | 7542 | #. type: Content of: <book><chapter><section><title> |
04f27fae | 7543 | #: guide.dbk:1 |
43be0ac4 MV |
7544 | msgid "Dpkg" |
7545 | msgstr "" | |
7546 | ||
521dd27d | 7547 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7548 | #: guide.dbk:1 |
43be0ac4 | 7549 | msgid "" |
521dd27d GJ |
7550 | "APT uses <command>dpkg</command> for installing the archives and will switch " |
7551 | "over to the <command>dpkg</command> interface once downloading is " | |
7552 | "completed. <command>dpkg</command> will also ask a number of questions as it " | |
43be0ac4 MV |
7553 | "processes the packages and the packages themselves may also ask several " |
7554 | "questions. Before each question there is usually a description of what it is " | |
7555 | "asking and the questions are too varied to discuss completely here." | |
7556 | msgstr "" | |
7557 | ||
521dd27d | 7558 | #. type: Content of: <book><title> |
04f27fae | 7559 | #: offline.dbk:1 |
43be0ac4 MV |
7560 | msgid "Using APT Offline" |
7561 | msgstr "" | |
7562 | ||
521dd27d | 7563 | #. type: Content of: <book><bookinfo><abstract><para> |
04f27fae | 7564 | #: offline.dbk:1 |
43be0ac4 MV |
7565 | msgid "" |
7566 | "This document describes how to use APT in a non-networked environment, " | |
7567 | "specifically a 'sneaker-net' approach for performing upgrades." | |
7568 | msgstr "" | |
7569 | ||
521dd27d | 7570 | #. type: Content of: <book><bookinfo> |
04f27fae | 7571 | #: offline.dbk:1 |
521dd27d | 7572 | msgid "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>" |
43be0ac4 MV |
7573 | msgstr "" |
7574 | ||
521dd27d | 7575 | #. type: Content of: <book><chapter><title> |
04f27fae | 7576 | #: offline.dbk:1 |
43be0ac4 MV |
7577 | msgid "Introduction" |
7578 | msgstr "" | |
7579 | ||
521dd27d | 7580 | #. type: Content of: <book><chapter><section><title> |
04f27fae | 7581 | #: offline.dbk:1 offline.dbk:1 offline.dbk:1 |
43be0ac4 MV |
7582 | msgid "Overview" |
7583 | msgstr "" | |
7584 | ||
521dd27d | 7585 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7586 | #: offline.dbk:1 |
43be0ac4 MV |
7587 | msgid "" |
7588 | "Normally APT requires direct access to a Debian archive, either from a local " | |
7589 | "media or through a network. Another common complaint is that a Debian " | |
7590 | "machine is on a slow link, such as a modem and another machine has a very " | |
7591 | "fast connection but they are physically distant." | |
7592 | msgstr "" | |
7593 | ||
521dd27d | 7594 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7595 | #: offline.dbk:1 |
43be0ac4 MV |
7596 | msgid "" |
7597 | "The solution to this is to use large removable media such as a Zip disc or a " | |
7598 | "SuperDisk disc. These discs are not large enough to store the entire Debian " | |
7599 | "archive but can easily fit a subset large enough for most users. The idea is " | |
7600 | "to use APT to generate a list of packages that are required and then fetch " | |
7601 | "them onto the disc using another machine with good connectivity. It is even " | |
7602 | "possible to use another Debian machine with APT or to use a completely " | |
521dd27d GJ |
7603 | "different OS and a download tool like wget. Let <emphasis>remote " |
7604 | "host</emphasis> mean the machine downloading the packages, and " | |
7605 | "<emphasis>target host</emphasis> the one with bad or no connection." | |
43be0ac4 MV |
7606 | msgstr "" |
7607 | ||
521dd27d | 7608 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7609 | #: offline.dbk:1 |
43be0ac4 MV |
7610 | msgid "" |
7611 | "This is achieved by creatively manipulating the APT configuration file. The " | |
b39c1859 | 7612 | "essential premise to tell APT to look on a disc for it's archive files. Note " |
bf33c3bd JAK |
7613 | "that the disc should be formatted with a filesystem that can handle long " |
7614 | "file names such as ext2, fat32 or vfat." | |
43be0ac4 MV |
7615 | msgstr "" |
7616 | ||
521dd27d | 7617 | #. type: Content of: <book><chapter><title> |
04f27fae | 7618 | #: offline.dbk:1 |
43be0ac4 MV |
7619 | msgid "Using APT on both machines" |
7620 | msgstr "" | |
7621 | ||
521dd27d | 7622 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7623 | #: offline.dbk:1 |
43be0ac4 MV |
7624 | msgid "" |
7625 | "APT being available on both machines gives the simplest configuration. The " | |
7626 | "basic idea is to place a copy of the status file on the disc and use the " | |
7627 | "remote machine to fetch the latest package files and decide which packages " | |
7628 | "to download. The disk directory structure should look like:" | |
7629 | msgstr "" | |
7630 | ||
521dd27d | 7631 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7632 | #: offline.dbk:1 |
43be0ac4 MV |
7633 | #, no-wrap |
7634 | msgid "" | |
7635 | " /disc/\n" | |
7636 | " archives/\n" | |
7637 | " partial/\n" | |
7638 | " lists/\n" | |
7639 | " partial/\n" | |
7640 | " status\n" | |
7641 | " sources.list\n" | |
521dd27d | 7642 | " apt.conf\n" |
43be0ac4 MV |
7643 | msgstr "" |
7644 | ||
521dd27d | 7645 | #. type: Content of: <book><chapter><section><title> |
04f27fae | 7646 | #: offline.dbk:1 |
43be0ac4 MV |
7647 | msgid "The configuration file" |
7648 | msgstr "" | |
7649 | ||
521dd27d | 7650 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7651 | #: offline.dbk:1 |
43be0ac4 MV |
7652 | msgid "" |
7653 | "The configuration file should tell APT to store its files on the disc and to " | |
7654 | "use the configuration files on the disc as well. The sources.list should " | |
7655 | "contain the proper sites that you wish to use from the remote machine, and " | |
521dd27d GJ |
7656 | "the status file should be a copy of " |
7657 | "<emphasis>/var/lib/dpkg/status</emphasis> from the <emphasis>target " | |
7658 | "host</emphasis>. Please note, if you are using a local archive you must use " | |
7659 | "copy URIs, the syntax is identical to file URIs." | |
43be0ac4 MV |
7660 | msgstr "" |
7661 | ||
521dd27d | 7662 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7663 | #: offline.dbk:1 |
43be0ac4 | 7664 | msgid "" |
521dd27d GJ |
7665 | "<emphasis>apt.conf</emphasis> must contain the necessary information to make " |
7666 | "APT use the disc:" | |
43be0ac4 MV |
7667 | msgstr "" |
7668 | ||
521dd27d | 7669 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7670 | #: offline.dbk:1 |
43be0ac4 MV |
7671 | #, no-wrap |
7672 | msgid "" | |
7673 | " APT\n" | |
7674 | " {\n" | |
7675 | " /* This is not necessary if the two machines are the same arch, it " | |
7676 | "tells\n" | |
7677 | " the remote APT what architecture the target machine is */\n" | |
7678 | " Architecture \"i386\";\n" | |
521dd27d | 7679 | "\n" |
43be0ac4 MV |
7680 | " Get::Download-Only \"true\";\n" |
7681 | " };\n" | |
521dd27d | 7682 | "\n" |
43be0ac4 MV |
7683 | " Dir\n" |
7684 | " {\n" | |
7685 | " /* Use the disc for state information and redirect the status file from\n" | |
7686 | " the /var/lib/dpkg default */\n" | |
7687 | " State \"/disc/\";\n" | |
7688 | " State::status \"status\";\n" | |
7689 | "\n" | |
7690 | " // Binary caches will be stored locally\n" | |
7691 | " Cache::archives \"/disc/archives/\";\n" | |
7692 | " Cache \"/tmp/\";\n" | |
521dd27d | 7693 | "\n" |
43be0ac4 MV |
7694 | " // Location of the source list.\n" |
7695 | " Etc \"/disc/\";\n" | |
521dd27d | 7696 | " };\n" |
43be0ac4 MV |
7697 | msgstr "" |
7698 | ||
521dd27d | 7699 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7700 | #: offline.dbk:1 |
43be0ac4 MV |
7701 | msgid "" |
7702 | "More details can be seen by examining the apt.conf man page and the sample " | |
521dd27d GJ |
7703 | "configuration file in " |
7704 | "<emphasis>/usr/share/doc/apt/examples/apt.conf</emphasis>." | |
43be0ac4 MV |
7705 | msgstr "" |
7706 | ||
521dd27d | 7707 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7708 | #: offline.dbk:1 |
43be0ac4 MV |
7709 | msgid "" |
7710 | "On the target machine the first thing to do is mount the disc and copy " | |
521dd27d GJ |
7711 | "<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to " |
7712 | "create the directories outlined in the Overview, " | |
7713 | "<emphasis>archives/partial/</emphasis> and " | |
7714 | "<emphasis>lists/partial/</emphasis>. Then take the disc to the remote " | |
7715 | "machine and configure the sources.list. On the remote machine execute the " | |
7716 | "following:" | |
43be0ac4 MV |
7717 | msgstr "" |
7718 | ||
521dd27d | 7719 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7720 | #: offline.dbk:1 |
43be0ac4 MV |
7721 | #, no-wrap |
7722 | msgid "" | |
7723 | " # export APT_CONFIG=\"/disc/apt.conf\"\n" | |
7724 | " # apt-get update\n" | |
7725 | " [ APT fetches the package files ]\n" | |
7726 | " # apt-get dist-upgrade\n" | |
521dd27d | 7727 | " [ APT fetches all the packages needed to upgrade the target machine ]\n" |
43be0ac4 MV |
7728 | msgstr "" |
7729 | ||
521dd27d | 7730 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7731 | #: offline.dbk:1 |
43be0ac4 | 7732 | msgid "" |
b39c1859 | 7733 | "The dist-upgrade command can be replaced with any other standard APT " |
43be0ac4 | 7734 | "commands, particularly dselect-upgrade. You can even use an APT front end " |
521dd27d GJ |
7735 | "such as <emphasis>dselect</emphasis>. However this presents a problem in " |
7736 | "communicating your selections back to the local computer." | |
43be0ac4 MV |
7737 | msgstr "" |
7738 | ||
521dd27d | 7739 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7740 | #: offline.dbk:1 |
43be0ac4 MV |
7741 | msgid "" |
7742 | "Now the disc contains all of the index files and archives needed to upgrade " | |
7743 | "the target machine. Take the disc back and run:" | |
7744 | msgstr "" | |
7745 | ||
521dd27d | 7746 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7747 | #: offline.dbk:1 |
43be0ac4 MV |
7748 | #, no-wrap |
7749 | msgid "" | |
7750 | " # export APT_CONFIG=\"/disc/apt.conf\"\n" | |
7751 | " # apt-get check\n" | |
7752 | " [ APT generates a local copy of the cache files ]\n" | |
7753 | " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n" | |
521dd27d | 7754 | " [ Or any other APT command ]\n" |
43be0ac4 MV |
7755 | msgstr "" |
7756 | ||
521dd27d | 7757 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7758 | #: offline.dbk:1 |
43be0ac4 MV |
7759 | msgid "" |
7760 | "It is necessary for proper function to re-specify the status file to be the " | |
7761 | "local one. This is very important!" | |
7762 | msgstr "" | |
7763 | ||
521dd27d | 7764 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7765 | #: offline.dbk:1 |
43be0ac4 MV |
7766 | msgid "" |
7767 | "If you are using dselect you can do the very risky operation of copying " | |
7768 | "disc/status to /var/lib/dpkg/status so that any selections you made on the " | |
7769 | "remote machine are updated. I highly recommend that people only make " | |
7770 | "selections on the local machine - but this may not always be possible. DO " | |
7771 | "NOT copy the status file if dpkg or APT have been run in the mean time!!" | |
7772 | msgstr "" | |
7773 | ||
521dd27d | 7774 | #. type: Content of: <book><chapter><title> |
04f27fae | 7775 | #: offline.dbk:1 |
43be0ac4 MV |
7776 | msgid "Using APT and wget" |
7777 | msgstr "" | |
7778 | ||
521dd27d | 7779 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7780 | #: offline.dbk:1 |
43be0ac4 | 7781 | msgid "" |
521dd27d GJ |
7782 | "<emphasis>wget</emphasis> is a popular and portable download tool that can " |
7783 | "run on nearly any machine. Unlike the method above this requires that the " | |
7784 | "Debian machine already has a list of available packages." | |
43be0ac4 MV |
7785 | msgstr "" |
7786 | ||
521dd27d | 7787 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7788 | #: offline.dbk:1 |
43be0ac4 MV |
7789 | msgid "" |
7790 | "The basic idea is to create a disc that has only the archive files " | |
7791 | "downloaded from the remote site. This is done by using the --print-uris " | |
7792 | "option to apt-get and then preparing a wget script to actually fetch the " | |
7793 | "packages." | |
7794 | msgstr "" | |
7795 | ||
521dd27d | 7796 | #. type: Content of: <book><chapter><section><title> |
04f27fae | 7797 | #: offline.dbk:1 |
43be0ac4 MV |
7798 | msgid "Operation" |
7799 | msgstr "" | |
7800 | ||
521dd27d | 7801 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7802 | #: offline.dbk:1 |
43be0ac4 MV |
7803 | msgid "" |
7804 | "Unlike the previous technique no special configuration files are " | |
7805 | "required. We merely use the standard APT commands to generate the file list." | |
7806 | msgstr "" | |
7807 | ||
521dd27d | 7808 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7809 | #: offline.dbk:1 |
43be0ac4 MV |
7810 | #, no-wrap |
7811 | msgid "" | |
521dd27d | 7812 | " # apt-get dist-upgrade\n" |
43be0ac4 | 7813 | " [ Press no when prompted, make sure you are happy with the actions ]\n" |
521dd27d GJ |
7814 | " # apt-get -qq --print-uris dist-upgrade > uris\n" |
7815 | " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script\n" | |
43be0ac4 MV |
7816 | msgstr "" |
7817 | ||
521dd27d | 7818 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7819 | #: offline.dbk:1 |
43be0ac4 MV |
7820 | msgid "" |
7821 | "Any command other than dist-upgrade could be used here, including " | |
7822 | "dselect-upgrade." | |
7823 | msgstr "" | |
7824 | ||
521dd27d | 7825 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7826 | #: offline.dbk:1 |
43be0ac4 MV |
7827 | msgid "" |
7828 | "The /disc/wget-script file will now contain a list of wget commands to " | |
7829 | "execute in order to fetch the necessary archives. This script should be run " | |
7830 | "with the current directory as the disc's mount point so as to save the " | |
7831 | "output on the disc." | |
7832 | msgstr "" | |
7833 | ||
521dd27d | 7834 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7835 | #: offline.dbk:1 |
43be0ac4 MV |
7836 | msgid "The remote machine would do something like" |
7837 | msgstr "" | |
7838 | ||
521dd27d | 7839 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7840 | #: offline.dbk:1 |
43be0ac4 MV |
7841 | #, no-wrap |
7842 | msgid "" | |
7843 | " # cd /disc\n" | |
7844 | " # sh -x ./wget-script\n" | |
521dd27d | 7845 | " [ wait.. ]\n" |
43be0ac4 MV |
7846 | msgstr "" |
7847 | ||
521dd27d | 7848 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7849 | #: offline.dbk:1 |
43be0ac4 MV |
7850 | msgid "" |
7851 | "Once the archives are downloaded and the disc returned to the Debian machine " | |
7852 | "installation can proceed using," | |
7853 | msgstr "" | |
7854 | ||
521dd27d | 7855 | #. type: Content of: <book><chapter><section><screen> |
04f27fae | 7856 | #: offline.dbk:1 |
43be0ac4 | 7857 | #, no-wrap |
521dd27d | 7858 | msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n" |
43be0ac4 MV |
7859 | msgstr "" |
7860 | ||
521dd27d | 7861 | #. type: Content of: <book><chapter><section><para> |
04f27fae | 7862 | #: offline.dbk:1 |
43be0ac4 MV |
7863 | msgid "Which will use the already fetched archives on the disc." |
7864 | msgstr "" |