1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Dpkg Developers
3 # This file is distributed under the same license as the dpkg-man package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9 "Project-Id-Version: dpkg-man 1.22.1\n"
10 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
11 "POT-Creation-Date: 2023-10-30 03:13+0000\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
21 #: deb-buildinfo.pod deb-changelog.pod deb-changes.pod deb-conffiles.pod
22 #: deb-control.pod deb-extra-override.pod deb-md5sums.pod deb-old.pod
23 #: deb-origin.pod deb-override.pod deb-postinst.pod deb-postrm.pod
24 #: deb-preinst.pod deb-prerm.pod deb-shlibs.pod deb-split.pod
25 #: deb-src-control.pod deb-src-files.pod deb-src-rules.pod deb-src-symbols.pod
26 #: deb-substvars.pod deb-symbols.pod deb-triggers.pod deb-version.pod deb.pod
27 #: deb822.pod dpkg-architecture.pod dpkg-build-api.pod dpkg-buildapi.pod
28 #: dpkg-buildflags.pod dpkg-buildpackage.pod dpkg-checkbuilddeps.pod
29 #: dpkg-deb.pod dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
30 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
31 #: dpkg-gensymbols.pod dpkg-maintscript-helper.pod dpkg-mergechangelogs.pod
32 #: dpkg-name.pod dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
33 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
34 #: dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
35 #: dpkg-vendor.pod dpkg.cfg.pod dpkg.pod dsc.pod dselect.cfg.pod dselect.pod
36 #: start-stop-daemon.pod update-alternatives.pod
42 msgid "deb-buildinfo - Debian build information file format"
46 #: deb-buildinfo.pod deb-changelog.pod deb-changes.pod deb-conffiles.pod
47 #: deb-control.pod deb-extra-override.pod deb-md5sums.pod deb-old.pod
48 #: deb-origin.pod deb-override.pod deb-postinst.pod deb-postrm.pod
49 #: deb-preinst.pod deb-prerm.pod deb-shlibs.pod deb-split.pod
50 #: deb-src-control.pod deb-src-files.pod deb-src-rules.pod deb-src-symbols.pod
51 #: deb-substvars.pod deb-symbols.pod deb-triggers.pod deb-version.pod deb.pod
52 #: dpkg-architecture.pod dpkg-build-api.pod dpkg-buildapi.pod
53 #: dpkg-buildflags.pod dpkg-buildpackage.pod dpkg-checkbuilddeps.pod
54 #: dpkg-deb.pod dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
55 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
56 #: dpkg-gensymbols.pod dpkg-maintscript-helper.pod dpkg-mergechangelogs.pod
57 #: dpkg-name.pod dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
58 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
59 #: dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
60 #: dpkg-vendor.pod dpkg.pod dsc.pod dselect.pod start-stop-daemon.pod
61 #: update-alternatives.pod
67 msgid "I<filename>B<.buildinfo>"
71 #: deb-buildinfo.pod deb-changelog.pod deb-changes.pod deb-conffiles.pod
72 #: deb-control.pod deb-extra-override.pod deb-md5sums.pod deb-old.pod
73 #: deb-origin.pod deb-override.pod deb-postinst.pod deb-postrm.pod
74 #: deb-preinst.pod deb-prerm.pod deb-shlibs.pod deb-split.pod
75 #: deb-src-control.pod deb-src-files.pod deb-src-rules.pod deb-src-symbols.pod
76 #: deb-substvars.pod deb-symbols.pod deb-triggers.pod deb-version.pod deb.pod
77 #: deb822.pod dpkg-architecture.pod dpkg-build-api.pod dpkg-buildapi.pod
78 #: dpkg-buildflags.pod dpkg-buildpackage.pod dpkg-checkbuilddeps.pod
79 #: dpkg-deb.pod dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
80 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
81 #: dpkg-gensymbols.pod dpkg-maintscript-helper.pod dpkg-mergechangelogs.pod
82 #: dpkg-name.pod dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
83 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
84 #: dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
85 #: dpkg-vendor.pod dpkg.cfg.pod dpkg.pod dsc.pod dselect.cfg.pod dselect.pod
86 #: start-stop-daemon.pod update-alternatives.pod
93 "Each Debian source package build can record the build information in a "
94 "B<.buildinfo> control file, which contains a number of fields in "
95 "L<deb822(5)> format."
101 "Each field begins with a tag, such as B<Source> or B<Binary> (case "
102 "insensitive), followed by a colon, and the body of the field (case sensitive "
103 "unless stated otherwise). Fields are delimited only by field tags. In "
104 "other words, field text may be multiple lines in length, but the "
105 "installation tools will generally join lines when processing the body of the "
106 "field (except in case of the multiline fields B<Binary-Only-Changes>, "
107 "B<Installed-Build-Depends>, B<Environment>, B<Checksums-Md5>, "
108 "B<Checksums-Sha1> and B<Checksums-Sha256>, see below)."
112 #: deb-buildinfo.pod deb-changes.pod dsc.pod
114 "The control data might be enclosed in an OpenPGP ASCII Armored signature, as "
115 "specified in RFC4880."
121 "The name of the B<.buildinfo> file will depend on the type of build and will "
122 "be as specific as necessary but not more; the name will be:"
127 msgid "I<source-name>B<_>I<binary-version>B<_>I<arch>B<.buildinfo>"
131 #: deb-buildinfo.pod dpkg-buildpackage.pod
132 msgid "for a build that includes B<any>"
137 msgid "I<source-name>B<_>I<binary-version>B<_>B<all.buildinfo>"
141 #: deb-buildinfo.pod dpkg-buildpackage.pod
142 msgid "otherwise for a build that includes B<all>"
147 msgid "I<source-name>B<_>I<source-version>B<_>B<source.buildinfo>"
151 #: deb-buildinfo.pod dpkg-buildpackage.pod
152 msgid "otherwise for a build that includes B<source>"
156 #: deb-buildinfo.pod deb-changes.pod deb-control.pod deb-origin.pod dsc.pod
161 #: deb-buildinfo.pod deb-changes.pod dsc.pod
162 msgid "B<Format:> I<format-version> (required)"
168 "The value of this field declares the format version of the file. The syntax "
169 "of the field value is a version number with a major and minor component. "
170 "Backward incompatible changes to the format will bump the major version, and "
171 "backward compatible changes (such as field additions) will bump the minor "
172 "version. The current format version is B<1.0>."
176 #: deb-buildinfo.pod deb-changes.pod
177 msgid "B<Source:> I<source-name> [B<(>I<source-version>B<)>] (required)"
183 "The name of the source package. If the source version differs from the "
184 "binary version, then the I<source-name> will be followed by a "
185 "I<source-version> in parenthesis. This can happen when the build is for a "
186 "binary-only non-maintainer upload."
190 #: deb-buildinfo.pod deb-changes.pod
191 msgid "B<Binary:> I<binary-package-list> (required in context)"
197 "This folded field is a space-separated list of binary packages built. If "
198 "the build is source-only, then the field is omitted (since dpkg 1.20.0)."
203 msgid "B<Architecture:> I<arch-list> (required)"
209 "This space-separated field lists the architectures of the files currently "
210 "being built. Common architectures are B<amd64>, B<armel>, B<i386>, etc. "
211 "Note that the B<all> value is meant for packages that are architecture "
212 "independent. If the source for the package is also being built, the special "
213 "entry B<source> is also present. Architecture wildcards must never be "
214 "present in the list."
218 #: deb-buildinfo.pod deb-changes.pod deb-control.pod dsc.pod
219 msgid "B<Version:> I<version-string> (required)"
223 #: deb-buildinfo.pod deb-changes.pod dsc.pod
225 "Typically, this is the original package's version number in whatever form "
226 "the program's author uses. It may also include a Debian revision number "
227 "(for non-native packages). The exact format and sorting algorithm are "
228 "described in L<deb-version(7)>."
233 msgid "B<Binary-Only-Changes:>"
238 msgid "S< >I<changelog-entry>"
244 "This multiline field contains the concatenated text of the changelog entry "
245 "for a binary-only non-maintainer upload (binNMU) if that is the case. To "
246 "make this a valid multiline field empty lines are replaced with a single "
247 "full stop (‘.’) and all lines are indented by one space character. The "
248 "exact content depends on the changelog format."
253 msgid "B<Checksums-Md5:> (required)"
257 #: deb-buildinfo.pod deb-changes.pod dsc.pod
258 msgid "B<Checksums-Sha1:> (required)"
262 #: deb-buildinfo.pod deb-changes.pod dsc.pod
263 msgid "B<Checksums-Sha256:> (required)"
267 #: deb-buildinfo.pod deb-changes.pod dsc.pod
268 msgid "S< >I<checksum> I<size> I<filename>"
274 "These multiline fields contain a list of files with a checksum and size for "
275 "each one. These fields have the same syntax and differ only in the checksum "
276 "algorithm used: MD5 for B<Checksums-Md5>, SHA-1 for B<Checksums-Sha1> and "
277 "SHA-256 for B<Checksums-Sha256>."
281 #: deb-buildinfo.pod deb-changes.pod
283 "The first line of the field value (the part on the same line as the field "
284 "name followed by a colon) is always empty. The content of the field is "
285 "expressed as continuation lines, one line per file. Each line consists of "
286 "space-separated entries describing the file: the checksum, the file size, "
292 msgid "These fields list all files that make up the build."
297 msgid "B<Build-Origin:> I<name>"
301 #: deb-buildinfo.pod deb-control.pod dsc.pod
302 msgid "The name of the distribution this package is originating from."
307 msgid "B<Build-Architecture:> I<arch> (required)"
313 "The Debian architecture for the installation the packages is being built "
314 "in. Common architectures are B<amd64>, B<armel>, B<i386>, etc."
319 msgid "B<Build-Date:> I<build-date>"
325 "The date the package was built. It must be in the same format as the date "
326 "in a L<deb-changelog(5)> entry."
331 msgid "B<Build-Kernel-Version:> I<build-kernel-version>"
337 "The release and version (in an unspecified format) of the kernel running on "
338 "the build system. This field is only going to be present if the builder has "
339 "explicitly requested it, to avoid leaking possibly sensitive information."
344 msgid "B<Build-Path:> I<build-path>"
350 "The absolute build path, which correspond to the unpacked source tree. This "
351 "field is only going to be present if the vendor has allowed it via some "
352 "pattern match to avoid leaking possibly sensitive information."
358 "On Debian and derivatives only build paths starting with I</build/> will "
364 msgid "B<Build-Tainted-By:>"
369 msgid "S< >I<taint-reason-list>"
375 "This folded field contains a space-separated list of non-exhaustive reason "
376 "tags (formed by alphanumeric and dash characters) which identify why the "
377 "current build has been tainted (since dpkg 1.19.5)."
382 msgid "On Debian and derivatives the following reason tags can be emitted:"
387 msgid "B<merged-usr-via-aliased-dirs>"
393 "The system has a merged I</usr> via aliased directories (previously known as "
394 "B<merged-usr-via-symlinks>). This will confuse B<dpkg-query>, "
395 "B<dpkg-statoverride>, B<dpkg-trigger>, B<update-alternatives> and any other "
396 "tool using pathnames as keys into their databases, as it creates filesystem "
397 "aliasing problems, and messes with the understanding of the filesystem that "
398 "B<dpkg> has recorded in its database. For build systems that hardcode "
399 "pathnames to specific binaries or libraries on the resulting artifacts, it "
400 "can also produce packages that will be incompatible with non-/usr-merged "
406 msgid "B<usr-local-has-configs>"
411 msgid "The system has configuration files under I</usr/local/etc>."
416 msgid "B<usr-local-has-includes>"
421 msgid "The system has header files under I</usr/local/include>."
426 msgid "B<usr-local-has-programs>"
431 msgid "The system has programs under I</usr/local/bin> or I</usr/local/sbin>."
436 msgid "B<usr-local-has-libraries>"
441 msgid "The system has libraries, either static or shared under I</usr/local/lib>."
446 msgid "B<can-execute-cross-built-programs>"
452 "The system can execute cross built programs, either directly or via some "
458 msgid "Since dpkg 1.21.10."
463 msgid "B<Installed-Build-Depends:> (required)"
468 msgid "S< >I<package-list>"
474 "The list of installed and configured packages that might affect the package "
481 "The list consists of each package name, optionally arch-qualified for "
482 "foreign architectures, with an exact version restriction, separated by "
489 "The list includes all essential packages, packages listed in "
490 "B<Build-Depends>, B<Build-Depends-Arch>, B<Build-Depends-Indep> source "
491 "control fields, any vendor specific builtin dependencies, and all their "
492 "recursive dependencies. On Debian and derivatives the dependency builtin is "
493 "B<build-essential>."
499 "For dependencies coming from the source control fields, all dependency "
500 "alternatives and all providers of virtual packages depended on will be "
506 msgid "B<Environment:>"
511 msgid "S< >I<variable-list>"
517 "The list of environment variables that are known to affect the package build "
518 "process, with each environment variable followed by an equal sign (‘=’) and "
519 "the variable's quoted value, using double quotes (‘\"’), and backslashes "
524 #: deb-buildinfo.pod deb-changelog.pod deb-changes.pod deb-conffiles.pod
525 #: deb-control.pod deb-extra-override.pod deb-md5sums.pod deb-old.pod
526 #: deb-origin.pod deb-override.pod deb-postinst.pod deb-postrm.pod
527 #: deb-preinst.pod deb-prerm.pod deb-shlibs.pod deb-split.pod
528 #: deb-src-control.pod deb-src-files.pod deb-src-rules.pod deb-src-symbols.pod
529 #: deb-substvars.pod deb-symbols.pod deb-triggers.pod deb-version.pod deb.pod
530 #: deb822.pod dpkg-architecture.pod dpkg-build-api.pod dpkg-buildpackage.pod
531 #: dpkg-deb.pod dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
532 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
533 #: dpkg-gensymbols.pod dpkg-maintscript-helper.pod dpkg-name.pod
534 #: dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
535 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
536 #: dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
537 #: dpkg-vendor.pod dpkg.cfg.pod dpkg.pod dsc.pod dselect.cfg.pod dselect.pod
538 #: update-alternatives.pod
544 msgid "L<deb822(5)>, L<deb-changes(5)>, L<deb-version(7)>, L<dpkg-genbuildinfo(1)>."
549 msgid "deb-changelog - dpkg source packages' changelog file format"
553 #: deb-changelog.pod dpkg-parsechangelog.pod
554 msgid "B<debian/changelog>"
560 "Changes in the packaged version of a project are explained in the changelog "
561 "file I<debian/changelog>. This includes modifications made in the source "
562 "package compared to the upstream one as well as other changes and updates to "
569 "The format of the I<debian/changelog> allows the package building tools to "
570 "discover which version of the package is being built and find out other "
571 "release-specific information."
576 msgid "That format is a series of entries like this:"
584 " I<package> (I<version>) I<distributions>; I<metadata>\n"
585 " [optional blank line(s), stripped]\n"
586 " * I<change-details>\n"
587 " I<more-change-details>\n"
588 " [blank line(s), included in L<dpkg-parsechangelog(1)> output]\n"
589 " * I<even-more-change-details>\n"
590 " [optional blank line(s), stripped]\n"
591 " -- I<maintainer-name> <I<email-address>> I<date>\n"
598 "I<package> and I<version> are the source package name and version number. "
599 "I<version> is delimited by parenthesis U+00028 ‘B<(>’ and U+0029 ‘B<)>’."
605 "I<distributions> lists one or more space-separated distributions where this "
606 "version should be installed when it is uploaded; it is copied to the "
607 "B<Distribution> field in the I<.changes> file. I<distributions> must be "
608 "terminated by a semicolon (U+003B ‘B<;>’)."
614 "I<metadata> lists zero or more comma-separated I<keyword>=I<value> items. "
615 "Each keyword can contain only minus and case insensitive alphanumeric "
616 "characters, as they need to be mapped to L<deb822(5)> field names. The only "
617 "I<keyword>s currently supported by B<dpkg> are:"
628 "Its value is used for the B<Urgency> field in the I<.changes> file for the "
634 msgid "B<binary-only>"
640 "With a B<yes> value, it is used to denote that this changelog entry is for a "
641 "binary-only non-maintainer upload (an automatic binary rebuild with the only "
642 "change being the changelog entry)."
648 "The change details may in fact be any series of lines starting with at least "
649 "two spaces (U+0020 B<SPACE>), but conventionally each change starts with an "
650 "asterisk and a separating space and continuation lines are indented so as to "
651 "bring them in line with the start of the text above. Blank lines may be "
652 "used here to separate groups of changes, if desired."
658 "If this upload resolves bugs recorded in the distribution bug tracking "
659 "system, they may be automatically closed on the inclusion of this package "
660 "into the distribution archive by including the string:"
665 msgid "B<Closes: #>I<nnnnn>"
671 "in the change details, where B<#>I<nnnnn> is the bug number. The exact Perl "
672 "regular expression is:"
677 msgid "B</closes:\\s*(?:bug)?\\#?\\s?\\d+(?:,\\s*(?:bug)?\\#?\\s?\\d+)*/i>"
683 "That is, the string should consist of the word B<closes:> followed by a "
684 "comma-separated list of bug numbers. Bug numbers may be preceded by the "
685 "word B<bug> and/or a B<#> sign, as in C<Closes: 42, bug#43, #44, bug 45>. "
686 "The words B<closes:> and B<bug> are not case sensitive. The list of bug "
687 "numbers may span multiple lines."
693 "This information is conveyed via the B<Closes> field in the I<.changes> "
694 "file. Where, depending on the archive maintenance software, all the bug "
695 "numbers listed might get automatically closed."
701 "The maintainer name and email address used in the changelog should be the "
702 "details of the person who prepared this release of the package. They are "
703 "B<not> necessarily those of the uploader or usual package maintainer. The "
704 "information here will be copied to the B<Changed-By> field in the "
705 "I<.changes> file, and then later might be used to send an acknowledgment "
706 "when the upload has been installed in the distribution archive."
712 "The I<date> has the following format (compatible and with the same semantics "
713 "of RFC2822 and RFC5322, or what «date -R» generates):"
719 "I<day-of-week>B<,> I<dd> I<month> I<yyyy> I<hh>B<:>I<mm>B<:>I<ss> "
730 msgid "I<day-of-week>"
735 msgid "Is one of: B<Mon>, B<Tue>, B<Wed>, B<Thu>, B<Fri>, B<Sat>, B<Sun>."
746 "Is a one- or two-digit day of the month (B<01>-B<31>), where the leading "
747 "zero is optional, but conventionally does not get omitted."
758 "Is one of: B<Jan>, B<Feb>, B<Mar>, B<Apr>, B<May>, B<Jun>, B<Jul>, B<Aug>, "
759 "B<Sep>, B<Oct>, B<Nov>, B<Dec>."
769 msgid "Is the four-digit year (e.g. 2010)."
779 msgid "Is the two-digit hour (B<00>-B<23>)."
789 msgid "Is the two-digit minutes (B<00>-B<59>)."
799 msgid "Is the two-digit seconds (B<00>-B<60>)."
804 msgid "[B<+->]I<zzzz>"
810 "Is the time zone offset from Coordinated Universal Time (UTC). ‘B<+>’ "
811 "indicates that the time is ahead of (i.e., east of) UTC and ‘B<->’ indicates "
812 "that the time is behind (i.e., west of) UTC. The first two digits indicate "
813 "the hour difference from UTC and the last two digits indicate the number of "
814 "additional minutes difference from UTC. The last two digits must be in the "
821 "The first “title” line with the package name must start at the left hand "
822 "margin. The “trailer” line with the maintainer and date details must be "
823 "preceded by exactly one space (U+0020 B<SPACE>). The maintainer details and "
824 "the date must be separated by exactly two spaces (U+0020 B<SPACE>). Each "
825 "part of the I<date> can be separated by one or more spaces (U+0020 "
826 "B<SPACE>), except after the comma where it can be separated by zero or more "
827 "spaces (U+0020 B<SPACE>)."
833 "Any line that consists entirely (i.e., no leading whitespace) of B<#> or "
834 "B</* */> style comments or RCS keywords."
840 "Vim modelines or Emacs local variables, and ancient changelog entries with "
841 "other formats at the end of the file should be accepted and preserved on "
842 "output, but their contents might be otherwise ignored and parsing stopped at "
848 msgid "The entire changelog must be encoded in UTF-8."
852 #: deb-changelog.pod deb-substvars.pod dpkg-architecture.pod dpkg-buildapi.pod
853 #: dpkg-buildflags.pod dpkg-buildpackage.pod dpkg-distaddfile.pod
854 #: dpkg-divert.pod dpkg-genbuildinfo.pod dpkg-genchanges.pod
855 #: dpkg-gencontrol.pod dpkg-parsechangelog.pod dpkg-source.pod dpkg-split.pod
856 #: dpkg-statoverride.pod dpkg.cfg.pod dpkg.pod dselect.cfg.pod
857 #: update-alternatives.pod
863 msgid "I<debian/changelog>"
867 #: deb-changelog.pod deb-shlibs.pod deb-symbols.pod dpkg-architecture.pod
868 #: dpkg-buildflags.pod dpkg-divert.pod dpkg-name.pod dpkg.pod
869 #: update-alternatives.pod
877 " dpkg (1.17.18) unstable; urgency=low\n"
885 " [ Guillem Jover ]\n"
886 " * Handle empty minimum versions when initializing dependency versions,\n"
887 " as the code is mapping the minimum version 0 to '' to avoid outputting\n"
888 " useless versions. Regression introduced in dpkg 1.17.17. Closes: "
897 " [ Updated programs translations ]\n"
898 " * Catalan (Guillem Jover).\n"
906 " [ Updated dselect translations ]\n"
907 " * Catalan (Guillem Jover).\n"
908 " * German (Sven Joachim).\n"
916 " -- Guillem Jover <guillem@debian.org> Sun, 12 Oct 2014 15:47:44 +0200\n"
923 "L<deb822(5)>, L<deb-changes(5)>, L<deb-version(7)>, "
924 "L<dpkg-parsechangelog(1)>."
929 msgid "deb-changes - Debian changes file format"
934 msgid "I<filename>B<.changes>"
940 "Each Debian upload is composed of a .changes control file, which contains a "
941 "number of fields in L<deb822(5)> format."
947 "Each field begins with a tag, such as B<Source> or B<Binary> (case "
948 "insensitive), followed by a colon, and the body of the field (case sensitive "
949 "unless stated otherwise). Fields are delimited only by field tags. In "
950 "other words, field text may be multiple lines in length, but the "
951 "installation tools will generally join lines when processing the body of the "
952 "field (except in case of the multiline fields B<Description>, B<Changes>, "
953 "B<Files>, B<Checksums-Sha1> and B<Checksums-Sha256>, see below)."
959 "The value of this field declares the format version of the file. The syntax "
960 "of the field value is a version number with a major and minor component. "
961 "Backward incompatible changes to the format will bump the major version, and "
962 "backward compatible changes (such as field additions) will bump the minor "
963 "version. The current format version is B<1.8>."
968 msgid "B<Date:> I<release-date> (required)"
974 "The date the package was built or last edited. It must be in the same "
975 "format as the date in a L<deb-changelog(5)> entry."
981 "The value of this field is usually extracted from the I<debian/changelog> "
988 "The name of the source package. If the source version differs from the "
989 "binary version, then the I<source-name> will be followed by a "
990 "I<source-version> in parenthesis. This can happen when the upload is a "
991 "binary-only non-maintainer upload."
997 "This folded field is a space-separated list of binary packages to upload. "
998 "If the upload is source-only, then the field is omitted (since dpkg 1.19.3)."
1003 msgid "B<Architecture:> I<arch-list>"
1009 "Lists the architectures of the files currently being uploaded. Common "
1010 "architectures are B<amd64>, B<armel>, B<i386>, etc. Note that the B<all> "
1011 "value is meant for packages that are architecture independent. If the "
1012 "source for the package is also being uploaded, the special entry B<source> "
1013 "is also present. Architecture wildcards must never be present in the list."
1018 msgid "B<Distribution:> I<distribution>s (required)"
1024 "Lists one or more space-separated distributions where this version should be "
1025 "installed when it is uploaded to the archive."
1030 msgid "B<Urgency:> I<urgency> (recommended)"
1036 "The urgency of the upload. The currently known values, in increasing order "
1037 "of urgency, are: B<low>, B<medium>, B<high>, B<critical> and B<emergency>."
1042 msgid "B<Maintainer:> I<fullname-email> (required)"
1048 "Should be in the format “Joe Bloggs E<lt>jbloggs@example.orgE<gt>”, and is "
1049 "typically the person who created the package, as opposed to the author of "
1050 "the software that was packaged."
1055 msgid "B<Changed-By:> I<fullname-email>"
1061 "Should be in the format “Joe Bloggs E<lt>jbloggs@example.orgE<gt>”, and is "
1062 "typically the person who prepared the package changes for this release."
1067 msgid "B<Description:> (recommended)"
1072 msgid "S< >I<binary-package-name> B<-> I<binary-package-summary>"
1078 "This multiline field contains a list of binary package names followed by a "
1079 "space, a dash (‘B<->’) and their possibly truncated short descriptions. If "
1080 "the upload is source-only, then the field is omitted (since dpkg 1.19.3)."
1085 msgid "B<Closes:> I<bug-number-list>"
1091 "A space-separated list of bug report numbers for bug reports that have been "
1092 "resolved with this upload. The distribution archive software might use this "
1093 "field to automatically close the referred bug numbers in the distribution "
1094 "bug tracking system."
1099 msgid "B<Binary-Only: yes>"
1105 "This field denotes that the upload is a binary-only non-maintainer build. "
1106 "It originates from the B<binary-only=yes> key/value from the changelog "
1112 msgid "B<Built-For-Profiles:> I<profile-list>"
1118 "This field specifies a whitespace separated list of build profiles that this "
1119 "upload was built with."
1124 msgid "B<Changes:> (required)"
1129 msgid "S< >I<changelog-entries>"
1135 "This multiline field contains the concatenated text of all changelog entries "
1136 "that are part of the upload. To make this a valid multiline field empty "
1137 "lines are replaced with a single full stop (‘.’) and all lines are indented "
1138 "by one space character. The exact content depends on the changelog format."
1142 #: deb-changes.pod dsc.pod
1143 msgid "B<Files:> (required)"
1148 msgid "S< >I<md5sum> I<size> I<section> I<priority> I<filename>"
1154 "This multiline field contains a list of files with an md5sum, size, section "
1155 "and priority for each one."
1161 "The first line of the field value (the part on the same line as the field "
1162 "name followed by a colon) is always empty. The content of the field is "
1163 "expressed as continuation lines, one line per file. Each line consists of "
1164 "space-separated entries describing the file: the md5sum, the file size, the "
1165 "file section, the file priority, and the file name."
1171 "This field lists all files that make up the upload. The list of files in "
1172 "this field must match the list of files in the other related B<Checksums> "
1179 "These multiline fields contain a list of files with a checksum and size for "
1180 "each one. These fields have the same syntax and differ only in the checksum "
1181 "algorithm used: SHA-1 for B<Checksums-Sha1> and SHA-256 for "
1182 "B<Checksums-Sha256>."
1188 "These fields list all files that make up the upload. The list of files in "
1189 "these fields must match the list of files in the B<Files> field and the "
1190 "other related B<Checksums> fields."
1194 #: deb-changes.pod deb-control.pod dpkg-buildpackage.pod dpkg-deb.pod
1195 #: dpkg-name.pod dpkg-parsechangelog.pod dpkg-source.pod dpkg-split.pod
1196 #: dpkg.pod dsc.pod dselect.pod
1203 "The B<Files> field is inconsistent with the other B<Checksums> fields. The "
1204 "B<Changed-By> and B<Maintainer> fields have confusing names. The "
1205 "B<Distribution> field contains information about what is commonly referred "
1211 msgid "L<deb822(5)>, L<deb-src-control(5)>, L<deb-version(7)>."
1215 #: deb-conffiles.pod
1216 msgid "deb-conffiles - package conffiles"
1220 #: deb-conffiles.pod
1221 msgid "B<DEBIAN/conffiles>"
1225 #: deb-conffiles.pod
1227 "A package declares its list of conffiles by including a I<conffiles> file in "
1228 "its control archive (i.e. I<DEBIAN/conffiles> during package creation)."
1232 #: deb-conffiles.pod
1234 "This file contains a list of files, one per line, with an optional leading "
1235 "flag separated by whitespace. The conffiles must be listed as absolute "
1236 "pathnames. Trailing whitespace will be trimmed, but empty or "
1237 "whitespace-only lines are not accepted."
1241 #: deb-conffiles.pod
1243 "Files without a flag should exist in the binary package, otherwise "
1244 "L<dpkg(1)> will ignore them."
1248 #: deb-conffiles.pod
1250 "There is currently only one flag supported, B<remove-on-upgrade>, to mark "
1251 "that a conffile needs to be removed on the next upgrade (since dpkg "
1252 "1.20.6). These files must not exist in the binary package, as both "
1253 "L<dpkg(1)> and L<dpkg-deb(1)> will not accept building nor processing such "
1258 #: deb-conffiles.pod deb-control.pod deb-md5sums.pod deb-origin.pod
1259 #: deb-src-control.pod start-stop-daemon.pod
1264 #: deb-conffiles.pod
1267 " %CONFDIR%/alternatives/README\n"
1268 " %CONFDIR%/cron.daily/dpkg\n"
1269 " %PKGCONFDIR%/dpkg.cfg\n"
1270 " %CONFDIR%/logrotate.d/dpkg\n"
1271 " remove-on-upgrade /etc/some-old-file.conf\n"
1276 #: deb-conffiles.pod
1277 msgid "L<dpkg-deb(1)>, L<dpkg(1)>."
1282 msgid "deb-control - Debian binary packages' master control file format"
1287 msgid "B<DEBIAN/control>"
1293 "Each Debian binary package contains a B<control> file in its B<control> "
1294 "member, and its L<deb822(5)> format is a subset of the master "
1295 "B<debian/control> file in Debian source packages, see L<deb-src-control(5)>."
1301 "This file contains a number of fields. Each field begins with a tag, such "
1302 "as B<Package> or B<Version> (case insensitive), followed by a colon, and the "
1303 "body of the field (case sensitive unless stated otherwise). Fields are "
1304 "delimited only by field tags. In other words, field text may be multiple "
1305 "lines in length, but the installation tools will generally join lines when "
1306 "processing the body of the field (except in the case of the B<Description> "
1307 "field, see below)."
1312 msgid "B<Package:> I<package-name> (required)"
1316 #: deb-control.pod dsc.pod
1318 "The value of this field determines the package name, and is used to generate "
1319 "file names by most installation tools."
1323 #: deb-control.pod deb-src-control.pod
1324 msgid "B<Package-Type:> B<deb>|B<udeb>|I<type>"
1328 #: deb-control.pod deb-src-control.pod
1330 "This field defines the type of the package. B<udeb> is for size-constrained "
1331 "packages used by the debian installer. B<deb> is the default value, it is "
1332 "assumed if the field is absent. More types might be added in the future."
1338 "Typically, this is the original package's version number in whatever form "
1339 "the program's author uses. It may also include a Debian revision number (for "
1340 "non-native packages). The exact format and sorting algorithm are described "
1341 "in L<deb-version(7)>."
1345 #: deb-control.pod deb-src-control.pod dsc.pod
1346 msgid "B<Maintainer:> I<fullname-email> (recommended)"
1350 #: deb-control.pod dsc.pod
1352 "Should be in the format “Joe Bloggs E<lt>jbloggs@foo.comE<gt>”, and is "
1353 "typically the person who created the package, as opposed to the author of "
1354 "the software that was packaged."
1358 #: deb-control.pod deb-src-control.pod
1359 msgid "B<Description:> I<short-description> (recommended)"
1363 #: deb-control.pod deb-src-control.pod dsc.pod
1364 msgid "S< >I<long-description>"
1370 "The format for the package description is a short brief summary on the first "
1371 "line (after the B<Description> field). The following lines should be used as "
1372 "a longer, more detailed description. Each line of the long description must "
1373 "be preceded by a space, and blank lines in the long description must contain "
1374 "a single ‘B<.>’ following the preceding space."
1378 #: deb-control.pod deb-src-control.pod
1379 msgid "B<Section:> I<section>"
1383 #: deb-control.pod deb-src-control.pod
1385 "This is a general field that gives the package a category based on the "
1386 "software that it installs. Some common sections are B<utils>, B<net>, "
1387 "B<mail>, B<text>, B<x11>, etc."
1391 #: deb-control.pod deb-src-control.pod
1392 msgid "B<Priority:> I<priority>"
1396 #: deb-control.pod deb-src-control.pod
1398 "Sets the importance of this package in relation to the system as a whole. "
1399 "Common priorities are B<required>, B<standard>, B<optional>, B<extra>, etc."
1403 #: deb-control.pod deb-src-control.pod
1405 "The B<Section> and B<Priority> fields usually have a defined set of accepted "
1406 "values based on the specific distribution policy."
1411 msgid "B<Installed-Size:> I<size>"
1417 "The approximate total size of the package's installed files, in KiB units. "
1418 "The algorithm to compute the size is described in L<deb-substvars(5)>."
1422 #: deb-control.pod deb-src-control.pod
1423 msgid "B<Protected:> B<yes>|B<no>"
1429 "This field is usually only needed when the answer is B<yes>. It denotes a "
1430 "package that is required mostly for proper booting of the system or used for "
1431 "custom system-local meta-packages. L<dpkg(1)> or any other installation "
1432 "tool will not allow a B<Protected> package to be removed (at least not "
1433 "without using one of the force options)."
1437 #: deb-control.pod dsc.pod
1438 msgid "Supported since dpkg 1.20.1."
1442 #: deb-control.pod deb-src-control.pod
1443 msgid "B<Essential:> B<yes>|B<no>"
1449 "This field is usually only needed when the answer is B<yes>. It denotes a "
1450 "package that is required for the packaging system, for proper operation of "
1451 "the system in general or during boot (although the latter should be "
1452 "converted to B<Protected> field instead). L<dpkg(1)> or any other "
1453 "installation tool will not allow an B<Essential> package to be removed (at "
1454 "least not without using one of the force options)."
1458 #: deb-control.pod deb-src-control.pod
1459 msgid "B<Build-Essential:> B<yes>|B<no>"
1465 "This field is usually only needed when the answer is B<yes>, and is commonly "
1466 "injected by the archive software. It denotes a package that is required "
1467 "when building other packages."
1472 msgid "B<Architecture:> I<arch>|B<all> (required)"
1478 "The architecture specifies which type of hardware this package was compiled "
1479 "for. Common architectures are B<amd64>, B<armel>, B<i386>, B<powerpc>, "
1480 "etc. Note that the B<all> value is meant for packages that are architecture "
1481 "independent. Some examples of this are shell and Perl scripts, and "
1486 #: deb-control.pod deb-src-control.pod dsc.pod
1487 msgid "B<Origin:> I<name>"
1491 #: deb-control.pod deb-src-control.pod
1492 msgid "B<Bugs:> I<url>"
1498 "The I<url> of the bug tracking system for this package. The current used "
1499 "format is I<bts-type>B<://>I<bts-address>, like "
1500 "B<debbugs://bugs.debian.org>."
1504 #: deb-control.pod deb-src-control.pod dsc.pod
1505 msgid "B<Homepage:> I<url>"
1509 #: deb-control.pod dsc.pod
1510 msgid "The upstream project home page I<url>."
1514 #: deb-control.pod deb-src-control.pod
1515 msgid "B<Tag:> I<tag-list>"
1521 "List of tags describing the qualities of the package. The description and "
1522 "list of supported tags can be found in the B<debtags> package."
1527 msgid "B<Multi-Arch:> B<no>|B<same>|B<foreign>|B<allowed>"
1533 "This field is used to indicate how this package should behave on a "
1534 "multi-arch installations."
1538 #: deb-control.pod deb-src-control.pod
1545 "This value is the default when the field is omitted, in which case adding "
1546 "the field with an explicit B<no> value is generally not needed."
1557 "This package is co-installable with itself, but it must not be used to "
1558 "satisfy the dependency of any package of a different architecture from "
1570 "This package is not co-installable with itself, but should be allowed to "
1571 "satisfy a non-arch-qualified dependency of a package of a different arch "
1572 "from itself (if a dependency has an explicit arch-qualifier then the value "
1573 "B<foreign> is ignored)."
1584 "This allows reverse-dependencies to indicate in their B<Depends> field that "
1585 "they accept this package from a foreign architecture by qualifying the "
1586 "package name with B<:any>, but has no effect otherwise."
1591 msgid "B<Source:> I<source-name> [B<(>I<source-version>B<)>]"
1597 "The name of the source package that this binary package came from, if it is "
1598 "different than the name of the package itself. If the source version "
1599 "differs from the binary version, then the I<source-name> will be followed by "
1600 "a I<source-version> in parenthesis. This can happen for example on a "
1601 "binary-only non-maintainer upload, or when setting a different binary "
1602 "version via «B<dpkg-gencontrol -v>»."
1606 #: deb-control.pod deb-src-control.pod
1607 msgid "B<Subarchitecture:> I<value>"
1611 #: deb-control.pod deb-src-control.pod
1612 msgid "B<Kernel-Version:> I<value>"
1616 #: deb-control.pod deb-src-control.pod
1617 msgid "B<Installer-Menu-Item:> I<value>"
1623 "These fields are used by the debian-installer and are usually not needed. "
1624 "For more details about them, see "
1625 "L<https://salsa.debian.org/installer-team/debian-installer/-/raw/master/doc/devel/modules.txt>."
1629 #: deb-control.pod deb-src-control.pod
1630 msgid "B<Depends:> I<package-list>"
1636 "List of packages that are required for this package to provide a non-trivial "
1637 "amount of functionality. The package maintenance software will not allow a "
1638 "package to be installed if the packages listed in its B<Depends> field "
1639 "aren't installed (at least not without using the force options). In an "
1640 "installation, the postinst scripts of packages listed in B<Depends> fields "
1641 "are run before those of the packages which depend on them. On the opposite, "
1642 "in a removal, the prerm script of a package is run before those of the "
1643 "packages listed in its B<Depends> field."
1647 #: deb-control.pod deb-src-control.pod
1648 msgid "B<Pre-Depends:> I<package-list>"
1654 "List of packages that must be installed B<and> configured before this one "
1655 "can be installed. This is usually used in the case where this package "
1656 "requires another package for running its preinst script."
1660 #: deb-control.pod deb-src-control.pod
1661 msgid "B<Recommends:> I<package-list>"
1667 "Lists packages that would be found together with this one in all but unusual "
1668 "installations. The package maintenance software will warn the user if they "
1669 "install a package without those listed in its B<Recommends> field."
1673 #: deb-control.pod deb-src-control.pod
1674 msgid "B<Suggests:> I<package-list>"
1680 "Lists packages that are related to this one and can perhaps enhance its "
1681 "usefulness, but without which installing this package is perfectly "
1688 "The syntax of B<Depends>, B<Pre-Depends>, B<Recommends> and B<Suggests> "
1689 "fields is a list of groups of alternative packages. Each group is a list of "
1690 "packages separated by vertical bar (or “pipe”) symbols, ‘B<|>’. The groups "
1691 "are separated by commas. Commas are to be read as “AND”, and pipes as “OR”, "
1692 "with pipes binding more tightly. Each package name is optionally followed "
1693 "by an architecture qualifier appended after a colon ‘B<:>’, optionally "
1694 "followed by a version number specification in parentheses."
1700 "An architecture qualifier name can be a real Debian architecture name (since "
1701 "dpkg 1.16.5) or B<any> (since dpkg 1.16.2). If omitted, the default is the "
1702 "current binary package architecture. A real Debian architecture name will "
1703 "match exactly that architecture for that package name, B<any> will match any "
1704 "architecture for that package name if the package has been marked as "
1705 "B<Multi-Arch: allowed>."
1709 #: deb-control.pod deb-src-control.pod
1711 "A version number may start with a ‘B<E<gt>E<gt>>’, in which case any later "
1712 "version will match, and may specify or omit the Debian packaging revision "
1713 "(separated by a hyphen). Accepted version relationships are ‘B<E<gt>E<gt>>’ "
1714 "for greater than, ‘B<E<lt>E<lt>>’ for less than, ‘B<E<gt>=>’ for greater "
1715 "than or equal to, ‘B<E<lt>=>’ for less than or equal to, and ‘B<=>’ for "
1720 #: deb-control.pod deb-src-control.pod
1721 msgid "B<Breaks:> I<package-list>"
1727 "Lists packages that this one breaks, for example by exposing bugs when the "
1728 "named packages rely on this one. The package maintenance software will not "
1729 "allow broken packages to be configured; generally the resolution is to "
1730 "upgrade the packages named in a B<Breaks> field."
1734 #: deb-control.pod deb-src-control.pod
1735 msgid "B<Conflicts:> I<package-list>"
1741 "Lists packages that conflict with this one, for example by containing files "
1742 "with the same names. The package maintenance software will not allow "
1743 "conflicting packages to be installed at the same time. Two conflicting "
1744 "packages should each include a B<Conflicts> line mentioning the other."
1748 #: deb-control.pod deb-src-control.pod
1749 msgid "B<Replaces:> I<package-list>"
1755 "List of packages files from which this one replaces. This is used for "
1756 "allowing this package to overwrite the files of another package and is "
1757 "usually used with the B<Conflicts> field to force removal of the other "
1758 "package, if this one also has the same files as the conflicted package."
1764 "The syntax of B<Breaks>, B<Conflicts> and B<Replaces> is a list of package "
1765 "names, separated by commas (and optional whitespace). In the B<Breaks> and "
1766 "B<Conflicts> fields, the comma should be read as “OR”. An optional "
1767 "architecture qualifier can also be appended to the package name with the "
1768 "same syntax as above, but the default is B<any> instead of the binary "
1769 "package architecture. An optional version can also be given with the same "
1770 "syntax as above for the B<Breaks>, B<Conflicts> and B<Replaces> fields."
1774 #: deb-control.pod deb-src-control.pod
1775 msgid "B<Enhances:> I<package-list>"
1781 "This is a list of packages that this one enhances. It is similar to "
1782 "B<Suggests> but in the opposite direction."
1786 #: deb-control.pod deb-src-control.pod
1787 msgid "B<Provides:> I<package-list>"
1793 "This is a list of virtual packages that this one provides. Usually this is "
1794 "used in the case of several packages all providing the same service. For "
1795 "example, sendmail and exim can serve as a mail server, so they provide a "
1796 "common package (“mail-transport-agent”) on which other packages can depend. "
1797 "This will allow sendmail or exim to serve as a valid option to satisfy the "
1798 "dependency. This prevents the packages that depend on a mail server from "
1799 "having to know the package names for all of them, and using ‘B<|>’ to "
1800 "separate the list."
1806 "The syntax of B<Provides> is a list of package names, separated by commas "
1807 "(and optional whitespace). An optional architecture qualifier can also be "
1808 "appended to the package name with the same syntax as above. If omitted, the "
1809 "default is the current binary package architecture. An optional exact "
1810 "(equal to) version can also be given with the same syntax as above (honored "
1811 "since dpkg 1.17.11)."
1815 #: deb-control.pod deb-src-control.pod
1816 msgid "B<Built-Using:> I<package-list>"
1822 "This dependency field lists extra source packages that were used during the "
1823 "build of this binary package, for license compliance purposes. This is an "
1824 "indication to the archive maintenance software that these extra source "
1825 "packages must be kept whilst this binary package is maintained. This field "
1826 "must be a comma-separated list of source package names with strict ‘B<=>’ "
1827 "version relationships enclosed within parenthesis. Note that the archive "
1828 "maintenance software is likely to refuse to accept an upload which declares "
1829 "a B<Built-Using> relationship which cannot be satisfied within the archive."
1833 #: deb-control.pod deb-src-control.pod
1834 msgid "B<Static-Built-Using:> I<package-list>"
1840 "This dependency field lists extra source packages that were used during the "
1841 "build of this binary package, for static building purposes (for example "
1842 "linking against static libraries, builds for source-centered languages such "
1843 "as Go or Rust, usage of header-only C/C++ libraries, injecting data blobs "
1844 "into code, etc.). This is useful to track whether this package might need "
1845 "to be rebuilt when source packages listed here have been updated, for "
1846 "example due to security updates. This field must be a comma-separated list "
1847 "of source package names with strict ‘B<=>’ version relationships enclosed "
1848 "within parenthesis."
1853 msgid "Supported since dpkg 1.21.3."
1858 msgid "B<Built-For-Profiles:> I<profile-list> (obsolete)"
1864 "This field used to specify a whitespace separated list of build profiles "
1865 "that this binary packages was built with (since dpkg 1.17.2 until 1.18.18). "
1866 "The information previously found in this field can now be found in the "
1867 "B<.buildinfo> file, which supersedes it."
1872 msgid "B<Auto-Built-Package:> I<reason-list>"
1878 "This field specifies a whitespace separated list of reasons why this package "
1879 "was auto-generated. Binary packages marked with this field will not appear "
1880 "in the I<debian/control> master source control file. The only currently "
1881 "used reason is B<debug-symbols>."
1886 msgid "B<Build-Ids:> I<elf-build-id-list>"
1892 "This field specifies a whitespace separated list of ELF build-ids. These are "
1893 "unique identifiers for semantically identical ELF objects, for each of these "
1894 "within the package."
1899 msgid "The format or the way to compute each build-id is not defined by design."
1908 " Priority: required\n"
1910 " Maintainer: Wichert Akkerman <wakkerma@debian.org>\n"
1911 " Architecture: sparc\n"
1913 " Pre-Depends: libc6 (>= 2.0.105)\n"
1914 " Provides: rgrep\n"
1915 " Conflicts: rgrep\n"
1916 " Description: GNU grep, egrep and fgrep.\n"
1917 " The GNU family of grep utilities may be the \"fastest grep in the "
1919 " GNU grep is based on a fast lazy-state deterministic matcher (about\n"
1920 " twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper\n"
1921 " search for a fixed string that eliminates impossible text from being\n"
1922 " considered by the full regexp matcher without necessarily having to\n"
1923 " look at every character. The result is typically many times faster\n"
1924 " than Unix grep or egrep. (Regular expressions containing backreferencing\n"
1925 " will run more slowly, however).\n"
1932 "The B<Build-Ids> field uses a rather generic name out of its original "
1933 "context within an ELF object, which serves a very specific purpose and "
1934 "executable format."
1940 "L<deb822(5)>, L<deb-src-control(5)>, L<deb(5)>, L<deb-version(7)>, "
1941 "L<debtags(1)>, L<dpkg(1)>, L<dpkg-deb(1)>."
1945 #: deb-extra-override.pod
1946 msgid "deb-extra-override - Debian archive extra override file"
1950 #: deb-extra-override.pod deb-override.pod
1955 #: deb-extra-override.pod
1957 "While most information about a binary/source package can be found in the "
1958 "control/.dsc file, all of it can be overridden when it's exported to "
1959 "Packages/Sources files. The extra override file contains those overrides."
1963 #: deb-extra-override.pod
1965 "The extra override file has a simple whitespace-delimited format. Comments "
1966 "are allowed (denoted with a B<#>)."
1970 #: deb-extra-override.pod
1971 msgid "I<package> I<field-name> I<value>"
1975 #: deb-extra-override.pod
1976 msgid "I<package> is the name of the binary/source package."
1980 #: deb-extra-override.pod
1981 msgid "I<field-name> is the name of the field that is overridden."
1985 #: deb-extra-override.pod
1987 "I<value> is the value to put in the field. It can contain spaces as the line "
1988 "is split in no more than 3 columns when it's parsed."
1992 #: deb-extra-override.pod
1994 "The extra override files used to make the official Packages lists may be "
1995 "found in the I<indices> directory on any Debian mirror."
1999 #: deb-extra-override.pod deb-override.pod
2000 msgid "L<dpkg-scanpackages(1)>, L<dpkg-scansources(1)>, L<apt-ftparchive(1)>."
2005 msgid "deb-md5sums - package MD5 file digests"
2010 msgid "B<DEBIAN/md5sums>"
2016 "A package declares the MD5 digests for the package file contents by "
2017 "including an I<md5sums> file in its control archive (i.e. I<DEBIAN/md5sums> "
2018 "during package creation). This file is used for integrity verification and "
2019 "deduplication purposes, and not for any kind of security purpose."
2025 "This file contains a list of MD5 digests (as 32 case-insensitive hexadecimal "
2026 "characters) followed by two spaces (U+0020 B<SPACE>) and the absolute "
2027 "pathname of a plain file, one per line."
2033 "Trailing slashes (U+002F B</>) in the pathname will be trimmed. Neither "
2034 "trailing whitespace nor empty or whitespace-only lines are accepted."
2040 "If the control file does not exist in the binary package, L<dpkg(1)> will "
2041 "generate the matching information at unpack time (since B<dpkg> 1.16.3)."
2048 " 53c0d4afe4bc4eccb5cb234d2e06ef4d usr/bin/dpkg\n"
2049 " f8da2bc74cdcad8b81c48a4f0d7bb0a8 usr/bin/dpkg-deb\n"
2050 " 70b913132de56e95e75de504979309b4 usr/bin/dpkg-divert\n"
2057 msgid "L<md5sum(1)>, L<dpkg-deb(1)>, L<dpkg(1)>."
2062 msgid "deb-old - old style Debian binary package format"
2066 #: deb-old.pod deb-split.pod deb.pod
2067 msgid "I<filename>B<.deb>"
2073 "The B<.deb> format is the Debian binary package file format. This manual "
2074 "page describes the B<old> format, used before Debian 0.93. Please see "
2075 "L<deb(5)> for details of the new format."
2079 #: deb-old.pod deb-split.pod deb.pod
2086 "The file is two lines of format information as ASCII text, followed by two "
2087 "concatenated gzipped ustar files."
2093 "The first line is the format version number padded to 8 digits, and is "
2094 "B<0.939000> for all old-format archives."
2100 "The second line is a decimal string (without leading zeroes) giving the "
2101 "length of the first gzipped tarfile."
2106 msgid "Each of these lines is terminated with a single newline character."
2112 "The first tarfile contains the control information, as a series of ordinary "
2113 "files. The file B<control> must be present, as it contains the core control "
2120 "In some very old archives, the files in the control tarfile may optionally "
2121 "be in a B<DEBIAN> subdirectory. In that case, the B<DEBIAN> subdirectory "
2122 "will be in the control tarfile too, and the control tarfile will have only "
2123 "files in that directory. Optionally the control tarfile may contain an entry "
2124 "for ‘B<.>’, that is, the current directory."
2130 "The second gzipped tarfile is the filesystem archive, containing pathnames "
2131 "relative to the root directory of the system to be installed on. The "
2132 "pathnames do not have leading slashes."
2137 msgid "L<deb(5)>, L<deb-control(5)>, L<dpkg-deb(1)>."
2142 msgid "deb-origin - Vendor-specific information files"
2147 msgid "B<%PKGCONFDIR%/origins/>I<filename>"
2153 "The files in B<%PKGCONFDIR%/origins> can provide information about various "
2154 "vendors who are providing Debian packages."
2160 "They contain a number of fields, or comments when the line starts with "
2161 "‘B<#>’. Each field begins with a tag, such as B<Vendor> or B<Parent>, "
2162 "followed by a colon and the body of the field. Fields are delimited only by "
2163 "field tags. In other words, field text may be multiple lines in length, but "
2164 "the tools will join lines when processing the body of the field."
2170 "The file should be named according to the vendor name. The usual convention "
2171 "is to name the vendor file using the vendor name in all lowercase, but some "
2172 "variation is permitted."
2178 "Namely (since dpkg 1.21.10), first, non-alphanumeric characters "
2179 "(‘B<[^A-Za-z0-9]>’) are mapped to dashes (‘B<->’), then the resulting name "
2180 "will be tried in sequence by lower-casing it, keeping it as is, lower-casing "
2181 "then capitalizing it (that is upper-casing the first character), and only "
2188 "In addition, for historical and backwards compatibility, the name will be "
2189 "tried keeping it as is without non-alphanumeric characters remapping, then "
2190 "the resulting name will be tried in sequence by lower-casing it, keeping it "
2191 "as is, lower-casing then capitalizing it, and only capitalizing it. And "
2192 "finally the name will be tried by remapping spaces to dashes (‘B<->’), then "
2193 "the resulting name will be tried in sequence by lower-casing it, keeping it "
2194 "as is, lower-casing then capitalizing it, and only capitalizing it."
2200 "But these backwards compatible module lookups will be removed during the "
2201 "dpkg 1.22.x release cycle."
2206 msgid "B<Vendor:> I<vendor-name> (required)"
2211 msgid "The value of this field determines the vendor name."
2216 msgid "B<Vendor-URL:> I<vendor-url>"
2221 msgid "The value of this field determines the vendor URL."
2226 msgid "B<Bugs:> I<bug-url>"
2232 "The value of this field determines the type and address of the bug tracking "
2233 "system used by this vendor. It can be a mailto URL or a debbugs URL (e.g., "
2234 "debbugs://bugs.debian.org/)."
2239 msgid "B<Parent:> I<vendor-name>"
2245 "The value of this field determines the vendor name of the vendor that this "
2246 "vendor derives from."
2254 " Vendor-URL: https://www.debian.org/\n"
2255 " Bugs: debbugs://bugs.debian.org\n"
2261 msgid "L<dpkg-vendor(1)>."
2266 msgid "deb-override - Debian archive override file"
2272 "While most information about a package can be found in the control file, "
2273 "some is managed centrally by the distribution czars rather than by the "
2274 "maintainer in order to offer some global consistency. This information is "
2275 "found in the override file."
2281 "The override file has a simple whitespace-delimited format. Comments are "
2282 "allowed (denoted with a B<#>)."
2287 msgid "I<package> I<priority> I<section> [I<maintainer-info>]"
2293 "I<package> is the name of the package. Entries in the override file for "
2294 "packages not found in the tree of binary packages are ignored."
2300 "I<priority> and I<section> correspond to the respective control fields "
2301 "available in the .deb. The allowed values are specific to each distribution "
2308 "I<maintainer-info>, if present, can be either the name of a maintainer for "
2309 "an unconditional override, or else I<old-maintainer> B<=E<gt>> "
2310 "I<new-maintainer> to perform a substitution."
2316 "The override files used to make the official Packages lists may be found in "
2317 "the I<indices> directory on any Debian mirror."
2322 msgid "deb-postinst - package post-installation maintainer script"
2327 msgid "B<DEBIAN/postinst>"
2333 "A package can perform several post-installation actions via maintainer "
2334 "scripts, by including an executable I<postinst> file in its control archive "
2335 "(i.e. I<DEBIAN/postinst> during package creation)."
2339 #: deb-postinst.pod deb-postrm.pod deb-preinst.pod deb-prerm.pod
2340 msgid "The script can be called in the following ways:"
2345 msgid "I<postinst> B<configure> I<old-version>"
2350 msgid "After the package was installed."
2355 msgid "I<postinst> B<triggered> \"I<trigger-name...>\""
2361 "After the package was triggered. The list of space-separated "
2362 "I<trigger-name>s is passed as the second argument."
2367 msgid "I<old-postinst> B<abort-upgrade> I<new-version>"
2372 msgid "If I<prerm> fails during B<upgrade> or fails on B<failed-upgrade>."
2377 msgid "I<old-postinst> B<abort-remove>"
2382 msgid "If I<prerm> fails during B<remove>."
2387 msgid "I<postinst> B<abort-deconfigure> B<in-favour> I<new-package> I<new-version>"
2391 #: deb-postinst.pod deb-prerm.pod
2392 msgid "S< >[ B<removing> I<old-package> I<old-version> ]"
2397 msgid "If I<prerm> fails during B<deconfigure in-favour> of a package."
2402 msgid "I<postinst> B<abort-remove> B<in-favour> I<new-package> I<new-version>"
2408 "If I<prerm> fails during B<remove in-favour> for replacement due to "
2413 #: deb-postinst.pod deb-postrm.pod deb-preinst.pod deb-prerm.pod
2414 #: dpkg-divert.pod dpkg-query.pod dpkg-statoverride.pod dpkg.cfg.pod
2420 msgid "deb-postrm - package post-removal maintainer script"
2425 msgid "B<DEBIAN/postrm>"
2431 "A package can perform several post-removal actions via maintainer scripts, "
2432 "by including an executable I<postrm> file in its control archive "
2433 "(i.e. I<DEBIAN/postrm> during package creation)."
2438 msgid "I<postrm> B<remove>"
2443 msgid "After the package was removed."
2448 msgid "I<postrm> B<purge>"
2453 msgid "After the package was purged."
2458 msgid "I<old-postrm> B<upgrade> I<new-version>"
2463 msgid "After the package was upgraded."
2468 msgid "I<new-postrm> B<failed-upgrade> I<old-version> I<new-version>"
2473 msgid "If the above B<upgrade> call fails."
2477 #: deb-postrm.pod deb-preinst.pod deb-prerm.pod
2478 msgid "The I<new-version> is passed only since dpkg 1.18.5."
2483 msgid "I<postrm> B<disappear> I<overwriter-package> I<overwriter-version>"
2488 msgid "After all of the packages files have been replaced."
2493 msgid "I<new-postrm> B<abort-install>"
2498 msgid "If I<preinst> fails during B<install>."
2503 msgid "I<new-postrm> B<abort-install> I<old-version> I<new-version>"
2508 msgid "If I<preinst> fails during B<install> for an upgrade of a removed package."
2513 msgid "I<new-postrm> B<abort-upgrade> I<old-version> I<new-version>"
2518 msgid "If I<preinst> fails during B<upgrade>."
2523 msgid "deb-preinst - package pre-installation maintainer script"
2528 msgid "B<DEBIAN/preinst>"
2534 "A package can perform several pre-installation actions via maintainer "
2535 "scripts, by including an executable I<preinst> file in its control archive "
2536 "(i.e. I<DEBIAN/preinst> during package creation)."
2541 msgid "I<new-preinst> B<install>"
2546 msgid "Before the package is installed."
2551 msgid "I<new-preinst> B<install> I<old-version> I<new-version>"
2556 msgid "Before a removed package is upgraded."
2561 msgid "I<new-preinst> B<upgrade> I<old-version> I<new-version>"
2566 msgid "Before the package is upgraded."
2571 msgid "I<old-preinst> B<abort-upgrade> I<new-version>"
2576 msgid "If I<postrm> fails during upgrade or fails on failed upgrade."
2581 msgid "deb-prerm - package pre-removal maintainer script"
2586 msgid "B<DEBIAN/prerm>"
2592 "A package can perform several pre-removal actions via maintainer scripts, by "
2593 "including an executable I<prerm> file in its control archive "
2594 "(i.e. I<DEBIAN/prerm> during package creation)."
2599 msgid "I<prerm> B<remove>"
2604 msgid "Before the package is removed."
2609 msgid "I<old-prerm> B<upgrade> I<new-version>"
2614 msgid "Before an upgrade."
2619 msgid "I<new-prerm> B<failed-upgrade> I<old-version> I<new-version>"
2624 msgid "If the above B<upgrade> fails."
2629 msgid "I<prerm> B<deconfigure> B<in-favour> I<new-package> I<new-version>"
2634 msgid "Before package is deconfigured while dependency is replaced due to conflict."
2639 msgid "I<prerm> B<remove> B<in-favour> I<new-package> I<new-version>"
2644 msgid "Before the package is replaced due to conflict."
2649 msgid "deb-shlibs - Debian shared library information file"
2654 msgid "B<debian/shlibs>, B<debian/>I<binary-name>B<.shlibs>, B<DEBIAN/shlibs>"
2660 "B<shlibs> files map shared library names and versions (I<SONAMEs>) to "
2661 "dependencies suitable for a package control file. There is one entry per "
2662 "line. Blank lines are B<not> allowed. Lines beginning with a B<#> character "
2663 "are considered commentary, and are ignored. All other lines must have the "
2669 msgid "[I<type>B<:>] I<library> I<version> I<dependencies>"
2675 "The I<library> and I<version> fields are whitespace-delimited, but the "
2676 "I<dependencies> field extends to the end of the line. The I<type> field is "
2677 "optional and normally not needed."
2683 "The I<dependencies> field has the same syntax as the B<Depends> field in a "
2684 "binary control file, see L<deb-control(5)>."
2689 msgid "SONAME FORMATS"
2694 msgid "The SONAME formats supported are:"
2699 msgid "I<name>.so.I<version>"
2709 msgid "I<name>-I<version>.so"
2714 msgid "where I<name> is usually prefixed by B<lib>."
2720 "The former tends to be used by shared libraries with stable interfaces. The "
2721 "latter by shared libraries with unstable interfaces, where the whole version "
2722 "becomes part of the SONAME and needs to be specified in full when linking "
2723 "against those libraries."
2729 "The B<shlibs> file for a typical library package, named I<libcrunch1>, that "
2730 "provides one library whose SONAME is I<libcrunch.so.1>, might read"
2737 " libcrunch 1 libcrunch1 (>= 1.2-1)\n"
2744 "The I<dependencies> must mention the most recent version of the package that "
2745 "added new symbols to the library: in the above example, new symbols were "
2746 "added to version 1.2 of I<libcrunch>. This is not the only reason the "
2747 "dependencies might need to be tightened."
2752 msgid "L<deb-control(5)>, L<deb-symbols(5)>, L<dpkg-shlibdeps(1)>."
2757 msgid "deb-split - Debian multi-part binary package format"
2763 "The multi-part B<.deb> format is used to split big packages into smaller "
2764 "pieces to ease transport in small media."
2770 "The file is an B<ar> archive with a magic value of B<!E<lt>archE<gt>>. The "
2771 "file names might contain a trailing slash (since dpkg 1.15.6)."
2777 "The first member is named B<debian-split> and contains a series of lines, "
2778 "separated by newlines. Currently eight lines are present:"
2782 #: deb-split.pod deb-src-symbols.pod dpkg-build-api.pod dpkg-fsys-usrunmess.pod
2783 #: dpkg-gensymbols.pod dselect.pod
2789 msgid "The format version number, B<2.1> at the time this manual page was written."
2794 msgid "The package name."
2799 msgid "The package version."
2804 msgid "The md5sum of the package."
2809 msgid "The total size of the package."
2814 msgid "The maximum part size."
2820 "The current part number, followed by a slash and the total amount of parts "
2826 msgid "The package architecture (since dpkg 1.16.1)."
2832 "Programs which read multi-part archives should be prepared for the minor "
2833 "format version number to be increased and additional lines to be present, "
2834 "and should ignore these if this is the case."
2840 "If the major format version number has changed, an incompatible change has "
2841 "been made and the program should stop. If it has not, then the program "
2842 "should be able to safely continue, unless it encounters an unexpected member "
2843 "in the archive (except at the end), as described below."
2849 "The second, last required member is named B<data.>I<N>, where I<N> denotes "
2850 "the part number. It contains the raw part data."
2856 "These members must occur in this exact order. Current implementations should "
2857 "ignore any additional members after B<data.>I<N>. Further members may be "
2858 "defined in the future, and (if possible) will be placed after these two."
2863 msgid "L<deb(5)>, L<dpkg-split(1)>."
2867 #: deb-src-control.pod
2868 msgid "deb-src-control - Debian source packages' master control file format"
2872 #: deb-src-control.pod dpkg-gencontrol.pod
2873 msgid "B<debian/control>"
2877 #: deb-src-control.pod
2879 "Each Debian source package contains the master «B<debian/control>» file, and "
2880 "its L<deb822(5)> format is a superset of the B<control> file shipped in "
2881 "Debian binary packages, see L<deb-control(5)>."
2885 #: deb-src-control.pod
2887 "This file contains at least 2 stanzas, separated by a blank line. The first "
2888 "stanza lists all information about the source package in general, while each "
2889 "following stanza describes exactly one binary package. Each stanza consists "
2890 "of at least one field. A field starts with a field name, such as B<Package> "
2891 "or B<Section> (case insensitive), followed by a colon, the body of the field "
2892 "(case sensitive unless stated otherwise) and a newline. Multi-line fields "
2893 "are also allowed, but each supplementary line, without a field name, should "
2894 "start with at least one space. The content of the multi-line fields is "
2895 "generally joined to a single line by the tools (except in the case of the "
2896 "B<Description> field, see below). To insert empty lines into a multi-line "
2897 "field, insert a dot after the space. Lines starting with a ‘B<#>’ are "
2898 "treated as comments."
2902 #: deb-src-control.pod
2903 msgid "SOURCE FIELDS"
2907 #: deb-src-control.pod
2908 msgid "B<Source:> I<source-package-name> (required)"
2912 #: deb-src-control.pod
2914 "The value of this field is the name of the source package, and should match "
2915 "the name of the source package in the debian/changelog file. A package name "
2916 "must consist only of lowercase letters (a-z), digits (0-9), plus (+) and "
2917 "minus (-) signs, and periods (.). Package names must be at least two "
2918 "characters long and must start with a lowercase alphanumeric character "
2923 #: deb-src-control.pod
2925 "Should be in the format «Joe Bloggs E<lt>jbloggs@foo.comE<gt>», and "
2926 "references the person who currently maintains the package, as opposed to the "
2927 "author of the software or the original packager."
2931 #: deb-src-control.pod
2932 msgid "B<Uploaders:> I<fullname-email>"
2936 #: deb-src-control.pod dsc.pod
2938 "Lists all the names and email addresses of co-maintainers of the package, in "
2939 "the same format as the B<Maintainer> field. Multiple co-maintainers should "
2940 "be separated by a comma."
2944 #: deb-src-control.pod
2945 msgid "B<Standards-Version:> I<version-string>"
2949 #: deb-src-control.pod dsc.pod
2951 "This documents the most recent version of the distribution policy standards "
2952 "this package complies with."
2956 #: deb-src-control.pod dsc.pod
2957 msgid "B<Description> I<short-description>"
2961 #: deb-src-control.pod dsc.pod
2963 "The format for the source package description is a short brief summary on "
2964 "the first line (after the B<Description> field). The following lines should "
2965 "be used as a longer, more detailed description. Each line of the long "
2966 "description must be preceded by a space, and blank lines in the long "
2967 "description must contain a single ‘B<.>’ following the preceding space."
2971 #: deb-src-control.pod
2972 msgid "The upstream project home page URL."
2976 #: deb-src-control.pod
2978 "The I<url> of the bug tracking system for this package. The current used "
2979 "format is I<bts-type>B<://>I<bts-address>, like "
2980 "B<debbugs://bugs.debian.org>. This field is usually not needed."
2984 #: deb-src-control.pod
2985 msgid "B<Rules-Requires-Root:> B<no>|B<binary-targets>|I<impl-keywords>"
2989 #: deb-src-control.pod
2991 "This field is used to indicate whether the B<debian/rules> file requires "
2992 "(fake)root privileges to run some of its targets, and if so when."
2996 #: deb-src-control.pod
2997 msgid "The binary targets will not require (fake)root at all."
3001 #: deb-src-control.pod
3002 msgid "B<binary-targets>"
3006 #: deb-src-control.pod
3008 "The binary targets must always be run under (fake)root. This value is the "
3009 "default when the field is omitted; adding the field with an explicit "
3010 "B<binary-targets> while not strictly needed, marks it as having been "
3011 "analyzed for this requirement."
3015 #: deb-src-control.pod
3016 msgid "I<impl-keywords>"
3020 #: deb-src-control.pod
3022 "This is a space-separated list of keywords which define when (fake)root is "
3027 #: deb-src-control.pod
3029 "Keywords consist of I<namespace>/I<cases>. The I<namespace> part cannot "
3030 "contain \"/\" or whitespace. The I<cases> part cannot contain whitespace. "
3031 "Furthermore, both parts must consist entirely of printable ASCII characters."
3035 #: deb-src-control.pod
3037 "Each tool/package will define a namespace named after itself and provide a "
3038 "number of cases where (fake)root is required. (See \"Implementation "
3039 "provided keywords\" in I<rootless-builds.txt>)."
3043 #: deb-src-control.pod
3045 "When the field is set to one of the I<impl-keywords>, the builder will "
3046 "expose an interface that is used to run a command under (fake)root. (See "
3047 "\"Gain Root API\" in I<rootless-builds.txt>.)"
3051 #: deb-src-control.pod dsc.pod
3052 msgid "B<Testsuite:> I<name-list>"
3056 #: deb-src-control.pod dsc.pod
3057 msgid "B<Testsuite-Triggers:> I<package-list>"
3061 #: deb-src-control.pod
3063 "These fields are described in the L<dsc(5)> manual page, as they are "
3064 "generated from information inferred from B<debian/tests/control> or copied "
3065 "literally to the source control file."
3069 #: deb-src-control.pod dsc.pod
3070 msgid "B<Vcs-Arch:> I<url>"
3074 #: deb-src-control.pod dsc.pod
3075 msgid "B<Vcs-Bzr:> I<url>"
3079 #: deb-src-control.pod dsc.pod
3080 msgid "B<Vcs-Cvs:> I<url>"
3084 #: deb-src-control.pod dsc.pod
3085 msgid "B<Vcs-Darcs:> I<url>"
3089 #: deb-src-control.pod dsc.pod
3090 msgid "B<Vcs-Git:> I<url>"
3094 #: deb-src-control.pod dsc.pod
3095 msgid "B<Vcs-Hg:> I<url>"
3099 #: deb-src-control.pod dsc.pod
3100 msgid "B<Vcs-Mtn:> I<url>"
3104 #: deb-src-control.pod dsc.pod
3105 msgid "B<Vcs-Svn:> I<url>"
3109 #: deb-src-control.pod
3111 "The I<url> of the Version Control System repository used to maintain this "
3112 "package. Currently supported are B<Arch>, B<Bzr> (Bazaar), B<Cvs>, B<Darcs>, "
3113 "B<Git>, B<Hg> (Mercurial), B<Mtn> (Monotone) and B<Svn> "
3114 "(Subversion). Usually this field points to the latest version of the "
3115 "package, such as the main branch or the trunk."
3119 #: deb-src-control.pod dsc.pod
3120 msgid "B<Vcs-Browser:> I<url>"
3124 #: deb-src-control.pod dsc.pod
3126 "The I<url> of a web interface to browse the Version Control System "
3131 #: deb-src-control.pod
3133 "The name of the distribution this package is originating from. This field is "
3134 "usually not needed."
3138 #: deb-src-control.pod dsc.pod
3139 msgid "B<Build-Depends:> I<package-list>"
3143 #: deb-src-control.pod
3145 "A list of packages that need to be installed and configured to be able to "
3146 "build from source package. These dependencies need to be satisfied when "
3147 "building binary architecture dependent or independent packages and source "
3148 "packages. Including a dependency in this field does not have the exact same "
3149 "effect as including it in both B<Build-Depends-Arch> and "
3150 "B<Build-Depends-Indep>, because the dependency also needs to be satisfied "
3151 "when building the source package."
3155 #: deb-src-control.pod dsc.pod
3156 msgid "B<Build-Depends-Arch:> I<package-list>"
3160 #: deb-src-control.pod
3162 "Same as B<Build-Depends>, but they are only needed when building the "
3163 "architecture dependent packages. The B<Build-Depends> are also installed in "
3164 "this case. This field is supported since dpkg 1.16.4; in order to build with "
3165 "older dpkg versions, B<Build-Depends> should be used instead."
3169 #: deb-src-control.pod dsc.pod
3170 msgid "B<Build-Depends-Indep:> I<package-list>"
3174 #: deb-src-control.pod
3176 "Same as B<Build-Depends>, but they are only needed when building the "
3177 "architecture independent packages. The B<Build-Depends> are also installed "
3182 #: deb-src-control.pod dsc.pod
3183 msgid "B<Build-Conflicts:> I<package-list>"
3187 #: deb-src-control.pod
3189 "A list of packages that should not be installed when the package is built, "
3190 "for example because they interfere with the build system used. Including a "
3191 "dependency in this list has the same effect as including it in both "
3192 "B<Build-Conflicts-Arch> and B<Build-Conflicts-Indep>, with the additional "
3193 "effect of being used for source-only builds."
3197 #: deb-src-control.pod dsc.pod
3198 msgid "B<Build-Conflicts-Arch:> I<package-list>"
3202 #: deb-src-control.pod
3204 "Same as B<Build-Conflicts>, but only when building the architecture "
3205 "dependent packages. This field is supported since dpkg 1.16.4; in order to "
3206 "build with older dpkg versions, B<Build-Conflicts> should be used instead."
3210 #: deb-src-control.pod dsc.pod
3211 msgid "B<Build-Conflicts-Indep:> I<package-list>"
3215 #: deb-src-control.pod
3217 "Same as B<Build-Conflicts>, but only when building the architecture "
3218 "independent packages."
3222 #: deb-src-control.pod
3224 "The syntax of the B<Build-Depends>, B<Build-Depends-Arch> and "
3225 "B<Build-Depends-Indep> fields is a list of groups of alternative packages. "
3226 "Each group is a list of packages separated by vertical bar (or “pipe”) "
3227 "symbols, ‘B<|>’. The groups are separated by commas ‘B<,>’, and can end "
3228 "with a trailing comma that will be eliminated when generating the fields for "
3229 "L<deb-control(5)> (since dpkg 1.10.14). Commas are to be read as “AND”, and "
3230 "pipes as “OR”, with pipes binding more tightly. Each package name is "
3231 "optionally followed by an architecture qualifier appended after a colon "
3232 "‘B<:>’, optionally followed by a version number specification in parentheses "
3233 "‘B<(>’ and ‘B<)>’, an architecture specification in square brackets ‘B<[>’ "
3234 "and ‘B<]>’, and a restriction formula consisting of one or more lists of "
3235 "profile names in angle brackets ‘B<E<lt>>’ and ‘B<E<gt>>’."
3239 #: deb-src-control.pod
3241 "The syntax of the B<Build-Conflicts>, B<Build-Conflicts-Arch> and "
3242 "B<Build-Conflicts-Indep> fields is a list of comma-separated package names, "
3243 "where the comma is read as an “AND”, and where the list can end with a "
3244 "trailing comma that will be eliminated when generating the fields for "
3245 "L<deb-control(5)> (since dpkg 1.10.14). Specifying alternative packages "
3246 "using a “pipe” is not supported. Each package name is optionally followed "
3247 "by a version number specification in parentheses, an architecture "
3248 "specification in square brackets, and a restriction formula consisting of "
3249 "one or more lists of profile names in angle brackets."
3253 #: deb-src-control.pod
3255 "An architecture qualifier name can be a real Debian architecture name (since "
3256 "dpkg 1.16.5), B<any> (since dpkg 1.16.2) or B<native> (since dpkg 1.16.5). "
3257 "If omitted, the default for B<Build-Depends> fields is the current host "
3258 "architecture, the default for B<Build-Conflicts> fields is B<any>. A real "
3259 "Debian architecture name will match exactly that architecture for that "
3260 "package name, B<any> will match any architecture for that package name if "
3261 "the package is marked with B<Multi-Arch: allowed>, and B<native> will match "
3262 "the current build architecture if the package is not marked with "
3263 "B<Multi-Arch: foreign>."
3267 #: deb-src-control.pod
3269 "An architecture specification consists of one or more architecture names, "
3270 "separated by whitespace. Exclamation marks may be prepended to each of the "
3271 "names, meaning “NOT”."
3275 #: deb-src-control.pod
3277 "A restriction formula consists of one or more restriction lists, separated "
3278 "by whitespace. Each restriction list is enclosed in angle brackets. Items in "
3279 "the restriction list are build profile names, separated by whitespace and "
3280 "can be prefixed with an exclamation mark, meaning “NOT”. A restriction "
3281 "formula represents a disjunctive normal form expression."
3285 #: deb-src-control.pod
3287 "Note that dependencies on packages in the B<build-essential> set can be "
3288 "omitted and that declaring build conflicts against them is impossible. A "
3289 "list of these packages is in the build-essential package."
3293 #: deb-src-control.pod
3294 msgid "BINARY FIELDS"
3298 #: deb-src-control.pod
3300 "Note that the B<Priority>, B<Section> and B<Homepage> fields can also be in "
3301 "a binary stanza to override the global value from the source package."
3305 #: deb-src-control.pod
3306 msgid "B<Package:> I<binary-package-name> (required)"
3310 #: deb-src-control.pod
3312 "This field is used to name the binary package name. The same restrictions as "
3313 "to a source package name apply."
3317 #: deb-src-control.pod
3318 msgid "B<Architecture:> I<arch>|B<all>|B<any> (required)"
3322 #: deb-src-control.pod
3324 "The architecture specifies on which type of hardware this package runs. For "
3325 "packages that run on all architectures, use the B<any> value. For packages "
3326 "that are architecture independent, such as shell and Perl scripts or "
3327 "documentation, use the B<all> value. To restrict the packages to a certain "
3328 "set of architectures, specify the architecture names, separated by a "
3329 "space. It's also possible to put architecture wildcards in that list (see "
3330 "L<dpkg-architecture(1)> for more information about them)."
3334 #: deb-src-control.pod
3335 msgid "B<Build-Profiles:> I<restriction-formula>"
3339 #: deb-src-control.pod
3341 "This field specifies the conditions for which this binary package does or "
3342 "does not build. To express that condition, the same restriction formula "
3343 "syntax from the B<Build-Depends> field is used (including the angle "
3348 #: deb-src-control.pod
3350 "If a binary package stanza does not contain this field, then it implicitly "
3351 "means that it builds with all build profiles (including none at all)."
3355 #: deb-src-control.pod
3357 "In other words, if a binary package stanza is annotated with a non-empty "
3358 "B<Build-Profiles> field, then this binary package is generated if and only "
3359 "if the condition expressed by the conjunctive normal form expression "
3360 "evaluates to true."
3364 #: deb-src-control.pod
3365 msgid "B<Multi-Arch:> B<same>|B<foreign>|B<allowed>|B<no>"
3369 #: deb-src-control.pod
3371 "These fields are described in the L<deb-control(5)> manual page, as they are "
3372 "copied literally to the control file of the binary package."
3376 #: deb-src-control.pod
3378 "These fields declare relationships between packages. They are discussed in "
3379 "the L<deb-control(5)> manual page. When these fields are found in "
3380 "I<debian/control> they can also end with a trailing comma (since dpkg "
3381 "1.10.14), have architecture specifications and restriction formulas which "
3382 "will all get reduced when generating the fields for L<deb-control(5)>."
3386 #: deb-src-control.pod
3388 "These fields are used by the debian-installer in B<udeb>s and are usually "
3389 "not needed. For more details about them, see "
3390 "L<https://salsa.debian.org/installer-team/debian-installer/-/raw/master/doc/devel/modules.txt>."
3394 #: deb-src-control.pod
3395 msgid "USER-DEFINED FIELDS"
3399 #: deb-src-control.pod
3401 "It is allowed to add additional user-defined fields to the control file. The "
3402 "tools will ignore these fields. If you want the fields to be copied over to "
3403 "the output files, such as the binary packages, you need to use a custom "
3404 "naming scheme: the fields should start with an B<X>, followed by zero or "
3405 "more of the letters B<SBC> and a hyphen."
3409 #: deb-src-control.pod
3414 #: deb-src-control.pod
3415 msgid "The field will appear in the source package control file, see L<dsc(5)>."
3419 #: deb-src-control.pod
3424 #: deb-src-control.pod
3426 "The field will appear in the control file in the binary package, see "
3427 "L<deb-control(5)>."
3431 #: deb-src-control.pod
3436 #: deb-src-control.pod
3438 "The field will appear in the upload control (.changes) file, see "
3439 "L<deb-changes(5)>."
3443 #: deb-src-control.pod
3445 "Note that the B<X>[B<SBC>]B<-> prefixes are stripped when the fields are "
3446 "copied over to the output files. A field B<XC-Approved-By> will appear as "
3447 "B<Approved-By> in the changes file and will not appear in the binary or "
3448 "source package control files."
3452 #: deb-src-control.pod
3454 "Take into account that these user-defined fields will be using the global "
3455 "namespace, which might at some point in the future collide with officially "
3456 "recognized fields. To avoid such potential situation you can prefix those "
3457 "fields with B<Private->, such as B<XB-Private-New-Field>."
3461 #: deb-src-control.pod
3467 " Priority: required\n"
3468 " Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>\n"
3469 " # this field is copied to the binary and source packages\n"
3470 " XBS-Upstream-Release-Status: stable\n"
3471 " Homepage: https://wiki.debian.org/Teams/Dpkg\n"
3472 " Vcs-Browser: https://git.dpkg.org/cgit/dpkg/dpkg.git\n"
3473 " Vcs-Git: https://git.dpkg.org/git/dpkg/dpkg.git\n"
3474 " Standards-Version: 3.7.3\n"
3475 " Build-Depends: pkgconf, debhelper (>= 4.1.81),\n"
3476 " libselinux1-dev (>= 1.28-4) [!linux-any]\n"
3481 #: deb-src-control.pod
3484 " Package: dpkg-dev\n"
3486 " Priority: optional\n"
3487 " Architecture: all\n"
3488 " # this is a custom field in the binary package\n"
3489 " XB-Mentoring-Contact: Raphael Hertzog <hertzog@debian.org>\n"
3490 " Depends: dpkg (>= 1.14.6), perl5, perl-modules, cpio (>= 2.4.2-2),\n"
3491 " bzip2, lzma, patch (>= 2.2-1), make, binutils, libtimedate-perl\n"
3492 " Recommends: gcc | c-compiler, build-essential\n"
3493 " Suggests: gnupg, debian-keyring\n"
3494 " Conflicts: dpkg-cross (<< 2.0.0), devscripts (<< 2.10.26)\n"
3495 " Replaces: manpages-pl (<= 20051117-1)\n"
3496 " Description: Debian package development tools\n"
3497 " This package provides the development tools (including dpkg-source)\n"
3498 " required to unpack, build and upload Debian source packages.\n"
3500 " Most Debian source packages will require additional tools to build;\n"
3501 " for example, most packages need make and the C compiler gcc.\n"
3506 #: deb-src-control.pod
3508 "I<%PKGDOCDIR%/spec/rootless-builds.txt>, L<deb822(5)>, L<deb-control(5)>, "
3509 "L<deb-version(7)>, L<dpkg-source(1)>"
3513 #: deb-src-files.pod
3514 msgid "deb-src-files - Debian distribute files format"
3518 #: deb-src-files.pod dpkg-distaddfile.pod dpkg-genbuildinfo.pod
3519 #: dpkg-genchanges.pod dpkg-gencontrol.pod
3520 msgid "B<debian/files>"
3524 #: deb-src-files.pod
3526 "This file contains the list of artifacts that are to be distributed via the "
3527 "B<.changes> control file."
3531 #: deb-src-files.pod
3532 msgid "The I<debian/files> file has a simple whitespace-delimited format."
3536 #: deb-src-files.pod
3537 msgid "I<filename> I<section> I<priority> [ I<keyword=value...> ]"
3541 #: deb-src-files.pod
3542 msgid "I<filename> is the name of the artifact to distribute."
3546 #: deb-src-files.pod
3548 "I<section> and I<priority> correspond to the respective control fields "
3549 "available in the .deb. The allowed values are specific to each distribution "
3554 #: deb-src-files.pod
3556 "I<keyword=value...> corresponds to an optional whitespace-delimited list of "
3557 "attributes for this entry. The only currently supported keyword is "
3558 "B<automatic> with value B<yes>, to mark automatically generated files."
3562 #: deb-src-files.pod deb-version.pod dpkg-architecture.pod
3563 #: dpkg-buildpackage.pod dpkg-deb.pod dpkg-divert.pod dpkg-parsechangelog.pod
3568 #: deb-src-files.pod
3570 "This file is not intended to be modified directly, please use one of "
3571 "B<dpkg-gencontrol> or B<dpkg-distaddfile> to add entries to it."
3575 #: deb-src-files.pod
3576 msgid "L<dpkg-genchanges(1)>, L<dpkg-distaddfile(1)>."
3580 #: deb-src-rules.pod
3581 msgid "deb-src-rules - Debian source package rules file"
3585 #: deb-src-rules.pod
3586 msgid "B<debian/rules>"
3590 #: deb-src-rules.pod
3592 "This file contains the instructions necessary to build the binary packages "
3593 "from the source package."
3597 #: deb-src-rules.pod
3599 "The I<debian/rules> file is an executable Makefile, with a shebang that is "
3600 "usually set to \"#!/usr/bin/make -f\"."
3604 #: deb-src-rules.pod
3605 msgid "It must support the following make targets:"
3609 #: deb-src-rules.pod
3614 #: deb-src-rules.pod
3616 "Clean up the source tree, by undoing any change done by any of the build and "
3617 "binary targets. This target will be called with root privileges."
3621 #: deb-src-rules.pod
3622 msgid "B<build-indep>"
3626 #: deb-src-rules.pod
3628 "Build architecture independent files required to build any architecture "
3629 "independent binary package. If there are no architecture independent binary "
3630 "packages to generate, the target must still exist but do nothing. This "
3631 "target must not require root privileges."
3635 #: deb-src-rules.pod
3636 msgid "B<build-arch>"
3640 #: deb-src-rules.pod
3642 "Build architecture dependent files required to build any architecture "
3643 "dependent binary package. If there are no architecture dependent binary "
3644 "packages to generate, the target must still exist but do nothing. This "
3645 "target must not require root privileges."
3649 #: deb-src-rules.pod dpkg-buildpackage.pod
3654 #: deb-src-rules.pod
3656 "Build architecture independent and dependent files, either by depending (at "
3657 "least transitively) on B<build-indep> and/or B<build-arch> or by inlining "
3658 "what those targets would do. This target must not require root privileges."
3662 #: deb-src-rules.pod
3663 msgid "B<binary-indep>"
3667 #: deb-src-rules.pod
3669 "Build architecture independent binary packages. This target must depend (at "
3670 "least transitively) on either B<build-indep> or B<build>. This target will "
3671 "be called with root privileges."
3675 #: deb-src-rules.pod
3676 msgid "B<binary-arch>"
3680 #: deb-src-rules.pod
3682 "Build architecture dependent binary packages. This target must depend (at "
3683 "least transitively) on either B<build-arch> or B<build>. This target will "
3684 "be called with root privileges."
3688 #: deb-src-rules.pod dpkg-buildpackage.pod dpkg-genbuildinfo.pod
3689 #: dpkg-genchanges.pod
3694 #: deb-src-rules.pod
3696 "Build architecture independent and dependent binary packages, either by "
3697 "depending (at least transitively) on B<binary-indep> and/or B<binary-arch> "
3698 "or by inlining what those targets would do. This target will be called with "
3703 #: deb-src-rules.pod
3705 "L<dpkg-architecture(1)>, L<dpkg-vendor(1)>, L<dpkg-buildflags(1)>, "
3706 "L<dpkg-parsechangelog(1)>, L<dpkg-shlibdeps(1)>, L<dpkg-gencontrol(1)>, "
3707 "L<dpkg-deb(1)>, L<dpkg-distaddfile(1)>."
3711 #: deb-src-symbols.pod
3712 msgid "deb-src-symbols - Debian's extended shared library template file"
3716 #: deb-src-symbols.pod
3718 "B<debian/>I<package>B<.symbols.>I<arch>, B<debian/symbols.>I<arch>, "
3719 "B<debian/>I<package>B<.symbols>, B<debian/symbols>"
3723 #: deb-src-symbols.pod
3725 "The symbol file templates are shipped in Debian source packages, and its "
3726 "format is a superset of the symbols files shipped in binary packages, see "
3727 "L<deb-symbols(5)>."
3731 #: deb-src-symbols.pod
3736 #: deb-src-symbols.pod
3738 "Comments are supported in template symbol files. Any line with ‘#’ as the "
3739 "first character is a comment except if it starts with ‘#include’ (see "
3740 "section L</Using includes>). Lines starting with ‘#MISSING:’ are special "
3741 "comments documenting symbols that have disappeared."
3745 #: deb-src-symbols.pod
3746 msgid "Using #PACKAGE# substitution"
3750 #: deb-src-symbols.pod
3752 "In some rare cases, the name of the library varies between architectures. "
3753 "To avoid hardcoding the name of the package in the symbols file, you can use "
3754 "the marker I<#PACKAGE#>. It will be replaced by the real package name during "
3755 "installation of the symbols files. Contrary to the I<#MINVER#> marker, "
3756 "I<#PACKAGE#> will never appear in a symbols file inside a binary package."
3760 #: deb-src-symbols.pod
3761 msgid "Using symbol tags"
3765 #: deb-src-symbols.pod
3767 "Symbol tagging is useful for marking symbols that are special in some way. "
3768 "Any symbol can have an arbitrary number of tags associated with it. While "
3769 "all tags are parsed and stored, only some of them are understood by "
3770 "B<dpkg-gensymbols> and trigger special handling of the symbols. See "
3771 "subsection L</Standard symbol tags> for reference of these tags."
3775 #: deb-src-symbols.pod
3777 "Tag specification comes right before the symbol name (no whitespace is "
3778 "allowed in between). It always starts with an opening bracket B<(>, ends "
3779 "with a closing bracket B<)> and must contain at least one tag. Multiple tags "
3780 "are separated by the B<|> character. Each tag can optionally have a value "
3781 "which is separated form the tag name by the B<=> character. Tag names and "
3782 "values can be arbitrary strings except they cannot contain any of the "
3783 "special B<)> B<|> B<=> characters. Symbol names following a tag "
3784 "specification can optionally be quoted with either B<'> or B<\"> characters "
3785 "to allow whitespaces in them. However, if there are no tags specified for "
3786 "the symbol, quotes are treated as part of the symbol name which continues up "
3787 "until the first space."
3791 #: deb-src-symbols.pod
3794 " (tag1=i am marked|tag name with space)\"tagged quoted symbol\"@Base 1.0\n"
3795 " (optional)tagged_unquoted_symbol@Base 1.0 1\n"
3796 " untagged_symbol@Base 1.0\n"
3801 #: deb-src-symbols.pod
3803 "The first symbol in the example is named I<tagged quoted symbol> and has two "
3804 "tags: I<tag1> with value I<i am marked> and I<tag name with space> that has "
3805 "no value. The second symbol named I<tagged_unquoted_symbol> is only tagged "
3806 "with the tag named I<optional>. The last symbol is an example of the normal "
3811 #: deb-src-symbols.pod
3813 "Since symbol tags are an extension of the L<deb-symbols(5)> format, they can "
3814 "only be part of the symbols files used in source packages (those files "
3815 "should then be seen as templates used to build the symbols files that are "
3816 "embedded in binary packages). When B<dpkg-gensymbols> is called without the "
3817 "B<-t> option, it will output symbols files compatible to the "
3818 "L<deb-symbols(5)> format: it fully processes symbols according to the "
3819 "requirements of their standard tags and strips all tags from the output. On "
3820 "the contrary, in template mode (B<-t>) all symbols and their tags (both "
3821 "standard and unknown ones) are kept in the output and are written in their "
3822 "original form as they were loaded."
3826 #: deb-src-symbols.pod
3827 msgid "Standard symbol tags"
3831 #: deb-src-symbols.pod
3836 #: deb-src-symbols.pod
3838 "A symbol marked as optional can disappear from the library at any time and "
3839 "that will never cause B<dpkg-gensymbols> to fail. However, disappeared "
3840 "optional symbols will continuously appear as MISSING in the diff in each new "
3841 "package revision. This behavior serves as a reminder for the maintainer that "
3842 "such a symbol needs to be removed from the symbol file or readded to the "
3843 "library. When the optional symbol, which was previously declared as MISSING, "
3844 "suddenly reappears in the next revision, it will be upgraded back to the "
3845 "“existing” status with its minimum version unchanged."
3849 #: deb-src-symbols.pod
3851 "This tag is useful for symbols which are private where their disappearance "
3852 "do not cause ABI breakage. For example, most of C++ template instantiations "
3853 "fall into this category. Like any other tag, this one may also have an "
3854 "arbitrary value: it could be used to indicate why the symbol is considered "
3859 #: deb-src-symbols.pod
3860 msgid "B<arch=>I<architecture-list>"
3864 #: deb-src-symbols.pod
3865 msgid "B<arch-bits=>I<architecture-bits>"
3869 #: deb-src-symbols.pod
3870 msgid "B<arch-endian=>I<architecture-endianness>"
3874 #: deb-src-symbols.pod
3876 "These tags allow one to restrict the set of architectures where the symbol "
3877 "is supposed to exist. The B<arch-bits> and B<arch-endian> tags are supported "
3878 "since dpkg 1.18.0. When the symbols list is updated with the symbols "
3879 "discovered in the library, all arch-specific symbols which do not concern "
3880 "the current host architecture are treated as if they did not exist. If an "
3881 "arch-specific symbol matching the current host architecture does not exist "
3882 "in the library, normal procedures for missing symbols apply and it may cause "
3883 "B<dpkg-gensymbols> to fail. On the other hand, if the arch-specific symbol "
3884 "is found when it was not supposed to exist (because the current host "
3885 "architecture is not listed in the tag or does not match the endianness and "
3886 "bits), it is made arch neutral (i.e. the arch, arch-bits and arch-endian "
3887 "tags are dropped and the symbol will appear in the diff due to this change), "
3888 "but it is not considered as new."
3892 #: deb-src-symbols.pod
3894 "When operating in the default non-template mode, among arch-specific symbols "
3895 "only those that match the current host architecture are written to the "
3896 "symbols file. On the contrary, all arch-specific symbols (including those "
3897 "from foreign arches) are always written to the symbol file when operating in "
3902 #: deb-src-symbols.pod
3904 "The format of I<architecture-list> is the same as the one used in the "
3905 "B<Build-Depends> field of I<debian/control> (except the enclosing square "
3906 "brackets []). For example, the first symbol from the list below will be "
3907 "considered only on alpha, any-amd64 and ia64 architectures, the second only "
3908 "on linux architectures, while the third one anywhere except on armel."
3912 #: deb-src-symbols.pod
3915 " (arch=alpha any-amd64 ia64)64bit_specific_symbol@Base 1.0\n"
3916 " (arch=linux-any)linux_specific_symbol@Base 1.0\n"
3917 " (arch=!armel)symbol_armel_does_not_have@Base 1.0\n"
3922 #: deb-src-symbols.pod
3923 msgid "The I<architecture-bits> is either B<32> or B<64>."
3927 #: deb-src-symbols.pod
3930 " (arch-bits=32)32bit_specific_symbol@Base 1.0\n"
3931 " (arch-bits=64)64bit_specific_symbol@Base 1.0\n"
3936 #: deb-src-symbols.pod
3937 msgid "The I<architecture-endianness> is either B<little> or B<big>."
3941 #: deb-src-symbols.pod
3944 " (arch-endian=little)little_endian_specific_symbol@Base 1.0\n"
3945 " (arch-endian=big)big_endian_specific_symbol@Base 1.0\n"
3950 #: deb-src-symbols.pod
3951 msgid "Multiple restrictions can be chained."
3955 #: deb-src-symbols.pod
3958 " (arch-bits=32|arch-endian=little)32bit_le_symbol@Base 1.0\n"
3963 #: deb-src-symbols.pod
3964 msgid "B<allow-internal>"
3968 #: deb-src-symbols.pod
3970 "dpkg-gensymbols has a list of internal symbols that should not appear in "
3971 "symbols files as they are usually only side-effects of implementation "
3972 "details of the toolchain (since dpkg 1.20.1). If for some reason, you "
3973 "really want one of those symbols to be included in the symbols file, you "
3974 "should tag the symbol with B<allow-internal>. It can be necessary for some "
3975 "low level toolchain libraries like “libgcc”."
3979 #: deb-src-symbols.pod
3980 msgid "B<ignore-blacklist>"
3984 #: deb-src-symbols.pod
3986 "A deprecated alias for B<allow-internal> (since dpkg 1.20.1, supported since "
3991 #: deb-src-symbols.pod
3996 #: deb-src-symbols.pod
3998 "Denotes I<c++> symbol pattern. See L</Using symbol patterns> subsection "
4003 #: deb-src-symbols.pod
4008 #: deb-src-symbols.pod
4010 "Denotes I<symver> (symbol version) symbol pattern. See L</Using symbol "
4011 "patterns> subsection below."
4015 #: deb-src-symbols.pod
4020 #: deb-src-symbols.pod
4022 "Denotes I<regex> symbol pattern. See L</Using symbol patterns> subsection "
4027 #: deb-src-symbols.pod
4028 msgid "Using symbol patterns"
4032 #: deb-src-symbols.pod
4034 "Unlike a standard symbol specification, a pattern may cover multiple real "
4035 "symbols from the library. B<dpkg-gensymbols> will attempt to match each "
4036 "pattern against each real symbol that does I<not> have a specific symbol "
4037 "counterpart defined in the symbol file. Whenever the first matching pattern "
4038 "is found, all its tags and properties will be used as a basis specification "
4039 "of the symbol. If none of the patterns matches, the symbol will be "
4040 "considered as new."
4044 #: deb-src-symbols.pod
4046 "A pattern is considered lost if it does not match any symbol in the "
4047 "library. By default this will trigger a B<dpkg-gensymbols> failure under "
4048 "B<-c1> or higher level. However, if the failure is undesired, the pattern "
4049 "may be marked with the I<optional> tag. Then if the pattern does not match "
4050 "anything, it will only appear in the diff as MISSING. Moreover, like any "
4051 "symbol, the pattern may be limited to the specific architectures with the "
4052 "I<arch> tag. Please refer to L</Standard symbol tags> subsection above for "
4057 #: deb-src-symbols.pod
4059 "Patterns are an extension of the L<deb-symbols(5)> format hence they are "
4060 "only valid in symbol file templates. Pattern specification syntax is not any "
4061 "different from the one of a specific symbol. However, symbol name part of "
4062 "the specification serves as an expression to be matched against "
4063 "I<name@version> of the real symbol. In order to distinguish among different "
4064 "pattern types, a pattern will typically be tagged with a special tag."
4068 #: deb-src-symbols.pod
4069 msgid "At the moment, B<dpkg-gensymbols> supports three basic pattern types:"
4073 #: deb-src-symbols.pod
4075 "This pattern is denoted by the I<c++> tag. It matches only C++ symbols by "
4076 "their demangled symbol name (as emitted by L<c++filt(1)> utility). This "
4077 "pattern is very handy for matching symbols which mangled names might vary "
4078 "across different architectures while their demangled names remain the "
4079 "same. One group of such symbols is I<non-virtual thunks> which have "
4080 "architecture specific offsets embedded in their mangled names. A common "
4081 "instance of this case is a virtual destructor which under diamond "
4082 "inheritance needs a non-virtual thunk symbol. For example, even if "
4083 "_ZThn8_N3NSB6ClassDD1Ev@Base on 32-bit architectures will probably be "
4084 "_ZThn16_N3NSB6ClassDD1Ev@Base on 64-bit ones, it can be matched with a "
4085 "single I<c++> pattern:"
4089 #: deb-src-symbols.pod
4092 " libdummy.so.1 libdummy1 #MINVER#\n"
4094 " (c++)\"non-virtual thunk to NSB::ClassD::~ClassD()@Base\" 1.0\n"
4100 #: deb-src-symbols.pod
4101 msgid "The demangled name above can be obtained by executing the following command:"
4105 #: deb-src-symbols.pod
4108 " $ echo '_ZThn8_N3NSB6ClassDD1Ev@Base' | c++filt\n"
4113 #: deb-src-symbols.pod
4115 "Please note that while mangled name is unique in the library by definition, "
4116 "this is not necessarily true for demangled names. A couple of distinct real "
4117 "symbols may have the same demangled name. For example, that's the case with "
4118 "non-virtual thunk symbols in complex inheritance configurations or with most "
4119 "constructors and destructors (since g++ typically generates two real symbols "
4120 "for them). However, as these collisions happen on the ABI level, they should "
4121 "not degrade quality of the symbol file."
4125 #: deb-src-symbols.pod
4127 "This pattern is denoted by the I<symver> tag. Well maintained libraries have "
4128 "versioned symbols where each version corresponds to the upstream version "
4129 "where the symbol got added. If that's the case, you can use a I<symver> "
4130 "pattern to match any symbol associated to the specific version. For example:"
4134 #: deb-src-symbols.pod
4137 " libc.so.6 libc6 #MINVER#\n"
4138 " (symver)GLIBC_2.0 2.0\n"
4140 " (symver)GLIBC_2.7 2.7\n"
4141 " access@GLIBC_2.0 2.2\n"
4146 #: deb-src-symbols.pod
4148 "All symbols associated with versions GLIBC_2.0 and GLIBC_2.7 will lead to "
4149 "minimal version of 2.0 and 2.7 respectively with the exception of the symbol "
4150 "access@GLIBC_2.0. The latter will lead to a minimal dependency on libc6 "
4151 "version 2.2 despite being in the scope of the \"(symver)GLIBC_2.0\" pattern "
4152 "because specific symbols take precedence over patterns."
4156 #: deb-src-symbols.pod
4158 "Please note that while old style wildcard patterns (denoted by \"*@version\" "
4159 "in the symbol name field) are still supported, they have been deprecated by "
4160 "new style syntax \"(symver|optional)version\". For example, \"*@GLIBC_2.0 "
4161 "2.0\" should be written as \"(symver|optional)GLIBC_2.0 2.0\" if the same "
4162 "behavior is needed."
4166 #: deb-src-symbols.pod
4168 "Regular expression patterns are denoted by the I<regex> tag. They match by "
4169 "the perl regular expression specified in the symbol name field. A regular "
4170 "expression is matched as it is, therefore do not forget to start it with the "
4171 "I<^> character or it may match any part of the real symbol I<name@version> "
4172 "string. For example:"
4176 #: deb-src-symbols.pod
4179 " libdummy.so.1 libdummy1 #MINVER#\n"
4180 " (regex)\"^mystack_.*@Base$\" 1.0\n"
4181 " (regex|optional)\"private\" 1.0\n"
4186 #: deb-src-symbols.pod
4188 "Symbols like \"mystack_new@Base\", \"mystack_push@Base\", "
4189 "\"mystack_pop@Base\", etc., will be matched by the first pattern while "
4190 "\"ng_mystack_new@Base\" would not. The second pattern will match all "
4191 "symbols having the string \"private\" in their names and matches will "
4192 "inherit I<optional> tag from the pattern."
4196 #: deb-src-symbols.pod
4198 "Basic patterns listed above can be combined where it makes sense. In that "
4199 "case, they are processed in the order in which the tags are specified. For "
4204 #: deb-src-symbols.pod
4207 " (c++|regex)\"^NSA::ClassA::Private::privmethod\\d\\(int\\)@Base\" 1.0\n"
4208 " (regex|c++)N3NSA6ClassA7Private11privmethod\\dEi@Base 1.0\n"
4213 #: deb-src-symbols.pod
4215 "will match symbols \"_ZN3NSA6ClassA7Private11privmethod1Ei@Base\" and "
4216 "\"_ZN3NSA6ClassA7Private11privmethod2Ei@Base\". When matching the first "
4217 "pattern, the raw symbol is first demangled as C++ symbol, then the demangled "
4218 "name is matched against the regular expression. On the other hand, when "
4219 "matching the second pattern, regular expression is matched against the raw "
4220 "symbol name, then the symbol is tested if it is C++ one by attempting to "
4221 "demangle it. A failure of any basic pattern will result in the failure of "
4222 "the whole pattern. Therefore, for example, "
4223 "\"__N3NSA6ClassA7Private11privmethod\\dEi@Base\" will not match either of "
4224 "the patterns because it is not a valid C++ symbol."
4228 #: deb-src-symbols.pod
4230 "In general, all patterns are divided into two groups: aliases (basic I<c++> "
4231 "and I<symver>) and generic patterns (I<regex>, all combinations of multiple "
4232 "basic patterns). Matching of basic alias-based patterns is fast (O(1)) "
4233 "while generic patterns are O(N) (N - generic pattern count) for each "
4234 "symbol. Therefore, it is recommended not to overuse generic patterns."
4238 #: deb-src-symbols.pod
4240 "When multiple patterns match the same real symbol, aliases (first I<c++>, "
4241 "then I<symver>) are preferred over generic patterns. Generic patterns are "
4242 "matched in the order they are found in the symbol file template until the "
4243 "first success. Please note, however, that manual reordering of template "
4244 "file entries is not recommended because B<dpkg-gensymbols> generates diffs "
4245 "based on the alphanumerical order of their names."
4249 #: deb-src-symbols.pod
4250 msgid "Using includes"
4254 #: deb-src-symbols.pod
4256 "When the set of exported symbols differ between architectures, it may become "
4257 "inefficient to use a single symbol file. In those cases, an include "
4258 "directive may prove to be useful in a couple of ways:"
4262 #: deb-src-symbols.pod
4264 "You can factorize the common part in some external file and include that "
4265 "file in your I<package>.symbols.I<arch> file by using an include directive "
4270 #: deb-src-symbols.pod
4273 " #include \"I<packages>.symbols.common\"\n"
4278 #: deb-src-symbols.pod
4279 msgid "The include directive may also be tagged like any symbol:"
4283 #: deb-src-symbols.pod
4286 " (tag|...|tagN)#include \"file-to-include\"\n"
4291 #: deb-src-symbols.pod
4293 "As a result, all symbols included from I<file-to-include> will be considered "
4294 "to be tagged with I<tag> ... I<tagN> by default. You can use this feature to "
4295 "create a common I<package>.symbols file which includes architecture specific "
4300 #: deb-src-symbols.pod
4303 " common_symbol1@Base 1.0\n"
4304 " (arch=amd64 ia64 alpha)#include \"package.symbols.64-bit\"\n"
4305 " (arch=!amd64 !ia64 !alpha)#include \"package.symbols.32-bit\"\n"
4306 " common_symbol2@Base 1.0\n"
4311 #: deb-src-symbols.pod
4313 "The symbols files are read line by line, and include directives are "
4314 "processed as soon as they are encountered. This means that the content of "
4315 "the included file can override any content that appeared before the include "
4316 "directive and that any content after the directive can override anything "
4317 "contained in the included file. Any symbol (or even another #include "
4318 "directive) in the included file can specify additional tags or override "
4319 "values of the inherited tags in its tag specification. However, there is no "
4320 "way for the symbol to remove any of the inherited tags."
4324 #: deb-src-symbols.pod
4326 "An included file can repeat the header line containing the SONAME of the "
4327 "library. In that case, it overrides any header line previously read. "
4328 "However, in general it's best to avoid duplicating header lines. One way to "
4329 "do it is the following:"
4333 #: deb-src-symbols.pod
4336 " #include \"libsomething1.symbols.common\"\n"
4337 " arch_specific_symbol@Base 1.0\n"
4342 #: deb-src-symbols.pod
4343 msgid "L<deb-symbols(5)>, L<dpkg-shlibdeps(1)>, L<dpkg-gensymbols(1)>."
4347 #: deb-substvars.pod
4348 msgid "deb-substvars - Debian source substitution variables"
4352 #: deb-substvars.pod
4353 msgid "B<debian/substvars>, B<debian/>I<binary-package>B<.substvars>, variables"
4357 #: deb-substvars.pod
4359 "Before B<dpkg-source>, B<dpkg-gencontrol> and B<dpkg-genchanges> write their "
4360 "control information (to the source control file B<.dsc> for B<dpkg-source> "
4361 "and to standard output for B<dpkg-gencontrol> and B<dpkg-genchanges>) they "
4362 "perform some variable substitutions on the output file."
4366 #: deb-substvars.pod
4367 msgid "Variable Syntax"
4371 #: deb-substvars.pod
4373 "A variable substitution has the form B<${>I<variable-name>B<}>. Variable "
4374 "names consist of alphanumerics (a-zA-Z0-9), hyphens (-) and colons (:) and "
4375 "start with an alphanumeric, and are case-sensitive, even though they might "
4376 "refer to other entities which are case-preserving. Variable substitutions "
4377 "are performed repeatedly until none are left; the full text of the field "
4378 "after the substitution is rescanned to look for more substitutions."
4382 #: deb-substvars.pod
4387 #: deb-substvars.pod
4389 "Substitution variables can be specified in a file. These files consist of "
4390 "lines of the form I<name>B<=>I<value> or I<name>B<?=>I<value>. The B<=> "
4391 "operator assigns a normal substitution variable, while the B<?=> operator "
4392 "(since dpkg 1.21.8) assigns an optional substitution variable which will "
4393 "emit no warnings even if unused. Trailing whitespace on each line, blank "
4394 "lines, and lines starting with a B<#> symbol (comments) are ignored."
4398 #: deb-substvars.pod
4399 msgid "Substitution"
4403 #: deb-substvars.pod
4405 "Variables can be set using the B<-V> common option. They can be also "
4406 "specified in the file B<debian/substvars> (or whatever other file is "
4407 "specified using the B<-T> common option)."
4411 #: deb-substvars.pod
4413 "After all the substitutions have been done each occurrence of the string "
4414 "B<${}> (which is not an actual substitution variable) is replaced with a "
4415 "B<$> sign. This can be used as an escape sequence such as "
4416 "B<${}{>I<VARIABLE>B<}> which will end up as B<${>I<VARIABLE>B<}> on the "
4421 #: deb-substvars.pod
4423 "If a variable is referred to but not defined it generates a warning and an "
4424 "empty value is assumed."
4428 #: deb-substvars.pod
4430 "While variable substitution is done on all control fields, some of those "
4431 "fields are used and needed during the build when the substitution did not "
4432 "yet occur. That's why you can't use variables in the B<Package>, B<Source> "
4433 "and B<Architecture> fields."
4437 #: deb-substvars.pod
4439 "Variable substitution happens on the content of the fields after they have "
4440 "been parsed, thus if you want a variable to expand over multiple lines you "
4441 "do not have to include a space after the newline. This is done implicitly "
4442 "when the field is output. For example, if the variable B<${Description}> is "
4443 "set to \"foo is bar.${Newline}foo is great.\" and if you have the following "
4448 #: deb-substvars.pod
4451 " Description: foo application\n"
4459 #: deb-substvars.pod
4460 msgid "It will result in:"
4464 #: deb-substvars.pod
4467 " Description: foo application\n"
4476 #: deb-substvars.pod
4477 msgid "Built-in Variable"
4481 #: deb-substvars.pod
4482 msgid "Additionally, the following standard variables are always available:"
4486 #: deb-substvars.pod
4491 #: deb-substvars.pod
4493 "The current host architecture (i.e. the architecture the package is being "
4494 "built for, the equivalent of B<DEB_HOST_ARCH>)."
4498 #: deb-substvars.pod
4499 msgid "B<vendor:Name>"
4503 #: deb-substvars.pod
4505 "The current vendor name (since dpkg 1.20.0). This value comes from the "
4506 "B<Vendor> field for the current vendor's origin file, as L<dpkg-vendor(1)> "
4507 "would retrieve it."
4511 #: deb-substvars.pod
4512 msgid "B<vendor:Id>"
4516 #: deb-substvars.pod
4518 "The current vendor ID (since dpkg 1.20.0). This is just the lowercase "
4519 "variant of B<vendor:Name>."
4523 #: deb-substvars.pod dpkg-query.pod
4524 msgid "B<source:Version>"
4528 #: deb-substvars.pod
4529 msgid "The source package version (since dpkg 1.13.19)."
4533 #: deb-substvars.pod dpkg-query.pod
4534 msgid "B<source:Upstream-Version>"
4538 #: deb-substvars.pod
4540 "The upstream source package version, including the Debian version epoch if "
4541 "any (since dpkg 1.13.19)."
4545 #: deb-substvars.pod
4546 msgid "B<binary:Version>"
4550 #: deb-substvars.pod
4552 "The binary package version (which may differ from B<source:Version> in a "
4553 "binNMU for example; since dpkg 1.13.19)."
4557 #: deb-substvars.pod
4558 msgid "B<Source-Version>"
4562 #: deb-substvars.pod
4564 "The source package version (from the changelog file). This variable is now "
4565 "B<obsolete> and emits an error when used as its meaning is different from "
4566 "its function, please use the B<source:Version> or B<binary:Version> as "
4571 #: deb-substvars.pod
4572 msgid "B<source:Synopsis>"
4576 #: deb-substvars.pod
4578 "The source package synopsis, extracted from the source stanza B<Description> "
4579 "field, if it exists (since dpkg 1.19.0)."
4583 #: deb-substvars.pod
4584 msgid "B<source:Extended-Description>"
4588 #: deb-substvars.pod
4590 "The source package extended description, extracted from the source stanza "
4591 "B<Description> field, if it exists (since dpkg 1.19.0)."
4595 #: deb-substvars.pod dpkg-query.pod
4596 msgid "B<Installed-Size>"
4600 #: deb-substvars.pod
4602 "The approximate total size of the package's installed files. This value is "
4603 "copied into the corresponding control file field; setting it will modify the "
4604 "value of that field. If this variable is not set B<dpkg-gencontrol> will "
4605 "compute the default value by accumulating the size of each regular file and "
4606 "symlink rounded to 1 KiB used units, and a baseline of 1 KiB for any other "
4607 "filesystem object type. With hardlinks only being counted once as a regular "
4612 #: deb-substvars.pod
4614 "B<Note>: Take into account that this can only ever be an approximation, as "
4615 "the actual size used on the installed system will depend greatly on the "
4616 "filesystem used and its parameters, which might end up using either more or "
4617 "less space than the specified in this field."
4621 #: deb-substvars.pod
4622 msgid "B<Extra-Size>"
4626 #: deb-substvars.pod
4628 "Additional disk space used when the package is installed. If this variable "
4629 "is set its value is added to that of the B<Installed-Size> variable (whether "
4630 "set explicitly or using the default value) before it is copied into the "
4631 "B<Installed-Size> control file field."
4635 #: deb-substvars.pod
4636 msgid "B<S:>I<field-name>"
4640 #: deb-substvars.pod
4642 "The value of the source stanza field I<field-name> (which must be given in "
4643 "the canonical capitalization; since dpkg 1.18.11). Setting these variables "
4644 "has no effect other than on places where they are expanded explicitly. "
4645 "These variables are only available when generating binary control files."
4649 #: deb-substvars.pod
4650 msgid "B<F:>I<field-name>"
4654 #: deb-substvars.pod
4656 "The value of the output field I<field-name> (which must be given in the "
4657 "canonical capitalization). Setting these variables has no effect other than "
4658 "on places where they are expanded explicitly."
4662 #: deb-substvars.pod
4667 #: deb-substvars.pod
4669 "The B<.changes> file format version generated by this version of the source "
4670 "packaging scripts. If you set this variable the contents of the B<Format> "
4671 "field in the B<.changes> file will change too."
4675 #: deb-substvars.pod
4676 msgid "B<Newline>, B<Space>, B<Tab>"
4680 #: deb-substvars.pod
4681 msgid "These variables each hold the corresponding character."
4685 #: deb-substvars.pod
4686 msgid "B<shlibs:>I<dependencyfield>"
4690 #: deb-substvars.pod
4692 "Variable settings with names of this form are generated by "
4693 "B<dpkg-shlibdeps>."
4697 #: deb-substvars.pod
4698 msgid "B<dpkg:Upstream-Version>"
4702 #: deb-substvars.pod
4703 msgid "The upstream version of dpkg (since dpkg 1.13.19)."
4707 #: deb-substvars.pod
4708 msgid "B<dpkg:Version>"
4712 #: deb-substvars.pod
4713 msgid "The full version of dpkg (since dpkg 1.13.19)."
4717 #: deb-substvars.pod
4718 msgid "B<debian/substvars>"
4722 #: deb-substvars.pod
4723 msgid "List of substitution variables and values."
4727 #: deb-substvars.pod
4729 "L<dpkg(1)>, L<dpkg-vendor(1)>, L<dpkg-genchanges(1)>, L<dpkg-gencontrol(1)>, "
4730 "L<dpkg-shlibdeps(1)>, L<dpkg-source(1)>."
4735 msgid "deb-symbols - Debian's extended shared library information file"
4740 msgid "B<DEBIAN/symbols>"
4746 "The symbol files are shipped in Debian binary packages, and its format is a "
4747 "subset of the template symbol files used by L<dpkg-gensymbols(1)> in Debian "
4748 "source packages, see L<deb-src-symbols(5)>."
4754 "The format for an extended shared library dependency information entry in "
4763 " I<library-soname> I<main-dependency-template>\n"
4764 " [| I<alternative-dependency-template>]\n"
4766 " [* I<field-name>: I<field-value>]\n"
4768 " I<symbol> I<minimal-version> [I<id-of-dependency-template>]\n"
4775 "The I<library-soname> is exactly the value of the SONAME field as exported "
4776 "by L<objdump(1)>. A I<dependency-template> is a dependency where I<#MINVER#> "
4777 "is dynamically replaced either by a version check like “(E<gt>= "
4778 "I<minimal-version>)” or by nothing (if an unversioned dependency is deemed "
4785 "Each exported I<symbol> (listed as I<name>@I<version>, with I<version> being "
4786 "“Base” if the library is not versioned) is associated to a "
4787 "I<minimal-version> of its dependency template (the main dependency template "
4788 "is always used and will end up being combined with the dependency template "
4789 "referenced by I<id-of-dependency-template> if present). The first "
4790 "alternative dependency template is numbered 1, the second one 2, etc. Each "
4791 "column is separated by exactly a single whitespace."
4797 "Each entry for a library can also have some fields of meta-information. "
4798 "Those fields are stored on lines starting with an asterisk. Currently, the "
4799 "only valid fields are:"
4804 msgid "B<Build-Depends-Package>"
4810 "It indicates the name of the “-dev” package associated to the library and is "
4811 "used by B<dpkg-shlibdeps> to make sure that the dependency generated is at "
4812 "least as strict as the corresponding build dependency (since dpkg 1.14.13)."
4817 msgid "B<Build-Depends-Packages>"
4823 "The same as B<Build-Depends-Package> but accepts a comma-separated list of "
4824 "package names (since dpkg 1.20.0). This field will override any "
4825 "B<Build-Depends-Package> field present, and is mostly useful with “-dev” "
4826 "packages and metapackages depending on these, say for a transition period."
4831 msgid "B<Allow-Internal-Symbol-Groups>"
4837 "It indicates what internal symbol groups should be ignored, as a whitespace "
4838 "separated list, so that the symbols contained in those groups get included "
4839 "in the output file (since dpkg 1.20.1). This should only be necessary for "
4840 "toolchain packages providing those internal symbols. The available groups "
4841 "are system dependent, for ELF and GNU-based systems these are B<aeabi> and "
4847 msgid "B<Ignore-Blacklist-Groups>"
4853 "A deprecated alias for B<Allow-Internal-Symbol-Groups> (since dpkg 1.20.1, "
4854 "supported since dpkg 1.17.6)."
4859 msgid "Simple symbols file"
4866 " libftp.so.3 libftp3 #MINVER#\n"
4867 " DefaultNetbuf@Base 3.1-1-6\n"
4868 " FtpAccess@Base 3.1-1-6\n"
4875 msgid "Advanced symbols file"
4882 " libGL.so.1 libgl1\n"
4883 " | libgl1-mesa-glx #MINVER#\n"
4884 " * Build-Depends-Package: libgl1-mesa-dev\n"
4885 " publicGlSymbol@Base 6.3-1\n"
4887 " implementationSpecificSymbol@Base 6.5.2-7 1\n"
4895 "L<https://wiki.debian.org/Projects/ImprovedDpkgShlibdeps>, "
4896 "L<deb-src-symbols(5)>, L<dpkg-shlibdeps(1)>, L<dpkg-gensymbols(1)>."
4901 msgid "deb-triggers - package triggers"
4907 "B<debian/triggers>, B<debian/>I<binary-package>B<.triggers>, "
4908 "B<DEBIAN/triggers>"
4914 "A package declares its relationship to some trigger(s) by including a "
4915 "I<triggers> file in its control archive (i.e. I<DEBIAN/triggers> during "
4916 "package creation)."
4922 "This file contains directives, one per line. Leading and trailing whitespace "
4923 "and everything after the first B<#> on any line will be trimmed, and empty "
4924 "lines will be ignored."
4929 msgid "The trigger control directives currently supported are:"
4934 msgid "B<interest> I<trigger-name>"
4939 msgid "B<interest-await> I<trigger-name>"
4944 msgid "B<interest-noawait> I<trigger-name>"
4950 "Specifies that the package is interested in the named trigger. All triggers "
4951 "in which a package is interested must be listed using this directive in the "
4952 "triggers control file."
4958 "The “await” variants put the triggering package in triggers-awaited state "
4959 "depending on how the trigger was activated. The “noawait” variant does not "
4960 "put the triggering packages in triggers-awaited state, even if the "
4961 "triggering package declared an “await” activation (either with an "
4962 "B<activate-await> or B<activate> directive, or by using the B<dpkg-trigger> "
4963 "B<--no-await> command-line option). The “noawait” variant should be used "
4964 "when the functionality provided by the trigger is not crucial."
4969 msgid "B<activate> I<trigger-name>"
4974 msgid "B<activate-await> I<trigger-name>"
4979 msgid "B<activate-noawait> I<trigger-name>"
4985 "Arranges that changes to this package's state will activate the specified "
4986 "trigger. The trigger will be activated at the start of the following "
4987 "operations: unpack, configure, remove (including for the benefit of a "
4988 "conflicting package), purge and deconfigure."
4994 "The “await” variants only put the triggering package in triggers-awaited "
4995 "state if the interest directive is also “await”. The “noawait” variant "
4996 "never puts the triggering packages in triggers-awaited state. The “noawait” "
4997 "variant should be used when the functionality provided by the trigger is not "
5004 "If this package disappears during the unpacking of another package the "
5005 "trigger will be activated when the disappearance is noted towards the end of "
5006 "the unpack. Trigger processing, and transition from triggers-awaited to "
5007 "installed, does not cause activations. In the case of unpack, triggers "
5008 "mentioned in both the old and new versions of the package will be activated."
5014 "Unknown directives are an error which will prevent installation of the "
5021 "The “-noawait” variants should always be favored when possible since "
5022 "triggering packages are not put in triggers-awaited state and can thus be "
5023 "immediately configured without requiring the processing of the trigger. If "
5024 "the triggering packages are dependencies of other upgraded packages, it will "
5025 "avoid an early trigger processing run and make it possible to run the "
5026 "trigger only once as one of the last steps of the upgrade."
5032 "The “-noawait” variants are supported since dpkg 1.16.1, and will lead to "
5033 "errors if used with an older dpkg."
5039 "The “-await” alias variants are supported since dpkg 1.17.21, and will lead "
5040 "to errors if used with an older dpkg."
5046 "When a package provides an B<interest-noawait> directive, any activation "
5047 "will set the triggering package into “noawait” mode, regardless of the "
5048 "awaiting mode requested by the activation (either “await” or “noawait”). "
5049 "When a package provides an B<interest> or B<interest-await> directive, any "
5050 "activation will set the triggering package into “await” or “noawait“ "
5051 "depending on how it was activated."
5056 msgid "L<dpkg-trigger(1)>, L<dpkg(1)>, B<%PKGDOCDIR%/spec/triggers.txt>."
5061 msgid "deb-version - Debian package version number format"
5066 msgid "[I<epoch>B<:>]I<upstream-version>[B<->I<debian-revision>]"
5072 "Version numbers as used for Debian binary and source packages consist of "
5073 "three components. These are:"
5084 "This is a single (generally small) unsigned integer. It may be omitted, in "
5085 "which case zero is assumed. If it is omitted then the I<upstream-version> "
5086 "may not contain any colons."
5092 "It is provided to allow mistakes in the version numbers of older versions of "
5093 "a package, and also a package's previous version numbering schemes, to be "
5099 msgid "I<upstream-version>"
5105 "This is the main part of the version number. It is usually the version "
5106 "number of the original (“upstream”) package from which the I<.deb> file has "
5107 "been made, if this is applicable. Usually this will be in the same format "
5108 "as that specified by the upstream author(s); however, it may need to be "
5109 "reformatted to fit into the package management system's format and "
5110 "comparison scheme."
5116 "The comparison behavior of the package management system with respect to the "
5117 "I<upstream-version> is described below. The I<upstream-version> portion of "
5118 "the version number is mandatory."
5124 "The I<upstream-version> may contain only alphanumerics (“A-Za-z0-9”) and the "
5125 "characters B<.> B<+> B<-> B<:> B<~> (full stop, plus, hyphen, colon, tilde) "
5126 "and should start with a digit. If there is no I<debian-revision> then "
5127 "hyphens are not allowed; if there is no I<epoch> then colons are not "
5133 msgid "I<debian-revision>"
5139 "This part of the version number specifies the version of the Debian package "
5140 "based on the upstream version. It may contain only alphanumerics and the "
5141 "characters B<+> B<.> B<~> (plus, full stop, tilde) and is compared in the "
5142 "same way as the I<upstream-version> is."
5148 "It is optional; if it isn't present then the I<upstream-version> may not "
5149 "contain a hyphen. This format represents the case where a piece of software "
5150 "was written specifically to be turned into a Debian package, and so there is "
5151 "only one “debianization” of it and therefore no revision indication is "
5158 "It is conventional to restart the I<debian-revision> at ‘1’ each time the "
5159 "I<upstream-version> is increased."
5165 "Dpkg will break the version number apart at the last hyphen in the string "
5166 "(if there is one) to determine the I<upstream-version> and "
5167 "I<debian-revision>. The absence of a I<debian-revision> compares earlier "
5168 "than the presence of one (but note that the I<debian-revision> is the least "
5169 "significant part of the version number)."
5174 msgid "Sorting algorithm"
5180 "The I<upstream-version> and I<debian-revision> parts are compared by the "
5181 "package management system using the same algorithm:"
5186 msgid "The strings are compared from left to right."
5192 "First the initial part of each string consisting entirely of non-digit "
5193 "characters is determined. These two parts (one of which may be empty) are "
5194 "compared lexically. If a difference is found it is returned. The lexical "
5195 "comparison is a comparison of ASCII values modified so that all the letters "
5196 "sort earlier than all the non-letters and so that a tilde sorts before "
5197 "anything, even the end of a part. For example, the following parts are in "
5198 "sorted order: ‘~~’, ‘~~a’, ‘~’, the empty part, ‘a’."
5204 "Then the initial part of the remainder of each string which consists "
5205 "entirely of digit characters is determined. The numerical values of these "
5206 "two parts are compared, and any difference found is returned as the result "
5207 "of the comparison. For these purposes an empty string (which can only occur "
5208 "at the end of one or both version strings being compared) counts as zero."
5214 "These two steps (comparing and removing initial non-digit strings and "
5215 "initial digit strings) are repeated until a difference is found or both "
5216 "strings are exhausted."
5222 "Note that the purpose of epochs is to allow us to leave behind mistakes in "
5223 "version numbering, and to cope with situations where the version numbering "
5224 "scheme changes. It is B<not> intended to cope with version numbers "
5225 "containing strings of letters which the package management system cannot "
5226 "interpret (such as ‘ALPHA’ or ‘pre-’), or with silly orderings."
5232 "The tilde character and its special sorting properties were introduced in "
5233 "dpkg 1.10 and some parts of the dpkg build scripts only gained support for "
5234 "it later in the 1.10.x series."
5239 msgid "L<deb-control(5)>, L<deb(5)>, L<dpkg(1)>"
5244 msgid "deb - Debian binary package format"
5250 "The B<.deb> format is the Debian binary package file format. It is "
5251 "understood since dpkg 0.93.76, and is generated by default since dpkg 1.2.0 "
5252 "and 1.1.1elf (i386/ELF builds)."
5258 "The format described here is used since Debian 0.93; details of the old "
5259 "format are described in L<deb-old(5)>."
5265 "The file is an B<ar> archive with a magic value of B<!E<lt>archE<gt>>. Only "
5266 "the common B<ar> archive format is supported, with no long file name "
5267 "extensions, but with file names containing an optional trailing slash, which "
5268 "limits their length to 15 characters (from the 16 allowed). File sizes are "
5269 "limited to 10 ASCII decimal digits, allowing for up to approximately 9536.74 "
5276 "The B<tar> archives currently allowed are, the old-style (v7) format, the "
5277 "pre-POSIX ustar format, a subset of the GNU format (new style long pathnames "
5278 "and long linknames, supported since dpkg 1.4.1.17; large file metadata since "
5279 "dpkg 1.18.24), and the POSIX ustar format (long names supported since dpkg "
5280 "1.15.0). Unrecognized tar typeflags are considered an error. Each tar "
5281 "entry size inside a tar archive is limited to 11 ASCII octal digits, "
5282 "allowing for up to 8 GiB tar entries. The GNU large file metadata support "
5283 "permits 95-bit tar entry sizes and negative timestamps, and 63-bit UID, GID "
5284 "and device numbers."
5290 "The first member is named B<debian-binary> and contains a series of lines, "
5291 "separated by newlines. Currently only one line is present, the format "
5292 "version number, B<2.0> at the time this manual page was written. Programs "
5293 "which read new-format archives should be prepared for the minor number to be "
5294 "increased and new lines to be present, and should ignore these if this is "
5301 "If the major number has changed, an incompatible change has been made and "
5302 "the program should stop. If it has not, then the program should be able to "
5303 "safely continue, unless it encounters an unexpected member in the archive "
5304 "(except at the end), as described below."
5310 "The second required member is named B<control.tar>. It is a tar archive "
5311 "containing the package control information, either not compressed (supported "
5312 "since dpkg 1.17.6), or compressed with gzip (with B<.gz> extension) or xz "
5313 "(with B<.xz> extension, supported since 1.17.6), zstd (with B<.zst> "
5314 "extension, supported since dpkg 1.21.18), as a series of plain files, of "
5315 "which the file B<control> is mandatory and contains the core control "
5316 "information, the B<md5sums>, B<conffiles>, B<triggers>, B<shlibs> and "
5317 "B<symbols> files contain optional control information, and the B<preinst>, "
5318 "B<postinst>, B<prerm> and B<postrm> files are optional maintainer scripts. "
5319 "The control tarball may optionally contain an entry for ‘B<.>’, the current "
5326 "The third, last required member is named B<data.tar>. It contains the "
5327 "filesystem as a tar archive, either not compressed (supported since dpkg "
5328 "1.10.24), or compressed with gzip (with B<.gz> extension), xz (with B<.xz> "
5329 "extension, supported since dpkg 1.15.6), zstd (with B<.zst> extension, "
5330 "supported since dpkg 1.21.18), bzip2 (with B<.bz2> extension, supported "
5331 "since dpkg 1.10.24) or lzma (with B<.lzma> extension, supported since dpkg "
5338 "These members must occur in this exact order. Current implementations should "
5339 "ignore any additional members after B<data.tar>. Further members may be "
5340 "defined in the future, and (if possible) will be placed after these "
5341 "three. Any additional members that may need to be inserted after "
5342 "B<debian-binary> and before B<control.tar> or B<data.tar> and which should "
5343 "be safely ignored by older programs, will have names starting with an "
5344 "underscore, ‘B<_>’."
5350 "Those new members which won't be able to be safely ignored will be inserted "
5351 "before B<data.tar> with names starting with something other than "
5352 "underscores, or will (more likely) cause the major version number to be "
5368 msgid "application/vnd.debian.binary-package"
5378 msgid "application/x-debian-package"
5383 msgid "application/x-deb"
5389 "L<deb-old(5)>, L<dpkg-deb(1)>, L<deb-control(5)>, L<deb-conffiles(5)>, "
5390 "L<deb-md5sums(5)>, L<deb-triggers(5)>, L<deb-shlibs(5)>, L<deb-symbols(5)>, "
5391 "L<deb-preinst(5)>, L<deb-postinst(5)>, L<deb-prerm(5)>, L<deb-postrm(5)>."
5396 msgid "deb822 - Debian RFC822 control data format"
5402 "The package management system manipulates data represented in a common "
5403 "format, known as I<control data>, stored in I<control files>. Control files "
5404 "are used for source packages, binary packages and the B<.changes> files "
5405 "which control the installation of uploaded files (B<dpkg>'s internal "
5406 "databases are in a similar format)."
5417 "A control file consists of one or more stanzas of fields (the stanzas "
5418 "sometimes used to be referred to as paragraphs). The stanzas are separated "
5419 "by empty lines. Parsers may accept lines consisting solely of U+0020 "
5420 "B<SPACE> and U+0009 B<TAB> as stanza separators, but control files should "
5421 "use empty lines. Some control files allow only one stanza; others allow "
5422 "several, in which case each stanza usually refers to a different package. "
5423 "(For example, in source packages, the first stanza refers to the source "
5424 "package, and later stanzas refer to binary packages generated from the "
5425 "source.) The ordering of the stanzas in control files is significant."
5431 "Each stanza consists of a series of data fields. Each field consists of the "
5432 "field name followed by a colon (U+003A ‘B<:>’), and then the data/value "
5433 "associated with that field. The field name is composed of US-ASCII "
5434 "characters excluding control characters, space, and colon (i.e., characters "
5435 "in the ranges U+0021 ‘B<!>’ through U+0039 ‘B<9>’, and U+003B ‘B<;>’ through "
5436 "U+007E ‘B<~>’, inclusive). Field names must not begin with the comment "
5437 "character (U+0023 ‘B<#>’), nor with the hyphen character (U+002D ‘B<->’)."
5443 "The field ends at the end of the line or at the end of the last continuation "
5444 "line (see below). Horizontal whitespace (U+0020 B<SPACE> and U+0009 B<TAB>) "
5445 "may occur immediately before or after the value and is ignored there; it is "
5446 "conventional to put a single space after the colon. For example, a field "
5460 msgid "the field name is B<Package> and the field value B<dpkg>."
5466 "Empty field values are only permitted in source package control files "
5467 "(I<debian/control>). Such fields are ignored."
5472 msgid "A stanza must not contain more than one instance of a particular field name."
5477 msgid "There are three types of fields:"
5488 "The field, including its value, must be a single line. Folding of the field "
5489 "is not permitted. This is the default field type if the definition of the "
5490 "field does not specify a different type."
5501 "The value of a folded field is a logical line that may span several lines. "
5502 "The lines after the first are called continuation lines and must start with "
5503 "a U+0020 B<SPACE> or a U+0009 B<TAB>. Whitespace, including any newlines, "
5504 "is not significant in the field values of folded fields."
5510 "This folding method is similar to RFC5322, allowing control files that "
5511 "contain only one stanza and no multiline fields to be read by parsers "
5512 "written for RFC5322."
5517 msgid "B<multiline>"
5523 "The value of a multiline field may comprise multiple continuation lines. "
5524 "The first line of the value, the part on the same line as the field name, "
5525 "often has special significance or may have to be empty. Other lines are "
5526 "added following the same syntax as the continuation lines of the folded "
5527 "fields. Whitespace, including newlines, is significant in the values of "
5534 "Whitespace must not appear inside names (of packages, architectures, files "
5535 "or anything else) or version numbers, or between the characters of "
5536 "multi-character version relationships."
5542 "The presence and purpose of a field, and the syntax of its value may differ "
5543 "between types of control files."
5549 "Field names are not case-sensitive, but it is usual to capitalize the field "
5550 "names using mixed case as shown below. Field values are case-sensitive "
5551 "unless the description of the field says otherwise."
5557 "Stanza separators (empty lines) and lines consisting only of U+0020 B<SPACE> "
5558 "and U+0009 B<TAB>, are not allowed within field values or between fields. "
5559 "Empty lines in field values are usually escaped by representing them by a "
5560 "U+0020 B<SPACE> followed by a dot (U+002E ‘B<.>’)."
5566 "Lines starting with U+0023 ‘B<#>’, without any preceding whitespace are "
5567 "comments lines that are only permitted in source package control files "
5568 "(I<debian/control>) and in L<deb-origin(5)> files. These comment lines are "
5569 "ignored, even between two continuation lines. They do not end logical "
5575 msgid "All control files must be encoded in UTF-8."
5580 msgid "B<RFC822>, B<RFC5322>."
5584 #: dpkg-architecture.pod
5585 msgid "dpkg-architecture - set and determine the architecture for package building"
5589 #: dpkg-architecture.pod
5590 msgid "B<dpkg-architecture> [I<option>...] [I<command>]"
5594 #: dpkg-architecture.pod
5596 "B<dpkg-architecture> provides a facility to determine and set the build and "
5597 "host architecture for package building."
5601 #: dpkg-architecture.pod
5603 "The build architecture is always determined by either the B<DEB_BUILD_ARCH> "
5604 "variable if set (and B<--force> not being specified) or by an external call "
5605 "to L<dpkg(1)>, and cannot be set at the command line."
5609 #: dpkg-architecture.pod
5611 "You can specify the host architecture by providing one or both of the "
5612 "options B<--host-arch> and B<--host-type>, otherwise the B<DEB_HOST_ARCH> "
5613 "variable is used if set (and B<--force> not being specified). The default is "
5614 "determined by an external call to L<gcc(1)>, or the same as the build "
5615 "architecture if B<CC> or gcc are both not available. One out of "
5616 "B<--host-arch> and B<--host-type> is sufficient, the value of the other will "
5617 "be set to a usable default. Indeed, it is often better to only specify one, "
5618 "because B<dpkg-architecture> will warn you if your choice does not match the "
5623 #: dpkg-architecture.pod dpkg-buildapi.pod dpkg-buildflags.pod dpkg-deb.pod
5624 #: dpkg-divert.pod dpkg-query.pod dpkg-source.pod dpkg-split.pod
5625 #: dpkg-statoverride.pod dpkg-trigger.pod dpkg-vendor.pod dselect.pod
5626 #: start-stop-daemon.pod update-alternatives.pod
5631 #: dpkg-architecture.pod
5632 msgid "B<-l>, B<--list>"
5636 #: dpkg-architecture.pod
5638 "Print the environment variables, one each line, in the format "
5639 "I<VARIABLE=value>. This is the default action."
5643 #: dpkg-architecture.pod
5644 msgid "B<-e>, B<--equal> I<architecture>"
5648 #: dpkg-architecture.pod
5650 "Check for equality of architecture (since dpkg 1.13.13). It compares the "
5651 "current or specified Debian host architecture against I<architecture>, to "
5652 "check if they are equal. This action will not expand the architecture "
5653 "wildcards. Command finishes with an exit status of 0 if matched, 1 if not "
5658 #: dpkg-architecture.pod
5659 msgid "B<-i>, B<--is> I<architecture-wildcard>"
5663 #: dpkg-architecture.pod
5665 "Check for identity of architecture (since dpkg 1.13.13). It compares the "
5666 "current or specified Debian host architecture against "
5667 "I<architecture-wildcard> after having expanded it as an architecture "
5668 "wildcard, to check if they match. Command finishes with an exit status of 0 "
5669 "if matched, 1 if not matched."
5673 #: dpkg-architecture.pod
5674 msgid "B<-q>, B<--query> I<variable-name>"
5678 #: dpkg-architecture.pod
5679 msgid "Print the value of a single variable."
5683 #: dpkg-architecture.pod
5684 msgid "B<-s>, B<--print-set>"
5688 #: dpkg-architecture.pod
5690 "Print an export command. This can be used to set the environment variables "
5691 "using the POSIX shell or make B<eval>, depending on the output format."
5695 #: dpkg-architecture.pod
5696 msgid "B<-u>, B<--print-unset>"
5700 #: dpkg-architecture.pod
5701 msgid "Print a similar command to B<--print-set> but to unset all variables."
5705 #: dpkg-architecture.pod
5706 msgid "B<-c>, B<--command> I<command-string>"
5710 #: dpkg-architecture.pod
5712 "Execute a I<command-string> in an environment which has all variables set to "
5713 "the determined value."
5717 #: dpkg-architecture.pod
5719 "If the I<command-string> contains shell metacharacters, then it will be "
5720 "invoked through the system bourne shell."
5724 #: dpkg-architecture.pod
5725 msgid "B<-L>, B<--list-known>"
5729 #: dpkg-architecture.pod
5731 "Print a list of valid architecture names. Possibly restricted by one or "
5732 "more of the matching options B<--match-wildcard>, B<--match-bits> or "
5733 "B<--match-endian> (since dpkg 1.17.14)."
5737 #: dpkg-architecture.pod dpkg-buildpackage.pod dpkg-checkbuilddeps.pod
5738 #: dpkg-deb.pod dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
5739 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
5740 #: dpkg-gensymbols.pod dpkg-name.pod dpkg-parsechangelog.pod dpkg-query.pod
5741 #: dpkg-realpath.pod dpkg-scanpackages.pod dpkg-shlibdeps.pod dpkg-source.pod
5742 #: dpkg-split.pod dpkg-trigger.pod dpkg.pod dselect.pod
5743 msgid "B<-?>, B<--help>"
5747 #: dpkg-architecture.pod dpkg-buildapi.pod dpkg-buildflags.pod
5748 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod dpkg-deb.pod
5749 #: dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
5750 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
5751 #: dpkg-gensymbols.pod dpkg-mergechangelogs.pod dpkg-name.pod
5752 #: dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
5753 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod dpkg-split.pod
5754 #: dpkg-statoverride.pod dpkg-trigger.pod dpkg-vendor.pod
5755 #: update-alternatives.pod
5756 msgid "Show the usage message and exit."
5760 #: dpkg-architecture.pod dpkg-buildapi.pod dpkg-buildflags.pod
5761 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod dpkg-deb.pod
5762 #: dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
5763 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
5764 #: dpkg-gensymbols.pod dpkg-mergechangelogs.pod dpkg-parsechangelog.pod
5765 #: dpkg-query.pod dpkg-realpath.pod dpkg-scanpackages.pod dpkg-scansources.pod
5766 #: dpkg-shlibdeps.pod dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod
5767 #: dpkg-trigger.pod dpkg-vendor.pod dpkg.pod dselect.pod
5768 #: update-alternatives.pod
5769 msgid "B<--version>"
5773 #: dpkg-architecture.pod dpkg-buildapi.pod dpkg-buildflags.pod
5774 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod dpkg-deb.pod
5775 #: dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
5776 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
5777 #: dpkg-gensymbols.pod dpkg-mergechangelogs.pod dpkg-name.pod
5778 #: dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
5779 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
5780 #: dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
5781 #: dpkg-vendor.pod update-alternatives.pod
5782 msgid "Show the version and exit."
5786 #: dpkg-architecture.pod dpkg-buildpackage.pod dpkg-checkbuilddeps.pod
5787 #: dpkg-deb.pod dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
5788 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
5789 #: dpkg-gensymbols.pod dpkg-mergechangelogs.pod dpkg-name.pod
5790 #: dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
5791 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
5792 #: dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
5793 #: dpkg-vendor.pod dpkg.pod dselect.pod start-stop-daemon.pod
5794 #: update-alternatives.pod
5799 #: dpkg-architecture.pod dpkg-buildpackage.pod
5800 msgid "B<-a>, B<--host-arch> I<architecture>"
5804 #: dpkg-architecture.pod
5805 msgid "Set the host Debian architecture."
5809 #: dpkg-architecture.pod dpkg-buildpackage.pod
5810 msgid "B<-t>, B<--host-type> I<gnu-system-type>"
5814 #: dpkg-architecture.pod
5815 msgid "Set the host GNU system type."
5819 #: dpkg-architecture.pod
5820 msgid "B<-A>, B<--target-arch> I<architecture>"
5824 #: dpkg-architecture.pod
5825 msgid "Set the target Debian architecture (since dpkg 1.17.14)."
5829 #: dpkg-architecture.pod
5830 msgid "B<-T>, B<--target-type> I<gnu-system-type>"
5834 #: dpkg-architecture.pod
5835 msgid "Set the target GNU system type (since dpkg 1.17.14)."
5839 #: dpkg-architecture.pod
5840 msgid "B<-W>, B<--match-wildcard> I<architecture-wildcard>"
5844 #: dpkg-architecture.pod
5846 "Restrict the architectures listed by B<--list-known> to ones matching the "
5847 "specified architecture wildcard (since dpkg 1.17.14)."
5851 #: dpkg-architecture.pod
5852 msgid "B<-B>, B<--match-bits> I<architecture-bits>"
5856 #: dpkg-architecture.pod
5858 "Restrict the architectures listed by B<--list-known> to ones with the "
5859 "specified CPU bits (since dpkg 1.17.14). Either B<32> or B<64>."
5863 #: dpkg-architecture.pod
5864 msgid "B<-E>, B<--match-endian> I<architecture-endianness>"
5868 #: dpkg-architecture.pod
5870 "Restrict the architectures listed by B<--list-known> to ones with the "
5871 "specified endianness (since dpkg 1.17.14). Either B<little> or B<big>."
5875 #: dpkg-architecture.pod
5876 msgid "B<--print-format> I<format>"
5880 #: dpkg-architecture.pod
5882 "Sets the output format for B<--print-set> and B<--print-unset> (since dpkg "
5883 "1.20.6), to either B<shell> (default) or B<make>."
5887 #: dpkg-architecture.pod
5888 msgid "B<-f>, B<--force>"
5892 #: dpkg-architecture.pod
5894 "Values set by existing environment variables with the same name as used by "
5895 "the scripts are honored (i.e. used by B<dpkg-architecture>), except if this "
5896 "force flag is present. This allows the user to override a value even when "
5897 "the call to B<dpkg-architecture> is buried in some other script (for example "
5898 "L<dpkg-buildpackage(1)>)."
5902 #: dpkg-architecture.pod
5907 #: dpkg-architecture.pod
5908 msgid "build machine"
5912 #: dpkg-architecture.pod
5913 msgid "The machine the package is built on."
5917 #: dpkg-architecture.pod
5918 msgid "host machine"
5922 #: dpkg-architecture.pod
5923 msgid "The machine the package is built for."
5927 #: dpkg-architecture.pod
5928 msgid "target machine"
5932 #: dpkg-architecture.pod
5934 "The machine the compiler is building for, or the emulator will run code "
5935 "for. This is only needed when building a cross-toolchain (or emulator), one "
5936 "that will be built on the build architecture, to be run on the host "
5937 "architecture, and to build (or run emulated) code for the target "
5942 #: dpkg-architecture.pod
5943 msgid "Debian architecture"
5947 #: dpkg-architecture.pod
5949 "The Debian architecture string, which specifies the binary tree in the FTP "
5950 "archive. Examples: i386, sparc, hurd-i386."
5954 #: dpkg-architecture.pod
5955 msgid "Debian architecture tuple"
5959 #: dpkg-architecture.pod
5961 "A Debian architecture tuple is the fully qualified architecture with all its "
5962 "components spelled out. This differs with Debian architectures in that at "
5963 "least the I<cpu> component does not embed the I<abi>. The current tuple has "
5964 "the form I<abi>-I<libc>-I<os>-I<cpu>. Examples: base-gnu-linux-amd64, "
5965 "eabihf-musl-linux-arm."
5969 #: dpkg-architecture.pod
5970 msgid "Debian architecture wildcard"
5974 #: dpkg-architecture.pod
5976 "A Debian architecture wildcard is a special architecture string that will "
5977 "match any real architecture being part of it. The general form is a Debian "
5978 "architecture tuple with four or less elements, and with at least one of them "
5979 "being B<any>. Missing elements of the tuple are prefixed implicitly as "
5980 "B<any>, and thus the following pairs are equivalent:"
5984 #: dpkg-architecture.pod
5985 msgid "B<any>-B<any>-B<any>-B<any> = B<any>"
5989 #: dpkg-architecture.pod
5990 msgid "B<any>-B<any>-I<os>-B<any> = I<os>-B<any>"
5994 #: dpkg-architecture.pod
5995 msgid "B<any>-I<libc>-B<any>-B<any> = I<libc>-B<any>-B<any>"
5999 #: dpkg-architecture.pod
6000 msgid "Examples: linux-any, any-i386, hurd-any, eabi-any-any-arm, musl-any-any."
6004 #: dpkg-architecture.pod
6005 msgid "GNU system type"
6009 #: dpkg-architecture.pod
6011 "An architecture specification string consisting of two parts separated by a "
6012 "hyphen: cpu and system. Examples: i586-linux-gnu, sparc-linux-gnu, "
6013 "i686-gnu, x86_64-netbsd."
6017 #: dpkg-architecture.pod
6018 msgid "multiarch triplet"
6022 #: dpkg-architecture.pod
6024 "The clarified GNU system type, used for filesystem paths. This triplet does "
6025 "not change even when the baseline ISA gets bumped, so that the resulting "
6026 "paths are stable over time. The only current difference with the GNU system "
6027 "type is that the CPU part for i386 based systems is always i386. Examples: "
6028 "i386-linux-gnu, x86_64-linux-gnu. Example paths: "
6029 "/lib/powerpc64le-linux-gnu/, /usr/lib/i386-kfreebsd-gnu/."
6033 #: dpkg-architecture.pod
6038 #: dpkg-architecture.pod
6040 "The following variables are read from the environment (unless B<--force> has "
6041 "been specified) and set by B<dpkg-architecture> (see the B<TERMS> section "
6042 "for a description of the naming scheme):"
6046 #: dpkg-architecture.pod
6047 msgid "B<DEB_BUILD_ARCH>"
6051 #: dpkg-architecture.pod
6052 msgid "The Debian architecture of the build machine."
6056 #: dpkg-architecture.pod
6057 msgid "B<DEB_BUILD_ARCH_ABI>"
6061 #: dpkg-architecture.pod
6062 msgid "The Debian ABI name of the build machine (since dpkg 1.18.11)."
6066 #: dpkg-architecture.pod
6067 msgid "B<DEB_BUILD_ARCH_LIBC>"
6071 #: dpkg-architecture.pod
6072 msgid "The Debian libc name of the build machine (since dpkg 1.18.11)."
6076 #: dpkg-architecture.pod
6077 msgid "B<DEB_BUILD_ARCH_OS>"
6081 #: dpkg-architecture.pod
6082 msgid "The Debian system name of the build machine (since dpkg 1.13.2)."
6086 #: dpkg-architecture.pod
6087 msgid "B<DEB_BUILD_ARCH_CPU>"
6091 #: dpkg-architecture.pod
6092 msgid "The Debian CPU name of the build machine (since dpkg 1.13.2)."
6096 #: dpkg-architecture.pod
6097 msgid "B<DEB_BUILD_ARCH_BITS>"
6101 #: dpkg-architecture.pod
6102 msgid "The pointer size of the build machine (in bits; since dpkg 1.15.4)."
6106 #: dpkg-architecture.pod
6107 msgid "B<DEB_BUILD_ARCH_ENDIAN>"
6111 #: dpkg-architecture.pod
6112 msgid "The endianness of the build machine (little / big; since dpkg 1.15.4)."
6116 #: dpkg-architecture.pod
6117 msgid "B<DEB_BUILD_GNU_CPU>"
6121 #: dpkg-architecture.pod
6122 msgid "The GNU CPU part of B<DEB_BUILD_GNU_TYPE>."
6126 #: dpkg-architecture.pod
6127 msgid "B<DEB_BUILD_GNU_SYSTEM>"
6131 #: dpkg-architecture.pod
6132 msgid "The GNU system part of B<DEB_BUILD_GNU_TYPE>."
6136 #: dpkg-architecture.pod
6137 msgid "B<DEB_BUILD_GNU_TYPE>"
6141 #: dpkg-architecture.pod
6142 msgid "The GNU system type of the build machine."
6146 #: dpkg-architecture.pod
6147 msgid "B<DEB_BUILD_MULTIARCH>"
6151 #: dpkg-architecture.pod
6153 "The clarified GNU system type of the build machine, used for filesystem "
6154 "paths (since dpkg 1.16.0)."
6158 #: dpkg-architecture.pod
6159 msgid "B<DEB_HOST_ARCH>"
6163 #: dpkg-architecture.pod
6164 msgid "The Debian architecture of the host machine."
6168 #: dpkg-architecture.pod
6169 msgid "B<DEB_HOST_ARCH_ABI>"
6173 #: dpkg-architecture.pod
6174 msgid "The Debian ABI name of the host machine (since dpkg 1.18.11)."
6178 #: dpkg-architecture.pod
6179 msgid "B<DEB_HOST_ARCH_LIBC>"
6183 #: dpkg-architecture.pod
6184 msgid "The Debian libc name of the host machine (since dpkg 1.18.11)."
6188 #: dpkg-architecture.pod
6189 msgid "B<DEB_HOST_ARCH_OS>"
6193 #: dpkg-architecture.pod
6194 msgid "The Debian system name of the host machine (since dpkg 1.13.2)."
6198 #: dpkg-architecture.pod
6199 msgid "B<DEB_HOST_ARCH_CPU>"
6203 #: dpkg-architecture.pod
6204 msgid "The Debian CPU name of the host machine (since dpkg 1.13.2)."
6208 #: dpkg-architecture.pod
6209 msgid "B<DEB_HOST_ARCH_BITS>"
6213 #: dpkg-architecture.pod
6214 msgid "The pointer size of the host machine (in bits; since dpkg 1.15.4)."
6218 #: dpkg-architecture.pod
6219 msgid "B<DEB_HOST_ARCH_ENDIAN>"
6223 #: dpkg-architecture.pod
6224 msgid "The endianness of the host machine (little / big; since dpkg 1.15.4)."
6228 #: dpkg-architecture.pod
6229 msgid "B<DEB_HOST_GNU_CPU>"
6233 #: dpkg-architecture.pod
6234 msgid "The GNU CPU part of B<DEB_HOST_GNU_TYPE>."
6238 #: dpkg-architecture.pod
6239 msgid "B<DEB_HOST_GNU_SYSTEM>"
6243 #: dpkg-architecture.pod
6244 msgid "The GNU system part of B<DEB_HOST_GNU_TYPE>."
6248 #: dpkg-architecture.pod
6249 msgid "B<DEB_HOST_GNU_TYPE>"
6253 #: dpkg-architecture.pod
6254 msgid "The GNU system type of the host machine."
6258 #: dpkg-architecture.pod
6259 msgid "B<DEB_HOST_MULTIARCH>"
6263 #: dpkg-architecture.pod
6265 "The clarified GNU system type of the host machine, used for filesystem paths "
6266 "(since dpkg 1.16.0)."
6270 #: dpkg-architecture.pod
6271 msgid "B<DEB_TARGET_ARCH>"
6275 #: dpkg-architecture.pod
6276 msgid "The Debian architecture of the target machine (since dpkg 1.17.14)."
6280 #: dpkg-architecture.pod
6281 msgid "B<DEB_TARGET_ARCH_ABI>"
6285 #: dpkg-architecture.pod
6286 msgid "The Debian ABI name of the target machine (since dpkg 1.18.11)."
6290 #: dpkg-architecture.pod
6291 msgid "B<DEB_TARGET_ARCH_LIBC>"
6295 #: dpkg-architecture.pod
6296 msgid "The Debian libc name of the target machine (since dpkg 1.18.11)."
6300 #: dpkg-architecture.pod
6301 msgid "B<DEB_TARGET_ARCH_OS>"
6305 #: dpkg-architecture.pod
6306 msgid "The Debian system name of the target machine (since dpkg 1.17.14)."
6310 #: dpkg-architecture.pod
6311 msgid "B<DEB_TARGET_ARCH_CPU>"
6315 #: dpkg-architecture.pod
6316 msgid "The Debian CPU name of the target machine (since dpkg 1.17.14)."
6320 #: dpkg-architecture.pod
6321 msgid "B<DEB_TARGET_ARCH_BITS>"
6325 #: dpkg-architecture.pod
6326 msgid "The pointer size of the target machine (in bits; since dpkg 1.17.14)."
6330 #: dpkg-architecture.pod
6331 msgid "B<DEB_TARGET_ARCH_ENDIAN>"
6335 #: dpkg-architecture.pod
6336 msgid "The endianness of the target machine (little / big; since dpkg 1.17.14)."
6340 #: dpkg-architecture.pod
6341 msgid "B<DEB_TARGET_GNU_CPU>"
6345 #: dpkg-architecture.pod
6346 msgid "The GNU CPU part of B<DEB_TARGET_GNU_TYPE> (since dpkg 1.17.14)."
6350 #: dpkg-architecture.pod
6351 msgid "B<DEB_TARGET_GNU_SYSTEM>"
6355 #: dpkg-architecture.pod
6356 msgid "The GNU system part of B<DEB_TARGET_GNU_TYPE> (since dpkg 1.17.14)."
6360 #: dpkg-architecture.pod
6361 msgid "B<DEB_TARGET_GNU_TYPE>"
6365 #: dpkg-architecture.pod
6366 msgid "The GNU system type of the target machine (since dpkg 1.17.14)."
6370 #: dpkg-architecture.pod
6371 msgid "B<DEB_TARGET_MULTIARCH>"
6375 #: dpkg-architecture.pod
6377 "The clarified GNU system type of the target machine, used for filesystem "
6378 "paths (since dpkg 1.17.14)."
6382 #: dpkg-architecture.pod
6383 msgid "Architecture tables"
6387 #: dpkg-architecture.pod
6389 "All these files have to be present for B<dpkg-architecture> to work. Their "
6390 "location can be overridden at runtime with the environment variable "
6391 "B<DPKG_DATADIR>. These tables contain a format B<Version> pseudo-field on "
6392 "their first line to mark their format, so that parsers can check if they "
6393 "understand it, such as \"# Version=1.0\"."
6397 #: dpkg-architecture.pod
6398 msgid "I<%PKGDATADIR%/cputable>"
6402 #: dpkg-architecture.pod
6404 "Table of known CPU names and mapping to their GNU name. Format version 1.0 "
6405 "(since dpkg 1.13.2)."
6409 #: dpkg-architecture.pod
6410 msgid "I<%PKGDATADIR%/ostable>"
6414 #: dpkg-architecture.pod
6416 "Table of known operating system names and mapping to their GNU name. Format "
6417 "version 2.0 (since dpkg 1.18.11)."
6421 #: dpkg-architecture.pod
6422 msgid "I<%PKGDATADIR%/tupletable>"
6426 #: dpkg-architecture.pod
6428 "Mapping between Debian architecture tuples and Debian architecture names. "
6429 "Format version 1.0 (since dpkg 1.18.11)."
6433 #: dpkg-architecture.pod
6434 msgid "I<%PKGDATADIR%/abitable>"
6438 #: dpkg-architecture.pod
6440 "Table of Debian architecture ABI attribute overrides. Format version 2.0 "
6441 "(since dpkg 1.18.11)."
6445 #: dpkg-architecture.pod dpkg-buildapi.pod dpkg-buildflags.pod
6446 msgid "Packaging support"
6450 #: dpkg-architecture.pod
6451 msgid "I<%PKGDATADIR%/architecture.mk>"
6455 #: dpkg-architecture.pod
6457 "Makefile snippet that properly sets and exports all the variables that "
6458 "B<dpkg-architecture> outputs (since dpkg 1.16.1)."
6462 #: dpkg-architecture.pod
6464 "B<dpkg-buildpackage> accepts the B<-a> option and passes it to "
6465 "B<dpkg-architecture>. Other examples:"
6469 #: dpkg-architecture.pod
6472 " CC=i386-gnu-gcc dpkg-architecture -c debian/rules build\n"
6477 #: dpkg-architecture.pod
6480 " eval $(dpkg-architecture -u)\n"
6485 #: dpkg-architecture.pod
6487 "Check if the current or specified host architecture is equal to an "
6492 #: dpkg-architecture.pod
6495 " dpkg-architecture -elinux-alpha\n"
6500 #: dpkg-architecture.pod
6503 " dpkg-architecture -amips -elinux-mips\n"
6508 #: dpkg-architecture.pod
6509 msgid "Check if the current or specified host architecture is a Linux system:"
6513 #: dpkg-architecture.pod
6516 " dpkg-architecture -ilinux-any\n"
6521 #: dpkg-architecture.pod
6524 " dpkg-architecture -ai386 -ilinux-any\n"
6529 #: dpkg-architecture.pod dpkg-buildflags.pod
6530 msgid "Usage in debian/rules"
6534 #: dpkg-architecture.pod
6536 "The environment variables set by B<dpkg-architecture> are passed to "
6537 "I<debian/rules> as make variables (see make documentation). However, you "
6538 "should not rely on them, as this breaks manual invocation of the "
6539 "script. Instead, you should always initialize them using "
6540 "B<dpkg-architecture> with the B<-q> option. Here are some examples, which "
6541 "also show how you can improve the cross compilation support in your package:"
6545 #: dpkg-architecture.pod
6546 msgid "Retrieving the GNU system type and forwarding it to ./configure:"
6550 #: dpkg-architecture.pod
6553 " DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)\n"
6554 " DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)\n"
6556 " ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))\n"
6557 " confflags += --build=$(DEB_HOST_GNU_TYPE)\n"
6559 " confflags += --build=$(DEB_BUILD_GNU_TYPE) \\\n"
6560 " --host=$(DEB_HOST_GNU_TYPE)\n"
6563 " ./configure $(confflags)\n"
6568 #: dpkg-architecture.pod
6569 msgid "Doing something only for a specific architecture:"
6573 #: dpkg-architecture.pod
6576 " DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)\n"
6581 #: dpkg-architecture.pod
6584 " ifeq ($(DEB_HOST_ARCH),alpha)\n"
6591 #: dpkg-architecture.pod
6593 "or if you only need to check the CPU or OS type, use the "
6594 "B<DEB_HOST_ARCH_CPU> or B<DEB_HOST_ARCH_OS> variables."
6598 #: dpkg-architecture.pod
6600 "Note that you can also rely on an external Makefile snippet to properly set "
6601 "all the variables that B<dpkg-architecture> can provide:"
6605 #: dpkg-architecture.pod
6608 " include %PKGDATADIR%/architecture.mk\n"
6613 #: dpkg-architecture.pod
6615 "In any case, you should never use B<dpkg --print-architecture> to get "
6616 "architecture information during a package build."
6620 #: dpkg-architecture.pod dpkg-buildapi.pod dpkg-buildflags.pod
6621 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod dpkg-deb.pod
6622 #: dpkg-distaddfile.pod dpkg-divert.pod dpkg-fsys-usrunmess.pod
6623 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
6624 #: dpkg-gensymbols.pod dpkg-maintscript-helper.pod dpkg-mergechangelogs.pod
6625 #: dpkg-name.pod dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
6626 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
6627 #: dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
6628 #: dpkg-vendor.pod dpkg.pod dselect.pod update-alternatives.pod
6633 #: dpkg-architecture.pod
6634 msgid "B<DPKG_DATADIR>"
6638 #: dpkg-architecture.pod
6640 "If set, it will be used as the B<dpkg> data directory, where the "
6641 "architecture tables are located (since dpkg 1.14.17). Defaults to "
6646 #: dpkg-architecture.pod dpkg-buildflags.pod dpkg-buildpackage.pod
6647 #: dpkg-checkbuilddeps.pod dpkg-deb.pod dpkg-distaddfile.pod dpkg-divert.pod
6648 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
6649 #: dpkg-gensymbols.pod dpkg-maintscript-helper.pod dpkg-mergechangelogs.pod
6650 #: dpkg-name.pod dpkg-parsechangelog.pod dpkg-query.pod dpkg-realpath.pod
6651 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
6652 #: dpkg-source.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
6653 #: dpkg-vendor.pod dpkg.pod
6654 msgid "B<DPKG_COLORS>"
6658 #: dpkg-architecture.pod dpkg-buildflags.pod dpkg-buildpackage.pod
6659 #: dpkg-checkbuilddeps.pod dpkg-deb.pod dpkg-distaddfile.pod dpkg-divert.pod
6660 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
6661 #: dpkg-gensymbols.pod dpkg-mergechangelogs.pod dpkg-name.pod
6662 #: dpkg-parsechangelog.pod dpkg-query.pod dpkg-scanpackages.pod
6663 #: dpkg-scansources.pod dpkg-shlibdeps.pod dpkg-source.pod dpkg-split.pod
6664 #: dpkg-statoverride.pod dpkg-trigger.pod dpkg-vendor.pod dpkg.pod
6666 "Sets the color mode (since dpkg 1.18.5). The currently accepted values are: "
6667 "B<auto> (default), B<always> and B<never>."
6671 #: dpkg-architecture.pod dpkg-buildflags.pod dpkg-buildpackage.pod
6672 #: dpkg-checkbuilddeps.pod dpkg-distaddfile.pod dpkg-genbuildinfo.pod
6673 #: dpkg-genchanges.pod dpkg-gencontrol.pod dpkg-gensymbols.pod
6674 #: dpkg-mergechangelogs.pod dpkg-name.pod dpkg-parsechangelog.pod
6675 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
6676 #: dpkg-source.pod dpkg-vendor.pod
6681 #: dpkg-architecture.pod dpkg-buildflags.pod dpkg-buildpackage.pod
6682 #: dpkg-checkbuilddeps.pod dpkg-distaddfile.pod dpkg-genbuildinfo.pod
6683 #: dpkg-genchanges.pod dpkg-gencontrol.pod dpkg-gensymbols.pod
6684 #: dpkg-mergechangelogs.pod dpkg-name.pod dpkg-parsechangelog.pod
6685 #: dpkg-scanpackages.pod dpkg-scansources.pod dpkg-shlibdeps.pod
6686 #: dpkg-source.pod dpkg-vendor.pod
6688 "If set, it will be used to decide whether to activate Native Language "
6689 "Support, also known as internationalization (or i18n) support (since dpkg "
6690 "1.19.0). The accepted values are: B<0> and B<1> (default)."
6694 #: dpkg-architecture.pod
6695 msgid "All long command and option names available only since dpkg 1.17.17."
6699 #: dpkg-architecture.pod
6700 msgid "L<dpkg-buildpackage(1)>."
6704 #: dpkg-build-api.pod
6705 msgid "dpkg-build-api - source package dpkg build API level"
6709 #: dpkg-build-api.pod
6713 " dpkg-build-api (= 1),\n"
6718 #: dpkg-build-api.pod
6720 "The source package dpkg build API level, defines a versioned interface for "
6721 "source packages, where each API level provides specific behaviors and "
6726 #: dpkg-build-api.pod
6728 "These interfaces can then be adopted by packages in a gradual way, and "
6729 "phased out more easily than with global behavior changes."
6733 #: dpkg-build-api.pod
6735 "The declaration of this API level is done through build-dependencies, in one "
6736 "of B<Build-Depends>, B<Build-Depends-Indep> or B<Build-Depends-Arch>, or via "
6737 "the environment variable B<DPKG_BUILD_API>, which will override these if "
6738 "both are present, and might emit a warning in case they are different."
6742 #: dpkg-build-api.pod
6747 #: dpkg-build-api.pod
6752 #: dpkg-build-api.pod
6754 "This level is still under development, and cannot be declared via "
6755 "build-dependencies."
6759 #: dpkg-build-api.pod
6764 #: dpkg-build-api.pod
6765 msgid "This is the recommended level. Since dpkg 1.22.0."
6769 #: dpkg-build-api.pod
6770 msgid "Changes from v0 are:"
6774 #: dpkg-build-api.pod
6776 "B<dpkg-shlibdeps> no longer uses the B<LD_LIBRARY_PATH> environment "
6777 "variable. The B<-l> option should be used instead."
6781 #: dpkg-build-api.pod
6783 "B<dpkg-buildpackage> defaults to B<Rules-Requires-Root> to B<no>. To "
6784 "restore the B<v0> behavior B<Rules-Requires-Root> should be set to "
6785 "B<binary-targets>."
6789 #: dpkg-build-api.pod
6791 "B<dpkg-buildpackage> requires all required F<debian/rules> targets. That is "
6792 "B<clean>, B<build>, B<build-indep>, B<build-arch>, B<binary-indep> and "
6797 #: dpkg-build-api.pod
6799 "B<vendor.mk> defaults to using B<dpkg_vendor_derives_from_v1> for the "
6800 "B<dpkg_vendor_derives_from> macro. To restore the B<v0> behavior set "
6801 "B<dpkg_vendor_derives_from> to B<dpkg_vendor_derives_from_v0>."
6805 #: dpkg-build-api.pod
6806 msgid "B<default.mk> defaults to including B<buildtools.mk>."
6810 #: dpkg-build-api.pod
6815 #: dpkg-build-api.pod
6817 "This is the current global level, equivalent to not specifying one. The "
6818 "interfaces and behaviors provided are subject to the normal global interface "
6819 "updates, which tend to require longer deprecation cycles and/or coordinated "
6824 #: dpkg-build-api.pod
6825 msgid "L<deb-src-control(5)>."
6829 #: dpkg-buildapi.pod
6830 msgid "dpkg-buildapi - returns the build API level to use during package build"
6834 #: dpkg-buildapi.pod
6835 msgid "B<dpkg-buildapi> [I<option>...] [I<command>]"
6839 #: dpkg-buildapi.pod
6841 "B<dpkg-buildapi> is a tool to retrieve the L<dpkg-build-api(7)> level to use "
6842 "during build of source Debian packages."
6846 #: dpkg-buildapi.pod
6847 msgid "This program was introduced in dpkg 1.22.0."
6851 #: dpkg-buildapi.pod dpkg-gencontrol.pod dpkg-source.pod
6852 msgid "B<-c>I<control-file>"
6856 #: dpkg-buildapi.pod
6858 "Specifies the main source control file to read information from. The "
6859 "default is F<debian/control>."
6863 #: dpkg-buildapi.pod dpkg-buildflags.pod dpkg-mergechangelogs.pod
6864 #: dpkg-scansources.pod dpkg-statoverride.pod dpkg-vendor.pod
6865 #: update-alternatives.pod
6870 #: dpkg-buildapi.pod
6871 msgid "B<DPKG_BUILD_API>"
6875 #: dpkg-buildapi.pod
6877 "The build API level to use. This is intended to be used internally by the "
6878 "tools executed from F<debian/rules> to avoid having to parse "
6879 "F<debian/control> multiple times, and not to set the global build API level "
6880 "from F<debian/rules>, otherwise build drivers (such as "
6881 "L<dpkg-buildpackage(1)>) cannot access it."
6885 #: dpkg-buildapi.pod
6886 msgid "B<%PKGDATADIR%/buildapi.mk>"
6890 #: dpkg-buildapi.pod
6891 msgid "Makefile snippet that will parse the build API level."
6895 #: dpkg-buildflags.pod
6896 msgid "dpkg-buildflags - returns build flags to use during package build"
6900 #: dpkg-buildflags.pod
6901 msgid "B<dpkg-buildflags> [I<option>...] [I<command>]"
6905 #: dpkg-buildflags.pod
6907 "B<dpkg-buildflags> is a tool to retrieve compilation flags to use during "
6908 "build of Debian packages."
6912 #: dpkg-buildflags.pod
6914 "The default flags are defined by the vendor but they can be "
6915 "extended/overridden in several ways:"
6919 #: dpkg-buildflags.pod
6924 #: dpkg-buildflags.pod
6925 msgid "system-wide with B<%PKGCONFDIR%/buildflags.conf>;"
6929 #: dpkg-buildflags.pod
6934 #: dpkg-buildflags.pod
6936 "for the current user with B<$XDG_CONFIG_HOME/dpkg/buildflags.conf> where "
6937 "B<$XDG_CONFIG_HOME> defaults to B<$HOME/.config>;"
6941 #: dpkg-buildflags.pod
6946 #: dpkg-buildflags.pod
6948 "temporarily by the user with environment variables (see section "
6953 #: dpkg-buildflags.pod
6958 #: dpkg-buildflags.pod
6960 "dynamically by the package maintainer with environment variables set via "
6961 "B<debian/rules> (see section L</ENVIRONMENT>)."
6965 #: dpkg-buildflags.pod
6966 msgid "The configuration files can contain four types of directives:"
6970 #: dpkg-buildflags.pod
6971 msgid "B<SET> I<flag> I<value>"
6975 #: dpkg-buildflags.pod
6976 msgid "Override the flag named I<flag> to have the value I<value>."
6980 #: dpkg-buildflags.pod
6981 msgid "B<STRIP> I<flag> I<value>"
6985 #: dpkg-buildflags.pod
6987 "Strip from the flag named I<flag> all the build flags listed in I<value>. "
6988 "Since dpkg 1.16.1."
6992 #: dpkg-buildflags.pod
6993 msgid "B<APPEND> I<flag> I<value>"
6997 #: dpkg-buildflags.pod
6999 "Extend the flag named I<flag> by appending the options given in I<value>. A "
7000 "space is prepended to the appended value if the flag's current value is "
7005 #: dpkg-buildflags.pod
7006 msgid "B<PREPEND> I<flag> I<value>"
7010 #: dpkg-buildflags.pod
7012 "Extend the flag named I<flag> by prepending the options given in I<value>. "
7013 "A space is appended to the prepended value if the flag's current value is "
7014 "non-empty. Since dpkg 1.16.1."
7018 #: dpkg-buildflags.pod
7020 "The configuration files can contain comments on lines starting with a hash "
7021 "(#). Empty lines are also ignored."
7025 #: dpkg-buildflags.pod dpkg-maintscript-helper.pod dpkg-mergechangelogs.pod
7026 msgid "This program was introduced in dpkg 1.15.7."
7030 #: dpkg-buildflags.pod
7035 #: dpkg-buildflags.pod
7037 "Print to standard output all compilation flags and their values. It prints "
7038 "one flag per line separated from its value by an equal sign "
7039 "(“I<flag>=I<value>”). This is the default action."
7043 #: dpkg-buildflags.pod
7048 #: dpkg-buildflags.pod
7050 "Print the list of flags supported by the current vendor (one per line). See "
7051 "the L</SUPPORTED FLAGS> section for more information about them."
7055 #: dpkg-buildflags.pod
7060 #: dpkg-buildflags.pod
7062 "Display any information that can be useful to explain the behavior of "
7063 "B<dpkg-buildflags> (since dpkg 1.16.5): relevant environment variables, "
7064 "current vendor, state of all feature flags. Also print the resulting "
7065 "compiler flags with their origin."
7069 #: dpkg-buildflags.pod
7071 "This is intended to be run from B<debian/rules>, so that the build log keeps "
7072 "a clear trace of the build flags used. This can be useful to diagnose "
7073 "problems related to them."
7077 #: dpkg-buildflags.pod
7078 msgid "B<--export=>I<format>"
7082 #: dpkg-buildflags.pod
7084 "Print to standard output commands that can be used to export all the "
7085 "compilation flags for some particular tool. If the I<format> value is not "
7086 "given, B<sh> is assumed. Only compilation flags starting with an upper case "
7087 "character are included, others are assumed to not be suitable for the "
7088 "environment. Supported formats:"
7092 #: dpkg-buildflags.pod
7097 #: dpkg-buildflags.pod
7099 "Shell commands to set and export all the compilation flags in the "
7100 "environment. The flag values are quoted so the output is ready for "
7101 "evaluation by a shell."
7105 #: dpkg-buildflags.pod
7110 #: dpkg-buildflags.pod
7112 "Arguments to pass to a build program's command line to use all the "
7113 "compilation flags (since dpkg 1.17.0). The flag values are quoted in shell "
7118 #: dpkg-buildflags.pod
7119 msgid "B<configure>"
7123 #: dpkg-buildflags.pod
7124 msgid "This is a legacy alias for B<cmdline>."
7128 #: dpkg-buildflags.pod
7133 #: dpkg-buildflags.pod
7135 "Make directives to set and export all the compilation flags in the "
7136 "environment. Output can be written to a Makefile fragment and evaluated "
7137 "using an B<include> directive."
7141 #: dpkg-buildflags.pod
7142 msgid "B<--get> I<flag>"
7146 #: dpkg-buildflags.pod
7148 "Print the value of the flag on standard output. Exits with 0 if the flag is "
7149 "known otherwise exits with 1."
7153 #: dpkg-buildflags.pod
7154 msgid "B<--origin> I<flag>"
7158 #: dpkg-buildflags.pod
7160 "Print the origin of the value that is returned by B<--get>. Exits with 0 if "
7161 "the flag is known otherwise exits with 1. The origin can be one of the "
7166 #: dpkg-buildflags.pod
7171 #: dpkg-buildflags.pod
7172 msgid "the original flag set by the vendor is returned;"
7176 #: dpkg-buildflags.pod
7181 #: dpkg-buildflags.pod
7182 msgid "the flag is set/modified by a system-wide configuration;"
7186 #: dpkg-buildflags.pod
7191 #: dpkg-buildflags.pod
7192 msgid "the flag is set/modified by a user-specific configuration;"
7196 #: dpkg-buildflags.pod
7201 #: dpkg-buildflags.pod
7202 msgid "the flag is set/modified by an environment-specific configuration."
7206 #: dpkg-buildflags.pod
7211 #: dpkg-buildflags.pod
7213 "Print any information that can be useful to explain the behavior of the "
7214 "program: current vendor, relevant environment variables, feature areas, "
7215 "state of all feature flags, whether a feature is handled as a builtin "
7216 "default by the compiler (since dpkg 1.21.14), and the compiler flags with "
7217 "their origin (since dpkg 1.19.0)."
7221 #: dpkg-buildflags.pod
7222 msgid "For example:"
7226 #: dpkg-buildflags.pod
7231 " DEB_CFLAGS_SET=-O0 -Wall\n"
7236 #: dpkg-buildflags.pod
7248 #: dpkg-buildflags.pod
7251 " Area: hardening\n"
7260 #: dpkg-buildflags.pod
7263 " Area: reproducible\n"
7271 #: dpkg-buildflags.pod
7275 " Value: -O0 -Wall\n"
7281 #: dpkg-buildflags.pod
7285 " Value: -D_FORTIFY_SOURCE=2\n"
7291 #: dpkg-buildflags.pod
7292 msgid "B<--query-features> I<area>"
7296 #: dpkg-buildflags.pod
7298 "Print the features enabled for a given area (since dpkg 1.16.2). If the "
7299 "feature is handled (even if only on some architectures) as a builtin default "
7300 "by the compiler, then a B<Builtin> field is printed (since dpkg 1.21.14). "
7301 "The only currently recognized areas on Debian and derivatives are B<future>, "
7302 "B<qa>, B<reproducible>, B<sanitize> and B<hardening>, see the B<FEATURE "
7303 "AREAS> section for more details. Exits with 0 if the area is known "
7304 "otherwise exits with 1."
7308 #: dpkg-buildflags.pod
7309 msgid "The output is in RFC822 format, with one section per feature. For example:"
7313 #: dpkg-buildflags.pod
7323 #: dpkg-buildflags.pod
7326 " Feature: stackprotector\n"
7332 #: dpkg-buildflags.pod
7333 msgid "SUPPORTED FLAGS"
7337 #: dpkg-buildflags.pod
7342 #: dpkg-buildflags.pod
7343 msgid "Options for the host assembler. Default value: empty. Since dpkg 1.21.0."
7347 #: dpkg-buildflags.pod
7352 #: dpkg-buildflags.pod
7354 "Options for the host C compiler. The default value set by the vendor "
7355 "includes B<-g> and the default optimization level (B<-O2> usually, or B<-O0> "
7356 "if the B<DEB_BUILD_OPTIONS> environment variable defines I<noopt>)."
7360 #: dpkg-buildflags.pod
7365 #: dpkg-buildflags.pod
7366 msgid "Options for the host C preprocessor. Default value: empty."
7370 #: dpkg-buildflags.pod
7375 #: dpkg-buildflags.pod
7376 msgid "Options for the host C++ compiler. Same as B<CFLAGS>."
7380 #: dpkg-buildflags.pod
7381 msgid "B<OBJCFLAGS>"
7385 #: dpkg-buildflags.pod
7387 "Options for the host Objective C compiler. Same as B<CFLAGS>. Since dpkg "
7392 #: dpkg-buildflags.pod
7393 msgid "B<OBJCXXFLAGS>"
7397 #: dpkg-buildflags.pod
7399 "Options for the host Objective C++ compiler. Same as B<CXXFLAGS>. Since "
7404 #: dpkg-buildflags.pod
7409 #: dpkg-buildflags.pod
7410 msgid "Options for the host D compiler (ldc or gdc). Since dpkg 1.20.6."
7414 #: dpkg-buildflags.pod
7419 #: dpkg-buildflags.pod
7420 msgid "Options for the host Fortran 77 compiler. A subset of B<CFLAGS>."
7424 #: dpkg-buildflags.pod
7429 #: dpkg-buildflags.pod
7431 "Options for the host Fortran 9x compiler. Same as B<FFLAGS>. Since dpkg "
7436 #: dpkg-buildflags.pod
7441 #: dpkg-buildflags.pod
7443 "Options passed to the host compiler when linking executables or shared "
7444 "objects (if the linker is called directly, then B<-Wl> and B<,> have to be "
7445 "stripped from these options). Default value: empty."
7449 #: dpkg-buildflags.pod
7450 msgid "B<ASFLAGS_FOR_BUILD>"
7454 #: dpkg-buildflags.pod
7455 msgid "Options for the build assembler. Default value: empty. Since dpkg 1.22.1."
7459 #: dpkg-buildflags.pod
7460 msgid "B<CFLAGS_FOR_BUILD>"
7464 #: dpkg-buildflags.pod
7466 "Options for the build C compiler. The default value set by the vendor "
7467 "includes B<-g> and the default optimization level (B<-O2> usually, or B<-O0> "
7468 "if the B<DEB_BUILD_OPTIONS> environment variable defines I<noopt>). Since "
7473 #: dpkg-buildflags.pod
7474 msgid "B<CPPFLAGS_FOR_BUILD>"
7478 #: dpkg-buildflags.pod
7480 "Options for the build C preprocessor. Default value: empty. Since dpkg "
7485 #: dpkg-buildflags.pod
7486 msgid "B<CXXFLAGS_FOR_BUILD>"
7490 #: dpkg-buildflags.pod
7492 "Options for the build C++ compiler. Same as B<CFLAGS_FOR_BUILD>. Since "
7497 #: dpkg-buildflags.pod
7498 msgid "B<OBJCFLAGS_FOR_BUILD>"
7502 #: dpkg-buildflags.pod
7504 "Options for the build Objective C compiler. Same as B<CFLAGS_FOR_BUILD>. "
7505 "Since dpkg 1.22.1."
7509 #: dpkg-buildflags.pod
7510 msgid "B<OBJCXXFLAGS_FOR_BUILD>"
7514 #: dpkg-buildflags.pod
7516 "Options for the build Objective C++ compiler. Same as "
7517 "B<CXXFLAGS_FOR_BUILD>. Since dpkg 1.22.1."
7521 #: dpkg-buildflags.pod
7522 msgid "B<DFLAGS_FOR_BUILD>"
7526 #: dpkg-buildflags.pod
7527 msgid "Options for the build D compiler (ldc or gdc). Since dpkg 1.22.1."
7531 #: dpkg-buildflags.pod
7532 msgid "B<FFLAGS_FOR_BUILD>"
7536 #: dpkg-buildflags.pod
7538 "Options for the build Fortran 77 compiler. A subset of "
7539 "B<CFLAGS_FOR_BUILD>. Since dpkg 1.22.1."
7543 #: dpkg-buildflags.pod
7544 msgid "B<FCFLAGS_FOR_BUILD>"
7548 #: dpkg-buildflags.pod
7550 "Options for the build Fortran 9x compiler. Same as B<FFLAGS_FOR_BUILD>. "
7551 "Since dpkg 1.22.1."
7555 #: dpkg-buildflags.pod
7556 msgid "B<LDFLAGS_FOR_BUILD>"
7560 #: dpkg-buildflags.pod
7562 "Options passed to the build compiler when linking executables or shared "
7563 "objects (if the linker is called directly, then B<-Wl> and B<,> have to be "
7564 "stripped from these options). Default value: empty. Since dpkg 1.22.1."
7568 #: dpkg-buildflags.pod
7570 "New flags might be added in the future if the need arises (for example to "
7571 "support other languages)."
7575 #: dpkg-buildflags.pod
7576 msgid "FEATURE AREAS"
7580 #: dpkg-buildflags.pod
7582 "Each area feature can be enabled and disabled in the B<DEB_BUILD_OPTIONS> "
7583 "and B<DEB_BUILD_MAINT_OPTIONS> environment variable's area value with the "
7584 "‘B<+>’ and ‘B<->’ modifier. For example, to enable the B<hardening> “pie” "
7585 "feature and disable the “fortify” feature you can do this in "
7590 #: dpkg-buildflags.pod
7593 " export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,-fortify\n"
7598 #: dpkg-buildflags.pod
7600 "The special feature B<all> (valid in any area) can be used to enable or "
7601 "disable all area features at the same time. Thus disabling everything in "
7602 "the B<hardening> area and enabling only “format” and “fortify” can be "
7607 #: dpkg-buildflags.pod
7610 " export DEB_BUILD_MAINT_OPTIONS=hardening=-all,+format,+fortify\n"
7615 #: dpkg-buildflags.pod
7620 #: dpkg-buildflags.pod
7622 "Several compile-time options (detailed below) can be used to enable features "
7623 "that can change the ABI of a package, but cannot be enabled by default due "
7624 "to backwards compatibility reasons unless coordinated or checked "
7629 #: dpkg-buildflags.pod
7634 #: dpkg-buildflags.pod
7636 "This setting (since dpkg 1.22.0; disabled by default) enables Large File "
7637 "Support on 32-bit architectures where their ABI does not include LFS by "
7638 "default, by adding B<-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64> to "
7643 #: dpkg-buildflags.pod
7645 "When this feature is enabled it will override the value from the same "
7646 "feature in the B<future> feature area."
7650 #: dpkg-buildflags.pod
7655 #: dpkg-buildflags.pod
7657 "This setting (since dpkg 1.22.0; disabled by default) enables 64-bit time_t "
7658 "support on 32-bit architectures where their ABI does not include it by "
7659 "default, by adding B<-D_TIME_BITS=64> to B<CPPFLAGS>. This setting "
7660 "automatically enables the B<lfs> feature as it requires it."
7664 #: dpkg-buildflags.pod
7669 #: dpkg-buildflags.pod
7671 "Several compile-time options (detailed below) can be used to enable features "
7672 "that should be enabled by default, but cannot due to backwards compatibility "
7677 #: dpkg-buildflags.pod
7679 "This setting (since dpkg 1.19.0; disabled by default) is now an alias for "
7680 "the B<lfs> feature in the B<abi> area, use that instead. The feature from "
7681 "the B<abi> area overrides this setting."
7685 #: dpkg-buildflags.pod
7690 #: dpkg-buildflags.pod
7692 "Several compile-time options (detailed below) can be used to help detect "
7693 "problems in the source code or build system."
7697 #: dpkg-buildflags.pod
7702 #: dpkg-buildflags.pod
7704 "This setting (since dpkg 1.17.4; disabled by default) adds any warning "
7705 "option that reliably detects problematic source code. The warnings are "
7706 "fatal. The only currently supported flags are B<CFLAGS> and B<CXXFLAGS> "
7707 "with flags set to B<-Werror=array-bounds>, B<-Werror=clobbered>, "
7708 "B<-Werror=implicit-function-declaration> and "
7709 "B<-Werror=volatile-register-var>."
7713 #: dpkg-buildflags.pod
7718 #: dpkg-buildflags.pod
7720 "This setting (since dpkg 1.17.14; disabled by default) adds dummy canary "
7721 "options to the build flags, so that the build logs can be checked for how "
7722 "the build flags propagate and to allow finding any omission of normal build "
7723 "flag settings. The only currently supported flags are B<CPPFLAGS>, "
7724 "B<CFLAGS>, B<OBJCFLAGS>, B<CXXFLAGS> and B<OBJCXXFLAGS> with flags set to "
7725 "B<-D__DEB_CANARY_>I<flag>_I<random-id>B<__>, and B<LDFLAGS> set to "
7726 "B<-Wl,-z,deb-canary->I<random-id>."
7730 #: dpkg-buildflags.pod
7735 #: dpkg-buildflags.pod
7737 "Several compile-time options (detailed below) can be used to help optimize a "
7738 "resulting binary (since dpkg 1.21.0). B<Note>: enabling B<all> these "
7739 "options can result in unreproducible binary artifacts."
7743 #: dpkg-buildflags.pod
7748 #: dpkg-buildflags.pod
7750 "This setting (since dpkg 1.21.0; disabled by default) enables Link Time "
7751 "Optimization by adding B<-flto=auto -ffat-lto-objects> to B<CFLAGS>, "
7752 "B<CXXFLAGS>, B<OBJCFLAGS>, B<OBJCXXFLAGS>, B<FFLAGS>, B<FCFLAGS> and "
7757 #: dpkg-buildflags.pod
7762 #: dpkg-buildflags.pod
7764 "Several compile-time options (detailed below) can be used to help sanitize a "
7765 "resulting binary against memory corruptions, memory leaks, use after free, "
7766 "threading data races and undefined behavior bugs. B<Note>: these options "
7767 "should B<not> be used for production builds as they can reduce reliability "
7768 "for conformant code, reduce security or even functionality."
7772 #: dpkg-buildflags.pod
7777 #: dpkg-buildflags.pod
7779 "This setting (since dpkg 1.18.0; disabled by default) adds "
7780 "B<-fsanitize=address> to B<LDFLAGS> and B<-fsanitize=address "
7781 "-fno-omit-frame-pointer> to B<CFLAGS> and B<CXXFLAGS>."
7785 #: dpkg-buildflags.pod
7790 #: dpkg-buildflags.pod
7792 "This setting (since dpkg 1.18.0; disabled by default) adds "
7793 "B<-fsanitize=thread> to B<CFLAGS>, B<CXXFLAGS> and B<LDFLAGS>."
7797 #: dpkg-buildflags.pod
7802 #: dpkg-buildflags.pod
7804 "This setting (since dpkg 1.18.0; disabled by default) adds "
7805 "B<-fsanitize=leak> to B<LDFLAGS>. It gets automatically disabled if either "
7806 "the B<address> or the B<thread> features are enabled, as they imply it."
7810 #: dpkg-buildflags.pod
7811 msgid "B<undefined>"
7815 #: dpkg-buildflags.pod
7817 "This setting (since dpkg 1.18.0; disabled by default) adds "
7818 "B<-fsanitize=undefined> to B<CFLAGS>, B<CXXFLAGS> and B<LDFLAGS>."
7822 #: dpkg-buildflags.pod
7827 #: dpkg-buildflags.pod
7829 "Several compile-time options (detailed below) can be used to help harden a "
7830 "resulting binary against memory corruption attacks, or provide additional "
7831 "warning messages during compilation. Except as noted below, these are "
7832 "enabled by default for architectures that support them."
7836 #: dpkg-buildflags.pod
7841 #: dpkg-buildflags.pod
7843 "This setting (since dpkg 1.16.1; enabled by default) adds B<-Wformat "
7844 "-Werror=format-security> to B<CFLAGS>, B<CXXFLAGS>, B<OBJCFLAGS> and "
7845 "B<OBJCXXFLAGS>. This will warn about improper format string uses, and will "
7846 "fail when format functions are used in a way that represent possible "
7847 "security problems. At present, this warns about calls to B<printf> and "
7848 "B<scanf> functions where the format string is not a string literal and there "
7849 "are no format arguments, as in B<printf(foo);> instead of B<printf(\"%s\", "
7850 "foo);> This may be a security hole if the format string came from untrusted "
7851 "input and contains ‘%n’."
7855 #: dpkg-buildflags.pod
7860 #: dpkg-buildflags.pod
7862 "This setting (since dpkg 1.16.1; enabled by default) adds "
7863 "B<-D_FORTIFY_SOURCE=2> to B<CPPFLAGS>. During code generation the compiler "
7864 "knows a great deal of information about buffer sizes (where possible), and "
7865 "attempts to replace insecure unlimited length buffer function calls with "
7866 "length-limited ones. This is especially useful for old, crufty code. "
7867 "Additionally, format strings in writable memory that contain ‘%n’ are "
7868 "blocked. If an application depends on such a format string, it will need to "
7873 #: dpkg-buildflags.pod
7875 "Note that for this option to have any effect, the source must also be "
7876 "compiled with B<-O1> or higher. If the environment variable "
7877 "B<DEB_BUILD_OPTIONS> contains I<noopt>, then B<fortify> support will be "
7878 "disabled, due to new warnings being issued by glibc 2.16 and later."
7882 #: dpkg-buildflags.pod
7883 msgid "B<stackprotector>"
7887 #: dpkg-buildflags.pod
7889 "This setting (since dpkg 1.16.1; enabled by default if stackprotectorstrong "
7890 "is not in use) adds B<-fstack-protector --param=ssp-buffer-size=4> to "
7891 "B<CFLAGS>, B<CXXFLAGS>, B<OBJCFLAGS>, B<OBJCXXFLAGS>, B<FFLAGS> and "
7892 "B<FCFLAGS>. This adds safety checks against stack overwrites. This renders "
7893 "many potential code injection attacks into aborting situations. In the best "
7894 "case this turns code injection vulnerabilities into denial of service or "
7895 "into non-issues (depending on the application)."
7899 #: dpkg-buildflags.pod
7901 "This feature requires linking against glibc (or another provider of "
7902 "B<__stack_chk_fail>), so needs to be disabled when building with "
7903 "B<-nostdlib> or B<-ffreestanding> or similar."
7907 #: dpkg-buildflags.pod
7908 msgid "B<stackprotectorstrong>"
7912 #: dpkg-buildflags.pod
7914 "This setting (since dpkg 1.17.11; enabled by default) adds "
7915 "B<-fstack-protector-strong> to B<CFLAGS>, B<CXXFLAGS>, B<OBJCFLAGS>, "
7916 "B<OBJCXXFLAGS>, B<FFLAGS> and B<FCFLAGS>. This is a stronger variant of "
7917 "B<stackprotector>, but without significant performance penalties."
7921 #: dpkg-buildflags.pod
7922 msgid "Disabling B<stackprotector> will also disable this setting."
7926 #: dpkg-buildflags.pod
7928 "This feature has the same requirements as B<stackprotector>, and in addition "
7929 "also requires gcc 4.9 and later."
7933 #: dpkg-buildflags.pod
7934 msgid "B<stackclash>"
7938 #: dpkg-buildflags.pod
7940 "This setting (since dpkg 1.22.0; enabled by default) adds "
7941 "B<-fstack-clash-protection> on B<amd64>, B<arm64>, B<armhf> and B<armel> to "
7942 "B<CFLAGS>, B<CXXFLAGS>, B<OBJCFLAGS>, B<OBJCXXFLAGS>, B<FFLAGS> and "
7943 "B<FCFLAGS>. This adds code to prevent stack clash style attacks."
7947 #: dpkg-buildflags.pod
7952 #: dpkg-buildflags.pod
7954 "This setting (since dpkg 1.22.0; enabled by default) adds B<-fcf-protection> "
7955 "on B<amd64> and B<-mbranch-protection=standard> on B<arm64> to B<CFLAGS>, "
7956 "B<CXXFLAGS>, B<OBJCFLAGS>, B<OBJCXXFLAGS>, B<FFLAGS> and B<FCFLAGS>. This "
7957 "adds branch protection to indirect calls, jumps and returns to check whether "
7958 "these are valid at run-time."
7962 #: dpkg-buildflags.pod
7967 #: dpkg-buildflags.pod
7969 "This setting (since dpkg 1.16.1; enabled by default) adds B<-Wl,-z,relro> to "
7970 "B<LDFLAGS>. During program load, several ELF memory sections need to be "
7971 "written to by the linker. This flags the loader to turn these sections "
7972 "read-only before turning over control to the program. Most notably this "
7973 "prevents GOT overwrite attacks. If this option is disabled, B<bindnow> will "
7974 "become disabled as well."
7978 #: dpkg-buildflags.pod
7983 #: dpkg-buildflags.pod
7985 "This setting (since dpkg 1.16.1; disabled by default) adds B<-Wl,-z,now> to "
7986 "B<LDFLAGS>. During program load, all dynamic symbols are resolved, allowing "
7987 "for the entire PLT to be marked read-only (due to B<relro> above). The "
7988 "option cannot become enabled if B<relro> is not enabled."
7992 #: dpkg-buildflags.pod
7997 #: dpkg-buildflags.pod
7999 "This setting (since dpkg 1.16.1; with no global default since dpkg 1.18.23, "
8000 "as it is enabled by default now by gcc on the amd64, arm64, armel, armhf, "
8001 "hurd-i386, i386, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, mips64el, "
8002 "powerpc, ppc64, ppc64el, riscv64, s390x, sparc and sparc64 Debian "
8003 "architectures) adds the required options to enable or disable PIE via gcc "
8004 "specs files, if needed, depending on whether gcc injects on that "
8005 "architecture the flags by itself or not. When the setting is enabled and "
8006 "gcc injects the flags, it adds nothing. When the setting is enabled and gcc "
8007 "does not inject the flags, it adds B<-fPIE> (via "
8008 "I<%PKGDATADIR%/pie-compiler.specs>) to B<CFLAGS>, B<CXXFLAGS>, B<OBJCFLAGS>, "
8009 "B<OBJCXXFLAGS>, B<FFLAGS> and B<FCFLAGS>, and B<-fPIE -pie> (via "
8010 "I<%PKGDATADIR%/pie-link.specs>) to B<LDFLAGS>. When the setting is disabled "
8011 "and gcc injects the flags, it adds B<-fno-PIE> (via "
8012 "I<%PKGDATADIR%/no-pie-compile.specs>) to B<CFLAGS>, B<CXXFLAGS>, "
8013 "B<OBJCFLAGS>, B<OBJCXXFLAGS>, B<FFLAGS> and B<FCFLAGS>, and B<-fno-PIE "
8014 "-no-pie> (via I<%PKGDATADIR%/no-pie-link.specs>) to B<LDFLAGS>."
8018 #: dpkg-buildflags.pod
8020 "Position Independent Executable (PIE) is needed to take advantage of Address "
8021 "Space Layout Randomization (ASLR), supported by some kernel versions. While "
8022 "ASLR can already be enforced for data areas in the stack and heap (brk and "
8023 "mmap), the code areas must be compiled as position-independent. Shared "
8024 "libraries already do this (B<-fPIC>), so they gain ASLR automatically, but "
8025 "binary .text regions need to be built as PIE to gain ASLR. When this "
8026 "happens, ROP (Return Oriented Programming) attacks are much harder since "
8027 "there are no static locations to bounce off of during a memory corruption "
8032 #: dpkg-buildflags.pod
8034 "PIE is not compatible with B<-fPIC>, so in general care must be taken when "
8035 "building shared objects. But because the PIE flags emitted get injected via "
8036 "gcc specs files, it should always be safe to unconditionally set them "
8037 "regardless of the object type being compiled or linked."
8041 #: dpkg-buildflags.pod
8043 "Static libraries can be used by programs or other shared libraries. "
8044 "Depending on the flags used to compile all the objects within a static "
8045 "library, these libraries will be usable by different sets of objects:"
8049 #: dpkg-buildflags.pod
8054 #: dpkg-buildflags.pod
8055 msgid "Cannot be linked into a PIE program, nor a shared library."
8059 #: dpkg-buildflags.pod
8064 #: dpkg-buildflags.pod
8065 msgid "Can be linked into any program, but not a shared library (recommended)."
8069 #: dpkg-buildflags.pod
8074 #: dpkg-buildflags.pod
8075 msgid "Can be linked into any program and shared library."
8079 #: dpkg-buildflags.pod
8081 "If there is a need to set these flags manually, bypassing the gcc specs "
8082 "injection, there are several things to take into account. Unconditionally "
8083 "and explicitly passing B<-fPIE>, B<-fpie> or B<-pie> to a build-system using "
8084 "libtool is safe as these flags will get stripped when building shared "
8085 "libraries. Otherwise on projects that build both programs and shared "
8086 "libraries you might need to make sure that when building the shared "
8087 "libraries B<-fPIC> is always passed last (so that it overrides any previous "
8088 "B<-PIE>) to compilation flags such as B<CFLAGS>, and B<-shared> is passed "
8089 "last (so that it overrides any previous B<-pie>) to linking flags such as "
8090 "B<LDFLAGS>. B<Note>: This should not be needed with the default gcc specs "
8095 #: dpkg-buildflags.pod
8097 "Additionally, since PIE is implemented via a general register, some register "
8098 "starved architectures (but not including i386 anymore since optimizations "
8099 "implemented in gcc E<gt>= 5) can see performance losses of up to 15% in very "
8100 "text-segment-heavy application workloads; most workloads see less than "
8101 "1%. Architectures with more general registers (e.g. amd64) do not see as "
8102 "high a worst-case penalty."
8106 #: dpkg-buildflags.pod
8107 msgid "reproducible"
8111 #: dpkg-buildflags.pod
8113 "The compile-time options detailed below can be used to help improve build "
8114 "reproducibility or provide additional warning messages during "
8115 "compilation. Except as noted below, these are enabled by default for "
8116 "architectures that support them."
8120 #: dpkg-buildflags.pod
8125 #: dpkg-buildflags.pod
8127 "This setting (since dpkg 1.17.14; enabled by default) adds B<-Wdate-time> to "
8128 "B<CPPFLAGS>. This will cause warnings when the B<__TIME__>, B<__DATE__> and "
8129 "B<__TIMESTAMP__> macros are used."
8133 #: dpkg-buildflags.pod
8134 msgid "B<fixfilepath>"
8138 #: dpkg-buildflags.pod
8140 "This setting (since dpkg 1.19.1; enabled by default) adds "
8141 "B<-ffile-prefix-map=>I<BUILDPATH>B<=.> to B<CFLAGS>, B<CXXFLAGS>, "
8142 "B<OBJCFLAGS>, B<OBJCXXFLAGS>, B<FFLAGS> and B<FCFLAGS> where B<BUILDPATH> is "
8143 "set to the top-level directory of the package being built. This has the "
8144 "effect of removing the build path from any generated file."
8148 #: dpkg-buildflags.pod
8150 "If both B<fixdebugpath> and B<fixfilepath> are set, this option takes "
8151 "precedence, because it is a superset of the former."
8155 #: dpkg-buildflags.pod
8157 "B<Note>: If the build process captures the build flags into the resulting "
8158 "built objects, that will make the package unreproducible. And while "
8159 "disabling this option might make some of the objects reproducible again this "
8160 "would also require disabling B<fixdebugpath>, which might make any generated "
8161 "debug symbols objects unreproducible. The ideal fix is to stop capturing "
8166 #: dpkg-buildflags.pod
8167 msgid "B<fixdebugpath>"
8171 #: dpkg-buildflags.pod
8173 "This setting (since dpkg 1.18.5; enabled by default) adds "
8174 "B<-fdebug-prefix-map=>I<BUILDPATH>B<=.> to B<CFLAGS>, B<CXXFLAGS>, "
8175 "B<OBJCFLAGS>, B<OBJCXXFLAGS>, B<FFLAGS> and B<FCFLAGS> where B<BUILDPATH> is "
8176 "set to the top-level directory of the package being built. This has the "
8177 "effect of removing the build path from any generated debug symbols."
8181 #: dpkg-buildflags.pod
8182 msgid "B<Note>: This feature has similar reproducible properties as B<fixfilepath>."
8186 #: dpkg-buildflags.pod
8188 "There are 2 sets of environment variables doing the same operations, the "
8189 "first one (DEB_I<flag>_I<op>) should never be used within "
8190 "B<debian/rules>. It's meant for any user that wants to rebuild the source "
8191 "package with different build flags. The second set (DEB_I<flag>_MAINT_I<op>) "
8192 "should only be used in B<debian/rules> by package maintainers to change the "
8193 "resulting build flags."
8197 #: dpkg-buildflags.pod
8198 msgid "B<DEB_>I<flag>B<_SET>"
8202 #: dpkg-buildflags.pod
8203 msgid "B<DEB_>I<flag>B<_MAINT_SET> (since dpkg 1.16.1)"
8207 #: dpkg-buildflags.pod
8208 msgid "This variable can be used to force the value returned for the given I<flag>."
8212 #: dpkg-buildflags.pod
8213 msgid "B<DEB_>I<flag>B<_STRIP> (since dpkg 1.16.1)"
8217 #: dpkg-buildflags.pod
8218 msgid "B<DEB_>I<flag>B<_MAINT_STRIP> (since dpkg 1.16.1)"
8222 #: dpkg-buildflags.pod
8224 "This variable can be used to provide a space separated list of options that "
8225 "will be stripped from the set of flags returned for the given I<flag>."
8229 #: dpkg-buildflags.pod
8230 msgid "B<DEB_>I<flag>B<_APPEND>"
8234 #: dpkg-buildflags.pod
8235 msgid "B<DEB_>I<flag>B<_MAINT_APPEND> (since dpkg 1.16.1)"
8239 #: dpkg-buildflags.pod
8241 "This variable can be used to append supplementary options to the value "
8242 "returned for the given I<flag>."
8246 #: dpkg-buildflags.pod
8247 msgid "B<DEB_>I<flag>B<_PREPEND> (since dpkg 1.16.1)"
8251 #: dpkg-buildflags.pod
8252 msgid "B<DEB_>I<flag>B<_MAINT_PREPEND> (since dpkg 1.16.1)"
8256 #: dpkg-buildflags.pod
8258 "This variable can be used to prepend supplementary options to the value "
8259 "returned for the given I<flag>."
8263 #: dpkg-buildflags.pod dpkg-buildpackage.pod dpkg-genbuildinfo.pod
8264 msgid "B<DEB_BUILD_OPTIONS>"
8268 #: dpkg-buildflags.pod
8269 msgid "B<DEB_BUILD_MAINT_OPTIONS> (since dpkg 1.16.1)"
8273 #: dpkg-buildflags.pod
8275 "These variables can be used by a user or maintainer to disable/enable "
8276 "various area features that affect build flags. The "
8277 "B<DEB_BUILD_MAINT_OPTIONS> variable overrides any setting in the "
8278 "B<DEB_BUILD_OPTIONS> feature areas. See the L</FEATURE AREAS> section for "
8283 #: dpkg-buildflags.pod dpkg-vendor.pod
8284 msgid "B<DEB_VENDOR>"
8288 #: dpkg-buildflags.pod
8290 "This setting defines the current vendor. If not set, it will discover the "
8291 "current vendor by reading B<%PKGCONFDIR%/origins/default>."
8295 #: dpkg-buildflags.pod
8296 msgid "B<DEB_BUILD_PATH>"
8300 #: dpkg-buildflags.pod
8302 "This variable sets the build path (since dpkg 1.18.8) to use in features "
8303 "such as B<fixdebugpath> so that they can be controlled by the caller. This "
8304 "variable is currently Debian and derivatives-specific."
8308 #: dpkg-buildflags.pod
8309 msgid "Configuration files"
8313 #: dpkg-buildflags.pod
8314 msgid "B<%PKGCONFDIR%/buildflags.conf>"
8318 #: dpkg-buildflags.pod
8319 msgid "System wide configuration file."
8323 #: dpkg-buildflags.pod
8324 msgid "B<$XDG_CONFIG_HOME/dpkg/buildflags.conf> or"
8328 #: dpkg-buildflags.pod
8329 msgid "B<$HOME/.config/dpkg/buildflags.conf>"
8333 #: dpkg-buildflags.pod dpkg-buildpackage.pod
8334 msgid "User configuration file."
8338 #: dpkg-buildflags.pod
8339 msgid "B<%PKGDATADIR%/buildflags.mk>"
8343 #: dpkg-buildflags.pod
8345 "Makefile snippet that will load (and optionally export) all flags supported "
8346 "by B<dpkg-buildflags> into variables (since dpkg 1.16.1)."
8350 #: dpkg-buildflags.pod
8351 msgid "To pass build flags to a build command in a Makefile:"
8355 #: dpkg-buildflags.pod
8358 " $(MAKE) $(shell dpkg-buildflags --export=cmdline)\n"
8363 #: dpkg-buildflags.pod
8366 " ./configure $(shell dpkg-buildflags --export=cmdline)\n"
8371 #: dpkg-buildflags.pod
8373 "To set build flags in a shell script or shell fragment, B<eval> can be used "
8374 "to interpret the output and to export the flags in the environment:"
8378 #: dpkg-buildflags.pod
8381 " eval \"$(dpkg-buildflags --export=sh)\" && make\n"
8386 #: dpkg-buildflags.pod
8387 msgid "or to set the positional parameters to pass to a command:"
8391 #: dpkg-buildflags.pod
8394 " eval \"set -- $(dpkg-buildflags --export=cmdline)\"\n"
8395 " for dir in a b c; do (cd $dir && ./configure \"$@\" && make); done\n"
8400 #: dpkg-buildflags.pod
8402 "You should call B<dpkg-buildflags> or include B<buildflags.mk> from the "
8403 "B<debian/rules> file to obtain the needed build flags to pass to the build "
8404 "system. Note that older versions of B<dpkg-buildpackage> (before dpkg "
8405 "1.16.1) exported these flags automatically. However, you should not rely on "
8406 "this, since this breaks manual invocation of B<debian/rules>."
8410 #: dpkg-buildflags.pod
8412 "For packages with autoconf-like build systems, you can pass the relevant "
8413 "options to configure or L<make(1)> directly, as shown above."
8417 #: dpkg-buildflags.pod
8419 "For other build systems, or when you need more fine-grained control about "
8420 "which flags are passed where, you can use B<--get>. Or you can include "
8421 "B<buildflags.mk> instead, which takes care of calling B<dpkg-buildflags> and "
8422 "storing the build flags in make variables."
8426 #: dpkg-buildflags.pod
8428 "If you want to export all buildflags into the environment (where they can be "
8429 "picked up by your build system):"
8433 #: dpkg-buildflags.pod
8436 " DPKG_EXPORT_BUILDFLAGS = 1\n"
8437 " include %PKGDATADIR%/buildflags.mk\n"
8442 #: dpkg-buildflags.pod
8444 "For some extra control over what is exported, you can manually export the "
8445 "variables (as none are exported by default):"
8449 #: dpkg-buildflags.pod
8452 " include %PKGDATADIR%/buildflags.mk\n"
8453 " export CPPFLAGS CFLAGS LDFLAGS\n"
8458 #: dpkg-buildflags.pod
8459 msgid "And you can of course pass the flags to commands manually:"
8463 #: dpkg-buildflags.pod
8466 " include %PKGDATADIR%/buildflags.mk\n"
8468 " \t$(CC) -o hello hello.c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)\n"
8473 #: dpkg-buildpackage.pod
8474 msgid "dpkg-buildpackage - build binary or source packages from sources"
8478 #: dpkg-buildpackage.pod
8479 msgid "B<dpkg-buildpackage> [I<option>...]"
8483 #: dpkg-buildpackage.pod
8485 "B<dpkg-buildpackage> is a program that automates the process of building a "
8486 "Debian package. It consists of the following steps:"
8490 #: dpkg-buildpackage.pod dpkg.pod
8495 #: dpkg-buildpackage.pod
8497 "It runs the B<preinit> hook before reading any source file. It prepares the "
8498 "build environment by setting various environment variables (see "
8499 "B<ENVIRONMENT>), runs the B<init> hook, and calls B<dpkg-source "
8500 "--before-build> (unless B<-T> or B<--target> has been used)."
8504 #: dpkg-buildpackage.pod dpkg.pod
8509 #: dpkg-buildpackage.pod
8511 "It checks that the build-dependencies and build-conflicts are satisfied "
8512 "(unless B<-d> or B<--no-check-builddeps> is specified)."
8516 #: dpkg-buildpackage.pod dpkg.pod
8521 #: dpkg-buildpackage.pod
8523 "If one or more specific targets have been selected with the B<-T> or "
8524 "B<--target> option, it calls those targets and stops here. Otherwise it runs "
8525 "the B<preclean> hook and calls B<fakeroot debian/rules clean> to clean the "
8526 "build-tree (unless B<-nc> or B<--no-pre-clean> is specified)."
8530 #: dpkg-buildpackage.pod dpkg.pod
8535 #: dpkg-buildpackage.pod
8537 "It runs the B<source> hook and calls B<dpkg-source -b> to generate the "
8538 "source package (if a B<source> build has been requested with B<--build> or "
8539 "equivalent options)."
8543 #: dpkg-buildpackage.pod dpkg.pod
8548 #: dpkg-buildpackage.pod
8550 "It runs the B<build> hook and calls B<debian/rules> I<build-target>, then "
8551 "runs the B<binary> hook followed by B<fakeroot debian/rules> "
8552 "I<binary-target> (unless a source-only build has been requested with "
8553 "B<--build=source> or equivalent options). Note that I<build-target> and "
8554 "I<binary-target> are either B<build> and B<binary> (default case, or if an "
8555 "B<any> and B<all> build has been requested with B<--build> or equivalent "
8556 "options), or B<build-arch> and B<binary-arch> (if an B<any> and not B<all> "
8557 "build has been requested with B<--build> or equivalent options), or "
8558 "B<build-indep> and B<binary-indep> (if an B<all> and not B<any> build has "
8559 "been requested with B<--build> or equivalent options)."
8563 #: dpkg-buildpackage.pod dpkg.pod
8568 #: dpkg-buildpackage.pod
8570 "It runs the B<buildinfo> hook and calls B<dpkg-genbuildinfo> to generate a "
8571 "B<.buildinfo> file. Several B<dpkg-buildpackage> options are forwarded to "
8572 "B<dpkg-genbuildinfo>."
8576 #: dpkg-buildpackage.pod
8581 #: dpkg-buildpackage.pod
8583 "It runs the B<changes> hook and calls B<dpkg-genchanges> to generate a "
8584 "B<.changes> file. The name of the B<.changes> file will depend on the type "
8585 "of build and will be as specific as necessary but not more; the name will "
8590 #: dpkg-buildpackage.pod
8591 msgid "I<source-name>B<_>I<binary-version>B<_>I<arch>B<.changes>"
8595 #: dpkg-buildpackage.pod
8596 msgid "I<source-name>B<_>I<binary-version>B<_>B<all.changes>"
8600 #: dpkg-buildpackage.pod
8601 msgid "I<source-name>B<_>I<source-version>B<_>B<source.changes>."
8605 #: dpkg-buildpackage.pod
8606 msgid "Many B<dpkg-buildpackage> options are forwarded to B<dpkg-genchanges>."
8610 #: dpkg-buildpackage.pod
8615 #: dpkg-buildpackage.pod
8617 "It runs the B<postclean> hook and if B<-tc> or B<--post-clean> is specified, "
8618 "it will call B<fakeroot debian/rules clean> again."
8622 #: dpkg-buildpackage.pod
8627 #: dpkg-buildpackage.pod
8628 msgid "It calls B<dpkg-source --after-build>."
8632 #: dpkg-buildpackage.pod
8637 #: dpkg-buildpackage.pod
8639 "It runs the B<check> hook and calls a package checker for the B<.changes> "
8640 "file (if a command is specified in B<DEB_CHECK_COMMAND> or with "
8641 "B<--check-command>)."
8645 #: dpkg-buildpackage.pod
8650 #: dpkg-buildpackage.pod
8652 "It runs the B<sign> hook and signs using the OpenPGP backend (as long as it "
8653 "is not an UNRELEASED build, or B<--no-sign> is specified) to sign the "
8654 "B<.dsc> file (if any, unless B<-us> or B<--unsigned-source> is specified), "
8655 "the B<.buildinfo> file (unless B<-ui>, B<--unsigned-buildinfo>, B<-uc> or "
8656 "B<--unsigned-changes> is specified) and the B<.changes> file (unless B<-uc> "
8657 "or B<--unsigned-changes> is specified)."
8661 #: dpkg-buildpackage.pod
8666 #: dpkg-buildpackage.pod
8667 msgid "It runs the B<done> hook."
8671 #: dpkg-buildpackage.pod
8673 "All long options can be specified both on the command line and in the "
8674 "B<dpkg-buildpackage> system and user configuration files. Each line in the "
8675 "configuration file is either an option (exactly the same as the command line "
8676 "option but without leading hyphens) or a comment (if it starts with a "
8681 #: dpkg-buildpackage.pod dpkg-genbuildinfo.pod dpkg-genchanges.pod
8682 msgid "B<--build=>I<type>"
8686 #: dpkg-buildpackage.pod
8688 "Specifies the build I<type> from a comma-separated list of components (since "
8689 "dpkg 1.18.5). All the specified components get combined to select the "
8690 "single build type to use, which implies a single build run with a single "
8691 "F<.changes> file generated. Passed to B<dpkg-genchanges>."
8695 #: dpkg-buildpackage.pod dpkg-genbuildinfo.pod dpkg-genchanges.pod
8696 msgid "The allowed values are:"
8700 #: dpkg-buildpackage.pod dpkg-genbuildinfo.pod dpkg-genchanges.pod
8705 #: dpkg-buildpackage.pod
8706 msgid "Builds the source package."
8710 #: dpkg-buildpackage.pod
8712 "B<Note>: When using this value standalone and if what you want is simply to "
8713 "(re-)build the source package from a clean source tree, using B<dpkg-source> "
8714 "directly is always a better option as it does not require any build "
8715 "dependencies to be installed which are otherwise needed to be able to call "
8716 "the B<clean> target."
8720 #: dpkg-buildpackage.pod dpkg-genbuildinfo.pod dpkg-genchanges.pod
8725 #: dpkg-buildpackage.pod
8726 msgid "Builds the architecture specific binary packages."
8730 #: dpkg-buildpackage.pod dpkg-genbuildinfo.pod dpkg-genchanges.pod
8735 #: dpkg-buildpackage.pod
8736 msgid "Builds the architecture independent binary packages."
8740 #: dpkg-buildpackage.pod
8742 "Builds the architecture specific and independent binary packages. This is "
8743 "an alias for B<any,all>."
8747 #: dpkg-buildpackage.pod dpkg-genbuildinfo.pod dpkg-genchanges.pod
8752 #: dpkg-buildpackage.pod
8754 "Builds everything. This is an alias for B<source,any,all>, and the same as "
8755 "the default case when no build option is specified."
8759 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8764 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8765 msgid "Equivalent to B<--build=source,all> (since dpkg 1.17.11)."
8769 #: dpkg-buildpackage.pod dpkg-genchanges.pod dpkg.pod
8774 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8775 msgid "Equivalent to B<--build=source,any> (since dpkg 1.17.11)."
8779 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8784 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8785 msgid "Equivalent to B<--build=binary> or B<--build=any,all>."
8789 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod dpkg-genchanges.pod
8794 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8795 msgid "Equivalent to B<--build=any>."
8799 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod dpkg-genchanges.pod
8804 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8805 msgid "Equivalent to B<--build=all>."
8809 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8814 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8815 msgid "Equivalent to B<--build=source>."
8819 #: dpkg-buildpackage.pod
8824 #: dpkg-buildpackage.pod
8826 "Equivalent to B<--build=full>, B<--build=source,binary> or "
8827 "B<--build=source,any,all> (since dpkg 1.15.8)."
8831 #: dpkg-buildpackage.pod
8832 msgid "B<--target=>I<target>[,...]"
8836 #: dpkg-buildpackage.pod
8837 msgid "B<--target> I<target>[,...]"
8841 #: dpkg-buildpackage.pod
8842 msgid "B<-T>, B<--rules-target=>I<target>[,...]"
8846 #: dpkg-buildpackage.pod
8848 "Calls B<debian/rules> I<target> once per target specified, after having "
8849 "setup the build environment (except for calling B<dpkg-source "
8850 "--before-build>), and stops the package build process here (since dpkg "
8851 "1.15.0, long option since dpkg 1.18.8, multi-target support since dpkg "
8852 "1.18.16). If B<--as-root> is also given, then the command is executed as "
8853 "root (see B<--root-command>). Note that known targets that are required to "
8854 "be run as root do not need this option (i.e. the B<clean>, B<binary>, "
8855 "B<binary-arch> and B<binary-indep> targets)."
8859 #: dpkg-buildpackage.pod
8860 msgid "B<--as-root>"
8864 #: dpkg-buildpackage.pod
8866 "Only meaningful together with B<--target> (since dpkg 1.15.0). Requires "
8867 "that the target be run with root rights."
8871 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8876 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8881 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8886 #: dpkg-buildpackage.pod dpkg-genchanges.pod dpkg-gencontrol.pod
8887 #: dpkg-gensymbols.pod
8888 msgid "B<-v>I<version>"
8892 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8893 msgid "B<-C>I<changes-description>"
8897 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8898 msgid "B<-m>I<maintainer-address>"
8902 #: dpkg-buildpackage.pod dpkg-genchanges.pod
8903 msgid "B<-e>I<maintainer-address>"
8907 #: dpkg-buildpackage.pod
8908 msgid "Passed unchanged to B<dpkg-genchanges>. See its manual page."
8912 #: dpkg-buildpackage.pod
8913 msgid "B<--build-by=>I<maintainer-address>"
8917 #: dpkg-buildpackage.pod
8918 msgid "B<--source-by=>I<maintainer-address> (since dpkg 1.21.10)"
8922 #: dpkg-buildpackage.pod
8923 msgid "Pass as B<-m> to B<dpkg-genchanges>. See its manual page."
8927 #: dpkg-buildpackage.pod
8928 msgid "B<--release-by=>I<maintainer-address>"
8932 #: dpkg-buildpackage.pod
8933 msgid "B<--changed-by=>I<maintainer-address> (since dpkg 1.21.10)"
8937 #: dpkg-buildpackage.pod
8938 msgid "Pass as B<-e> to B<dpkg-genchanges>. See its manual page."
8942 #: dpkg-buildpackage.pod
8944 "Specify the Debian architecture we build for (long option since dpkg "
8945 "1.17.17). The architecture of the machine we build on is determined "
8946 "automatically, and is also the default for the host machine."
8950 #: dpkg-buildpackage.pod
8952 "Specify the GNU system type we build for (long option since dpkg 1.17.17). "
8953 "It can be used in place of B<--host-arch> or as a complement to override the "
8954 "default GNU system type of the host Debian architecture."
8958 #: dpkg-buildpackage.pod
8959 msgid "B<--target-arch> I<architecture>"
8963 #: dpkg-buildpackage.pod
8965 "Specify the Debian architecture the binaries built will build for (since "
8966 "dpkg 1.17.17). The default value is the host machine."
8970 #: dpkg-buildpackage.pod
8971 msgid "B<--target-type> I<gnu-system-type>"
8975 #: dpkg-buildpackage.pod
8977 "Specify the GNU system type the binaries built will build for (since dpkg "
8978 "1.17.17). It can be used in place of B<--target-arch> or as a complement to "
8979 "override the default GNU system type of the target Debian architecture."
8983 #: dpkg-buildpackage.pod
8984 msgid "B<-P>, B<--build-profiles=>I<profile>[B<,>...]"
8988 #: dpkg-buildpackage.pod
8990 "Specify the profile(s) we build, as a comma-separated list (since dpkg "
8991 "1.17.2, long option since dpkg 1.18.8). The default behavior is to build "
8992 "for no specific profile. Also sets them (as a space separated list) as the "
8993 "B<DEB_BUILD_PROFILES> environment variable which allows, for example, "
8994 "B<debian/rules> files to use this information for conditional builds."
8998 #: dpkg-buildpackage.pod
8999 msgid "B<-j>, B<--jobs>[=I<jobs>|B<auto>]"
9003 #: dpkg-buildpackage.pod
9005 "Specifies the number of jobs allowed to be run simultaneously (since dpkg "
9006 "1.14.7, long option since dpkg 1.18.8). The number of jobs matching the "
9007 "number of online processors if B<auto> is specified (since dpkg 1.17.10), or "
9008 "unlimited number if I<jobs> is not specified. The default behavior is "
9009 "B<auto> (since dpkg 1.18.11) in non-forced mode (since dpkg 1.21.10), and as "
9010 "such it is always safer to use with any package including those that are not "
9011 "parallel-build safe. Setting the number of jobs to B<1> will restore serial "
9016 #: dpkg-buildpackage.pod
9018 "Will add B<parallel=>I<jobs> or B<parallel> to the B<DEB_BUILD_OPTIONS> "
9019 "environment variable which allows debian/rules files to opt-in to use this "
9020 "information for their own purposes. The I<jobs> value will override the "
9021 "B<parallel=>I<jobs> or B<parallel> option in the B<DEB_BUILD_OPTIONS> "
9022 "environment variable. Note that the B<auto> value will get replaced by the "
9023 "actual number of currently active processors, and as such will not get "
9024 "propagated to any child process. If the number of online processors cannot "
9025 "be inferred then the code will fallback to using serial execution (since "
9026 "dpkg 1.18.15), although this should only happen on exotic and unsupported "
9031 #: dpkg-buildpackage.pod
9032 msgid "B<-J>, B<--jobs-try>[=I<jobs>|B<auto>]"
9036 #: dpkg-buildpackage.pod
9038 "This option (since dpkg 1.18.2, long option since dpkg 1.18.8) is equivalent "
9039 "to the B<-j> above."
9043 #: dpkg-buildpackage.pod
9045 "Since the behavior for B<-j> changed in dpkg 1.21.10 to the opt-in mode, you "
9046 "can use this option instead if you need to guarantee semantics across dpkg "
9051 #: dpkg-buildpackage.pod
9052 msgid "B<--jobs-force>[=I<jobs>|B<auto>]"
9056 #: dpkg-buildpackage.pod
9058 "This option (since dpkg 1.21.10) is equivalent to the B<--jobs> option "
9059 "except that it will enable forced parallel mode, by adding the B<make> B<-j> "
9060 "option with the computed number of parallel jobs to the B<MAKEFLAGS> "
9061 "environment variable."
9065 #: dpkg-buildpackage.pod
9067 "This should cause all subsequent make invocations to inherit the option, "
9068 "thus forcing the parallel setting on the packaging (and possibly the "
9069 "upstream build system if that uses L<make(1)>) regardless of their support "
9070 "for parallel builds, which might cause build failures."
9074 #: dpkg-buildpackage.pod
9076 "B<Note>: Any Makefile that is not parallel-safe should be considered to be "
9077 "buggy. These should either be made parallel-safe, or marked as not being "
9078 "safe with the L<make(1)> B<.NOTPARALLEL> target."
9082 #: dpkg-buildpackage.pod
9083 msgid "B<-D>, B<--check-builddeps>"
9087 #: dpkg-buildpackage.pod
9089 "Check build dependencies and conflicts; abort if unsatisfied (long option "
9090 "since dpkg 1.18.8). This is the default behavior."
9094 #: dpkg-buildpackage.pod
9095 msgid "B<-d>, B<--no-check-builddeps>"
9099 #: dpkg-buildpackage.pod
9101 "Do not check build dependencies and conflicts (long option since dpkg "
9106 #: dpkg-buildpackage.pod
9107 msgid "B<--ignore-builtin-builddeps>"
9111 #: dpkg-buildpackage.pod
9113 "Do not check built-in build dependencies and conflicts (since dpkg 1.18.2). "
9114 "These are the distribution specific implicit build dependencies usually "
9115 "required in a build environment, the so called Build-Essential package set."
9119 #: dpkg-buildpackage.pod
9120 msgid "B<--rules-requires-root>"
9124 #: dpkg-buildpackage.pod
9126 "Do not honor the B<Rules-Requires-Root> field, falling back to its legacy "
9127 "default value (since dpkg 1.19.1)."
9131 #: dpkg-buildpackage.pod
9132 msgid "B<-nc>, B<--no-pre-clean>"
9136 #: dpkg-buildpackage.pod
9138 "Do not clean the source tree before building (long option since dpkg "
9139 "1.18.8). Implies B<-b> if nothing else has been selected among B<-F>, "
9140 "B<-g>, B<-G>, B<-B>, B<-A> or B<-S>. Implies B<-d> with B<-S> (since dpkg "
9145 #: dpkg-buildpackage.pod
9146 msgid "B<--pre-clean>"
9150 #: dpkg-buildpackage.pod
9152 "Clean the source tree before building (since dpkg 1.18.8). This is the "
9157 #: dpkg-buildpackage.pod
9158 msgid "B<-tc>, B<--post-clean>"
9162 #: dpkg-buildpackage.pod
9164 "Clean the source tree (using I<gain-root-command> B<debian/rules clean>) "
9165 "after the package has been built (long option since dpkg 1.18.8)."
9169 #: dpkg-buildpackage.pod
9170 msgid "B<--no-post-clean>"
9174 #: dpkg-buildpackage.pod
9176 "Do not clean the source tree after the package has been built (since dpkg "
9177 "1.19.1). This is the default behavior."
9181 #: dpkg-buildpackage.pod
9182 msgid "B<--sanitize-env>"
9186 #: dpkg-buildpackage.pod
9188 "Sanitize the build environment (since dpkg 1.20.0). This will reset or "
9189 "remove environment variables, umask, and any other process attributes that "
9190 "might otherwise adversely affect the build of packages. Because the "
9191 "official entry point to build packages is B<debian/rules>, packages cannot "
9192 "rely on these settings being in place, and thus should work even when they "
9193 "are not. What to sanitize is vendor specific."
9197 #: dpkg-buildpackage.pod
9198 msgid "B<-r>, B<--root-command=>I<gain-root-command>"
9202 #: dpkg-buildpackage.pod
9204 "When B<dpkg-buildpackage> needs to execute part of the build process as "
9205 "root, it prefixes the command it executes with I<gain-root-command> if one "
9206 "has been specified (long option since dpkg 1.18.8). Otherwise, if none has "
9207 "been specified, B<fakeroot> will be used by default, if the command is "
9208 "present. I<gain-root-command> should start with the name of a program on "
9209 "the B<PATH> and will get as arguments the name of the real command to run "
9210 "and the arguments it should take. I<gain-root-command> can include "
9211 "parameters (they must be space-separated) but no shell metacharacters. "
9212 "I<gain-root-command> might typically be B<fakeroot>, B<sudo>, B<super> or "
9213 "B<really>. B<su> is not suitable, since it can only invoke the user's shell "
9214 "with B<-c> instead of passing arguments individually to the command to be "
9219 #: dpkg-buildpackage.pod
9220 msgid "B<-R>, B<--rules-file=>I<rules-file>"
9224 #: dpkg-buildpackage.pod
9226 "Building a Debian package usually involves invoking B<debian/rules> as a "
9227 "command with several standard parameters (since dpkg 1.14.17, long option "
9228 "since dpkg 1.18.8). With this option it's possible to use another program "
9229 "invocation to build the package (it can include space separated "
9230 "parameters). Alternatively it can be used to execute the standard rules "
9231 "file with another make program (for example by using B</usr/local/bin/make "
9232 "-f debian/rules> as I<rules-file>)."
9236 #: dpkg-buildpackage.pod
9237 msgid "B<--check-command=>I<check-command>"
9241 #: dpkg-buildpackage.pod
9243 "Command used to check the B<.changes> file itself and any artifact built "
9244 "referenced in the file (since dpkg 1.17.6). The command should take the "
9245 "B<.changes> pathname as an argument. This command will usually be "
9250 #: dpkg-buildpackage.pod
9251 msgid "B<--check-option=>I<opt>"
9255 #: dpkg-buildpackage.pod
9257 "Pass option I<opt> to the I<check-command> specified with "
9258 "B<DEB_CHECK_COMMAND> or B<--check-command> (since dpkg 1.17.6). Can be used "
9263 #: dpkg-buildpackage.pod
9264 msgid "B<--hook->I<hook-name>B<=>I<hook-command>"
9268 #: dpkg-buildpackage.pod
9270 "Set the specified shell code I<hook-command> as the hook I<hook-name>, which "
9271 "will run at the times specified in the run steps (since dpkg 1.17.6). The "
9272 "hooks will always be executed even if the following action is not performed "
9273 "(except for the B<binary> hook). All the hooks will run in the unpacked "
9278 #: dpkg-buildpackage.pod
9280 "Some hooks can receive addition information through environment variables "
9281 "(since dpkg 1.22.0). All hooks get the hook name in the "
9282 "B<DPKG_BUILDPACKAGE_HOOK_NAME> environment variable (since dpkg 1.22.0)."
9286 #: dpkg-buildpackage.pod
9288 "B<Note>: Hooks can affect the build process, and cause build failures if "
9289 "their commands fail, so watch out for unintended consequences."
9293 #: dpkg-buildpackage.pod
9294 msgid "The current I<hook-name> supported are:"
9298 #: dpkg-buildpackage.pod
9303 #: dpkg-buildpackage.pod
9308 #: dpkg-buildpackage.pod
9313 #: dpkg-buildpackage.pod
9315 "Gets B<DPKG_BUILDPACKAGE_HOOK_SOURCE_OPTIONS> with the space-separated lists "
9316 "of options that will passed to the B<dpkg-source> call."
9320 #: dpkg-buildpackage.pod
9322 "Gets B<DPKG_BUILDPACKAGE_HOOK_BUILD_TARGET> with the name of the "
9323 "B<debian/rules> build target called, but only if called."
9327 #: dpkg-buildpackage.pod
9329 "Gets B<DPKG_BUILDPACKAGE_HOOK_BINARY_TARGET> with the name of the "
9330 "B<debian/rules> binary target called, but only if called."
9334 #: dpkg-buildpackage.pod
9335 msgid "B<buildinfo>"
9339 #: dpkg-buildpackage.pod
9341 "Gets B<DPKG_BUILDPACKAGE_HOOK_BUILDINFO_OPTIONS> with the space-separated "
9342 "lists of options that will passed to the B<dpkg-genbuildinfo> call."
9346 #: dpkg-buildpackage.pod
9351 #: dpkg-buildpackage.pod
9353 "Gets B<DPKG_BUILDPACKAGE_HOOK_CHANGES_OPTIONS> with the space-separated "
9354 "lists of options that will passed to the B<dpkg-genchanges> call."
9358 #: dpkg-buildpackage.pod
9359 msgid "B<postclean>"
9363 #: dpkg-buildpackage.pod
9368 #: dpkg-buildpackage.pod
9370 "Gets B<DPKG_BUILDPACKAGE_HOOK_CHECK_OPTIONS> with the space-separated lists "
9371 "of options that will passed to the check command call."
9375 #: dpkg-buildpackage.pod
9380 #: dpkg-buildpackage.pod
9385 #: dpkg-buildpackage.pod
9387 "The I<hook-command> supports the following substitution format string, which "
9388 "will get applied to it before execution:"
9392 #: dpkg-buildpackage.pod
9397 #: dpkg-buildpackage.pod
9398 msgid "A single % character."
9402 #: dpkg-buildpackage.pod
9407 #: dpkg-buildpackage.pod
9409 "A boolean value (0 or 1), representing whether the following action is being "
9414 #: dpkg-buildpackage.pod
9419 #: dpkg-buildpackage.pod dpkg-parsechangelog.pod
9420 msgid "The source package name."
9424 #: dpkg-buildpackage.pod
9429 #: dpkg-buildpackage.pod
9430 msgid "The source package version."
9434 #: dpkg-buildpackage.pod
9439 #: dpkg-buildpackage.pod
9440 msgid "The source package version (without the epoch)."
9444 #: dpkg-buildpackage.pod
9449 #: dpkg-buildpackage.pod
9450 msgid "The upstream version."
9454 #: dpkg-buildpackage.pod
9455 msgid "B<--buildinfo-file=>I<filename>"
9459 #: dpkg-buildpackage.pod
9461 "Set the I<filename> for the generated B<.buildinfo> file (since dpkg "
9466 #: dpkg-buildpackage.pod
9467 msgid "B<--buildinfo-option=>I<opt>"
9471 #: dpkg-buildpackage.pod
9473 "Pass option I<opt> to B<dpkg-genbuildinfo> (since dpkg 1.18.11). Can be "
9474 "used multiple times."
9478 #: dpkg-buildpackage.pod
9479 msgid "B<--sign-backend=>I<sign-backend>"
9483 #: dpkg-buildpackage.pod
9485 "Specify an OpenPGP backend interface to use when invoking the "
9486 "I<sign-command> (since dpkg 1.21.10)."
9490 #: dpkg-buildpackage.pod
9492 "The default is B<auto>, where the best current backend available will be "
9493 "used. The specific OpenPGP backends supported in order of preference are:"
9497 #: dpkg-buildpackage.pod
9502 #: dpkg-buildpackage.pod
9503 msgid "(any conforming Stateless OpenPGP implementation)"
9507 #: dpkg-buildpackage.pod
9512 #: dpkg-buildpackage.pod
9513 msgid "(from Sequoia-PGP)"
9517 #: dpkg-buildpackage.pod
9522 #: dpkg-buildpackage.pod
9523 msgid "(from GnuPG)"
9527 #: dpkg-buildpackage.pod
9528 msgid "B<-p>, B<--sign-command=>I<sign-command>"
9532 #: dpkg-buildpackage.pod
9534 "When B<dpkg-buildpackage> needs to execute an OpenPGP backend command to "
9535 "sign a source control (B<.dsc>) file, a B<.buildinfo> file or a B<.changes> "
9536 "file it will run I<sign-command> (searching the B<PATH> if necessary) "
9537 "instead of the default or auto-detected backend command (long option since "
9538 "dpkg 1.18.8). I<sign-command> will get all the backend specific arguments "
9539 "according to the B<--sign-backend> selected. I<sign-command> should not "
9540 "contain spaces or any other shell metacharacters."
9544 #: dpkg-buildpackage.pod
9545 msgid "B<-k>, B<--sign-keyid=>I<key-id>"
9549 #: dpkg-buildpackage.pod
9550 msgid "B<--sign-key=>I<key-id>"
9554 #: dpkg-buildpackage.pod
9556 "Specify an OpenPGP key-ID (either a fingerprint or a user-ID) for the secret "
9557 "key to use when signing packages (B<--sign-key> since dpkg 1.18.8, "
9558 "B<--sign-keyid> since dpkg 1.21.10)."
9562 #: dpkg-buildpackage.pod
9563 msgid "B<--sign-keyfile=>I<key-file>"
9567 #: dpkg-buildpackage.pod
9569 "Specify an OpenPGP I<key-file> containing the secret key to use when signing "
9570 "packages (since dpkg 1.21.10)."
9574 #: dpkg-buildpackage.pod
9576 "B<Note>: For security reasons the I<key-file> is best kept locked with a "
9581 #: dpkg-buildpackage.pod
9582 msgid "B<-us>, B<--unsigned-source>"
9586 #: dpkg-buildpackage.pod
9587 msgid "Do not sign the source package (long option since dpkg 1.18.8)."
9591 #: dpkg-buildpackage.pod
9592 msgid "B<-ui>, B<--unsigned-buildinfo>"
9596 #: dpkg-buildpackage.pod
9597 msgid "Do not sign the B<.buildinfo> file (since dpkg 1.18.19)."
9601 #: dpkg-buildpackage.pod
9602 msgid "B<-uc>, B<--unsigned-changes>"
9606 #: dpkg-buildpackage.pod
9608 "Do not sign the B<.buildinfo> and B<.changes> files (long option since dpkg "
9613 #: dpkg-buildpackage.pod
9614 msgid "B<--no-sign>"
9618 #: dpkg-buildpackage.pod
9620 "Do not sign any file, this includes the source package, the B<.buildinfo> "
9621 "file and the B<.changes> file (since dpkg 1.18.20)."
9625 #: dpkg-buildpackage.pod
9626 msgid "B<--force-sign>"
9630 #: dpkg-buildpackage.pod
9632 "Force the signing of the resulting files (since dpkg 1.17.0), regardless of "
9633 "B<-us>, B<--unsigned-source>, B<-ui>, B<--unsigned-buildinfo>, B<-uc>, "
9634 "B<--unsigned-changes> or other internal heuristics."
9638 #: dpkg-buildpackage.pod dpkg-source.pod
9643 #: dpkg-buildpackage.pod dpkg-source.pod
9648 #: dpkg-buildpackage.pod
9653 #: dpkg-buildpackage.pod dpkg-source.pod
9658 #: dpkg-buildpackage.pod dpkg-source.pod
9663 #: dpkg-buildpackage.pod dpkg-source.pod
9668 #: dpkg-buildpackage.pod
9673 #: dpkg-buildpackage.pod
9678 #: dpkg-buildpackage.pod
9683 #: dpkg-buildpackage.pod
9684 msgid "B<-i>, B<--diff-ignore>[=I<regex>]"
9688 #: dpkg-buildpackage.pod
9689 msgid "B<-I>, B<--tar-ignore>[=I<pattern>]"
9693 #: dpkg-buildpackage.pod
9694 msgid "B<-z>, B<--compression-level=>I<level>"
9698 #: dpkg-buildpackage.pod
9699 msgid "B<-Z>, B<--compression=>I<compressor>"
9703 #: dpkg-buildpackage.pod
9704 msgid "Passed unchanged to B<dpkg-source>. See its manual page."
9708 #: dpkg-buildpackage.pod
9709 msgid "B<--source-option=>I<opt>"
9713 #: dpkg-buildpackage.pod
9715 "Pass option I<opt> to B<dpkg-source> (since dpkg 1.15.6). Can be used "
9720 #: dpkg-buildpackage.pod
9721 msgid "B<--changes-file=>I<filename>"
9725 #: dpkg-buildpackage.pod
9726 msgid "Set the I<filename> for the generated B<.changes> file (since dpkg 1.21.0)."
9730 #: dpkg-buildpackage.pod
9731 msgid "B<--changes-option=>I<opt>"
9735 #: dpkg-buildpackage.pod
9737 "Pass option I<opt> to B<dpkg-genchanges> (since dpkg 1.15.6). Can be used "
9742 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod dpkg-genbuildinfo.pod
9743 #: dpkg-query.pod dpkg-shlibdeps.pod dpkg-trigger.pod dpkg.pod
9744 msgid "B<--admindir=>I<dir>"
9748 #: dpkg-buildpackage.pod
9749 msgid "B<--admindir> I<dir>"
9753 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod dpkg-shlibdeps.pod
9755 "Change the location of the B<dpkg> database (since dpkg 1.14.0). The "
9756 "default location is I<%ADMINDIR%>."
9760 #: dpkg-buildpackage.pod dpkg-query.pod dpkg.pod
9761 msgid "External environment"
9765 #: dpkg-buildpackage.pod
9766 msgid "B<DEB_CHECK_COMMAND>"
9770 #: dpkg-buildpackage.pod
9772 "If set, it will be used as the command to check the B<.changes> file (since "
9773 "dpkg 1.17.6). Overridden by the B<--check-command> option."
9777 #: dpkg-buildpackage.pod
9778 msgid "B<DEB_SIGN_KEYID>"
9782 #: dpkg-buildpackage.pod
9784 "If set, it will be used to sign the B<.changes>, B<.buildinfo> and B<.dsc> "
9785 "files (since dpkg 1.17.2). Overridden by the B<--sign-key> option."
9789 #: dpkg-buildpackage.pod
9790 msgid "B<DEB_SIGN_KEYFILE>"
9794 #: dpkg-buildpackage.pod
9796 "If set, it will be used to sign the B<.changes>, B<.buildinfo> and B<.dsc> "
9797 "files (since dpkg 1.21.10). Overridden by the B<--sign-keyfile> option."
9801 #: dpkg-buildpackage.pod
9803 "If set, it will contain a space-separated list of options that affect the "
9804 "behavior of some dpkg tools involved in package building, and might affect "
9805 "the package build process if the code in F<debian/rules> honors them."
9809 #: dpkg-buildpackage.pod
9811 "The following are the options known and supported by dpkg tools, other "
9812 "options honored by F<debian/rules> might be defined by distribution specific "
9817 #: dpkg-buildpackage.pod
9818 msgid "B<parallel=>I<N>"
9822 #: dpkg-buildpackage.pod
9824 "The F<debian/rules> in the packaging might use this option to set up the "
9825 "build process to use I<N> parallel jobs. It is overridden by the B<--jobs> "
9826 "and B<--jobs-force> options."
9830 #: dpkg-buildpackage.pod
9835 #: dpkg-buildpackage.pod
9837 "B<dpkg-buildpackage> will ignore the B<DEB_CHECK_COMMAND> variable. The "
9838 "F<debian/rules> in the packaging is not expected to run test suites during "
9843 #: dpkg-buildpackage.pod
9848 #: dpkg-buildpackage.pod
9850 "If F<debian/rules> calls B<dpkg-buildflags> to set up the build flags, those "
9851 "will be set to not enable any optimizations."
9855 #: dpkg-buildpackage.pod
9860 #: dpkg-buildpackage.pod
9862 "The F<debian/rules> in the packaging should ensure that objects do not get "
9863 "the debugging information stripped. If F<debian/rules> includes the "
9864 "B<mk/buildtools.mk> make fragment the B<STRIP> make variable will respect "
9869 #: dpkg-buildpackage.pod
9874 #: dpkg-buildpackage.pod
9876 "B<dpkg-buildpackage> will append the B<--no-print-directory> L<make(1)> flag "
9877 "to the B<MAKEFLAGS> environment variable. The F<debian/rules> in the "
9878 "packaging should reduce verbosity, while not being completely quiet."
9882 #: dpkg-buildpackage.pod dpkg-checkbuilddeps.pod
9883 msgid "B<DEB_BUILD_PROFILES>"
9887 #: dpkg-buildpackage.pod
9889 "If set, it will be used as the active build profile(s) for the package being "
9890 "built (since dpkg 1.17.2). It is a space separated list of profile names. "
9891 "Overridden by the B<-P> option."
9895 #: dpkg-buildpackage.pod dpkg-query.pod dpkg.pod
9896 msgid "Internal environment"
9900 #: dpkg-buildpackage.pod
9902 "Even if B<dpkg-buildpackage> exports some variables, B<debian/rules> should "
9903 "not rely on their presence and should instead use the respective interface "
9904 "to retrieve the needed values, because that file is the main entry point to "
9905 "build packages and running it standalone should be supported."
9909 #: dpkg-buildpackage.pod
9910 msgid "B<DEB_BUILD_*>"
9914 #: dpkg-buildpackage.pod
9915 msgid "B<DEB_HOST_*>"
9919 #: dpkg-buildpackage.pod
9920 msgid "B<DEB_TARGET_*>"
9924 #: dpkg-buildpackage.pod
9926 "B<dpkg-architecture> is called with the B<-a> and B<-t> parameters "
9927 "forwarded. Any variable that is output by its B<-s> option is integrated in "
9928 "the build environment."
9932 #: dpkg-buildpackage.pod
9933 msgid "B<DEB_RULES_REQUIRES_ROOT>"
9937 #: dpkg-buildpackage.pod
9939 "This variable is set to the value obtained from the B<Rules-Requires-Root> "
9940 "field, the dpkg-build-api level or from the command-line. When set, it will "
9941 "be a valid value for the B<Rules-Requires-Root> field. It is used to notify "
9942 "B<debian/rules> whether the B<rootless-builds.txt> specification is "
9947 #: dpkg-buildpackage.pod
9948 msgid "B<DEB_GAIN_ROOT_CMD>"
9952 #: dpkg-buildpackage.pod
9954 "This variable is set to I<gain-root-command> when the field "
9955 "B<Rules-Requires-Root> is set to a value different to B<no> and "
9956 "B<binary-targets>."
9960 #: dpkg-buildpackage.pod dpkg-deb.pod dpkg-source.pod dpkg-split.pod
9961 msgid "B<SOURCE_DATE_EPOCH>"
9965 #: dpkg-buildpackage.pod
9967 "This variable is set to the Unix timestamp since the epoch of the latest "
9968 "entry in I<debian/changelog>, if it is not already defined."
9972 #: dpkg-buildpackage.pod
9973 msgid "I<%PKGCONFDIR%/buildpackage.conf>"
9977 #: dpkg-buildpackage.pod
9978 msgid "System wide configuration file"
9982 #: dpkg-buildpackage.pod
9983 msgid "I<$XDG_CONFIG_HOME/dpkg/buildpackage.conf> or"
9987 #: dpkg-buildpackage.pod
9988 msgid "I<$HOME/.config/dpkg/buildpackage.conf>"
9992 #: dpkg-buildpackage.pod
9993 msgid "Compiler flags are no longer exported"
9997 #: dpkg-buildpackage.pod
9999 "Between dpkg 1.14.17 and 1.16.1, B<dpkg-buildpackage> exported compiler "
10000 "flags (B<CFLAGS>, B<CXXFLAGS>, B<FFLAGS>, B<CPPFLAGS> and B<LDFLAGS>) with "
10001 "values as returned by B<dpkg-buildflags>. This is no longer the case."
10005 #: dpkg-buildpackage.pod
10006 msgid "Default build targets"
10010 #: dpkg-buildpackage.pod
10012 "B<dpkg-buildpackage> is using the B<build-arch> and B<build-indep> targets "
10013 "since dpkg 1.16.2. Those targets are thus mandatory. But to avoid breakages "
10014 "of existing packages, and ease the transition, if the source package does "
10015 "not build both architecture independent and dependent binary packages (since "
10016 "dpkg 1.18.8) it will fallback to use the B<build> target if B<make -f "
10017 "debian/rules -qn> I<build-target> returns 2 as exit code."
10021 #: dpkg-buildpackage.pod dpkg-deb.pod dpkg-query.pod dpkg-source.pod
10022 #: dpkg-split.pod dpkg.pod
10027 #: dpkg-buildpackage.pod
10029 "Building binary or source packages should only be performed over trusted "
10034 #: dpkg-buildpackage.pod
10036 "It should be possible to specify spaces and shell metacharacters and initial "
10037 "arguments for I<gain-root-command> and I<sign-command>."
10041 #: dpkg-buildpackage.pod
10043 "I<%PKGDOCDIR%/spec/rootless-builds.txt>, L<dpkg-source(1)>, "
10044 "L<dpkg-architecture(1)>, L<dpkg-buildflags(1)>, L<dpkg-genbuildinfo(1)>, "
10045 "L<dpkg-genchanges(1)>, L<fakeroot(1)>, L<lintian(1)>, "
10046 "L<https://datatracker.ietf.org/doc/draft-dkg-openpgp-stateless-cli/>, "
10047 "L<sq(1)>, L<gpg(1)>."
10051 #: dpkg-checkbuilddeps.pod
10052 msgid "dpkg-checkbuilddeps - check build dependencies and conflicts"
10056 #: dpkg-checkbuilddeps.pod
10057 msgid "B<dpkg-checkbuilddeps> [I<option>...] [I<control-file>]"
10061 #: dpkg-checkbuilddeps.pod
10063 "This program checks the installed packages in the system against the build "
10064 "dependencies and build conflicts listed in the control file. If any are not "
10065 "met, it displays them and exits with a nonzero return code."
10069 #: dpkg-checkbuilddeps.pod
10071 "By default, B<debian/control> is read, but an alternate control filename may "
10072 "be specified on the command line."
10076 #: dpkg-checkbuilddeps.pod
10078 "Ignore B<Build-Depends-Arch> and B<Build-Conflicts-Arch> lines (since dpkg "
10079 "1.16.4). Use when only arch-indep packages will be built, or combine with "
10080 "B<-B> when only a source package is to be built."
10084 #: dpkg-checkbuilddeps.pod
10086 "Ignore B<Build-Depends-Indep> and B<Build-Conflicts-Indep> lines. Use when "
10087 "only arch-dep packages will be built, or combine with B<-A> when only a "
10088 "source package is to be built."
10092 #: dpkg-checkbuilddeps.pod
10097 #: dpkg-checkbuilddeps.pod
10099 "Ignore built-in build depends and conflicts (since dpkg 1.18.2). These are "
10100 "implicit dependencies that are usually required on a specific distribution, "
10101 "the so called Build-Essential package set."
10105 #: dpkg-checkbuilddeps.pod
10106 msgid "B<-d> I<build-depends-string>"
10110 #: dpkg-checkbuilddeps.pod
10111 msgid "B<-c> I<build-conflicts-string>"
10115 #: dpkg-checkbuilddeps.pod
10117 "Use the given build dependencies/conflicts instead of those contained in the "
10118 "I<debian/control> file (since dpkg 1.14.17)."
10122 #: dpkg-checkbuilddeps.pod
10123 msgid "B<-a> I<arch>"
10127 #: dpkg-checkbuilddeps.pod
10129 "Check build dependencies/conflicts assuming that the package described in "
10130 "the control file is to be built for the given host architecture instead of "
10131 "the architecture of the current system (since dpkg 1.16.2)."
10135 #: dpkg-checkbuilddeps.pod
10136 msgid "B<-P> I<profile>[B<,>...]"
10140 #: dpkg-checkbuilddeps.pod
10142 "Check build dependencies/conflicts assuming that the package described in "
10143 "the control file is to be built for the given build profile(s) (since dpkg "
10144 "1.17.2). The argument is a comma-separated list of profile names."
10148 #: dpkg-checkbuilddeps.pod
10150 "If set, it will be used as the active build profile(s) for the package being "
10151 "built. It is a space separated list of profile names. Overridden by the "
10157 msgid "dpkg-deb - Debian package archive (.deb) manipulation tool"
10162 msgid "B<dpkg-deb> [I<option>...] I<command>"
10167 msgid "B<dpkg-deb> packs, unpacks and provides information about Debian archives."
10172 msgid "Use B<dpkg> to install and remove packages from your system."
10178 "You can also invoke B<dpkg-deb> by calling B<dpkg> with whatever options you "
10179 "want to pass to B<dpkg-deb>. B<dpkg> will spot that you wanted B<dpkg-deb> "
10180 "and run it for you."
10186 "For most commands taking an input archive argument, the archive can be read "
10187 "from standard input if the archive name is given as a single minus character "
10188 "(«B<->»); otherwise lack of support will be documented in their respective "
10189 "command description."
10194 msgid "B<-b>, B<--build> I<binary-directory> [I<archive>|I<directory>]"
10200 "Creates a debian archive from the filesystem tree stored in "
10201 "I<binary-directory>. I<binary-directory> must have a B<DEBIAN> subdirectory, "
10202 "which contains the control information files such as the control file "
10203 "itself. This directory will I<not> appear in the binary package's filesystem "
10204 "archive, but instead the files in it will be put in the binary package's "
10205 "control information area."
10211 "Unless you specify B<--nocheck>, B<dpkg-deb> will read B<DEBIAN/control> and "
10212 "parse it. It will check the file for syntax errors and other problems, and "
10213 "display the name of the binary package being built. B<dpkg-deb> will also "
10214 "check the permissions of the maintainer scripts and other files found in the "
10215 "B<DEBIAN> control information directory."
10221 "If no I<archive> is specified then B<dpkg-deb> will write the package into "
10222 "the file I<binary-directory>B<.deb>."
10227 msgid "If the archive to be created already exists it will be overwritten."
10233 "If the second argument is a directory then B<dpkg-deb> will write to the "
10234 "file I<directory>B</>I<package>B<_>I<version>B<_>I<arch>B<.deb.> When a "
10235 "target directory is specified, rather than a file, the B<--nocheck> option "
10236 "may not be used (since B<dpkg-deb> needs to read and parse the package "
10237 "control file to determine which filename to use)."
10242 msgid "B<-I>, B<--info> I<archive> [I<control-file-name>...]"
10247 msgid "Provides information about a binary package archive."
10253 "If no I<control-file-name>s are specified then it will print a summary of "
10254 "the contents of the package as well as its control file."
10260 "If any I<control-file-name>s are specified then B<dpkg-deb> will print them "
10261 "in the order they were specified; if any of the components weren't present "
10262 "it will print an error message to stderr about each one and exit with status "
10268 msgid "B<-W>, B<--show> I<archive>"
10274 "Provides information about a binary package archive in the format specified "
10275 "by the B<--showformat> argument. The default format displays the package's "
10276 "name and version on one line, separated by a tabulator."
10281 msgid "B<-f>, B<--field> I<archive> [I<control-field-name>...]"
10286 msgid "Extracts control file information from a binary package archive."
10292 "If no I<control-field-name>s are specified then it will print the whole "
10299 "If any are specified then B<dpkg-deb> will print their contents, in the "
10300 "order in which they appear in the control file. If more than one "
10301 "I<control-field-name> is specified then B<dpkg-deb> will precede each with "
10302 "its field name (and a colon and space)."
10307 msgid "No errors are reported for fields requested but not found."
10311 #: dpkg-deb.pod dpkg.pod
10312 msgid "B<-c>, B<--contents> I<archive>"
10318 "Lists the contents of the filesystem tree archive portion of the package "
10319 "archive. It is currently produced in the format generated by B<tar>'s "
10324 #: dpkg-deb.pod dpkg.pod
10325 msgid "B<-x>, B<--extract> I<archive> I<directory>"
10331 "Extracts the filesystem tree from a package archive into the specified "
10338 "Note that extracting a package to the root directory will I<not> result in a "
10339 "correct installation! Use B<dpkg> to install packages."
10345 "I<directory> (but not its parents) will be created if necessary, and its "
10346 "permissions modified to match the contents of the package."
10350 #: dpkg-deb.pod dpkg.pod
10351 msgid "B<-X>, B<--vextract> I<archive> I<directory>"
10357 "Is like B<--extract> (B<-x>) with B<--verbose> (B<-v>) which prints a "
10358 "listing of the files extracted as it goes."
10363 msgid "B<-R>, B<--raw-extract> I<archive> I<directory>"
10369 "Extracts the filesystem tree from a package archive into a specified "
10370 "directory, and the control information files into a B<DEBIAN> subdirectory "
10371 "of the specified directory (since dpkg 1.16.1)."
10376 msgid "The target directory (but not its parents) will be created if necessary."
10382 "The input archive is not (currently) processed sequentially, so reading it "
10383 "from standard input («B<->») is B<not> supported."
10387 #: dpkg-deb.pod dpkg.pod
10388 msgid "B<--ctrl-tarfile> I<archive>"
10394 "Extracts the control data from a binary package and sends it to standard "
10395 "output in B<tar> format (since dpkg 1.17.14). Together with L<tar(1)> this "
10396 "can be used to extract a particular control file from a package archive. "
10397 "The input archive will always be processed sequentially."
10401 #: dpkg-deb.pod dpkg.pod
10402 msgid "B<--fsys-tarfile> I<archive>"
10408 "Extracts the filesystem tree data from a binary package and sends it to "
10409 "standard output in B<tar> format. Together with L<tar(1)> this can be used "
10410 "to extract a particular file from a package archive. The input archive will "
10411 "always be processed sequentially."
10415 #: dpkg-deb.pod dpkg.pod
10416 msgid "B<-e>, B<--control> I<archive> [I<directory>]"
10422 "Extracts the control information files from a package archive into the "
10423 "specified directory."
10429 "If no directory is specified then a subdirectory B<DEBIAN> in the current "
10430 "directory is used."
10435 msgid "B<--showformat=>I<format>"
10441 "This option is used to specify the format of the output B<--show> will "
10442 "produce. The format is a string that will be output for each package listed."
10448 "The string may reference any status field using the “${I<field-name>}” form, "
10449 "a list of the valid fields can be easily produced using B<-I> on the same "
10450 "package. A complete explanation of the formatting options (including escape "
10451 "sequences and field tabbing) can be found in the explanation of the "
10452 "B<--showformat> option in L<dpkg-query(1)>."
10457 msgid "The default for this field is “${Package}\\t${Version}\\n”."
10462 msgid "B<-z>I<compress-level>"
10468 "Specify which compression level to use on the compressor backend, when "
10469 "building a package (default is 9 for gzip, 6 for xz, 3 for zstd). The "
10470 "accepted values are compressor specific. For gzip, from 0-9 with 0 being "
10471 "mapped to compressor none. For xz from 0-9. For zstd from 0-22, with "
10472 "levels from 20 to 22 enabling its ultra mode. Before dpkg 1.16.2 level 0 "
10473 "was equivalent to compressor none for all compressors."
10478 msgid "B<-S>I<compress-strategy>"
10484 "Specify which compression strategy to use on the compressor backend, when "
10485 "building a package (since dpkg 1.16.2). Allowed values are B<none> (since "
10486 "dpkg 1.16.4), B<filtered>, B<huffman>, B<rle> and B<fixed> for gzip (since "
10487 "dpkg 1.17.0) and B<extreme> for xz."
10492 msgid "B<-Z>I<compress-type>"
10498 "Specify which compression type to use when building a package. Allowed "
10499 "values are B<gzip>, B<xz> (since dpkg 1.15.6), B<zstd> (since dpkg 1.21.18) "
10500 "and B<none> (default is B<%DEB_DEFAULT_COMPRESSOR%>)."
10505 msgid "B<--[no-]uniform-compression>"
10511 "Specify that the same compression parameters should be used for all archive "
10512 "members (i.e. B<control.tar> and B<data.tar>; since dpkg 1.17.6). Otherwise "
10513 "only the B<data.tar> member will use those parameters. The only supported "
10514 "compression types allowed to be uniformly used are B<none>, B<gzip>, B<xz> "
10515 "and B<zstd>. The B<--no-uniform-compression> option disables uniform "
10516 "compression (since dpkg 1.19.0). Uniform compression is the default (since "
10521 #: dpkg-deb.pod dpkg-source.pod
10522 msgid "B<--threads-max=>I<threads>"
10528 "Sets the maximum number of threads allowed for compressors that support "
10529 "multi-threaded operations (since dpkg 1.21.9)."
10534 msgid "B<--root-owner-group>"
10540 "Set the owner and group for each entry in the filesystem tree data to root "
10541 "with id 0 (since dpkg 1.19.0)."
10547 "B<Note>: This option can be useful for rootless builds (see "
10548 "I<rootless-builds.txt>), but should B<not> be used when the entries have an "
10549 "owner or group that is not root. Support for these will be added later in "
10550 "the form of a meta manifest."
10555 msgid "B<--deb-format=>I<format>"
10561 "Set the archive format version used when building (since dpkg 1.17.0). "
10562 "Allowed values are B<2.0> for the new format, and B<0.939000> for the old "
10563 "one (default is B<2.0>)."
10569 "The old archive format is less easily parsed by non-Debian tools and is now "
10570 "obsolete; its only use is when building packages to be parsed by versions of "
10571 "dpkg older than 0.93.76 (September 1995), which was released as i386 a.out "
10577 msgid "B<--nocheck>"
10583 "Inhibits B<dpkg-deb --build>'s usual checks on the proposed contents of an "
10584 "archive. You can build any archive you want, no matter how broken, this way."
10588 #: dpkg-deb.pod start-stop-daemon.pod
10589 msgid "B<-v>, B<--verbose>"
10595 "Enables verbose output (since dpkg 1.16.1). This currently only affects "
10596 "B<--extract> making it behave like B<--vextract>."
10601 msgid "B<-D>, B<--debug>"
10606 msgid "Enables debugging output. This is not very interesting."
10610 #: dpkg-deb.pod dpkg-divert.pod dpkg-query.pod dpkg-split.pod
10611 #: dpkg-statoverride.pod dpkg-trigger.pod dpkg.pod dselect.pod
10612 #: start-stop-daemon.pod update-alternatives.pod
10613 msgid "EXIT STATUS"
10617 #: dpkg-deb.pod dpkg-divert.pod dpkg-query.pod dpkg-split.pod
10618 #: dpkg-statoverride.pod dpkg-trigger.pod dpkg.pod dselect.pod
10619 #: start-stop-daemon.pod update-alternatives.pod
10624 #: dpkg-deb.pod dpkg-divert.pod dpkg-statoverride.pod update-alternatives.pod
10625 msgid "The requested action was successfully performed."
10629 #: dpkg-deb.pod dpkg-divert.pod dpkg-query.pod dpkg-split.pod
10630 #: dpkg-statoverride.pod dpkg-trigger.pod dpkg.pod dselect.pod
10631 #: start-stop-daemon.pod update-alternatives.pod
10636 #: dpkg-deb.pod dpkg-divert.pod dpkg-query.pod dpkg-statoverride.pod
10637 #: dpkg-trigger.pod dpkg.pod dselect.pod
10639 "Fatal or unrecoverable error due to invalid command-line usage, or "
10640 "interactions with the system, such as accesses to the database, memory "
10641 "allocations, etc."
10646 msgid "B<DPKG_DEB_THREADS_MAX>"
10651 msgid "The B<--threads-max> option overrides this value."
10656 msgid "B<DPKG_DEB_COMPRESSOR_TYPE>"
10661 msgid "Sets the compressor type to use (since dpkg 1.21.10)."
10666 msgid "The B<-Z> option overrides this value."
10671 msgid "B<DPKG_DEB_COMPRESSOR_LEVEL>"
10676 msgid "Sets the compressor level to use (since dpkg 1.21.10)."
10681 msgid "The B<-z> option overrides this value."
10685 #: dpkg-deb.pod dpkg.pod
10692 "If set, B<dpkg-deb> will use it as the directory in which to create "
10693 "temporary files and directories."
10699 "If set, it will be used as the timestamp (as seconds since the epoch) in the "
10700 "L<deb(5)>'s L<ar(5)> container and used to clamp the mtime in the L<tar(5)> "
10707 "Do not attempt to use just B<dpkg-deb> to install software! You must use "
10708 "B<dpkg> proper to ensure that all the files are correctly placed and the "
10709 "package's scripts run and its status and contents recorded."
10715 "Examining untrusted package archives or extracting them into staging "
10716 "directories should be considered a security boundary, and any breakage of "
10717 "that boundary stemming from these operations should be considered a security "
10718 "vulnerability. But handling untrusted package archives should not be done "
10719 "lightly, as the surface area includes any compression library supported, in "
10720 "addition to the archive formats and control files themselves. Performing "
10721 "these operations over untrusted data as root is strongly discouraged."
10726 msgid "Building package archives should only be performed over trusted data."
10731 msgid "B<dpkg-deb -I> I<package1>B<.deb> I<package2>B<.deb> does the wrong thing."
10737 "There is no authentication on B<.deb> files; in fact, there isn't even a "
10738 "straightforward checksum. (Higher level tools like APT support "
10739 "authenticating B<.deb> packages retrieved from a given repository, and most "
10740 "packages nowadays provide an md5sum control file generated by "
10741 "debian/rules. Though this is not directly supported by the lower level "
10748 "F<%PKGDOCDIR%/spec/rootless-builds.txt>, L<deb(5)>, L<deb-control(5)>, "
10749 "L<dpkg(1)>, L<dselect(1)>."
10753 #: dpkg-distaddfile.pod
10754 msgid "dpkg-distaddfile - add entries to debian/files"
10758 #: dpkg-distaddfile.pod
10759 msgid "B<dpkg-distaddfile> [I<option>...] I<filename section priority>"
10763 #: dpkg-distaddfile.pod
10764 msgid "B<dpkg-distaddfile> adds an entry for a named file to B<debian/files>."
10768 #: dpkg-distaddfile.pod
10770 "It takes three non-option arguments, the filename and the section and "
10771 "priority for the B<.changes> file."
10775 #: dpkg-distaddfile.pod
10777 "The filename should be specified relative to the directory where "
10778 "B<dpkg-genchanges> will expect to find the files, usually B<..>, rather than "
10779 "being a pathname relative to the current directory when B<dpkg-distaddfile> "
10784 #: dpkg-distaddfile.pod dpkg-genbuildinfo.pod dpkg-genchanges.pod
10785 #: dpkg-gencontrol.pod
10786 msgid "B<-f>I<files-list-file>"
10790 #: dpkg-distaddfile.pod dpkg-gencontrol.pod
10792 "Read or write the list of files to be uploaded here, rather than using "
10797 #: dpkg-distaddfile.pod
10799 "The list of generated files which are part of the upload being prepared. "
10800 "B<dpkg-distaddfile> can be used to add additional files."
10804 #: dpkg-distaddfile.pod
10805 msgid "L<deb-src-files(5)>."
10810 msgid "dpkg-divert - override a package's version of a file"
10815 msgid "B<dpkg-divert> [I<option>...] I<command>"
10821 "B<dpkg-divert> is the utility used to set up and update the list of "
10828 "File I<diversions> are a way of forcing L<dpkg(1)> not to install a file "
10829 "into its location, but to a I<diverted> location. Diversions can be used "
10830 "through the Debian package scripts to move a file away when it causes a "
10831 "conflict. System administrators can also use it to override some package's "
10832 "configuration file, or whenever some files (which aren't marked as "
10833 "“conffiles”) need to be preserved by B<dpkg>, when installing a newer "
10834 "version of a package which contains those files."
10839 msgid "[B<--add>] I<file>"
10845 "Add a diversion for I<file>. The file is currently not renamed, see "
10851 msgid "B<--remove> I<file>"
10857 "Remove a diversion for I<file>. The file is currently not renamed, see "
10862 #: dpkg-divert.pod dpkg-statoverride.pod
10863 msgid "B<--list> [I<glob-pattern>]"
10868 msgid "List all diversions, or ones matching I<glob-pattern>."
10873 msgid "B<--listpackage> I<file>"
10879 "Print the name of the package that diverts I<file> (since dpkg 1.15.0). "
10880 "Prints LOCAL if I<file> is locally diverted and nothing if I<file> is not "
10886 msgid "B<--truename> I<file>"
10891 msgid "Print the real name for a diverted file."
10895 #: dpkg-divert.pod dpkg-split.pod dpkg-statoverride.pod dselect.pod
10896 #: update-alternatives.pod
10897 msgid "B<--admindir> I<directory>"
10903 "Set the administrative directory to I<directory>. Defaults to "
10904 "«I<%ADMINDIR%>» if B<DPKG_ADMINDIR> has not been set."
10908 #: dpkg-divert.pod dpkg-realpath.pod dpkg-statoverride.pod dselect.pod
10909 #: update-alternatives.pod
10910 msgid "B<--instdir> I<directory>"
10914 #: dpkg-divert.pod dpkg-statoverride.pod
10916 "Set the installation directory, which refers to the directory where packages "
10917 "get installed (since dpkg 1.19.2). Defaults to «I</>» if B<DPKG_ROOT> has "
10922 #: dpkg-divert.pod dpkg-realpath.pod dpkg-split.pod dpkg-statoverride.pod
10923 #: dselect.pod update-alternatives.pod
10924 msgid "B<--root> I<directory>"
10928 #: dpkg-divert.pod dpkg-statoverride.pod
10930 "Set the root directory to B<directory>, which sets the installation "
10931 "directory to «I<directory>» and the administrative directory to "
10932 "«I<directory>B<%ADMINDIR%>» (since dpkg 1.19.2) if B<DPKG_ROOT> has not "
10938 msgid "B<--divert> I<divert-to>"
10944 "I<divert-to> is the location where the versions of I<file>, as provided by "
10945 "other packages, will be diverted."
10956 "Specifies that all packages' versions of this file are diverted. This "
10957 "means, that there are no exceptions, and whatever package is installed, the "
10958 "file is diverted. This can be used by an admin to install a locally modified "
10964 msgid "B<--package> I<package>"
10970 "I<package> is the name of a package whose copy of I<file> will not be "
10971 "diverted. i.e. I<file> will be diverted for all packages except I<package>."
10975 #: dpkg-divert.pod dpkg-statoverride.pod update-alternatives.pod
10981 msgid "Quiet mode, i.e. no verbose output."
10986 msgid "B<--rename>"
10992 "Actually move the file aside (or back). B<dpkg-divert> will abort operation "
10993 "in case the destination file already exists. This is the common behavior "
10994 "used for diversions of files from the non-B<Essential> package set (see "
10995 "B<--no-rename> for more details)."
11000 msgid "B<--no-rename>"
11006 "Specifies that the file should not be renamed while adding or removing the "
11007 "diversion into the database (since dpkg 1.19.1). This is intended for "
11008 "diversions of files from the B<Essential> package set, where the temporary "
11009 "disappearance of the original file is not acceptable, as it can render the "
11010 "system non-functional. This is the default behavior, but that will change "
11011 "in the dpkg 1.20.x cycle."
11021 msgid "Test mode, i.e. don't actually perform any changes, just demonstrate."
11025 #: dpkg-divert.pod dpkg-maintscript-helper.pod dpkg-query.pod dpkg-realpath.pod
11026 #: dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod dpkg.pod dselect.pod
11027 msgid "B<DPKG_ROOT>"
11031 #: dpkg-divert.pod dpkg-statoverride.pod
11033 "If set and the B<--instdir> or B<--root> options have not been specified, it "
11034 "will be used as the filesystem root directory (since dpkg 1.19.2)."
11038 #: dpkg-divert.pod dpkg-maintscript-helper.pod dpkg-query.pod dpkg-split.pod
11039 #: dpkg-statoverride.pod dpkg-trigger.pod dpkg.pod dselect.pod
11040 msgid "B<DPKG_ADMINDIR>"
11044 #: dpkg-divert.pod dpkg-statoverride.pod
11046 "If set and the B<--admindir> or B<--root> options have not been specified, "
11047 "it will be used as the B<dpkg> data directory."
11051 #: dpkg-divert.pod dpkg.pod
11052 msgid "B<DPKG_MAINTSCRIPT_PACKAGE>"
11058 "If set and the B<--local> and B<--package> options have not been specified, "
11059 "B<dpkg-divert> will use it as the package name."
11063 #: dpkg-divert.pod dpkg-query.pod dpkg-split.pod dpkg-statoverride.pod
11064 #: dpkg-trigger.pod dpkg.pod
11065 msgid "B<DPKG_DEBUG>"
11069 #: dpkg-divert.pod dpkg-query.pod dpkg-split.pod dpkg-statoverride.pod
11070 #: dpkg-trigger.pod
11072 "Sets the debug mask (since dpkg 1.21.10) from an octal value. The currently "
11073 "accepted flags are described in the B<dpkg --debug> option, but not all "
11074 "these flags might have an effect on this program."
11079 msgid "I<%ADMINDIR%/diversions>"
11085 "File which contains the current list of diversions of the system. It is "
11086 "located in the B<dpkg> administration directory, along with other files "
11087 "important to B<dpkg>, such as I<status> or I<available>."
11093 "B<Note>: B<dpkg-divert> preserves the old copy of this file, with extension "
11094 "I<-old>, before replacing it with the new one."
11100 "When adding, default is B<--local> and B<--divert> "
11101 "I<original>B<.distrib>. When removing, B<--package> or B<--local> and "
11102 "B<--divert> must match if specified."
11107 msgid "Directories can't be diverted with B<dpkg-divert>."
11113 "Care should be taken when diverting shared libraries, L<ldconfig(8)> creates "
11114 "a symbolic link based on the DT_SONAME field embedded in the library. "
11115 "Because B<ldconfig> does not honor diverts (only B<dpkg> does), the symlink "
11116 "may end up pointing at the diverted library, if a diverted library has the "
11117 "same SONAME as the undiverted one."
11123 "To divert all copies of a I</usr/bin/example> to I</usr/bin/example.foo>, "
11124 "i.e. directs all packages providing I</usr/bin/example> to install it as "
11125 "I</usr/bin/example.foo>, performing the rename if required:"
11132 " dpkg-divert --divert /usr/bin/example.foo --rename /usr/bin/example\n"
11138 msgid "To remove that diversion:"
11145 " dpkg-divert --rename --remove /usr/bin/example\n"
11152 "To divert any package trying to install I</usr/bin/example> to "
11153 "I</usr/bin/example.foo>, except your own I<wibble> package:"
11160 " dpkg-divert --package wibble --divert /usr/bin/example.foo \\\n"
11161 " --rename /usr/bin/example\n"
11169 " dpkg-divert --package wibble --rename --remove /usr/bin/example\n"
11174 #: dpkg-fsys-usrunmess.pod
11175 msgid "dpkg-fsys-usrunmess - undoes the merged-/usr-via-aliased-dirs mess"
11179 #: dpkg-fsys-usrunmess.pod
11180 msgid "B<dpkg-fsys-usrunmess> [B<option>...]"
11184 #: dpkg-fsys-usrunmess.pod
11186 "B<dpkg-fsys-usrunmess> is a tool to fix up filesystems that have been "
11187 "installed anew with recent installers with unfortunate defaults or migrated "
11188 "to the broken merged /usr via aliased directories layout, which is B<not> "
11189 "supported by dpkg. See the dpkg FAQ."
11193 #: dpkg-fsys-usrunmess.pod
11195 "B<Note>: In Debian its tech-ctte has decreed that on the release after "
11196 "bookworm the non-usrmerged layout is not going to be supported, and thus "
11197 "some of its maintainers might not fix issues or intentionally remove "
11198 "non-usrmerged support, so you will need decide and pick your poison."
11202 #: dpkg-fsys-usrunmess.pod
11203 msgid "The program will perform the following overall actions:"
11207 #: dpkg-fsys-usrunmess.pod
11208 msgid "Check whether the system needs to be switched, otherwise do nothing,"
11212 #: dpkg-fsys-usrunmess.pod
11213 msgid "Check for dpkg database consistency and otherwise abort."
11217 #: dpkg-fsys-usrunmess.pod
11219 "Generate and install a regression prevention package, if requested on the "
11220 "command-line or otherwise on the prompt."
11224 #: dpkg-fsys-usrunmess.pod
11225 msgid "Get the list of files and alternatives that need to be restored."
11229 #: dpkg-fsys-usrunmess.pod
11230 msgid "Look for untracked kernel modules files that need to be moved too."
11234 #: dpkg-fsys-usrunmess.pod
11236 "Create a shadow hierarchy under F</.usrunmess>, by creating the directories "
11237 "symlinks or hardlinking or copying the files as needed."
11241 #: dpkg-fsys-usrunmess.pod
11242 msgid "Prompt for confirmation before proceeding, if requested on the command-line."
11246 #: dpkg-fsys-usrunmess.pod
11247 msgid "Lock the dpkg database."
11251 #: dpkg-fsys-usrunmess.pod
11253 "Mark all packages as half-configured to force running maintainer scripts "
11254 "that might need to recreate files."
11258 #: dpkg-fsys-usrunmess.pod
11260 "Replace the aliased directories with the shadow ones, by creating a backup "
11261 "of the old symlinked directories and renaming the shadow ones over."
11265 #: dpkg-fsys-usrunmess.pod
11266 msgid "Relabel MAC information for directories and symlinks if necessary."
11270 #: dpkg-fsys-usrunmess.pod
11271 msgid "Remove backup symlinks."
11275 #: dpkg-fsys-usrunmess.pod
11276 msgid "Remove old moved objects, but defer directory removal."
11280 #: dpkg-fsys-usrunmess.pod
11281 msgid "Remove old deferred directories that are not referenced by dpkg-query."
11285 #: dpkg-fsys-usrunmess.pod
11286 msgid "Remove shadow root directory."
11290 #: dpkg-fsys-usrunmess.pod
11292 "Register a B<policy-rc.d> to disallow service actions, which means that "
11293 "services might need to be restarted afterwards, ideally via a reboot."
11297 #: dpkg-fsys-usrunmess.pod
11298 msgid "Reconfigure all packages."
11302 #: dpkg-fsys-usrunmess.pod
11303 msgid "Unregister the B<policy-rc.d> and restore the alternatives state."
11307 #: dpkg-fsys-usrunmess.pod
11309 "B<Note>: When running the program from some shells such as L<bash(1)> or "
11310 "L<zsh(1)>, after executing it, you might need to request the shell to forget "
11311 "all remembered executable locations with for example C<hash -r>."
11315 #: dpkg-fsys-usrunmess.pod
11317 "B<Note>: Some directories might linger after the migration in case they "
11318 "contain untracked files. A list is printed once the script has finished for "
11319 "further investigation."
11323 #: dpkg-fsys-usrunmess.pod
11325 "B<Warning>: Note that this operation has the potential to render the system "
11326 "unusable or broken in case of a sudden crash or reboot, unexpected state of "
11327 "the system, or possible bugs in the script. Be prepared with recovery media "
11328 "and consider doing backups beforehand."
11332 #: dpkg-fsys-usrunmess.pod
11333 msgid "This program was introduced in dpkg 1.20.6."
11337 #: dpkg-fsys-usrunmess.pod
11338 msgid "B<-p>, B<--prompt>"
11342 #: dpkg-fsys-usrunmess.pod
11344 "Prompt at the time of no return, so that the debug output or the shadow "
11345 "hierarchy can be evaluated before proceeding."
11349 #: dpkg-fsys-usrunmess.pod
11350 msgid "B<--prevention>"
11354 #: dpkg-fsys-usrunmess.pod
11355 msgid "B<--no-prevention>"
11359 #: dpkg-fsys-usrunmess.pod
11361 "Enables or disables generating and installing a regression prevention "
11362 "package into the system. If no option has been specified, the action to "
11363 "take will be prompted."
11367 #: dpkg-fsys-usrunmess.pod
11369 "The generated package contains the B<Protected> field set to B<yes> to "
11370 "protect against accidental removal of the package."
11374 #: dpkg-fsys-usrunmess.pod
11375 msgid "B<-n>, B<--no-act>"
11379 #: dpkg-fsys-usrunmess.pod
11380 msgid "B<--dry-run>"
11384 #: dpkg-fsys-usrunmess.pod
11386 "This option enables the dry-run mode, where no destructive action takes "
11387 "place, only the preparatory part."
11391 #: dpkg-fsys-usrunmess.pod
11392 msgid "B<DPKG_USRUNMESS_NOACT>"
11396 #: dpkg-fsys-usrunmess.pod
11397 msgid "This setting defines whether to enable dry-run mode."
11401 #: dpkg-fsys-usrunmess.pod
11402 msgid "L<https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>."
11406 #: dpkg-genbuildinfo.pod
11407 msgid "dpkg-genbuildinfo - generate Debian .buildinfo files"
11411 #: dpkg-genbuildinfo.pod
11412 msgid "B<dpkg-genbuildinfo> [I<option>...]"
11416 #: dpkg-genbuildinfo.pod
11418 "B<dpkg-genbuildinfo> reads information from an unpacked and built Debian "
11419 "source tree and from the files it has generated and generates a Debian "
11420 "control file describing the build environment and the build artifacts "
11421 "(B<.buildinfo> file)."
11425 #: dpkg-genbuildinfo.pod
11426 msgid "This program was introduced in dpkg 1.18.11."
11430 #: dpkg-genbuildinfo.pod
11431 msgid "Specifies the build I<type> from a comma-separated list of components."
11435 #: dpkg-genbuildinfo.pod
11437 "Generate build information including unqualified build dependencies "
11438 "(B<Build-Depends>) and architecture specific build dependencies "
11439 "(B<Build-Depends-Arch>)."
11443 #: dpkg-genbuildinfo.pod
11445 "Generate build information including unqualified build dependencies "
11446 "(B<Build-Depends>) and architecture independent build dependencies "
11447 "(B<Build-Depends-Indep>)."
11451 #: dpkg-genbuildinfo.pod
11453 "Effectively ignored; generate build information with just the unqualified "
11454 "build dependencies (B<Build-Depends>)."
11458 #: dpkg-genbuildinfo.pod
11460 "Generate build information with all three types of build dependencies. This "
11461 "is an alias for B<any,all>."
11465 #: dpkg-genbuildinfo.pod
11467 "Generate build information with all three types of build dependencies. This "
11468 "is an alias for B<any,all,source>, and the same as the default case when no "
11469 "build option is specified."
11473 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod
11474 msgid "B<-c>I<controlfile>"
11478 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
11480 "Specifies the main source control file to read information from. The default "
11481 "is B<debian/control>."
11485 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
11487 msgid "B<-l>I<changelog-file>"
11491 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
11493 "Specifies the changelog file to read information from. The default is "
11494 "B<debian/changelog>."
11498 #: dpkg-genbuildinfo.pod
11500 "Specifies where is the list of files that have been produced by the build, "
11501 "rather than using B<debian/files>."
11505 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
11507 msgid "B<-F>I<changelog-format>"
11511 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
11514 "Specifies the format of the changelog. See L<dpkg-parsechangelog(1)> for "
11515 "information about alternative formats."
11519 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gencontrol.pod
11520 #: dpkg-gensymbols.pod dpkg-shlibdeps.pod
11521 msgid "B<-O>[I<filename>]"
11525 #: dpkg-genbuildinfo.pod
11527 "Print the buildinfo file to standard output (or I<filename> if specified) "
11529 "I<dir>B</>I<source-name>B<_>I<binary-version>B<_>I<arch>B<.buildinfo> (where "
11530 "I<dir> is B<..> by default or I<upload-files-dir> if B<-u> was used)."
11534 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod
11535 msgid "B<-u>I<upload-files-dir>"
11539 #: dpkg-genbuildinfo.pod
11541 "Look for the files to be uploaded in I<upload-files-dir> rather than B<..> "
11542 "(B<dpkg-genbuildinfo> needs to find these files so that it can include their "
11543 "sizes and checksums in the B<.buildinfo> file)."
11547 #: dpkg-genbuildinfo.pod
11548 msgid "B<--always-include-kernel>"
11552 #: dpkg-genbuildinfo.pod
11553 msgid "By default, the B<Build-Kernel-Version> field will not be written out."
11557 #: dpkg-genbuildinfo.pod
11559 "Specify this option (since dpkg 1.19.0) to always write a "
11560 "B<Build-Kernel-Version> field when generating the B<.buildinfo>."
11564 #: dpkg-genbuildinfo.pod
11565 msgid "B<--always-include-path>"
11569 #: dpkg-genbuildinfo.pod
11571 "By default, the B<Build-Path> field will only be written if the current "
11572 "directory starts with an allowed pattern."
11576 #: dpkg-genbuildinfo.pod
11578 "On Debian and derivatives the pattern matches on B</build/> at the start of "
11583 #: dpkg-genbuildinfo.pod
11585 "Specify this option to always write a B<Build-Path> field when generating "
11586 "the B<.buildinfo>."
11590 #: dpkg-genbuildinfo.pod
11592 "Change the location of the B<dpkg> database. The default location is "
11593 "I</var/lib/dpkg>."
11597 #: dpkg-genbuildinfo.pod dpkg-genchanges.pod dpkg-gensymbols.pod
11603 #: dpkg-genbuildinfo.pod
11605 "B<dpkg-genbuildinfo> might produce informative messages on standard error. "
11606 "B<-q> suppresses these messages."
11610 #: dpkg-genbuildinfo.pod
11612 "This variable can be used to enable or disable various features that affect "
11613 "the information included in the .buildinfo file, via the B<buildinfo> option "
11614 "(since dpkg 1.18.19). This option contains a comma-separated list of "
11615 "features, prefixed with the ‘B<+>’ or ‘B<->’ modifiers, to denote whether to "
11616 "enable or disable them. The special feature “B<all>” can be used to enable "
11617 "or disable all other features. The feature “B<path>” controls whether to "
11618 "unconditionally include the B<Build-Path> field."
11622 #: dpkg-genbuildinfo.pod
11624 "The list of generated files. B<dpkg-genbuildinfo> reads the data here when "
11625 "producing a B<.buildinfo> file."
11629 #: dpkg-genbuildinfo.pod
11630 msgid "L<deb-buildinfo(5)>."
11634 #: dpkg-genchanges.pod
11635 msgid "dpkg-genchanges - generate Debian .changes files"
11639 #: dpkg-genchanges.pod
11640 msgid "B<dpkg-genchanges> [I<option>...]"
11644 #: dpkg-genchanges.pod
11646 "B<dpkg-genchanges> reads information from an unpacked and built Debian "
11647 "source tree and from the files it has generated and generates a Debian "
11648 "upload control file (B<.changes> file)."
11652 #: dpkg-genchanges.pod
11654 "Specifies the build I<type> from a comma-separated list of components (since "
11659 #: dpkg-genchanges.pod
11660 msgid "Upload the source package."
11664 #: dpkg-genchanges.pod
11665 msgid "Upload the architecture specific binary packages."
11669 #: dpkg-genchanges.pod
11670 msgid "Upload the architecture independent binary packages."
11674 #: dpkg-genchanges.pod
11676 "Upload the architecture specific and independent binary packages. This is "
11677 "an alias for B<any,all>."
11681 #: dpkg-genchanges.pod
11683 "Upload everything. This is alias for B<source,any,all>, and the same as the "
11684 "default case when no build option is specified."
11688 #: dpkg-genchanges.pod
11690 "The B<-s>I<x> options control whether the original source archive is "
11691 "included in the upload if any source is being generated (i.e. B<-b> or "
11692 "B<-B> haven't been used)."
11696 #: dpkg-genchanges.pod
11698 "By default, or if specified, the original source will be included only if "
11699 "the upstream version number (the version without epoch and without Debian "
11700 "revision) differs from the upstream version number of the previous changelog "
11705 #: dpkg-genchanges.pod
11706 msgid "Forces the inclusion of the original source."
11710 #: dpkg-genchanges.pod
11711 msgid "Forces the exclusion of the original source and includes only the diff."
11715 #: dpkg-genchanges.pod
11717 "Causes changelog information from all versions strictly later than "
11718 "I<version> to be used."
11722 #: dpkg-genchanges.pod
11724 "Read the description of the changes from the file I<changes-description> "
11725 "rather than using the information from the source tree's changelog file."
11729 #: dpkg-genchanges.pod
11731 "Use I<maintainer-address> as the name and email address of the maintainer "
11732 "for this package, rather than using the information from the source tree's "
11737 #: dpkg-genchanges.pod
11739 "Use I<maintainer-address> as the name and email address of the maintainer "
11740 "for this upload, rather than using the information from the source tree's "
11745 #: dpkg-genchanges.pod dpkg-gencontrol.pod dpkg-source.pod
11746 msgid "B<-V>I<name>B<=>I<value>"
11750 #: dpkg-genchanges.pod dpkg-source.pod
11752 "Set an output substitution variable. See L<deb-substvars(5)> for a "
11753 "discussion of output substitution."
11757 #: dpkg-genchanges.pod dpkg-gencontrol.pod dpkg-shlibdeps.pod dpkg-source.pod
11758 msgid "B<-T>I<substvars-file>"
11762 #: dpkg-genchanges.pod
11764 "Read substitution variables in I<substvars-file>; the default is "
11765 "B<debian/substvars>. No variable substitution is done on any of the fields "
11766 "that are output, except for the contents extracted from each binary package "
11767 "B<Description> field (since dpkg 1.19.0), however the special variable "
11768 "I<Format> will override the field of the same name. This option can be used "
11769 "multiple times to read substitution variables from multiple files (since "
11774 #: dpkg-genchanges.pod dpkg-gencontrol.pod dpkg-source.pod
11775 msgid "B<-D>I<field>B<=>I<value>"
11779 #: dpkg-genchanges.pod dpkg-gencontrol.pod dpkg-source.pod
11780 msgid "Override or add an output control file field."
11784 #: dpkg-genchanges.pod dpkg-gencontrol.pod dpkg-source.pod
11785 msgid "B<-U>I<field>"
11789 #: dpkg-genchanges.pod dpkg-gencontrol.pod dpkg-source.pod
11790 msgid "Remove an output control file field."
11794 #: dpkg-genchanges.pod
11796 "Read the list of files to be uploaded here, rather than using "
11801 #: dpkg-genchanges.pod
11803 "Look for the files to be uploaded in I<upload-files-dir> rather than B<..> "
11804 "(B<dpkg-genchanges> needs to find these files so that it can include their "
11805 "sizes and checksums in the B<.changes> file)."
11809 #: dpkg-genchanges.pod
11811 "Usually B<dpkg-genchanges> will produce informative messages on standard "
11812 "error, for example about how many of the package's source files are being "
11813 "uploaded. B<-q> suppresses these messages."
11817 #: dpkg-genchanges.pod
11819 "Print the changes file to standard output (the default) or to I<filename> if "
11820 "specified (since dpkg 1.18.5)."
11824 #: dpkg-genchanges.pod
11826 "The list of generated files which are part of the upload being prepared. "
11827 "B<dpkg-genchanges> reads the data here when producing a B<.changes> file."
11831 #: dpkg-genchanges.pod
11833 "L<deb-substvars(5)>, L<deb-src-control(5)>, L<deb-src-files(5)>, "
11834 "L<deb-changelog(5)>, L<deb-changes(5)>."
11838 #: dpkg-gencontrol.pod
11839 msgid "dpkg-gencontrol - generate Debian control files"
11843 #: dpkg-gencontrol.pod
11844 msgid "B<dpkg-gencontrol> [I<option>...]"
11848 #: dpkg-gencontrol.pod
11850 "B<dpkg-gencontrol> reads information from an unpacked Debian source tree and "
11851 "generates a binary package control file (which defaults to "
11852 "debian/tmp/DEBIAN/control); during this process it will simplify the "
11857 #: dpkg-gencontrol.pod
11859 "Thus B<Pre-Depends>, B<Depends>, B<Recommends> and B<Suggests> are "
11860 "simplified in this order by removing dependencies which are known to be true "
11861 "according to the stronger dependencies already parsed. It will also remove "
11862 "any self-dependency (in fact it will remove any dependency which evaluates "
11863 "to true given the current version of the package as installed). Logically it "
11864 "keeps the intersection of multiple dependencies on the same package. The "
11865 "order of dependencies is preserved as best as possible: if any dependency "
11866 "must be discarded due to another dependency appearing further in the field, "
11867 "the superseding dependency will take the place of the discarded one."
11871 #: dpkg-gencontrol.pod
11873 "The other relation fields (B<Enhances>, B<Conflicts>, B<Breaks>, B<Replaces> "
11874 "and B<Provides>) are also simplified individually by computing the union of "
11875 "the various dependencies when a package is listed multiple times in the "
11880 #: dpkg-gencontrol.pod
11882 "B<dpkg-gencontrol> also adds an entry for the binary package to "
11887 #: dpkg-gencontrol.pod
11888 msgid "Sets the version number of the binary package which will be generated."
11892 #: dpkg-gencontrol.pod
11894 "Set an output substitution variable. See L<deb-substvars(5)> for discussion "
11895 "of output substitution."
11899 #: dpkg-gencontrol.pod
11901 "Read substitution variables in I<substvars-file>; the default is "
11902 "B<debian/substvars>. This option can be used multiple times to read "
11903 "substitution variables from multiple files (since dpkg 1.15.6)."
11907 #: dpkg-gencontrol.pod dpkg-gensymbols.pod
11908 msgid "B<-p>I<package>"
11912 #: dpkg-gencontrol.pod
11914 "Generate information for the binary package I<package>. If the source "
11915 "control file lists only one binary package then this option may be omitted; "
11916 "otherwise it is essential to select which binary package's information to "
11921 #: dpkg-gencontrol.pod
11922 msgid "B<-n>I<filename>"
11926 #: dpkg-gencontrol.pod
11928 "Assume the filename of the package will be I<filename> instead of the normal "
11929 "package_version_arch.deb filename."
11933 #: dpkg-gencontrol.pod
11934 msgid "B<-is>, B<-ip>, B<-isp>"
11938 #: dpkg-gencontrol.pod
11940 "These options are ignored for compatibility with older versions of the dpkg "
11941 "build scripts but are now deprecated. Previously they were used to tell "
11942 "B<dpkg-gencontrol> to include the Section and Priority fields in the control "
11943 "file. This is now the default behavior. If you want to get the old behavior "
11944 "you can use the B<-U> option to delete the fields from the control file."
11948 #: dpkg-gencontrol.pod dpkg-gensymbols.pod
11949 msgid "B<-P>I<package-build-dir>"
11953 #: dpkg-gencontrol.pod
11955 "Scan I<package-build-dir> instead of B<debian/tmp>. This value is used to "
11956 "find the default value of the B<Installed-Size> substitution variable and "
11957 "control file field, and for the default location of the output file."
11961 #: dpkg-gencontrol.pod
11963 "Print the control file to standard output (or I<filename> if specified, "
11964 "since dpkg 1.17.2), rather than to B<debian/tmp/DEBIAN/control> (or "
11965 "I<package-build-dir>B</DEBIAN/control> if B<-P> was used)."
11969 #: dpkg-gencontrol.pod
11971 "The main source control information file, giving version-independent "
11972 "information about the source package and the binary packages it can produce."
11976 #: dpkg-gencontrol.pod
11978 "The list of generated files which are part of the upload being prepared. "
11979 "B<dpkg-gencontrol> adds the presumed filenames of binary packages whose "
11980 "control files it generates here."
11984 #: dpkg-gencontrol.pod
11986 "L<deb-substvars(5)>, L<deb-src-control(5)>, L<deb-changelog(5)>, "
11987 "L<deb-control(5)>."
11991 #: dpkg-gensymbols.pod
11993 "dpkg-gensymbols - generate symbols files (shared library dependency "
11998 #: dpkg-gensymbols.pod
11999 msgid "B<dpkg-gensymbols> [I<option>...]"
12003 #: dpkg-gensymbols.pod
12005 "B<dpkg-gensymbols> scans a temporary build tree (debian/tmp by default) "
12006 "looking for libraries and generates a I<symbols> file describing them. This "
12007 "file, if non-empty, is then installed in the DEBIAN subdirectory of the "
12008 "build tree so that it ends up included in the control information of the "
12013 #: dpkg-gensymbols.pod
12015 "When generating those files, it uses as input some symbols files provided by "
12016 "the maintainer. It looks for the following files (and uses the first that is "
12021 #: dpkg-gensymbols.pod
12022 msgid "debian/I<package>.symbols.I<arch>"
12026 #: dpkg-gensymbols.pod
12027 msgid "debian/symbols.I<arch>"
12031 #: dpkg-gensymbols.pod
12032 msgid "debian/I<package>.symbols"
12036 #: dpkg-gensymbols.pod
12037 msgid "debian/symbols"
12041 #: dpkg-gensymbols.pod
12043 "The main interest of those files is to provide the minimal version "
12044 "associated to each symbol provided by the libraries. Usually it corresponds "
12045 "to the first version of that package that provided the symbol, but it can be "
12046 "manually incremented by the maintainer if the ABI of the symbol is extended "
12047 "without breaking backwards compatibility. It's the responsibility of the "
12048 "maintainer to keep those files up-to-date and accurate, but "
12049 "B<dpkg-gensymbols> helps with that."
12053 #: dpkg-gensymbols.pod
12055 "When the generated symbols files differ from the maintainer supplied one, "
12056 "B<dpkg-gensymbols> will print a diff between the two versions. Furthermore "
12057 "if the difference is too significant, it will even fail (you can customize "
12058 "how much difference you can tolerate, see the B<-c> option)."
12062 #: dpkg-gensymbols.pod
12063 msgid "This program was introduced in dpkg 1.14.8."
12067 #: dpkg-gensymbols.pod
12068 msgid "MAINTAINING SYMBOLS FILES"
12072 #: dpkg-gensymbols.pod
12074 "The base interchange format of the symbols file is described in "
12075 "L<deb-symbols(5)>, which is used by the symbols files included in binary "
12076 "packages. These are generated from template symbols files with a format "
12077 "based on the former, described in L<deb-src-symbols(5)> and included in "
12082 #: dpkg-gensymbols.pod
12084 "The symbols files are really useful only if they reflect the evolution of "
12085 "the package through several releases. Thus the maintainer has to update them "
12086 "every time that a new symbol is added so that its associated minimal version "
12091 #: dpkg-gensymbols.pod
12093 "The diffs contained in the build logs can be used as a starting point, but "
12094 "the maintainer, additionally, has to make sure that the behaviour of those "
12095 "symbols has not changed in a way that would make anything using those "
12096 "symbols and linking against the new version, stop working with the old "
12101 #: dpkg-gensymbols.pod
12103 "In most cases, the diff applies directly to the debian/I<package>.symbols "
12104 "file. That said, further tweaks are usually needed: it's recommended for "
12105 "example to drop the Debian revision from the minimal version so that "
12106 "backports with a lower version number but the same upstream version still "
12107 "satisfy the generated dependencies. If the Debian revision can't be dropped "
12108 "because the symbol really got added by the Debian specific change, then one "
12109 "should suffix the version with ‘B<~>’."
12113 #: dpkg-gensymbols.pod
12115 "Before applying any patch to the symbols file, the maintainer should "
12116 "double-check that it's sane. Public symbols are not supposed to disappear, "
12117 "so the patch should ideally only add new lines."
12121 #: dpkg-gensymbols.pod
12122 msgid "Note that you can put comments in symbols files."
12126 #: dpkg-gensymbols.pod
12128 "Do not forget to check if old symbol versions need to be increased. There "
12129 "is no way B<dpkg-gensymbols> can warn about this. Blindly applying the diff "
12130 "or assuming there is nothing to change if there is no diff, without checking "
12131 "for such changes, can lead to packages with loose dependencies that claim "
12132 "they can work with older packages they cannot work with. This will introduce "
12133 "hard to find bugs with (partial) upgrades."
12137 #: dpkg-gensymbols.pod
12138 msgid "Good library management"
12142 #: dpkg-gensymbols.pod
12143 msgid "A well-maintained library has the following features:"
12147 #: dpkg-gensymbols.pod
12149 "its API is stable (public symbols are never dropped, only new public symbols "
12150 "are added) and changes in incompatible ways only when the SONAME changes;"
12154 #: dpkg-gensymbols.pod
12156 "ideally, it uses symbol versioning to achieve ABI stability despite internal "
12157 "changes and API extension;"
12161 #: dpkg-gensymbols.pod
12163 "it doesn't export private symbols (such symbols can be tagged optional as "
12168 #: dpkg-gensymbols.pod
12170 "While maintaining the symbols file, it's easy to notice appearance and "
12171 "disappearance of symbols. But it's more difficult to catch incompatible API "
12172 "and ABI change. Thus the maintainer should read thoroughly the upstream "
12173 "changelog looking for cases where the rules of good library management have "
12174 "been broken. If potential problems are discovered, the upstream author "
12175 "should be notified as an upstream fix is always better than a Debian "
12176 "specific work-around."
12180 #: dpkg-gensymbols.pod
12181 msgid "Scan I<package-build-dir> instead of debian/tmp."
12185 #: dpkg-gensymbols.pod
12187 "Define the package name. Required if more than one binary package is listed "
12188 "in debian/control (or if there's no debian/control file)."
12192 #: dpkg-gensymbols.pod
12194 "Define the package version. Defaults to the version extracted from "
12195 "debian/changelog. Required if called outside of a source package tree."
12199 #: dpkg-gensymbols.pod
12200 msgid "B<-e>I<library-file>"
12204 #: dpkg-gensymbols.pod
12206 "Only analyze libraries explicitly listed instead of finding all public "
12207 "libraries. You can use shell patterns used for pathname expansions (see the "
12208 "L<File::Glob> manual page for details) in I<library-file> to match multiple "
12209 "libraries with a single argument (otherwise you need multiple B<-e>)."
12213 #: dpkg-gensymbols.pod dpkg-shlibdeps.pod
12214 msgid "B<-l>I<directory>"
12218 #: dpkg-gensymbols.pod
12220 "Prepend I<directory> to the list of directories to search for private shared "
12221 "libraries (since dpkg 1.19.1). This option can be used multiple times."
12225 #: dpkg-gensymbols.pod dpkg-shlibdeps.pod
12227 "B<Note>: Use this option instead of setting B<LD_LIBRARY_PATH>, as that "
12228 "environment variable is used to control the run-time linker and abusing it "
12229 "to set the shared library paths at build-time can be problematic when "
12230 "cross-compiling for example."
12234 #: dpkg-gensymbols.pod
12235 msgid "B<-I>I<filename>"
12239 #: dpkg-gensymbols.pod
12241 "Use I<filename> as reference file to generate the symbols file that is "
12242 "integrated in the package itself."
12246 #: dpkg-gensymbols.pod
12248 "Print the generated symbols file to standard output or to I<filename> if "
12249 "specified, rather than to B<debian/tmp/DEBIAN/symbols> (or "
12250 "I<package-build-dir>B</DEBIAN/symbols> if B<-P> was used). If I<filename> is "
12251 "pre-existing, its contents are used as basis for the generated symbols "
12252 "file. You can use this feature to update a symbols file so that it matches "
12253 "a newer upstream version of your library."
12257 #: dpkg-gensymbols.pod
12262 #: dpkg-gensymbols.pod
12264 "Write the symbol file in template mode rather than the format compatible "
12265 "with L<deb-symbols(5)>. The main difference is that in the template mode "
12266 "symbol names and tags are written in their original form contrary to the "
12267 "post-processed symbol names with tags stripped in the compatibility mode. "
12268 "Moreover, some symbols might be omitted when writing a standard "
12269 "L<deb-symbols(5)> file (according to the tag processing rules) while all "
12270 "symbols are always written to the symbol file template."
12274 #: dpkg-gensymbols.pod
12275 msgid "B<-c>I<[0-4]>"
12279 #: dpkg-gensymbols.pod
12281 "Define the checks to do when comparing the generated symbols file with the "
12282 "template file used as starting point. By default the level is 1. Increasing "
12283 "levels do more checks and include all checks of lower levels."
12287 #: dpkg-gensymbols.pod
12292 #: dpkg-gensymbols.pod
12293 msgid "Never fails."
12297 #: dpkg-gensymbols.pod
12302 #: dpkg-gensymbols.pod
12303 msgid "Fails if some symbols have disappeared."
12307 #: dpkg-gensymbols.pod
12312 #: dpkg-gensymbols.pod
12313 msgid "Fails if some new symbols have been introduced."
12317 #: dpkg-gensymbols.pod
12322 #: dpkg-gensymbols.pod
12323 msgid "Fails if some libraries have disappeared."
12327 #: dpkg-gensymbols.pod
12332 #: dpkg-gensymbols.pod
12333 msgid "Fails if some libraries have been introduced."
12337 #: dpkg-gensymbols.pod
12339 "This value can be overridden by the environment variable "
12340 "B<DPKG_GENSYMBOLS_CHECK_LEVEL>."
12344 #: dpkg-gensymbols.pod
12346 "Keep quiet and never generate a diff between generated symbols file and the "
12347 "template file used as starting point or show any warnings about new/lost "
12348 "libraries or new/lost symbols. This option only disables informational "
12349 "output but not the checks themselves (see B<-c> option)."
12353 #: dpkg-gensymbols.pod
12354 msgid "B<-a>I<arch>"
12358 #: dpkg-gensymbols.pod
12360 "Assume I<arch> as host architecture when processing symbol files. Use this "
12361 "option to generate a symbol file or diff for any architecture provided its "
12362 "binaries are already available."
12366 #: dpkg-gensymbols.pod
12371 #: dpkg-gensymbols.pod
12373 "Enable debug mode. Numerous messages are displayed to explain what "
12374 "B<dpkg-gensymbols> does."
12378 #: dpkg-gensymbols.pod
12383 #: dpkg-gensymbols.pod
12385 "Enable verbose mode. The generated symbols file contains deprecated symbols "
12386 "as comments. Furthermore in template mode, pattern symbols are followed by "
12387 "comments listing real symbols that have matched the pattern."
12391 #: dpkg-gensymbols.pod
12392 msgid "B<DPKG_GENSYMBOLS_CHECK_LEVEL>"
12396 #: dpkg-gensymbols.pod
12398 "Overrides the command check level, even if the B<-c> command-line argument "
12399 "was given (note that this goes against the common convention of command-line "
12400 "arguments having precedence over environment variables)."
12404 #: dpkg-gensymbols.pod
12406 "L<https://people.redhat.com/drepper/symbol-versioning>, "
12407 "L<https://people.redhat.com/drepper/goodpractice.pdf>, "
12408 "L<https://people.redhat.com/drepper/dsohowto.pdf>, L<deb-src-symbol(5)>, "
12409 "L<deb-symbols(5)>, L<dpkg-shlibdeps(1)>."
12413 #: dpkg-maintscript-helper.pod
12415 "dpkg-maintscript-helper - works around known dpkg limitations in maintainer "
12420 #: dpkg-maintscript-helper.pod
12422 "B<dpkg-maintscript-helper> I<command> [I<parameter>...] B<--> "
12423 "I<maint-script-parameter>..."
12427 #: dpkg-maintscript-helper.pod
12428 msgid "COMMANDS AND PARAMETERS"
12432 #: dpkg-maintscript-helper.pod
12433 msgid "B<supports> I<command>"
12437 #: dpkg-maintscript-helper.pod
12438 msgid "B<rm_conffile> I<conffile> [I<prior-version> [I<package>]]"
12442 #: dpkg-maintscript-helper.pod
12444 "B<mv_conffile> I<old-conffile> I<new-conffile> [I<prior-version> "
12449 #: dpkg-maintscript-helper.pod
12450 msgid "B<symlink_to_dir> I<pathname> I<old-target> [I<prior-version> [I<package>]]"
12454 #: dpkg-maintscript-helper.pod
12455 msgid "B<dir_to_symlink> I<pathname> I<new-target> [I<prior-version> [I<package>]]"
12459 #: dpkg-maintscript-helper.pod
12461 "This program is designed to be run within maintainer scripts to achieve some "
12462 "tasks that B<dpkg> can't (yet) handle natively either because of design "
12463 "decisions or due to current limitations."
12467 #: dpkg-maintscript-helper.pod
12469 "Many of those tasks require coordinated actions from several maintainer "
12470 "scripts (B<preinst>, B<postinst>, B<prerm>, B<postrm>). To avoid mistakes "
12471 "the same call simply needs to be put in all scripts and the program will "
12472 "automatically adapt its behavior based on the environment variable "
12473 "B<DPKG_MAINTSCRIPT_NAME> and on the maintainer scripts arguments that you "
12474 "have to forward after a double hyphen."
12478 #: dpkg-maintscript-helper.pod
12479 msgid "COMMON PARAMETERS"
12483 #: dpkg-maintscript-helper.pod
12484 msgid "I<prior-version>"
12488 #: dpkg-maintscript-helper.pod
12490 "Defines the latest version of the package whose upgrade should trigger the "
12491 "operation. It is important to calculate I<prior-version> correctly so that "
12492 "the operations are correctly performed even if the user rebuilt the package "
12493 "with a local version. If I<prior-version> is empty or omitted, then the "
12494 "operation is tried on every upgrade (note: it's safer to give the version "
12495 "and have the operation tried only once)."
12499 #: dpkg-maintscript-helper.pod
12501 "If the conffile has not been shipped for several versions, and you are now "
12502 "modifying the maintainer scripts to clean up the obsolete file, "
12503 "I<prior-version> should be based on the version of the package that you are "
12504 "now preparing, not the first version of the package that lacked the "
12505 "conffile. This applies to all other actions in the same way."
12509 #: dpkg-maintscript-helper.pod
12511 "For example, for a conffile removed in version B<2.0-1> of a package, "
12512 "I<prior-version> should be set to B<2.0-1~>. This will cause the conffile to "
12513 "be removed even if the user rebuilt the previous version B<1.0-1> as "
12514 "B<1.0-1local1>. Or a package switching a path from a symlink (shipped in "
12515 "version B<1.0-1>) to a directory (shipped in version B<2.0-1>), but only "
12516 "performing the actual switch in the maintainer scripts in version B<3.0-1>, "
12517 "should set I<prior-version> to B<3.0-1~>."
12521 #: dpkg-maintscript-helper.pod
12526 #: dpkg-maintscript-helper.pod
12528 "The package name owning the pathname(s). When the package is “Multi-Arch: "
12529 "same” this parameter must include the architecture qualifier, otherwise it "
12530 "should B<not> usually include the architecture qualifier (as it would "
12531 "disallow cross-grades, or switching from being architecture specific to "
12532 "architecture B<all> or vice versa). If the parameter is empty or omitted, "
12533 "the B<DPKG_MAINTSCRIPT_PACKAGE> and B<DPKG_MAINTSCRIPT_ARCH> environment "
12534 "variables (as set by B<dpkg> when running the maintainer scripts) will be "
12535 "used to generate an arch-qualified package name."
12539 #: dpkg-maintscript-helper.pod
12544 #: dpkg-maintscript-helper.pod
12546 "All the parameters of the maintainer scripts have to be forwarded to the "
12547 "program after B<-->."
12551 #: dpkg-maintscript-helper.pod
12552 msgid "CONFFILE RELATED TASKS"
12556 #: dpkg-maintscript-helper.pod
12558 "When upgrading a package, B<dpkg> will not automatically remove a conffile "
12559 "(a configuration file for which B<dpkg> should preserve user changes) if it "
12560 "is not present in the newer version. There are two principal reasons for "
12561 "this; the first is that the conffile could've been dropped by accident and "
12562 "the next version could restore it, users wouldn't want their changes thrown "
12563 "away. The second is to allow packages to transition files from a "
12564 "dpkg-maintained conffile to a file maintained by the package's maintainer "
12565 "scripts, usually with a tool like debconf or ucf."
12569 #: dpkg-maintscript-helper.pod
12571 "This means that if a package is intended to rename or remove a conffile, it "
12572 "must explicitly do so and B<dpkg-maintscript-helper> can be used to "
12573 "implement graceful deletion and moving of conffiles within maintainer "
12578 #: dpkg-maintscript-helper.pod
12579 msgid "Removing a conffile"
12583 #: dpkg-maintscript-helper.pod
12585 "B<Note>: This can be replaced in most cases by the C<remove-on-upgrade> flag "
12586 "in F<DEBIAN/conffiles> (since dpkg 1.20.6), see L<deb-conffiles(5)>."
12590 #: dpkg-maintscript-helper.pod
12592 "If a conffile is completely removed, it should be removed from disk, unless "
12593 "the user has modified it. If there are local modifications, they should be "
12594 "preserved. If the package upgrades aborts, the newly obsolete conffile "
12595 "should not disappear."
12599 #: dpkg-maintscript-helper.pod
12601 "All of this is implemented by putting the following shell snippet in the "
12602 "B<preinst>, B<postinst> and B<postrm> maintainer scripts:"
12606 #: dpkg-maintscript-helper.pod
12610 " dpkg-maintscript-helper rm_conffile \\\n"
12611 " I<conffile> I<prior-version> I<package> -- \"$@\"\n"
12616 #: dpkg-maintscript-helper.pod
12617 msgid "I<conffile> is the filename of the conffile to remove."
12621 #: dpkg-maintscript-helper.pod
12623 "Current implementation: in the B<preinst>, it checks if the conffile was "
12624 "modified and renames it either to I<conffile>B<.dpkg-remove> (if not "
12625 "modified) or to I<conffile>B<.dpkg-backup> (if modified). In the "
12626 "B<postinst>, the latter file is renamed to I<conffile>B<.dpkg-bak> and kept "
12627 "for reference as it contains user modifications but the former will be "
12628 "removed. If the package upgrade aborts, the B<postrm> reinstalls the "
12629 "original conffile. During purge, the B<postrm> will also delete the "
12630 "B<.dpkg-bak> file kept up to now."
12634 #: dpkg-maintscript-helper.pod
12635 msgid "Renaming a conffile"
12639 #: dpkg-maintscript-helper.pod
12641 "If a conffile is moved from one location to another, you need to make sure "
12642 "you move across any changes the user has made. This may seem a simple change "
12643 "to the B<preinst> script at first, however that will result in the user "
12644 "being prompted by B<dpkg> to approve the conffile edits even though they are "
12645 "not responsible of them."
12649 #: dpkg-maintscript-helper.pod
12651 "Graceful renaming can be implemented by putting the following shell snippet "
12652 "in the B<preinst>, B<postinst> and B<postrm> maintainer scripts:"
12656 #: dpkg-maintscript-helper.pod
12660 " dpkg-maintscript-helper mv_conffile \\\n"
12661 " I<old-conffile> I<new-conffile> I<prior-version> I<package> -- \"$@\"\n"
12666 #: dpkg-maintscript-helper.pod
12668 "I<old-conffile> and I<new-conffile> are the old and new name of the conffile "
12673 #: dpkg-maintscript-helper.pod
12675 "Current implementation: the B<preinst> checks if the conffile has been "
12676 "modified, if yes it's left on place otherwise it's renamed to "
12677 "I<old-conffile>B<.dpkg-remove>. On configuration, the B<postinst> removes "
12678 "I<old-conffile>B<.dpkg-remove> and renames I<old-conffile> to "
12679 "I<new-conffile> if I<old-conffile> is still available. On "
12680 "abort-upgrade/abort-install, the B<postrm> renames "
12681 "I<old-conffile>B<.dpkg-remove> back to I<old-conffile> if required."
12685 #: dpkg-maintscript-helper.pod
12686 msgid "SYMLINK AND DIRECTORY SWITCHES"
12690 #: dpkg-maintscript-helper.pod
12692 "When upgrading a package, B<dpkg> will not automatically switch a symlink to "
12693 "a directory or vice-versa. Downgrades are not supported and the path will be "
12698 #: dpkg-maintscript-helper.pod
12700 "B<Note>: The symlinks and directories created during these switches need to "
12701 "be shipped in the new packages, or B<dpkg> will not be able to remove them "
12706 #: dpkg-maintscript-helper.pod
12707 msgid "Switching a symlink to directory"
12711 #: dpkg-maintscript-helper.pod
12713 "If a symlink is switched to a real directory, you need to make sure before "
12714 "unpacking that the symlink is removed. This may seem a simple change to the "
12715 "B<preinst> script at first, however that will result in some problems in "
12716 "case of admin local customization of the symlink or when downgrading the "
12721 #: dpkg-maintscript-helper.pod
12725 " dpkg-maintscript-helper symlink_to_dir \\\n"
12726 " I<pathname> I<old-target> I<prior-version> I<package> -- \"$@\"\n"
12731 #: dpkg-maintscript-helper.pod
12733 "I<pathname> is the absolute name of the old symlink (the path will be a "
12734 "directory at the end of the installation) and I<old-target> is the target "
12735 "name of the former symlink at I<pathname>. It can either be absolute or "
12736 "relative to the directory containing I<pathname>."
12740 #: dpkg-maintscript-helper.pod
12742 "Current implementation: the B<preinst> checks if the symlink exists and "
12743 "points to I<old-target>, if not then it's left in place, otherwise it's "
12744 "renamed to I<pathname>B<.dpkg-backup>. On configuration, the B<postinst> "
12745 "removes I<pathname>B<.dpkg-backup> if I<pathname>B<.dpkg-backup> is still a "
12746 "symlink. On abort-upgrade/abort-install, the B<postrm> renames "
12747 "I<pathname>B<.dpkg-backup> back to I<pathname> if required."
12751 #: dpkg-maintscript-helper.pod
12752 msgid "Switching a directory to symlink"
12756 #: dpkg-maintscript-helper.pod
12758 "If a real directory is switched to a symlink, you need to make sure before "
12759 "unpacking that the directory is removed. This may seem a simple change to "
12760 "the B<preinst> script at first, however that will result in some problems in "
12761 "case the directory contains conffiles, pathnames owned by other packages, "
12762 "locally created pathnames, or when downgrading the package."
12766 #: dpkg-maintscript-helper.pod
12768 "Graceful switching can be implemented by putting the following shell snippet "
12769 "in the B<preinst>, B<postinst> and B<postrm> maintainer scripts:"
12773 #: dpkg-maintscript-helper.pod
12777 " dpkg-maintscript-helper dir_to_symlink \\\n"
12778 " I<pathname> I<new-target> I<prior-version> I<package> -- \"$@\"\n"
12783 #: dpkg-maintscript-helper.pod
12785 "I<pathname> is the absolute name of the old directory (the path will be a "
12786 "symlink at the end of the installation) and I<new-target> is the target of "
12787 "the new symlink at I<pathname>. It can either be absolute or relative to the "
12788 "directory containing I<pathname>."
12792 #: dpkg-maintscript-helper.pod
12794 "Current implementation: the B<preinst> checks if the directory exists, does "
12795 "not contain conffiles, pathnames owned by other packages, or locally created "
12796 "pathnames, if not then it's left in place, otherwise it's renamed to "
12797 "I<pathname>B<.dpkg-backup>, and an empty staging directory named I<pathname> "
12798 "is created, marked with a file so that dpkg can track it. On configuration, "
12799 "the B<postinst> finishes the switch if I<pathname>B<.dpkg-backup> is still a "
12800 "directory and I<pathname> is the staging directory; it removes the staging "
12801 "directory mark file, moves the newly created files inside the staging "
12802 "directory to the symlink target I<new-target>/, replaces the now empty "
12803 "staging directory I<pathname> with a symlink to I<new-target>, and removes "
12804 "I<pathname>B<.dpkg-backup>. On abort-upgrade/abort-install, the B<postrm> "
12805 "renames I<pathname>B<.dpkg-backup> back to I<pathname> if required."
12809 #: dpkg-maintscript-helper.pod
12810 msgid "INTEGRATION IN PACKAGES"
12814 #: dpkg-maintscript-helper.pod
12816 "When using a packaging helper, please check if it has native "
12817 "B<dpkg-maintscript-helper> integration, which might make your life "
12818 "easier. See for example L<dh_installdeb(1)>."
12822 #: dpkg-maintscript-helper.pod
12824 "Given that B<dpkg-maintscript-helper> is used in the B<preinst>, using it "
12825 "unconditionally requires a pre-dependency to ensure that the required "
12826 "version of B<dpkg> has been unpacked before. The required version depends on "
12827 "the command used, for B<rm_conffile> and B<mv_conffile> it is 1.15.7.2, for "
12828 "B<symlink_to_dir> and B<dir_to_symlink> it is 1.17.14:"
12832 #: dpkg-maintscript-helper.pod
12835 " Pre-Depends: dpkg (>= 1.17.14)\n"
12840 #: dpkg-maintscript-helper.pod
12842 "But in many cases the operation done by the program is not critical for the "
12843 "package, and instead of using a pre-dependency we can call the program only "
12844 "if we know that the required command is supported by the currently installed "
12849 #: dpkg-maintscript-helper.pod
12853 " if dpkg-maintscript-helper supports I<command>; then\n"
12854 " dpkg-maintscript-helper I<command> ...\n"
12860 #: dpkg-maintscript-helper.pod
12862 "The command B<supports> will return 0 on success, 1 otherwise. The "
12863 "B<supports> command will check if the environment variables as set by dpkg "
12864 "and required by the script are present, and will consider it a failure in "
12865 "case the environment is not sufficient."
12869 #: dpkg-maintscript-helper.pod
12870 msgid "If set, it will be used as the filesystem root directory."
12874 #: dpkg-maintscript-helper.pod
12875 msgid "If set, it will be used as the B<dpkg> data directory."
12879 #: dpkg-maintscript-helper.pod
12881 "Sets the color mode (since dpkg 1.19.1). The currently accepted values are: "
12882 "B<auto> (default), B<always> and B<never>."
12886 #: dpkg-maintscript-helper.pod
12887 msgid "L<dh_installdeb(1)>."
12891 #: dpkg-mergechangelogs.pod
12892 msgid "dpkg-mergechangelogs - 3-way merge of debian/changelog files"
12896 #: dpkg-mergechangelogs.pod
12897 msgid "B<dpkg-mergechangelogs> [I<option>...] I<old> I<new-a> I<new-b> [I<out>]"
12901 #: dpkg-mergechangelogs.pod
12903 "This program will use the 3 provided versions of the Debian changelog to "
12904 "generate a merged changelog file. The resulting changelog is stored in the "
12905 "file I<out> or output to the standard output if that parameter is not given."
12909 #: dpkg-mergechangelogs.pod
12911 "Each entry is identified by its version number and they are assumed to be "
12912 "not conflicting, they are simply merged in the right order (by decreasing "
12913 "version number). When B<--merge-prereleases> is used, the part of the "
12914 "version number after the last tilde is dropped so that 1.0-1~exp1 and "
12915 "1.0-1~exp5 are considered to be the same entry. When the same version is "
12916 "available in both I<new-a> and I<new-b>, a standard line-based 3-way merge "
12917 "is attempted (provided that the module Algorithm::Merge is available — it's "
12918 "part of the package libalgorithm-merge-perl — otherwise you get a global "
12919 "conflict on the content of the entry)."
12923 #: dpkg-mergechangelogs.pod
12924 msgid "B<--merge-unreleased>"
12928 #: dpkg-mergechangelogs.pod
12930 "Ignore the version number when the entries are marked as B<UNRELEASED> "
12931 "(since dpkg 1.21.0)."
12935 #: dpkg-mergechangelogs.pod
12937 "This is useful when you have diverging development for versions that have "
12938 "not yet been released. For instance 2.1-1 is released, then development "
12939 "happens for the new 2.2-1 and then for 2.3-1, where it makes sense to just "
12940 "end with a coalesced entry for 2.3-1 including all the development done in "
12945 #: dpkg-mergechangelogs.pod
12946 msgid "B<-m>, B<--merge-prereleases>"
12950 #: dpkg-mergechangelogs.pod
12952 "Drop the part after the last tilde in the version number when doing version "
12953 "comparison to identify if two entries are supposed to be the same or not."
12957 #: dpkg-mergechangelogs.pod
12959 "This is useful when you keep using the same changelog entry but you increase "
12960 "its version number regularly. For instance, you might have 2.3-1~exp1, "
12961 "2.3-1~exp2, ... until the official release 2.3-1 and they are all the same "
12962 "changelog entry that has evolved over time."
12966 #: dpkg-mergechangelogs.pod
12967 msgid "LIMITATIONS"
12971 #: dpkg-mergechangelogs.pod
12973 "Anything that is not parsed by L<Dpkg::Changelog> is lost during the merge. "
12974 "This might include stuff like comments which were not supposed to be there, "
12979 #: dpkg-mergechangelogs.pod
12980 msgid "INTEGRATION WITH GIT"
12984 #: dpkg-mergechangelogs.pod
12986 "If you want to use this program to merge Debian changelog files in a git "
12987 "repository, you have first to register a new merge driver in B<.git/config> "
12988 "or B<~/.gitconfig>:"
12992 #: dpkg-mergechangelogs.pod
12995 " [merge \"dpkg-mergechangelogs\"]\n"
12996 " name = debian/changelog merge driver\n"
12997 " driver = dpkg-mergechangelogs -m %O %A %B %A\n"
13002 #: dpkg-mergechangelogs.pod
13004 "Then you have to setup the merge attribute for the debian/changelog file "
13005 "either in B<.gitattributes> in the repository itself, or in "
13006 "B<.git/info/attributes>:"
13010 #: dpkg-mergechangelogs.pod
13012 msgid " debian/changelog merge=dpkg-mergechangelogs\n"
13017 msgid "dpkg-name - rename Debian packages to full package names"
13022 msgid "B<dpkg-name> [I<option>...] [B<-->] I<file>..."
13028 "This manual page documents the B<dpkg-name> program which provides an easy "
13029 "way to rename B<Debian> packages into their full package names. A full "
13030 "package name consists of "
13031 "I<package>B<_>I<version>B<_>I<architecture>B<.>I<package-type> as specified "
13032 "in the control file of the package. The I<version> part of the filename "
13033 "consists of the upstream version information optionally followed by a hyphen "
13034 "and the revision information. The I<package-type> part comes from that field "
13035 "if present or fallbacks to B<deb>."
13040 msgid "B<-a>, B<--no-architecture>"
13045 msgid "The destination filename will not have the architecture information."
13050 msgid "B<-k>, B<--symlink>"
13055 msgid "Create a symlink, instead of moving."
13060 msgid "B<-o>, B<--overwrite>"
13066 "Existing files will be overwritten if they have the same name as the "
13067 "destination filename."
13072 msgid "B<-s>, B<--subdir> [I<dir>]"
13078 "Files will be moved into a subdirectory. If the directory given as argument "
13079 "exists the files will be moved into that directory otherwise the name of the "
13080 "target directory is extracted from the section field in the control part of "
13081 "the package. The target directory will be "
13082 "«unstable/binary-I<architecture>/I<section>». If the section is not found "
13083 "in the control, then B<no-section> is assumed, and in this case, as well as "
13084 "for sections B<non-free> and B<contrib> the target directory is "
13085 "«I<section>/binary-I<architecture>». The section field is not required so a "
13086 "lot of packages will find their way to the B<no-section> area."
13091 msgid "B<Warning>: Use this option with care, it is messy."
13096 msgid "B<-c>, B<--create-dir>"
13102 "This option can used together with the B<-s> option. If a target directory "
13103 "isn't found it will be created automatically."
13108 msgid "B<Warning>: Use this option with care."
13113 msgid "B<-v>, B<--version>"
13119 "Some packages don't follow the name structure "
13120 "I<package>B<_>I<version>B<_>I<architecture>B<.deb>. Packages renamed by "
13121 "B<dpkg-name> will follow this structure. Generally this will have no impact "
13122 "on how packages are installed by L<dselect(1)>/L<dpkg(1)>, but other "
13123 "installation tools might depend on this naming structure."
13128 msgid "B<dpkg-name bar-foo.deb>"
13134 "The file B<bar-foo.deb> will be renamed to bar-foo_1.0-2_i386.deb or "
13135 "something similar (depending on whatever information is in the control part "
13136 "of B<bar-foo.deb>)."
13141 msgid "B<find /root/debian/ -name '*.deb' | xargs -n 1 dpkg-name -a>"
13147 "All files with the extension B<deb> in the directory /root/debian and its "
13148 "subdirectory's will be renamed by B<dpkg-name> if required into names with "
13149 "no architecture information."
13154 msgid "B<find -name '*.deb' | xargs -n 1 dpkg-name -a -o -s -c>"
13160 "B<Don't do this.> Your archive will be messed up completely because a lot of "
13161 "packages don't come with section information. B<Don't do this.>"
13166 msgid "B<dpkg-deb --build debian-tmp && dpkg-name -o -s .. debian-tmp.deb>"
13171 msgid "This can be used when building new packages."
13177 "L<deb(5)>, L<deb-control(5)>, L<dpkg(1)>, L<dpkg-deb(1)>, L<find(1)>, "
13182 #: dpkg-parsechangelog.pod
13183 msgid "dpkg-parsechangelog - parse Debian changelog files"
13187 #: dpkg-parsechangelog.pod
13188 msgid "B<dpkg-parsechangelog> [I<option>...]"
13192 #: dpkg-parsechangelog.pod
13194 "B<dpkg-parsechangelog> reads and parses the changelog of an unpacked Debian "
13195 "source tree and outputs the information in it to standard output in a "
13196 "machine-readable form."
13200 #: dpkg-parsechangelog.pod
13201 msgid "B<-l>, B<--file> I<changelog-file>"
13205 #: dpkg-parsechangelog.pod
13207 "Specifies the changelog file to read information from. A ‘-’ can be used to "
13208 "specify reading from standard input. The default is B<debian/changelog>."
13212 #: dpkg-parsechangelog.pod
13213 msgid "B<-F> I<changelog-format>"
13217 #: dpkg-parsechangelog.pod
13219 "Specifies the format of the changelog. By default the format is read from a "
13220 "special line near the bottom of the changelog or failing that defaults to "
13221 "the B<debian> standard format. See also B<CHANGELOG FORMATS>."
13225 #: dpkg-parsechangelog.pod
13226 msgid "B<-L> I<libdir>"
13230 #: dpkg-parsechangelog.pod
13232 "Obsolete option without effect (since dpkg 1.18.8). Setting the perl "
13233 "environment variables B<PERL5LIB> or B<PERLLIB> has a similar effect when "
13234 "looking for the parser perl modules."
13238 #: dpkg-parsechangelog.pod
13239 msgid "B<-S>, B<--show-field> I<field>"
13243 #: dpkg-parsechangelog.pod
13245 "Specifies the name of the field to show (since dpkg 1.17.0). The field name "
13246 "is not printed, only its value."
13250 #: dpkg-parsechangelog.pod
13251 msgid "Parser Options"
13255 #: dpkg-parsechangelog.pod
13257 "The following options can be used to influence the output of the changelog "
13258 "parser, for example the range of entries or the format of the output."
13262 #: dpkg-parsechangelog.pod
13263 msgid "B<--format> I<output-format>"
13267 #: dpkg-parsechangelog.pod
13269 "Set the output format. Currently supported values are B<dpkg> and "
13270 "B<rfc822>. B<dpkg> is the classic output format (from before this option "
13271 "existed) and the default. It consists of one stanza in Debian control format "
13272 "(see L<deb-control(5)>). If more than one entry is requested, then most "
13273 "fields are taken from the first entry (usually the most recent entry), "
13274 "except otherwise stated:"
13278 #: dpkg-parsechangelog.pod
13279 msgid "B<Source:> I<pkg-name>"
13283 #: dpkg-parsechangelog.pod
13284 msgid "B<Version:> I<version>"
13288 #: dpkg-parsechangelog.pod
13290 "The source version number. B<Note>: For binary-only releases there might be "
13291 "no corresponding source release."
13295 #: dpkg-parsechangelog.pod
13296 msgid "B<Distribution:> I<target-distribution>"
13300 #: dpkg-parsechangelog.pod
13302 "A space-separated list of one or more distribution names where this version "
13303 "should be installed when it is uploaded."
13307 #: dpkg-parsechangelog.pod
13308 msgid "B<Urgency:> I<urgency>"
13312 #: dpkg-parsechangelog.pod
13314 "The highest urgency of all included entries is used, followed by the "
13315 "concatenated (space-separated) comments from all the versions requested."
13319 #: dpkg-parsechangelog.pod
13320 msgid "B<Maintainer:> I<author>"
13324 #: dpkg-parsechangelog.pod
13326 "The name and email address of the person who prepared these changes, they "
13327 "are B<not> necessarily those of the uploader or the usual package "
13332 #: dpkg-parsechangelog.pod
13333 msgid "B<Date:> I<date>"
13337 #: dpkg-parsechangelog.pod
13339 "The date of the entry as a string, as it appears in the changelog. With a "
13340 "L<strptime(3)> format \"B<%a, %d %b %Y %T %z>\", but where the day of the "
13341 "week might not actually correspond to the real day obtained from the rest of "
13342 "the date string. If you need a more accurate representation of the date, "
13343 "use the B<Timestamp> field, but take into account it might not be possible "
13344 "to map it back to the exact value in this field."
13348 #: dpkg-parsechangelog.pod
13349 msgid "B<Timestamp:> I<timestamp>"
13353 #: dpkg-parsechangelog.pod
13355 "The date of the entry as a timestamp in seconds since the epoch (since dpkg "
13360 #: dpkg-parsechangelog.pod
13361 msgid "B<Closes:> I<bug-number>"
13365 #: dpkg-parsechangelog.pod
13366 msgid "The Closes fields of all included entries are merged."
13370 #: dpkg-parsechangelog.pod
13371 msgid "B<Changes:> I<changelog-entries>"
13375 #: dpkg-parsechangelog.pod
13377 "The text of all changelog entries is concatenated. To make this field a "
13378 "valid Debian control format multiline field empty lines are replaced with a "
13379 "single full stop and all lines is intended by one space character. The exact "
13380 "content depends on the changelog format."
13384 #: dpkg-parsechangelog.pod
13386 "The B<Version>, B<Distribution>, B<Urgency>, B<Maintainer> and B<Changes> "
13387 "fields are mandatory."
13391 #: dpkg-parsechangelog.pod
13392 msgid "There might be additional user-defined fields present."
13396 #: dpkg-parsechangelog.pod
13398 "The B<rfc822> format uses the same fields but outputs a separate stanza for "
13399 "each changelog entry so that all metadata for each entry is preserved."
13403 #: dpkg-parsechangelog.pod
13404 msgid "B<--reverse>"
13408 #: dpkg-parsechangelog.pod
13409 msgid "Include all changes in reverse order (since dpkg 1.19.1)."
13413 #: dpkg-parsechangelog.pod
13415 "B<Note>: For the B<dpkg> format the first entry will be the most ancient "
13420 #: dpkg-parsechangelog.pod update-alternatives.pod
13425 #: dpkg-parsechangelog.pod
13427 "Include all changes. B<Note>: Other options have no effect when this is in "
13432 #: dpkg-parsechangelog.pod
13433 msgid "B<-s>, B<--since> I<version>"
13437 #: dpkg-parsechangelog.pod
13438 msgid "B<-v> I<version>"
13442 #: dpkg-parsechangelog.pod
13443 msgid "Include all changes later than I<version>."
13447 #: dpkg-parsechangelog.pod
13448 msgid "B<-u>, B<--until> I<version>"
13452 #: dpkg-parsechangelog.pod
13453 msgid "Include all changes earlier than I<version>."
13457 #: dpkg-parsechangelog.pod
13458 msgid "B<-f>, B<--from> I<version>"
13462 #: dpkg-parsechangelog.pod
13463 msgid "Include all changes equal or later than I<version>."
13467 #: dpkg-parsechangelog.pod
13468 msgid "B<-t>, B<--to> I<version>"
13472 #: dpkg-parsechangelog.pod
13473 msgid "Include all changes up to or equal than I<version>."
13477 #: dpkg-parsechangelog.pod
13478 msgid "B<-c>, B<--count> I<number>"
13482 #: dpkg-parsechangelog.pod
13483 msgid "B<-n> I<number>"
13487 #: dpkg-parsechangelog.pod
13489 "Include I<number> entries from the top (or the tail if I<number> is lower "
13494 #: dpkg-parsechangelog.pod
13495 msgid "B<-o>, B<--offset> I<number>"
13499 #: dpkg-parsechangelog.pod
13501 "Change the starting point for B<--count>, counted from the top (or the tail "
13502 "if I<number> is lower than 0)."
13506 #: dpkg-parsechangelog.pod
13507 msgid "CHANGELOG FORMATS"
13511 #: dpkg-parsechangelog.pod
13513 "It is possible to use a different format to the standard one, by providing a "
13514 "parser for that alternative format."
13518 #: dpkg-parsechangelog.pod
13520 "In order to have B<dpkg-parsechangelog> run the new parser, a line must be "
13521 "included within the last 40 lines of the changelog file, matching the Perl "
13522 "regular expression: “B<\\schangelog-format:\\s+([0-9a-z]+)\\W>”. The part "
13523 "in parentheses should be the name of the format. For example:"
13527 #: dpkg-parsechangelog.pod
13528 msgid "@@@ changelog-format: I<otherformat> @@@"
13532 #: dpkg-parsechangelog.pod
13534 "Changelog format names are non-empty strings of lowercase alphanumerics "
13539 #: dpkg-parsechangelog.pod
13541 "If such a line exists then B<dpkg-parsechangelog> will look for the parser "
13542 "as a B<Dpkg::Changelog::>I<Otherformat> perl module; it is an error for it "
13543 "not being present. The parser name in the perl module will be automatically "
13544 "capitalized. The default changelog format is B<debian>, and a parser for it "
13545 "is provided by default."
13549 #: dpkg-parsechangelog.pod
13551 "The parser should be derived from the L<Dpkg::Changelog> class and implement "
13552 "the required documented interface."
13556 #: dpkg-parsechangelog.pod
13558 "If the changelog format which is being parsed always or almost always leaves "
13559 "a blank line between individual change notes, these blank lines should be "
13560 "stripped out, so as to make the resulting output compact."
13564 #: dpkg-parsechangelog.pod
13566 "If the changelog format does not contain date or package name information "
13567 "this information should be omitted from the output. The parser should not "
13568 "attempt to synthesize it or find it from other sources."
13572 #: dpkg-parsechangelog.pod
13574 "If the changelog does not have the expected format the parser should error "
13575 "out, rather than trying to muddle through and possibly generating incorrect "
13580 #: dpkg-parsechangelog.pod
13581 msgid "A changelog parser may not interact with the user at all."
13585 #: dpkg-parsechangelog.pod
13587 "All B<Parser Options> except for B<-v> are only supported since dpkg "
13592 #: dpkg-parsechangelog.pod
13594 "Short option parsing with non-bundled values available only since dpkg "
13599 #: dpkg-parsechangelog.pod
13601 "The changelog file, used to obtain version-dependent information about the "
13602 "source package, such as the urgency and distribution of an upload, the "
13603 "changes made since a particular release, and the source version number "
13608 #: dpkg-parsechangelog.pod
13610 "The B<Maintainer> field has a confusing name matching the field in the "
13611 "F<debian/control> file but not its exact semantics, where its meaning would "
13612 "be better represented by the B<Changed-By> field name used in the "
13613 "F<.changes> file."
13617 #: dpkg-parsechangelog.pod
13618 msgid "L<deb-changelog(5)>."
13623 msgid "dpkg-query - a tool to query the dpkg database"
13628 msgid "B<dpkg-query> [I<option>...] I<command>"
13634 "B<dpkg-query> is a tool to show information about packages listed in the "
13635 "B<dpkg> database."
13640 msgid "B<-l>, B<--list> [I<package-name-pattern>...]"
13646 "List all known packages matching one or more patterns, regardless of their "
13647 "status, which includes any real or virtual package referenced in any "
13648 "dependency relationship field (such as B<Breaks>, B<Enhances>, etc.). If no "
13649 "I<package-name-pattern> is given, list all packages in I<%ADMINDIR%/status>, "
13650 "excluding the ones marked as not-installed (i.e. those which have been "
13651 "previously purged). Normal shell wildcard characters are allowed in "
13652 "I<package-name-pattern>. Please note you will probably have to quote "
13653 "I<package-name-pattern> to prevent the shell from performing filename "
13654 "expansion. For example this will list all package names starting with "
13662 " dpkg-query -l 'libc6*'\n"
13669 "The first three columns of the output show the desired action, the package "
13670 "status, and errors, in that order."
13675 msgid "Desired action:"
13680 msgid "u = Unknown"
13685 msgid "i = Install"
13705 msgid "Package status:"
13710 msgid "n = Not-installed"
13715 msgid "c = Config-files"
13720 msgid "H = Half-installed"
13725 msgid "U = Unpacked"
13730 msgid "F = Half-configured"
13735 msgid "W = Triggers-awaiting"
13740 msgid "t = Triggers-pending"
13745 msgid "i = Installed"
13750 msgid "Error flags:"
13755 msgid "E<lt>emptyE<gt> = (none)"
13760 msgid "R = Reinst-required"
13766 "An uppercase status or error letter indicates the package is likely to cause "
13767 "severe problems. Please refer to L<dpkg(1)> for information about the above "
13768 "states and flags."
13774 "The output format of this option is not configurable, but varies "
13775 "automatically to fit the terminal width. It is intended for human readers, "
13776 "and is not easily machine-readable. See B<-W> (B<--show>) and "
13777 "B<--showformat> for a way to configure the output format."
13782 msgid "B<-W>, B<--show> [I<package-name-pattern>...]"
13788 "Just like the B<--list> option this will list all packages matching the "
13789 "given patterns. However the output can be customized using the "
13790 "B<--showformat> option."
13796 "The default output format gives one line per matching package, each line "
13797 "consisting of the package name and its installed version, separated by a "
13798 "tab. The package name will be architecture qualified for packages with a "
13799 "B<Multi-Arch> field with the value B<same> or with a foreign architecture, "
13800 "which is an architecture that is neither the native one nor B<all>."
13805 msgid "B<-s>, B<--status> [I<package-name>...]"
13811 "Report status of specified packages. This just displays the entry in the "
13812 "installed package status database. If no I<package-name> is specified it "
13813 "will display all package entries in the status database (since dpkg "
13814 "1.19.1). When multiple I<package-name> entries are listed, the requested "
13815 "status entries are separated by an empty line, with the same order as "
13816 "specified on the argument list."
13820 #: dpkg-query.pod dpkg.pod
13821 msgid "B<-L>, B<--listfiles> I<package-name>..."
13827 "List files installed to your system from I<package-name>. When multiple "
13828 "I<package-name>s are listed, the requested lists of files are separated by "
13829 "an empty line, with the same order as specified on the argument list."
13835 "Each file diversion is printed on its own line after its diverted file, "
13836 "prefixed with one of the following localized strings:"
13844 " locally diverted to: I<diverted-to>\n"
13845 " package diverts others to: I<diverted-to>\n"
13846 " diverted by I<pkg> to: I<diverted-to>\n"
13853 "B<Hint>: When machine parsing the output, it is customary to set the locale "
13854 "to B<C.UTF-8> to get reproducible results. On some systems this might also "
13855 "require adapting the B<LANGUAGE> environment variable appropriately if it is "
13856 "already set (see L<locale(7)>)."
13862 "This command will not list extra files created by maintainer scripts, nor "
13863 "will it list alternatives."
13868 msgid "B<--control-list> I<package-name>"
13874 "List control files installed to your system from I<package-name> (since dpkg "
13875 "1.16.5). These can be used as input arguments to B<--control-show>."
13880 msgid "B<--control-show> I<package-name> I<control-file>"
13886 "Print the I<control-file> installed to your system from I<package-name> to "
13887 "the standard output (since dpkg 1.16.5)."
13892 msgid "B<-c>, B<--control-path> I<package-name> [I<control-file>]"
13898 "List paths for control files installed to your system from I<package-name> "
13899 "(since dpkg 1.15.4). If I<control-file> is specified then only list the "
13900 "path for that control file if it is present."
13906 "B<Warning>: this command is deprecated as it gives direct access to the "
13907 "internal dpkg database, please switch to use B<--control-list> and "
13908 "B<--control-show> instead for all cases where those commands might give the "
13909 "same end result. Although, as long as there is still at least one case where "
13910 "this command is needed (i.e. when having to remove a damaging postrm "
13911 "maintainer script), and while there is no good solution for that, this "
13912 "command will not get removed."
13916 #: dpkg-query.pod dpkg.pod
13917 msgid "B<-S>, B<--search> I<filename-search-pattern>..."
13923 "Search for packages that own files corresponding to the given patterns. "
13924 "Standard shell wildcard characters can be used in the pattern, where "
13925 "asterisk (B<*>) and question mark (B<?>) will match a slash, and backslash "
13926 "(B<\\>) will be used as an escape character."
13932 "If the first character in the I<filename-search-pattern> is none of "
13933 "‘B<*[?/>’ then it will be considered a substring match and will be "
13934 "implicitly surrounded by ‘B<*>’ (as in B<*>I<filename-search-pattern>B<*>). "
13935 "If the subsequent string contains any of ‘B<*[?\\>’, then it will handled "
13936 "like a glob pattern, otherwise any trailing ‘B</>’ or ‘B</.>’ will be "
13937 "removed and a literal path lookup will be performed."
13943 "The output format consists of one line per matching pattern, with a list of "
13944 "packages owning the pathname separated by a comma (U+002C ‘B<,>’) and a "
13945 "space (U+0020 ‘B< >’), followed by a colon (U+003A ‘B<:>’) and a space, "
13946 "followed by the pathname. As in:"
13953 " pkgname1, pkgname2: pathname1\n"
13954 " pkgname3: pathname2\n"
13960 msgid "File diversions are printed with the following localized strings:"
13968 " diversion by I<pkgname> from: I<diverted-from>\n"
13969 " diversion by I<pkgname> to: I<diverted-to>\n"
13975 msgid "or for local diversions:"
13983 " local diversion from: I<diverted-from>\n"
13984 " local diversion to: I<diverted-to>\n"
13991 "B<Hint>: When machine parsing the output, it is customary to set the locale "
13992 "to B<C.UTF-8> to get reproducible results."
13997 msgid "B<-p>, B<--print-avail> [I<package-name>...]"
14003 "Display details about packages, as found in I<%ADMINDIR%/available>. If no "
14004 "I<package-name> is specified, it will display all package entries in the "
14005 "I<available> database (since dpkg 1.19.1). When multiple I<package-name> "
14006 "are listed, the requested I<available> entries are separated by an empty "
14007 "line, with the same order as specified on the argument list."
14013 "Users of APT-based frontends should use B<apt show> I<package-name> instead "
14014 "as the I<available> file is only kept up-to-date when using B<dselect>."
14020 "Change the location of the B<dpkg> database. The default location is "
14025 #: dpkg-query.pod dpkg-trigger.pod
14026 msgid "B<--root=>I<directory>"
14030 #: dpkg-query.pod dpkg-trigger.pod
14032 "Set the root directory to I<directory>, which sets the administrative "
14033 "directory to «I<directory>%ADMINDIR%» (since dpkg 1.21.0)."
14038 msgid "B<--load-avail>"
14044 "Also load the available file when using the B<--show> and B<--list> "
14045 "commands, which now default to only querying the status file (since dpkg "
14050 #: dpkg-query.pod dpkg.pod
14051 msgid "B<--no-pager>"
14055 #: dpkg-query.pod dpkg.pod
14056 msgid "Disables the use of any pager when showing information (since dpkg 1.19.2)."
14061 msgid "B<-f>, B<--showformat=>I<format>"
14067 "This option is used to specify the format of the output B<--show> will "
14068 "produce (short option since dpkg 1.13.1). The format is a string that will "
14069 "be output for each package listed."
14074 msgid "In the format string, “B<\\>” introduces escapes:"
14079 msgid "B<\\n> newline"
14084 msgid "B<\\r> carriage return"
14095 "“B<\\>” before any other character suppresses any special meaning of the "
14096 "following character, which is useful for “B<\\>” and “B<$>”."
14102 "Package information can be included by inserting variable references to "
14103 "package fields using the syntax “B<${>I<field>[B<;>I<width>]B<}>”. Fields "
14104 "are printed right-aligned unless the width is negative in which case left "
14105 "alignment will be used. The following I<field>s are recognized but they are "
14106 "not necessarily available in the status file (only internal fields or fields "
14107 "stored in the binary package end up in it):"
14112 msgid "B<Architecture>"
14122 msgid "B<Conffiles> (internal)"
14127 msgid "B<Config-Version> (internal)"
14132 msgid "B<Conflicts>"
14147 msgid "B<Description>"
14152 msgid "B<Enhances>"
14157 msgid "B<Protected>"
14162 msgid "B<Essential>"
14167 msgid "B<Filename> (internal, front-end related)"
14172 msgid "B<Homepage>"
14177 msgid "B<MD5sum> (internal, front-end related)"
14182 msgid "B<MSDOS-Filename> (internal, front-end related)"
14187 msgid "B<Maintainer>"
14202 msgid "B<Pre-Depends>"
14207 msgid "B<Priority>"
14212 msgid "B<Provides>"
14217 msgid "B<Recommends>"
14222 msgid "B<Replaces>"
14227 msgid "B<Revision> (obsolete)"
14237 msgid "B<Size> (internal, front-end related)"
14247 msgid "B<Status> (internal)"
14252 msgid "B<Suggests>"
14257 msgid "B<Tag> (usually not in .deb but in repository Packages files)"
14262 msgid "B<Triggers-Awaited> (internal)"
14267 msgid "B<Triggers-Pending> (internal)"
14278 "The following are virtual fields, generated by B<dpkg-query> from values "
14279 "from other fields (note that these do not use valid names for fields in "
14285 msgid "B<binary:Package>"
14291 "It contains the binary package name with a possible architecture qualifier "
14292 "like “libc6:amd64” (since dpkg 1.16.2). An architecture qualifier will be "
14293 "present to make the package name unambiguous, for packages with a "
14294 "B<Multi-Arch> field with the value B<same> or with a foreign architecture, "
14295 "which is an architecture that is neither the native one nor B<all>."
14300 msgid "B<binary:Synopsis>"
14305 msgid "It contains the package short description (since dpkg 1.19.1)."
14310 msgid "B<binary:Summary>"
14315 msgid "This is an alias for B<binary:Synopsis> (since dpkg 1.16.2)."
14320 msgid "B<db:Status-Abbrev>"
14326 "It contains the abbreviated package status (as three characters), such as "
14327 "“ii ” or “iHR” (since dpkg 1.16.2). See the B<--list> command description "
14328 "for more details."
14333 msgid "B<db:Status-Want>"
14339 "It contains the package wanted status, part of the Status field (since dpkg "
14345 msgid "B<db:Status-Status>"
14351 "It contains the package status word, part of the Status field (since dpkg "
14357 msgid "B<db:Status-Eflag>"
14363 "It contains the package status error flag, part of the Status field (since "
14369 msgid "B<db-fsys:Files>"
14375 "It contains the list of the package filesystem entries separated by newlines "
14376 "(since dpkg 1.19.3)."
14381 msgid "B<db-fsys:Last-Modified>"
14387 "It contains the timestamp in seconds of the last time the package filesystem "
14388 "entries were modified (since dpkg 1.19.3)."
14393 msgid "B<source:Package>"
14399 "It contains the source package name for this binary package (since dpkg "
14406 "It contains the source package version for this binary package (since dpkg "
14413 "It contains the source package upstream version for this binary package "
14414 "(since dpkg 1.18.16)"
14420 "The default format string is “B<${binary:Package}\\t${Version}\\n>”. "
14421 "Actually, all other fields found in the status file (i.e. user defined "
14422 "fields) can be requested, too. They will be printed as-is, though, no "
14423 "conversion nor error checking is done on them. To get the name of the "
14424 "B<dpkg> maintainer and the installed version, you could run:"
14431 " dpkg-query -f='${binary:Package} ${Version}\\t${Maintainer}\\n' \\\n"
14438 msgid "The requested query was successfully performed."
14442 #: dpkg-query.pod dpkg-split.pod dpkg-statoverride.pod dpkg-trigger.pod
14443 #: dpkg.pod start-stop-daemon.pod
14450 "The requested query failed either fully or partially, due to no file or "
14451 "package being found (except for B<--control-path>, B<--control-list> and "
14452 "B<--control-show> were such errors are fatal)."
14456 #: dpkg-query.pod dpkg.pod
14463 "Sets the program to execute when spawning a command via a shell (since dpkg "
14468 #: dpkg-query.pod dpkg.pod
14473 #: dpkg-query.pod dpkg.pod
14474 msgid "B<DPKG_PAGER>"
14480 "Sets the pager command to use (since dpkg 1.19.1), which will be executed "
14481 "with «B<$SHELL -c>». If B<SHELL> is not set, «B<%DPKG_DEFAULT_SHELL%>» will "
14482 "be used instead. The B<DPKG_PAGER> overrides the B<PAGER> environment "
14483 "variable (since dpkg 1.19.2)."
14487 #: dpkg-query.pod dpkg-trigger.pod
14489 "If set and the B<--root> option has not been specified, it will be used as "
14490 "the filesystem root directory (since dpkg 1.21.0)."
14494 #: dpkg-query.pod dpkg-trigger.pod
14496 "If set and the B<--admindir> option has not been specified, it will be used "
14497 "as the B<dpkg> data directory."
14501 #: dpkg-query.pod dpkg.pod
14508 "Defined by B<dpkg-query> to “B<-FRSXMQ>”, if not already set, when spawning "
14509 "a pager (since dpkg 1.19.2). To change the default behavior, this variable "
14510 "can be preset to some other value including an empty string, or the B<PAGER> "
14511 "or B<DPKG_PAGER> variables can be set to disable specific options with "
14512 "«B<-+>», for example B<DPKG_PAGER=\"less -+F\">."
14516 #: dpkg-query.pod dpkg.pod
14518 "Query operations should never require root, and delegating their execution "
14519 "to unprivileged users via some gain-root command can have security "
14520 "implications (such as privilege escalation), for example when a pager is "
14521 "automatically invoked by the tool."
14525 #: dpkg-realpath.pod
14526 msgid "dpkg-realpath - print the resolved pathname with DPKG_ROOT support"
14530 #: dpkg-realpath.pod
14531 msgid "B<dpkg-realpath> [I<option>...] I<pathname>"
14535 #: dpkg-realpath.pod
14537 "B<dpkg-realpath> is a tool (since dpkg 1.20.1) to resolve a pathname, that "
14538 "takes the L<dpkg(1)> root directory into account, either implicitly from the "
14539 "B<DPKG_ROOT> environment variable or from the command-line B<--root> or "
14540 "B<--instdir> options, and returns an absolute I<pathname> relative to the "
14541 "root directory. The root directory must not be prefixed to the I<pathname> "
14546 #: dpkg-realpath.pod
14548 "This is intended to be used by other B<dpkg> helpers, or by maintainer "
14549 "scripts instead of using L<realpath(1)> or L<readlink(1)> to canonicalize "
14550 "pathnames, as these latter commands do not support canonicalization relative "
14551 "to a different root than F</>."
14555 #: dpkg-realpath.pod
14556 msgid "This program was introduced in dpkg 1.20.1."
14560 #: dpkg-realpath.pod
14561 msgid "B<-z>, B<--zero>"
14565 #: dpkg-realpath.pod
14567 "Use a NUL byte to end output lines instead of a new line character (since "
14572 #: dpkg-realpath.pod
14574 "Set the root directory to I<directory>, which is the base directory that "
14575 "pathnames get canonicalized against. Defaults to «B</>» if B<DPKG_ROOT> has "
14580 #: dpkg-realpath.pod update-alternatives.pod
14582 "If set and the B<--instdir> or B<--root> options have not been specified, it "
14583 "will be used as the filesystem root directory."
14587 #: dpkg-realpath.pod
14589 "Sets the color mode. The currently accepted values are: B<auto> (default), "
14590 "B<always> and B<never>."
14594 #: dpkg-realpath.pod
14595 msgid "L<realpath(1)>, L<readlink(1)>."
14599 #: dpkg-scanpackages.pod
14600 msgid "dpkg-scanpackages - create Packages index files"
14604 #: dpkg-scanpackages.pod
14606 "B<dpkg-scanpackages> [I<option>...] I<binary-path> [I<override-file> "
14607 "[I<path-prefix>]] B<E<gt>> I<Packages>"
14611 #: dpkg-scanpackages.pod
14613 "B<dpkg-scanpackages> sorts through a tree of Debian binary packages and "
14614 "creates a Packages file, used by L<apt(8)>, L<dselect(1)>, etc, to tell the "
14615 "user what packages are available for installation. These Packages files are "
14616 "the same as those found on Debian archive sites and media discs. You might "
14617 "use B<dpkg-scanpackages> yourself if making a directory of local packages to "
14618 "install on a cluster of machines."
14622 #: dpkg-scanpackages.pod
14624 "B<Note>: If you want to access the generated Packages file with L<apt(8)> "
14625 "you will probably need to compress the file with L<xz(1)> (generating a "
14626 "Packages.xz file), L<bzip2(1)> (generating a Packages.bz2 file) or "
14627 "L<gzip(1)> (generating a Packages.gz file). L<apt(8)> ignores uncompressed "
14628 "Packages files except on local access (i.e. B<file://> sources)."
14632 #: dpkg-scanpackages.pod
14634 "I<binary-path> is the name of the tree of the binary packages to process "
14635 "(for example, B<contrib/binary-i386>). It is best to make this relative to "
14636 "the root of the Debian archive, because every Filename field in the new "
14637 "Packages file will start with this string."
14641 #: dpkg-scanpackages.pod
14643 "I<override-file> is the name of a file to read which contains information "
14644 "about how the package fits into the distribution (the file can be compressed "
14645 "since dpkg 1.15.5); see L<deb-override(5)>."
14649 #: dpkg-scanpackages.pod
14650 msgid "I<path-prefix> is an optional string to be prepended to the Filename fields."
14654 #: dpkg-scanpackages.pod
14656 "If more than one version of a package is found only the newest one is "
14657 "included in the output. If they have the same version and only differ in "
14658 "architecture only the first one found is used."
14662 #: dpkg-scanpackages.pod
14663 msgid "B<-t>, B<--type> I<type>"
14667 #: dpkg-scanpackages.pod
14668 msgid "Scan for *.I<type> packages, instead of *.deb."
14672 #: dpkg-scanpackages.pod dpkg-scansources.pod
14673 msgid "B<-e>, B<--extra-override> I<file>"
14677 #: dpkg-scanpackages.pod
14679 "Scan I<file> to find supplementary overrides (the file can be compressed "
14680 "since dpkg 1.15.5). See L<deb-extra-override(5)> for more information on "
14685 #: dpkg-scanpackages.pod
14686 msgid "B<-a>, B<--arch> I<arch>"
14690 #: dpkg-scanpackages.pod
14692 "Use a pattern consisting of I<*_all.deb> and I<*_arch.deb> instead of "
14693 "scanning for all debs."
14697 #: dpkg-scanpackages.pod
14698 msgid "B<-h>, B<--hash> I<hash-list>"
14702 #: dpkg-scanpackages.pod
14704 "Only generate file hashes for the comma-specified list specified (since dpkg "
14705 "1.17.14). The default is to generate all currently supported hashes. "
14706 "Supported values: B<md5>, B<sha1>, B<sha256>."
14710 #: dpkg-scanpackages.pod
14711 msgid "B<-m>, B<--multiversion>"
14715 #: dpkg-scanpackages.pod
14716 msgid "Include all found packages in the output."
14720 #: dpkg-scanpackages.pod
14721 msgid "B<-M>, B<--medium> I<id-string>"
14725 #: dpkg-scanpackages.pod
14727 "Add an B<X-Medium> field containing the value I<id-string> (since dpkg "
14728 "1.15.5). This field is required if you want to generate B<Packages.cd> "
14729 "files for use by the B<media> access method of B<dselect>."
14733 #: dpkg-scanpackages.pod dpkg-shlibdeps.pod dpkg-source.pod
14734 #: update-alternatives.pod
14735 msgid "DIAGNOSTICS"
14739 #: dpkg-scanpackages.pod
14741 "B<dpkg-scanpackages> outputs the usual self-explanatory errors. It also "
14742 "warns about packages that are in the wrong subdirectory, are duplicated, "
14743 "have a Filename field in their control file, are missing from the override "
14744 "file, or have maintainer substitutions which do not take effect."
14748 #: dpkg-scanpackages.pod
14750 "L<dpkg(1)>, L<dselect(1)>, L<deb-override(5)>, L<deb-extra-override(5)>, "
14751 "L<dpkg-scansources(1)>."
14755 #: dpkg-scansources.pod
14756 msgid "dpkg-scansources - create Sources index files"
14760 #: dpkg-scansources.pod
14762 "B<dpkg-scansources> [I<option>...] I<binary-dir> [I<override-file> "
14763 "[I<path-prefix>]] B<E<gt>> I<Sources>"
14767 #: dpkg-scansources.pod
14769 "B<dpkg-scansources> scans the given I<binary-dir> for I<.dsc> files. These "
14770 "are used to create a Debian source index, which is output to stdout."
14774 #: dpkg-scansources.pod
14776 "The I<override-file>, if given, is used to set priorities in the resulting "
14777 "index stanzas and to override the maintainer field given in the I<.dsc> "
14778 "files. The file can be compressed (since dpkg 1.15.5). See "
14779 "L<deb-override(5)> for the format of this file."
14783 #: dpkg-scansources.pod
14785 "B<Note>: Since the override file is indexed by binary, not source packages, "
14786 "there's a bit of a problem here. The current implementation uses the highest "
14787 "priority of all the binary packages produced by a I<.dsc> file for the "
14788 "priority of the source package, and the override entry for the first binary "
14789 "package listed in the I<.dsc> file to modify maintainer information. This "
14794 #: dpkg-scansources.pod
14796 "The I<path-prefix>, if given, is prepended to the directory field in the "
14797 "generated source index. You generally use this to make the directory fields "
14798 "contain the path from the top of the Debian archive hierarchy."
14802 #: dpkg-scansources.pod
14804 "B<Note>: If you want to access the generated Sources file with L<apt(8)> you "
14805 "will probably need to compress the file with L<gzip(1)> (generating a "
14806 "Sources.gz file). L<apt(8)> ignores uncompressed Sources files except on "
14807 "local access (i.e. B<file://> sources)."
14811 #: dpkg-scansources.pod
14812 msgid "B<-n>, B<--no-sort>"
14816 #: dpkg-scansources.pod
14818 "Do not sort the index stanzas. Normally they are sorted by source package "
14823 #: dpkg-scansources.pod
14825 "Scan I<file> to find supplementary overrides (since dpkg 1.15.4; the file "
14826 "can be compressed since dpkg 1.15.5). See L<deb-extra-override(5)> for more "
14827 "information on its format."
14831 #: dpkg-scansources.pod
14832 msgid "B<-s>, B<--source-override> I<file>"
14836 #: dpkg-scansources.pod
14838 "Use I<file> as the source override file (the file can be compressed since "
14839 "dpkg 1.15.5). The default is the name of the override file you specified "
14840 "with I<.src> appended."
14844 #: dpkg-scansources.pod
14846 "The source override file is in a different format from the binary override "
14847 "file. It contains only two whitespace separated fields, the first is the "
14848 "source package name and the second is the section. Blank lines and comment "
14849 "lines are ignored in the normal manner. If a package appears in both files "
14850 "the source override takes precedence for setting the section."
14854 #: dpkg-scansources.pod update-alternatives.pod
14859 #: dpkg-scansources.pod
14860 msgid "Turn debugging on."
14864 #: dpkg-scansources.pod
14865 msgid "L<deb-override(5)>, L<deb-extra-override(5)>, L<dpkg-scanpackages(1)>."
14869 #: dpkg-shlibdeps.pod
14870 msgid "dpkg-shlibdeps - generate shared library substvar dependencies"
14874 #: dpkg-shlibdeps.pod
14875 msgid "B<dpkg-shlibdeps> [I<option>...] [B<-e>] I<executable> [I<option>...]"
14879 #: dpkg-shlibdeps.pod
14881 "B<dpkg-shlibdeps> calculates shared library dependencies for executables "
14882 "named in its arguments. The dependencies are added to the substitution "
14883 "variables file B<debian/substvars> as variable names "
14884 "B<shlibs:>I<dependency-field> where I<dependency-field> is a dependency "
14885 "field name. Any other variables starting with B<shlibs:> are removed from "
14890 #: dpkg-shlibdeps.pod
14892 "B<dpkg-shlibdeps> has two possible sources of information to generate "
14893 "dependency information. Either I<symbols> files or I<shlibs> files. For each "
14894 "binary that B<dpkg-shlibdeps> analyzes, it finds out the list of libraries "
14895 "that it's linked with. Then, for each library, it looks up either the "
14896 "I<symbols> file, or the I<shlibs> file (if the former doesn't exist or if "
14897 "debian/shlibs.local contains the relevant dependency). Both files are "
14898 "supposed to be provided by the library package and should thus be available "
14899 "as %ADMINDIR%/info/I<package>.I<symbols> or "
14900 "%ADMINDIR%/info/I<package>.I<shlibs>. The package name is identified in two "
14901 "steps: find the library file on the system (looking in the same directories "
14902 "that B<ld.so> would use), then use B<dpkg -S> I<library-file> to lookup the "
14903 "package providing the library."
14907 #: dpkg-shlibdeps.pod
14908 msgid "Symbols files"
14912 #: dpkg-shlibdeps.pod
14914 "Symbols files contain finer-grained dependency information by providing the "
14915 "minimum dependency for each symbol that the library exports. The script "
14916 "tries to find a symbols file associated to a library package in the "
14917 "following places (first match is used):"
14921 #: dpkg-shlibdeps.pod
14922 msgid "debian/*/DEBIAN/symbols"
14926 #: dpkg-shlibdeps.pod
14928 "Shared library information generated by the current build process that also "
14929 "invoked B<dpkg-shlibdeps>. They are generated by L<dpkg-gensymbols(1)>. "
14930 "They are only used if the library is found in a package's build tree. The "
14931 "symbols file in that build tree takes precedence over symbols files from "
14932 "other binary packages."
14936 #: dpkg-shlibdeps.pod
14937 msgid "%PKGCONFDIR%/symbols/I<package>.symbols.I<arch>"
14941 #: dpkg-shlibdeps.pod
14942 msgid "%PKGCONFDIR%/symbols/I<package>.symbols"
14946 #: dpkg-shlibdeps.pod
14948 "Per-system overriding shared library dependency information. I<arch> is the "
14949 "architecture of the current system (obtained by B<dpkg-architecture "
14950 "-qDEB_HOST_ARCH>)."
14954 #: dpkg-shlibdeps.pod
14955 msgid "Output from “B<dpkg-query --control-path> I<package> symbols”"
14959 #: dpkg-shlibdeps.pod
14961 "Package-provided shared library dependency information. Unless overridden "
14962 "by B<--admindir>, those files are located in %ADMINDIR%."
14966 #: dpkg-shlibdeps.pod
14968 "While scanning the symbols used by all binaries, B<dpkg-shlibdeps> remembers "
14969 "the (biggest) minimal version needed for each library. At the end of the "
14970 "process, it is able to write out the minimal dependency for every library "
14971 "used (provided that the information of the I<symbols> files are accurate)."
14975 #: dpkg-shlibdeps.pod
14977 "As a safe-guard measure, a symbols file can provide a "
14978 "B<Build-Depends-Package> meta-information field and B<dpkg-shlibdeps> will "
14979 "extract the minimal version required by the corresponding package in the "
14980 "B<Build-Depends> field and use this version if it's higher than the minimal "
14981 "version computed by scanning symbols."
14985 #: dpkg-shlibdeps.pod
14986 msgid "Shlibs files"
14990 #: dpkg-shlibdeps.pod
14992 "Shlibs files associate directly a library to a dependency (without looking "
14993 "at the symbols). It's thus often stronger than really needed but very safe "
14994 "and easy to handle."
14998 #: dpkg-shlibdeps.pod
15000 "The dependencies for a library are looked up in several places. The first "
15001 "file providing information for the library of interest is used:"
15005 #: dpkg-shlibdeps.pod
15006 msgid "debian/shlibs.local"
15010 #: dpkg-shlibdeps.pod
15011 msgid "Package-local overriding shared library dependency information."
15015 #: dpkg-shlibdeps.pod
15016 msgid "%PKGCONFDIR%/shlibs.override"
15020 #: dpkg-shlibdeps.pod
15021 msgid "Per-system overriding shared library dependency information."
15025 #: dpkg-shlibdeps.pod
15026 msgid "debian/*/DEBIAN/shlibs"
15030 #: dpkg-shlibdeps.pod
15032 "Shared library information generated by the current build process that also "
15033 "invoked B<dpkg-shlibdeps>. They are only used if the library is found in a "
15034 "package's build tree. The shlibs file in that build tree takes precedence "
15035 "over shlibs files from other binary packages."
15039 #: dpkg-shlibdeps.pod
15040 msgid "Output from “B<dpkg-query --control-path> I<package> shlibs”"
15044 #: dpkg-shlibdeps.pod
15045 msgid "%PKGCONFDIR%/shlibs.default"
15049 #: dpkg-shlibdeps.pod
15050 msgid "Per-system default shared library dependency information."
15054 #: dpkg-shlibdeps.pod
15056 "The extracted dependencies are then directly used (except if they are "
15057 "filtered out because they have been identified as duplicate, or as weaker "
15058 "than another dependency)."
15062 #: dpkg-shlibdeps.pod
15064 "B<dpkg-shlibdeps> interprets non-option arguments as executable names, just "
15065 "as if they'd been supplied as B<-e>I<executable>."
15069 #: dpkg-shlibdeps.pod
15070 msgid "B<-e>I<executable>"
15074 #: dpkg-shlibdeps.pod
15076 "Include dependencies appropriate for the shared libraries required by "
15077 "I<executable>. This option can be used multiple times."
15081 #: dpkg-shlibdeps.pod
15083 "Prepend I<directory> to the list of directories to search for private shared "
15084 "libraries (since dpkg 1.17.0). This option can be used multiple times."
15088 #: dpkg-shlibdeps.pod
15089 msgid "B<-d>I<dependency-field>"
15093 #: dpkg-shlibdeps.pod
15095 "Add dependencies to be added to the control file dependency field "
15096 "I<dependency-field>. (The dependencies for this field are placed in the "
15097 "variable B<shlibs:>I<dependency-field>.)"
15101 #: dpkg-shlibdeps.pod
15103 "The B<-d>I<dependency-field> option takes effect for all executables after "
15104 "the option, until the next B<-d>I<dependency-field>. The default "
15105 "I<dependency-field> is B<Depends>."
15109 #: dpkg-shlibdeps.pod
15111 "If the same dependency entry (or set of alternatives) appears in more than "
15112 "one of the recognized dependency field names B<Pre-Depends>, B<Depends>, "
15113 "B<Recommends>, B<Enhances> or B<Suggests> then B<dpkg-shlibdeps> will "
15114 "automatically remove the dependency from all fields except the one "
15115 "representing the most important dependencies."
15119 #: dpkg-shlibdeps.pod
15120 msgid "B<-p>I<varname-prefix>"
15124 #: dpkg-shlibdeps.pod
15126 "Start substitution variables with I<varname-prefix>B<:> instead of "
15127 "B<shlibs:>. Likewise, any existing substitution variables starting with "
15128 "I<varname-prefix>B<:> (rather than B<shlibs:>) are removed from the "
15129 "substitution variables file."
15133 #: dpkg-shlibdeps.pod
15135 "Print substitution variable settings to standard output (or I<filename> if "
15136 "specified, since dpkg 1.17.2), rather than being added to the substitution "
15137 "variables file (B<debian/substvars> by default)."
15141 #: dpkg-shlibdeps.pod
15142 msgid "B<-t>I<type>"
15146 #: dpkg-shlibdeps.pod
15148 "Prefer shared library dependency information tagged for the given package "
15149 "type. If no tagged information is available, falls back to untagged "
15150 "information. The default package type is B<deb>. Shared library dependency "
15151 "information is tagged for a given type by prefixing it with the name of the "
15152 "type, a colon, and whitespace."
15156 #: dpkg-shlibdeps.pod
15157 msgid "B<-L>I<local-shlibs-file>"
15161 #: dpkg-shlibdeps.pod
15163 "Read overriding shared library dependency information from "
15164 "I<local-shlibs-file> instead of B<debian/shlibs.local>."
15168 #: dpkg-shlibdeps.pod
15170 "Write substitution variables in I<substvars-file>; the default is "
15171 "B<debian/substvars>."
15175 #: dpkg-shlibdeps.pod
15180 #: dpkg-shlibdeps.pod
15182 "Enable verbose mode (since dpkg 1.14.8). Numerous messages are displayed to "
15183 "explain what B<dpkg-shlibdeps> does."
15187 #: dpkg-shlibdeps.pod
15188 msgid "B<-x>I<package>"
15192 #: dpkg-shlibdeps.pod
15194 "Exclude the package from the generated dependencies (since dpkg 1.14.8). "
15195 "This is useful to avoid self-dependencies for packages which provide ELF "
15196 "binaries (executables or library plugins) using a library contained in the "
15197 "same package. This option can be used multiple times to exclude several "
15202 #: dpkg-shlibdeps.pod
15203 msgid "B<-S>I<package-build-dir>"
15207 #: dpkg-shlibdeps.pod
15209 "Look into I<package-build-dir> first when trying to find a library (since "
15210 "dpkg 1.14.15). This is useful when the source package builds multiple "
15211 "flavors of the same library and you want to ensure that you get the "
15212 "dependency from a given binary package. You can use this option multiple "
15213 "times: directories will be tried in the same order before directories of "
15214 "other binary packages."
15218 #: dpkg-shlibdeps.pod
15219 msgid "B<-I>I<package-build-dir>"
15223 #: dpkg-shlibdeps.pod
15225 "Ignore I<package-build-dir> when looking for shlibs, symbols, and shared "
15226 "library files (since dpkg 1.18.5). You can use this option multiple times."
15230 #: dpkg-shlibdeps.pod
15231 msgid "B<--ignore-missing-info>"
15235 #: dpkg-shlibdeps.pod
15237 "Do not fail if dependency information can't be found for a shared library "
15238 "(since dpkg 1.14.8). Usage of this option is discouraged, all libraries "
15239 "should provide dependency information (either with shlibs files, or with "
15240 "symbols files) even if they are not yet used by other packages."
15244 #: dpkg-shlibdeps.pod
15245 msgid "B<--warnings=>I<value>"
15249 #: dpkg-shlibdeps.pod
15251 "I<value> is a bit field defining the set of warnings that can be emitted by "
15252 "B<dpkg-shlibdeps> (since dpkg 1.14.17). Bit 0 (value=1) enables the warning "
15253 "“symbol I<sym> used by I<binary> found in none of the libraries”, bit 1 "
15254 "(value=2) enables the warning “package could avoid a useless dependency” and "
15255 "bit 2 (value=4) enables the warning “I<binary> should not be linked against "
15256 "I<library>”. The default I<value> is 3: the first two warnings are active "
15257 "by default, the last one is not. Set I<value> to 7 if you want all warnings "
15262 #: dpkg-shlibdeps.pod
15267 #: dpkg-shlibdeps.pod
15269 "Since B<dpkg-shlibdeps> analyzes the set of symbols used by each binary of "
15270 "the generated package, it is able to emit warnings in several cases. They "
15271 "inform you of things that can be improved in the package. In most cases, "
15272 "those improvements concern the upstream sources directly. By order of "
15273 "decreasing importance, here are the various warnings that you can encounter:"
15277 #: dpkg-shlibdeps.pod
15278 msgid "B<symbol> I<sym> B<used by> I<binary> B<found in none of the libraries.>"
15282 #: dpkg-shlibdeps.pod
15284 "The indicated symbol has not been found in the libraries linked with the "
15285 "binary. The I<binary> is most likely a library and it needs to be linked "
15286 "with an additional library during the build process (option B<-l>I<library> "
15291 #: dpkg-shlibdeps.pod
15293 "I<binary> B<contains an unresolvable reference to symbol> I<sym>B<: it's "
15294 "probably a plugin>"
15298 #: dpkg-shlibdeps.pod
15300 "The indicated symbol has not been found in the libraries linked with the "
15301 "binary. The I<binary> is most likely a plugin and the symbol is probably "
15302 "provided by the program that loads this plugin. In theory a plugin doesn't "
15303 "have any SONAME but this binary does have one and as such it could not be "
15304 "clearly identified as such. However the fact that the binary is stored in a "
15305 "non-public directory is a strong indication that's it's not a normal shared "
15306 "library. If the binary is really a plugin, then disregard this warning. But "
15307 "there's always the possibility that it's a real library and that programs "
15308 "linking to it are using an RPATH so that the dynamic loader finds it. In "
15309 "that case, the library is broken and needs to be fixed."
15313 #: dpkg-shlibdeps.pod
15315 "B<package could avoid a useless dependency if> I<binary> B<was not linked "
15316 "against> I<library> B<(it uses none of the library's symbols)>"
15320 #: dpkg-shlibdeps.pod
15322 "None of the I<binaries> that are linked with I<library> use any of the "
15323 "symbols provided by the library. By fixing all the binaries, you would avoid "
15324 "the dependency associated to this library (unless the same dependency is "
15325 "also generated by another library that is really used)."
15329 #: dpkg-shlibdeps.pod
15331 "B<package could avoid a useless dependency if> I<binaries> B<were not linked "
15332 "against> I<library> B<(they use none of the library's symbols)>"
15336 #: dpkg-shlibdeps.pod
15337 msgid "Exactly the same as the above warning, but for multiple binaries."
15341 #: dpkg-shlibdeps.pod
15343 "I<binary> B<should not be linked against> I<library> B<(it uses none of the "
15344 "library's symbols)>"
15348 #: dpkg-shlibdeps.pod
15350 "The I<binary> is linked to a library that it doesn't need. It's not a "
15351 "problem but some small performance improvements in binary load time can be "
15352 "obtained by not linking this library to this binary. This warning checks the "
15353 "same information as the previous one but does it for each binary instead of "
15354 "doing the check globally on all binaries analyzed."
15358 #: dpkg-shlibdeps.pod
15363 #: dpkg-shlibdeps.pod
15365 "B<dpkg-shlibdeps> will fail if it can't find a public library used by a "
15366 "binary or if this library has no associated dependency information (either "
15367 "shlibs file or symbols file). A public library has a SONAME and is versioned "
15368 "(libsomething.so.I<X>). A private library (like a plugin) should not have a "
15369 "SONAME and doesn't need to be versioned."
15373 #: dpkg-shlibdeps.pod
15375 "B<couldn't find library> I<library-soname> B<needed by> I<binary> B<(its "
15376 "RPATH is '>I<rpath>B<')>"
15380 #: dpkg-shlibdeps.pod
15382 "The I<binary> uses a library called I<library-soname> but B<dpkg-shlibdeps> "
15383 "has been unable to find the library. B<dpkg-shlibdeps> creates a list of "
15384 "directories to check as following: directories listed in the RPATH of the "
15385 "binary, directories added by the B<-l> option, directories listed in the "
15386 "B<LD_LIBRARY_PATH> environment variable, cross multiarch directories "
15387 "(ex. /lib/arm64-linux-gnu, /usr/lib/arm64-linux-gnu), standard public "
15388 "directories (/lib, /usr/lib), directories listed in /etc/ld.so.conf, and "
15389 "obsolete multilib directories (/lib32, /usr/lib32, /lib64, /usr/lib64). "
15390 "Then it checks those directories in the package's build tree of the binary "
15391 "being analyzed, in the packages' build trees indicated with the B<-S> "
15392 "command-line option, in other packages' build trees that contains a "
15393 "DEBIAN/shlibs or DEBIAN/symbols file and finally in the root directory. If "
15394 "the library is not found in any of those directories, then you get this "
15399 #: dpkg-shlibdeps.pod
15401 "If the library not found is in a private directory of the same package, then "
15402 "you want to add the directory with B<-l>. If it's in another binary package "
15403 "being built, you want to make sure that the shlibs/symbols file of this "
15404 "package is already created and that B<-l> contains the appropriate directory "
15405 "if it also is in a private directory."
15409 #: dpkg-shlibdeps.pod
15411 "B<no dependency information found for> I<library-file> B<(used by> "
15416 #: dpkg-shlibdeps.pod
15418 "The library needed by I<binary> has been found by B<dpkg-shlibdeps> in "
15419 "I<library-file> but B<dpkg-shlibdeps> has been unable to find any dependency "
15420 "information for that library. To find out the dependency, it has tried to "
15421 "map the library to a Debian package with the help of B<dpkg -S> "
15422 "I<library-file>. Then it checked the corresponding shlibs and symbols files "
15423 "in %ADMINDIR%/info/, and in the various package's build trees "
15424 "(debian/*/DEBIAN/)."
15428 #: dpkg-shlibdeps.pod
15430 "This failure can be caused by a bad or missing shlibs or symbols file in the "
15431 "package of the library. It might also happen if the library is built within "
15432 "the same source package and if the shlibs files has not yet been created (in "
15433 "which case you must fix debian/rules to create the shlibs before calling "
15434 "B<dpkg-shlibdeps>). Bad RPATH can also lead to the library being found under "
15435 "a non-canonical name (example: "
15436 "/usr/lib/openoffice.org/../lib/libssl.so.0.9.8 instead of "
15437 "/usr/lib/libssl.so.0.9.8) that's not associated to any package, "
15438 "B<dpkg-shlibdeps> tries to work around this by trying to fallback on a "
15439 "canonical name (using L<realpath(3)>) but it might not always work. It's "
15440 "always best to clean up the RPATH of the binary to avoid problems."
15444 #: dpkg-shlibdeps.pod
15446 "Calling B<dpkg-shlibdeps> in verbose mode (B<-v>) will provide much more "
15447 "information about where it tried to find the dependency information. This "
15448 "might be useful if you don't understand why it's giving you this error."
15452 #: dpkg-shlibdeps.pod
15454 "L<deb-substvars(5)>, L<deb-shlibs(5)>, L<deb-symbols(5)>, "
15455 "L<dpkg-gensymbols(1)>."
15460 msgid "dpkg-source - Debian source package (.dsc) manipulation tool"
15465 msgid "B<dpkg-source> [I<option>...] I<command>"
15470 msgid "B<dpkg-source> packs and unpacks Debian source archives."
15476 "None of these commands allow multiple options to be combined into one, and "
15477 "they do not allow the value for an option to be specified in a separate "
15483 msgid "B<-x>, B<--extract> I<filename>.dsc [I<output-directory>]"
15489 "Extract a source package (B<--extract> since dpkg 1.17.14). One non-option "
15490 "argument must be supplied, the name of the Debian source control file "
15491 "(B<.dsc>). An optional second non-option argument may be supplied to "
15492 "specify the directory to extract the source package to, this must not "
15493 "exist. If no output directory is specified, the source package is extracted "
15494 "into a directory named I<source>-I<version> under the current working "
15501 "B<dpkg-source> will read the names of the other file(s) making up the source "
15502 "package from the control file; they are assumed to be in the same directory "
15509 "The files in the extracted package will have their permissions and "
15510 "ownerships set to those which would have been expected if the files and "
15511 "directories had simply been created - directories and executable files will "
15512 "be 0777 and plain files will be 0666, both modified by the extractors' "
15513 "umask; if the parent directory is setgid then the extracted directories will "
15514 "be too, and all the files and directories will inherit its group ownership."
15520 "If the source package uses a non-standard format (currently this means all "
15521 "formats except “1.0”), its name will be stored in B<debian/source/format> so "
15522 "that the following builds of the source package use the same format by "
15528 msgid "B<-b>, B<--build> I<directory> [I<format-specific-parameters>]"
15534 "Build a source package (B<--build> since dpkg 1.17.14). The first "
15535 "non-option argument is taken as the name of the directory containing the "
15536 "debianized source tree (i.e. with a debian sub-directory and maybe changes "
15537 "to the original files). Depending on the source package format used to "
15538 "build the package, additional parameters might be accepted."
15544 "B<dpkg-source> will build the source package with the first format found in "
15545 "this ordered list: the format indicated with the I<--format> command line "
15546 "option, the format indicated in B<debian/source/format>, “1.0”. The "
15547 "fallback to “1.0” is deprecated and will be removed at some point in the "
15548 "future, you should always document the desired source format in "
15549 "B<debian/source/format>. See section L</SOURCE PACKAGE FORMATS> for an "
15550 "extensive description of the various source package formats."
15555 msgid "B<--print-format> I<directory>"
15561 "Print the source format that would be used to build the source package if "
15562 "B<dpkg-source --build> I<directory> was called (in the same conditions and "
15563 "with the same parameters; since dpkg 1.15.5)."
15568 msgid "B<--before-build> I<directory>"
15574 "Run the corresponding hook of the source package format (since dpkg "
15575 "1.15.8). This hook is called before any build of the package "
15576 "(B<dpkg-buildpackage> calls it very early even before B<debian/rules "
15577 "clean>). This command is idempotent and can be called multiple times. Not "
15578 "all source formats implement something in this hook, and those that do "
15579 "usually prepare the source tree for the build for example by ensuring that "
15580 "the Debian patches are applied."
15585 msgid "B<--after-build> I<directory>"
15591 "Run the corresponding hook of the source package format (since dpkg "
15592 "1.15.8). This hook is called after any build of the package "
15593 "(B<dpkg-buildpackage> calls it last). This command is idempotent and can be "
15594 "called multiple times. Not all source formats implement something in this "
15595 "hook, and those that do usually use it to undo what B<--before-build> has "
15601 msgid "B<--commit> [I<directory>] ..."
15607 "Record changes in the source tree unpacked in I<directory> (since dpkg "
15608 "1.16.1). This command can take supplementary parameters depending on the "
15609 "source format. It will error out for formats where this operation doesn't "
15616 "Show the usage message and exit. The format specific build and extract "
15617 "options can be shown by using the B<--format> option."
15622 msgid "Generic build options"
15628 "Specifies the main source control file to read information from. The default "
15629 "is B<debian/control>. If given with relative pathname this is interpreted "
15630 "starting at the source tree's top level directory."
15636 "Specifies the changelog file to read information from. The default is "
15637 "B<debian/changelog>. If given with relative pathname this is interpreted "
15638 "starting at the source tree's top level directory."
15643 msgid "B<--format=>I<value>"
15649 "Use the given format for building the source package (since dpkg 1.14.17). "
15650 "It does override any format given in B<debian/source/format>."
15656 "Read substitution variables in I<substvars-file>; the default is to not read "
15657 "any file. This option can be used multiple times to read substitution "
15658 "variables from multiple files (since dpkg 1.15.6)."
15663 msgid "B<-Z>I<compression>, B<--compression>=I<compression>"
15669 "Specify the compression to use for created tarballs and diff files "
15670 "(B<--compression> since dpkg 1.15.5). Note that this option will not cause "
15671 "existing tarballs to be recompressed, it only affects new files. Supported "
15672 "values are: I<gzip>, I<bzip2>, I<lzma> and I<xz>. The default is I<xz> for "
15673 "formats 2.0 and newer, and I<gzip> for format 1.0. I<xz> is only supported "
15674 "since dpkg 1.15.5."
15679 msgid "B<-z>I<level>, B<--compression-level>=I<level>"
15685 "Compression level to use (B<--compression-level> since dpkg 1.15.5). As "
15686 "with B<-Z> it only affects newly created files. Supported values are: I<1> "
15687 "to I<9>, I<best>, and I<fast>. The default is I<9> for gzip and bzip2, I<6> "
15693 msgid "B<-i>[I<regex>], B<--diff-ignore>[=I<regex>]"
15699 "You may specify a perl regular expression to match files you want filtered "
15700 "out of the list of files for the diff (B<--diff-ignore> since dpkg 1.15.6). "
15701 "(This list is generated by a find command.) (If the source package is being "
15702 "built as a version 3 source package using a VCS, this can be used to ignore "
15703 "uncommitted changes on specific files. Using -i.* will ignore all of them.)"
15709 "The B<-i> option by itself enables this setting with a default regex "
15710 "(preserving any modification to the default regex done by a previous use of "
15711 "B<--extend-diff-ignore>) that will filter out control files and directories "
15712 "of the most common revision control systems, backup and swap files and "
15713 "Libtool build output directories. There can only be one active regex, of "
15714 "multiple B<-i> options only the last one will take effect."
15720 "This is very helpful in cutting out extraneous files that get included in "
15721 "the diff, for example if you maintain your source in a revision control "
15722 "system and want to use a checkout to build a source package without "
15723 "including the additional files and directories that it will usually contain "
15724 "(e.g. CVS/, .cvsignore, .svn/). The default regex is already very "
15725 "exhaustive, but if you need to replace it, please note that by default it "
15726 "can match any part of a path, so if you want to match the begin of a "
15727 "filename or only full filenames, you will need to provide the necessary "
15728 "anchors (e.g. ‘(^|/)’, ‘($|/)’) yourself."
15733 msgid "B<--extend-diff-ignore>=I<regex>"
15739 "The perl regular expression specified will extend the default value used by "
15740 "B<--diff-ignore> and its current value, if set (since dpkg 1.15.6). It does "
15741 "this by concatenating “B<|>I<regex>” to the existing value. This option is "
15742 "convenient to use in B<debian/source/options> to exclude some auto-generated "
15743 "files from the automatic patch generation."
15748 msgid "B<-I>[I<file-pattern>], B<--tar-ignore>[=I<file-pattern>]"
15754 "If this option is specified, the pattern will be passed to L<tar(1)>'s "
15755 "B<--exclude> option when it is called to generate a .orig.tar or .tar file "
15756 "(B<--tar-ignore> since dpkg 1.15.6). For example, B<-I>CVS will make tar "
15757 "skip over CVS directories when generating a .tar.gz file. The option may be "
15758 "repeated multiple times to list multiple patterns to exclude."
15764 "B<-I> by itself adds default B<--exclude> options that will filter out "
15765 "control files and directories of the most common revision control systems, "
15766 "backup and swap files and Libtool build output directories."
15772 "B<Note>: While they have similar purposes, B<-i> and B<-I> have very "
15773 "different syntax and semantics. B<-i> can only be specified once and takes a "
15774 "perl compatible regular expression which is matched against the full "
15775 "relative path of each file. B<-I> can specified multiple times and takes a "
15776 "filename pattern with shell wildcards. The pattern is applied to the full "
15777 "relative path but also to each part of the path individually. The exact "
15778 "semantic of tar's B<--exclude> option is somewhat complicated, see "
15779 "L<https://www.gnu.org/software/tar/manual/tar.html#wildcards> for a full "
15786 "The default regex and patterns for both options can be seen in the output of "
15787 "the B<--help> command."
15792 msgid "Generic extract options"
15797 msgid "B<--no-copy>"
15803 "Do not copy original tarballs near the extracted source package (since dpkg "
15809 msgid "B<--no-check>"
15814 msgid "Do not check signatures and checksums before unpacking (since dpkg 1.14.17)."
15819 msgid "B<--no-overwrite-dir>"
15825 "Do not overwrite the extraction directory if it already exists (since dpkg "
15831 msgid "B<--require-valid-signature>"
15837 "Refuse to unpack the source package if it doesn't contain an OpenPGP "
15838 "signature that can be verified (since dpkg 1.15.0) either with the user's "
15839 "I<trustedkeys.gpg> keyring, one of the vendor-specific keyrings, or one of "
15840 "the official Debian keyrings (I</usr/share/keyrings/debian-keyring.gpg>, "
15841 "I</usr/share/keyrings/debian-nonupload.gpg> and "
15842 "I</usr/share/keyrings/debian-maintainers.gpg>)."
15847 msgid "B<--require-strong-checksums>"
15853 "Refuse to unpack the source package if it does not contain any strong "
15854 "checksums (since dpkg 1.18.7). Currently the only known checksum considered "
15855 "strong is B<SHA-256>."
15860 msgid "B<--ignore-bad-version>"
15866 "Turns the bad source package version check into a non-fatal warning (since "
15867 "dpkg 1.17.7). This option should only be necessary when extracting ancient "
15868 "source packages with broken versions, just for backwards compatibility."
15873 msgid "Generic general options"
15879 "Sets the maximum number of threads allowed for compressors that support "
15880 "multi-threaded operations (since dpkg 1.21.14)."
15885 msgid "Sets quiet mode to suppress warnings."
15890 msgid "SOURCE PACKAGE FORMATS"
15896 "If you don't know what source format to use, you should probably pick either "
15897 "“3.0 (quilt)” or “3.0 (native)”. See "
15898 "L<https://wiki.debian.org/Projects/DebSrc3.0> for information on the "
15899 "deployment of those formats within Debian."
15904 msgid "Format: 1.0"
15910 "A source package in this format consists either of a B<.orig.tar.gz> "
15911 "associated to a B<.diff.gz> or a single B<.tar.gz> (in that case the package "
15912 "is said to be I<native>). Optionally the original tarball might be "
15913 "accompanied by a detached upstream signature B<.orig.tar.gz.asc>, extraction "
15914 "supported since dpkg 1.18.5."
15919 msgid "B<Extracting>"
15925 "Extracting a native package is a simple extraction of the single tarball in "
15926 "the target directory. Extracting a non-native package is done by first "
15927 "unpacking the B<.orig.tar.gz> and then applying the patch contained in the "
15928 "B<.diff.gz> file. The timestamp of all patched files is reset to the "
15929 "extraction time of the source package (this avoids timestamp skews leading "
15930 "to problems when autogenerated files are patched). The diff can create new "
15931 "files (the whole debian directory is created that way) but cannot remove "
15932 "files (empty files will be left over) and cannot create or change symlinks."
15937 msgid "B<Building>"
15943 "Building a native package is just creating a single tarball with the source "
15944 "directory. Building a non-native package involves extracting the original "
15945 "tarball in a separate “.orig” directory and regenerating the B<.diff.gz> by "
15946 "comparing the source package I<directory> with the .orig directory."
15951 msgid "B<Build options (with --build):>"
15957 "If a second non-option argument is supplied it should be the name of the "
15958 "original source directory or tarfile or the empty string if the package is a "
15959 "Debian-specific one and so has no debianization diffs. If no second argument "
15960 "is supplied then B<dpkg-source> will look for the original source tarfile "
15961 "I<package>B<_>I<upstream-version>B<.orig.tar.gz> or the original source "
15962 "directory I<directory>B<.orig> depending on the B<-sX> arguments."
15968 "B<-sa>, B<-sp>, B<-sk>, B<-su> and B<-sr> will not overwrite existing "
15969 "tarfiles or directories. If this is desired then B<-sA>, B<-sP>, B<-sK>, "
15970 "B<-sU> and B<-sR> should be used instead."
15976 "Specifies to expect the original source as a tarfile, by default "
15977 "I<package>B<_>I<upstream-version>B<.orig.tar.>I<extension>. It will leave "
15978 "this original source in place as a tarfile, or copy it to the current "
15979 "directory if it isn't already there. The tarball will be unpacked into "
15980 "I<directory>B<.orig> for the generation of the diff."
15990 msgid "Like B<-sk> but will remove the directory again afterwards."
15996 "Specifies that the original source is expected as a directory, by default "
15997 "I<package>B<->I<upstream-version>B<.orig> and B<dpkg-source> will create a "
15998 "new original source archive from it."
16003 msgid "Like B<-su> but will remove that directory after it has been used."
16009 "Specifies that the original source is available both as a directory and as a "
16010 "tarfile. B<dpkg-source> will use the directory to create the diff, but the "
16011 "tarfile to create the B<.dsc>. This option must be used with care - if the "
16012 "directory and tarfile do not match a bad source archive will be generated."
16018 "Specifies to not look for any original source, and to not generate a diff. "
16019 "The second argument, if supplied, must be the empty string. This is used for "
16020 "Debian-specific packages which do not have a separate upstream source and "
16021 "therefore have no debianization diffs."
16026 msgid "B<-sa> or B<-sA>"
16032 "Specifies to look for the original source archive as a tarfile or as a "
16033 "directory - the second argument, if any, may be either, or the empty string "
16034 "(this is equivalent to using B<-sn>). If a tarfile is found it will unpack "
16035 "it to create the diff and remove it afterwards (this is equivalent to "
16036 "B<-sp>); if a directory is found it will pack it to create the original "
16037 "source and remove it afterwards (this is equivalent to B<-sr>); if neither "
16038 "is found it will assume that the package has no debianization diffs, only a "
16039 "straightforward source archive (this is equivalent to B<-sn>). If both are "
16040 "found then B<dpkg-source> will ignore the directory, overwriting it, if "
16041 "B<-sA> was specified (this is equivalent to B<-sP>) or raise an error if "
16042 "B<-sa> was specified. B<-sa> is the default."
16047 msgid "B<--abort-on-upstream-changes>"
16053 "The process fails if the generated diff contains changes to files outside of "
16054 "the debian sub-directory (since dpkg 1.15.8). This option is not allowed in "
16055 "B<debian/source/options> but can be used in B<debian/source/local-options>."
16060 msgid "B<Extract options (with --extract):>"
16065 msgid "In all cases any existing original source tree will be removed."
16071 "Used when extracting then the original source (if any) will be left as a "
16072 "tarfile. If it is not already located in the current directory or if an "
16073 "existing but different file is there it will be copied there. (B<This is "
16079 msgid "Unpacks the original source tree."
16085 "Ensures that the original source is neither copied to the current directory "
16086 "nor unpacked. Any original source tree that was in the current directory is "
16093 "All the B<-s>I<X> options are mutually exclusive. If you specify more than "
16094 "one only the last one will be used."
16099 msgid "B<--skip-debianization>"
16105 "Skips application of the debian diff on top of the upstream sources (since "
16111 msgid "Format: 2.0"
16117 "Extraction supported since dpkg 1.13.9, building supported since dpkg "
16118 "1.14.8. Also known as wig&pen. This format is not recommended for "
16119 "wide-spread usage, the format “3.0 (quilt)” replaces it. Wig&pen was the "
16120 "first specification of a new-generation source package format."
16126 "The behavior of this format is the same as the “3.0 (quilt)” format except "
16127 "that it doesn't use an explicit list of patches. All files in "
16128 "B<debian/patches/> matching the perl regular expression B<[\\w-]+> must be "
16129 "valid patches: they are applied at extraction time."
16135 "When building a new source package, any change to the upstream source is "
16136 "stored in a patch named B<zz_debian-diff-auto>."
16141 msgid "Format: 3.0 (native)"
16147 "Supported since dpkg 1.14.17. This format is an extension of the native "
16148 "package format as defined in the 1.0 format. It supports all compression "
16149 "methods and will ignore by default any VCS specific files and directories as "
16150 "well as many temporary files (see default value associated to B<-I> option "
16151 "in the B<--help> output)."
16156 msgid "Format: 3.0 (quilt)"
16162 "Supported since dpkg 1.14.17. A source package in this format contains at "
16163 "least an original tarball (B<.orig.tar.>I<ext> where I<ext> can be B<gz>, "
16164 "B<bz2>, B<lzma> and B<xz>) and a debian tarball (B<.debian.tar.>I<ext>). It "
16165 "can also contain additional original tarballs "
16166 "(B<.orig->I<component>B<.tar.>I<ext>). I<component> can only contain "
16167 "alphanumeric (‘a-zA-Z0-9’) characters and hyphens (‘-’). Optionally each "
16168 "original tarball can be accompanied by a detached upstream signature "
16169 "(B<.orig.tar.>I<ext>B<.asc> and B<.orig->I<component>B<.tar.>I<ext>B<.asc>), "
16170 "extraction supported since dpkg 1.17.20, building supported since dpkg "
16177 "The main original tarball is extracted first, then all additional original "
16178 "tarballs are extracted in subdirectories named after the I<component> part "
16179 "of their filename (any pre-existing directory is replaced). The debian "
16180 "tarball is extracted on top of the source directory after prior removal of "
16181 "any pre-existing B<debian> directory. Note that the debian tarball must "
16182 "contain a B<debian> sub-directory but it can also contain binary files "
16183 "outside of that directory (see B<--include-binaries> option)."
16189 "All patches listed in B<debian/patches/>I<vendor>B<.series> or "
16190 "B<debian/patches/series> are then applied, where I<vendor> will be the "
16191 "lowercase name of the current vendor, or B<debian> if there is no vendor "
16192 "defined. If the former file is used and the latter one doesn't exist (or is "
16193 "a symlink), then the latter is replaced with a symlink to the former. This "
16194 "is meant to simplify usage of B<quilt> to manage the set of patches. "
16195 "Vendor-specific series files are intended to make it possible to serialize "
16196 "multiple development branches based on the vendor, in a declarative way, in "
16197 "preference to open-coding this handling in B<debian/rules>. This is "
16198 "particularly useful when the source would need to be patched conditionally "
16199 "because the affected files do not have built-in conditional occlusion "
16200 "support. Note however that while B<dpkg-source> parses correctly series "
16201 "files with explicit options used for patch application (stored on each line "
16202 "after the patch filename and one or more spaces), it does ignore those "
16203 "options and always expects patches that can be applied with the B<-p1> "
16204 "option of B<patch>. It will thus emit a warning when it encounters such "
16205 "options, and the build is likely to fail."
16211 "Note that L<lintian(1)> will emit unconditional warnings when using vendor "
16212 "series due to a controversial Debian specific ruling, which should not "
16213 "affect any external usage; to silence these, the dpkg lintian profile can be "
16214 "used by passing «B<--profile dpkg>» to L<lintian(1)>."
16220 "The timestamp of all patched files is reset to the extraction time of the "
16221 "source package (this avoids timestamp skews leading to problems when "
16222 "autogenerated files are patched)."
16228 "Contrary to B<quilt>'s default behavior, patches are expected to apply "
16229 "without any fuzz. When that is not the case, you should refresh such patches "
16230 "with B<quilt>, or B<dpkg-source> will error out while trying to apply them."
16235 msgid "Similarly to B<quilt>'s default behavior, the patches can remove files too."
16241 "The file B<.pc/applied-patches> is created if some patches have been applied "
16242 "during the extraction."
16248 "All original tarballs found in the current directory are extracted in a "
16249 "temporary directory by following the same logic as for the unpack, the "
16250 "debian directory is copied over in the temporary directory, and all patches "
16251 "except the automatic patch (B<debian-changes->I<version> or "
16252 "B<debian-changes>, depending on B<--single-debian-patch>) are applied. The "
16253 "temporary directory is compared to the source package directory. When the "
16254 "diff is non-empty, the build fails unless B<--single-debian-patch> or "
16255 "B<--auto-commit> has been used, in which case the diff is stored in the "
16256 "automatic patch. If the automatic patch is created/deleted, it's "
16257 "added/removed from the series file and from the B<quilt> metadata."
16263 "Any change on a binary file is not representable in a diff and will thus "
16264 "lead to a failure unless the maintainer deliberately decided to include that "
16265 "modified binary file in the debian tarball (by listing it in "
16266 "B<debian/source/include-binaries>). The build will also fail if it finds "
16267 "binary files in the debian sub-directory unless they have been allowed "
16268 "through B<debian/source/include-binaries>."
16274 "The updated debian directory and the list of modified binaries is then used "
16275 "to generate the debian tarball."
16281 "The automatically generated diff doesn't include changes on VCS specific "
16282 "files as well as many temporary files (see default value associated to B<-i> "
16283 "option in the B<--help> output). In particular, the B<.pc> directory used by "
16284 "B<quilt> is ignored during generation of the automatic patch."
16290 "B<Note>: B<dpkg-source> B<--before-build> (and B<--build>) will ensure that "
16291 "all patches listed in the series file are applied so that a package build "
16292 "always has all patches applied. It does this by finding unapplied patches "
16293 "(they are listed in the B<series> file but not in B<.pc/applied-patches>), "
16294 "and if the first patch in that set can be applied without errors, it will "
16295 "apply them all. The option B<--no-preparation> can be used to disable this "
16301 msgid "B<Recording changes>"
16306 msgid "B<--commit> [I<directory>] [I<patch-name>] [I<patch-file>]"
16312 "Generates a patch corresponding to the local changes that are not managed by "
16313 "the B<quilt> patch system and integrates it in the patch system under the "
16314 "name I<patch-name>. If the name is missing, it will be asked "
16315 "interactively. If I<patch-file> is given, it is used as the patch "
16316 "corresponding to the local changes to integrate. Once integrated, an editor "
16317 "(the first one found from B<sensible-editor>, C<$VISUAL>, C<$EDITOR>, B<vi>) "
16318 "is launched so that you can edit the meta-information in the patch header."
16324 "Passing I<patch-file> is mainly useful after a build failure that "
16325 "pre-generated this file, and on this ground the given file is removed after "
16326 "integration. Note also that the changes contained in the patch file must "
16327 "already be applied on the tree and that the files modified by the patch must "
16328 "not have supplementary unrecorded changes."
16334 "If the patch generation detects modified binary files, they will be "
16335 "automatically added to B<debian/source/include-binaries> so that they end up "
16336 "in the debian tarball (exactly like B<dpkg-source --include-binaries "
16337 "--build> would do)."
16342 msgid "B<Build options>"
16347 msgid "B<--allow-version-of-quilt-db=>I<version>"
16353 "Allow B<dpkg-source> to build the source package if the version of the "
16354 "B<quilt> metadata is the one specified, even if B<dpkg-source> doesn't know "
16355 "about it (since dpkg 1.15.5.4). Effectively this says that the given "
16356 "version of the B<quilt> metadata is compatible with the version 2 that "
16357 "B<dpkg-source> currently supports. The version of the B<quilt> metadata is "
16358 "stored in B<.pc/.version>."
16363 msgid "B<--include-removal>"
16369 "Do not ignore removed files and include them in the automatically generated "
16375 msgid "B<--include-timestamp>"
16380 msgid "Include timestamp in the automatically generated patch."
16385 msgid "B<--include-binaries>"
16391 "Add all modified binaries in the debian tarball. Also add them to "
16392 "B<debian/source/include-binaries>: they will be added by default in "
16393 "subsequent builds and this option is thus no more needed."
16398 msgid "B<--no-preparation>"
16404 "Do not try to prepare the build tree by applying patches which are "
16405 "apparently unapplied (since dpkg 1.14.18)."
16410 msgid "B<--single-debian-patch>"
16416 "Use B<debian/patches/debian-changes> instead of "
16417 "B<debian/patches/debian-changes->I<version> for the name of the automatic "
16418 "patch generated during build (since dpkg 1.15.5.4). This option is "
16419 "particularly useful when the package is maintained in a VCS and a patch set "
16420 "can't reliably be generated. Instead the current diff with upstream should "
16421 "be stored in a single patch. The option would be put in "
16422 "B<debian/source/local-options> and would be accompanied by a "
16423 "B<debian/source/local-patch-header> file explaining how the Debian changes "
16424 "can be best reviewed, for example in the VCS that is used."
16429 msgid "B<--create-empty-orig>"
16435 "Automatically create the main original tarball as empty if it's missing and "
16436 "if there are supplementary original tarballs (since dpkg 1.15.6). This "
16437 "option is meant to be used when the source package is just a bundle of "
16438 "multiple upstream software and where there's no “main” software."
16443 msgid "B<--no-unapply-patches, --unapply-patches>"
16449 "By default, B<dpkg-source> will automatically unapply the patches in the "
16450 "B<--after-build> hook if it did apply them during B<--before-build> "
16451 "(B<--unapply-patches> since dpkg 1.15.8, B<--no-unapply-patches> since dpkg "
16452 "1.16.5). Those options allow you to forcefully disable or enable the patch "
16453 "unapplication process. Those options are only allowed in "
16454 "B<debian/source/local-options> so that all generated source packages have "
16455 "the same behavior by default."
16461 "The process fails if an automatic patch has been generated (since dpkg "
16462 "1.15.8). This option can be used to ensure that all changes were properly "
16463 "recorded in separate B<quilt> patches prior to the source package "
16464 "build. This option is not allowed in B<debian/source/options> but can be "
16465 "used in B<debian/source/local-options>."
16470 msgid "B<--auto-commit>"
16476 "The process doesn't fail if an automatic patch has been generated, instead "
16477 "it's immediately recorded in the B<quilt> series."
16482 msgid "B<Extract options>"
16488 "Skips extraction of the debian tarball on top of the upstream sources (since "
16494 msgid "B<--skip-patches>"
16499 msgid "Do not apply patches at the end of the extraction (since dpkg 1.14.18)."
16504 msgid "Format: 3.0 (custom)"
16510 "Supported since dpkg 1.14.17. This format is special. It doesn't represent "
16511 "a real source package format but can be used to create source packages with "
16518 "All non-option arguments are taken as files to integrate in the generated "
16519 "source package. They must exist and are preferably in the current "
16520 "directory. At least one file must be given."
16525 msgid "B<--target-format=>I<value>"
16531 "B<Required>. Defines the real format of the generated source package. The "
16532 "generated .dsc file will contain this value in its B<Format> field and not "
16538 msgid "Format: 3.0 (git)"
16543 msgid "Supported since dpkg 1.14.17. This format is experimental."
16549 "A source package in this format consists of a single bundle of a git "
16550 "repository B<.git> to hold the source of a package. There may also be a "
16551 "B<.gitshallow> file listing revisions for a shallow git clone."
16557 "The bundle is cloned as a git repository to the target directory. If there "
16558 "is a gitshallow file, it is installed as I<.git/shallow> inside the cloned "
16565 "Note that by default the new repository will have the same branch checked "
16566 "out that was checked out in the original source. (Typically “main”, but it "
16567 "could be anything.) Any other branches will be available under "
16568 "I<remotes/origin/>."
16574 "Before going any further, some checks are done to ensure that we don't have "
16575 "any non-ignored uncommitted changes."
16581 "L<git-bundle(1)> is used to generate a bundle of the git repository. By "
16582 "default, all branches and tags in the repository are included in the bundle."
16587 msgid "B<--git-ref=>I<ref>"
16593 "Allows specifying a git ref to include in the git bundle. Use disables the "
16594 "default behavior of including all branches and tags. May be specified "
16595 "multiple times. The I<ref> can be the name of a branch or tag to include. It "
16596 "may also be any parameter that can be passed to L<git-rev-list(1)>. For "
16597 "example, to include only the main branch, use B<--git-ref=>main. To include "
16598 "all tags and branches, except for the private branch, use B<--git-ref=>--all "
16599 "B<--git-ref=>^private"
16604 msgid "B<--git-depth=>I<number>"
16610 "Creates a shallow clone with a history truncated to the specified number of "
16616 msgid "Format: 3.0 (bzr)"
16622 "Supported since dpkg 1.14.17. This format is experimental. It generates a "
16623 "single tarball containing the bzr repository."
16628 msgid "The tarball is unpacked and then bzr is used to checkout the current branch."
16634 "Then the VCS specific part of the source directory is copied over to a "
16635 "temporary directory. Before this temporary directory is packed in a tarball, "
16636 "various cleanup are done to save space."
16641 msgid "no source format specified in debian/source/format"
16647 "The file B<debian/source/format> should always exist and indicate the "
16648 "desired source format. For backwards compatibility, format “1.0” is assumed "
16649 "when the file doesn't exist but you should not rely on this: at some point "
16650 "in the future B<dpkg-source> will be modified to fail when that file doesn't "
16657 "The rationale is that format “1.0” is no longer the recommended format, you "
16658 "should usually pick one of the newer formats (“3.0 (quilt)”, “3.0 (native)”) "
16659 "but B<dpkg-source> will not do this automatically for you. If you want to "
16660 "continue using the old format, you should be explicit about it and put “1.0” "
16661 "in B<debian/source/format>."
16666 msgid "the diff modifies the following upstream files"
16672 "When using source format “1.0” it is usually a bad idea to modify upstream "
16673 "files directly as the changes end up hidden and mostly undocumented in the "
16674 ".diff.gz file. Instead you should store your changes as patches in the "
16675 "debian directory and apply them at build-time. To avoid this complexity you "
16676 "can also use the format “3.0 (quilt)” that offers this natively."
16681 msgid "cannot represent change to I<file>"
16687 "Changes to upstream sources are usually stored with patch files, but not all "
16688 "changes can be represented with patches: they can only alter the content of "
16689 "plain text files. If you try replacing a file with something of a different "
16690 "type (for example replacing a plain file with a symlink or a directory), you "
16691 "will get this error message."
16696 msgid "newly created empty file I<file> will not be represented in diff"
16702 "Empty files can't be created with patch files. Thus this change is not "
16703 "recorded in the source package and you are warned about it."
16708 msgid "executable mode I<perms> of I<file> will not be represented in diff"
16714 "Patch files do not record permissions of files and thus executable "
16715 "permissions are not stored in the source package. This warning reminds you "
16721 msgid "special mode I<perms> of I<file> will not be represented in diff"
16727 "Patch files do not record permissions of files and thus modified permissions "
16728 "are not stored in the source package. This warning reminds you of that fact."
16734 "If set, it will be used as the timestamp (as seconds since the epoch) to "
16735 "clamp the mtime in the L<tar(5)> file entries."
16750 msgid "Used by the “2.0” and “3.0 (quilt)” source format modules."
16760 msgid "B<GIT_INDEX_FILE>"
16765 msgid "B<GIT_OBJECT_DIRECTORY>"
16770 msgid "B<GIT_ALTERNATE_OBJECT_DIRECTORIES>"
16775 msgid "B<GIT_WORK_TREE>"
16780 msgid "Used by the “3.0 (git)” source format modules."
16785 msgid "debian/source/format"
16791 "This file contains on a single line the format that should be used to build "
16792 "the source package (possible formats are described above). No leading or "
16793 "trailing spaces are allowed."
16798 msgid "debian/source/include-binaries"
16804 "This file contains a list of pathnames of binary files (one per line) "
16805 "relative to the source root directory that should be included in the debian "
16806 "tarball. Leading and trailing spaces are stripped. Lines starting with "
16807 "‘B<#>’ are comments and are skipped. Empty lines are ignored."
16812 msgid "debian/source/options"
16818 "This file contains a list of long options that should be automatically "
16819 "prepended to the set of command line options of a B<dpkg-source --build> or "
16820 "B<dpkg-source --print-format> call. Options like B<--compression> and "
16821 "B<--compression-level> are well suited for this file."
16827 "Each option should be put on a separate line. Empty lines and lines starting "
16828 "with ‘B<#>’ are ignored. The leading ‘B<-->’ should be stripped and short "
16829 "options are not allowed. Optional spaces are allowed around the ‘B<=>’ "
16830 "symbol and optional quotes are allowed around the value. Here's an example "
16838 " # let dpkg-source create a debian.tar.bz2 with maximal compression\n"
16839 " compression = \"bzip2\"\n"
16840 " compression-level = 9\n"
16841 " # use debian/patches/debian-changes as automatic patch\n"
16842 " single-debian-patch\n"
16843 " # ignore changes on config.{sub,guess}\n"
16844 " extend-diff-ignore = \"(^|/)(config.sub|config.guess)$\"\n"
16851 "B<Note>: B<format> options are not accepted in this file, you should use "
16852 "B<debian/source/format> instead."
16857 msgid "debian/source/local-options"
16863 "Exactly like B<debian/source/options> except that the file is not included "
16864 "in the generated source package. It can be useful to store a preference tied "
16865 "to the maintainer or to the VCS repository where the source package is "
16871 msgid "debian/source/local-patch-header"
16876 msgid "debian/source/patch-header"
16882 "Free form text that is put on top of the automatic patch generated in "
16883 "formats “2.0” or “3.0 (quilt)”. B<local-patch-header> is not included in the "
16884 "generated source package while B<patch-header> is."
16889 msgid "debian/patches/I<vendor>.series"
16894 msgid "debian/patches/series"
16900 "This file lists all patches that have to be applied (in the given order) on "
16901 "top of the upstream source package. Leading and trailing spaces are "
16902 "stripped. The I<vendor> will be the lowercase name of the current vendor, "
16903 "or B<debian> if there is no vendor defined. If the vendor-specific series "
16904 "file does not exist, the vendor-less series file will be used. Lines "
16905 "starting with ‘B<#>’ are comments and are skipped. Empty lines are "
16906 "ignored. Remaining lines start with a patch filename (relative to the "
16907 "B<debian/patches/> directory) up to the first space character or the end of "
16908 "line. Optional B<quilt> options can follow up to the end of line or the "
16909 "first ‘B<#>’ preceded by one or more spaces (which marks the start of a "
16910 "comment up to the end of line)."
16916 "Examining untrusted source packages or extracting them into staging "
16917 "directories should be considered a security boundary, and any breakage of "
16918 "that boundary stemming from these operations should be considered a security "
16919 "vulnerability. But handling untrusted source packages should not be done "
16920 "lightly, as the surface area includes any compression command supported, "
16921 "commands to handle specific data formats (such as L<tar(1)> or L<patch(1)>) "
16922 "in addition to the source package formats and control files themselves. "
16923 "Performing these operations over untrusted data as root is strongly "
16929 msgid "Building source packages should only be performed over trusted data."
16935 "The point at which field overriding occurs compared to certain standard "
16936 "output field settings is rather confused."
16941 msgid "L<deb-src-control(5)>, L<deb-changelog(5)>, L<deb-substvars(5)>, L<dsc(5)>."
16946 msgid "dpkg-split - Debian package archive split/join tool"
16951 msgid "B<dpkg-split> [I<option>...] I<command>"
16957 "B<dpkg-split> splits Debian binary package files into smaller parts and "
16958 "reassembles them again, to support the storage of large package files on "
16959 "small media such as floppy disks."
16965 "It can be operated manually using the B<--split>, B<--join> and B<--info> "
16972 "It also has an automatic mode, invoked using the B<--auto> option, where it "
16973 "maintains a queue of parts seen but not yet reassembled and reassembles a "
16974 "package file when it has seen all of its parts. The B<--listq> and "
16975 "B<--discard> options allow the management of the queue."
16981 "All splitting, joining and queueing operations produce informative messages "
16982 "on standard output; these may safely be ignored."
16987 msgid "B<-s>, B<--split> I<complete-archive> [I<prefix>]"
16992 msgid "Splits a single Debian binary package into several parts."
16998 "The parts are named I<prefix>B<.>I<N>B<of>I<M>B<.deb> where I<N> is the part "
16999 "number, starting at 1, and I<M> is the total number of parts (both in "
17006 "If no I<prefix> is supplied then the I<complete-archive> filename is taken, "
17007 "including directory, with any trailing B<.deb> removed."
17012 msgid "B<-j>, B<--join> I<part>..."
17018 "Joins the parts of a package file together, reassembling the original file "
17019 "as it was before it was split."
17025 "The part files given as arguments must be all the parts of exactly the same "
17026 "original binary file. Each part must occur exactly once in the argument "
17027 "list, though the parts to not need to be listed in order."
17033 "The parts must of course all have been generated with the same part size "
17034 "specified at split time, which means that they must usually have been "
17035 "generated by the same invocation of B<dpkg-split --split>."
17040 msgid "The parts' filenames are not significant for the reassembly process."
17046 "By default the output file is called "
17047 "I<package>B<_>I<version>B<_>I<arch>B<.deb>."
17052 msgid "B<-I>, B<--info> I<part>..."
17058 "Prints information, in a human-readable format, about the part file(s) "
17059 "specified. Arguments which are not binary package parts produce a message "
17060 "saying so instead (but still on standard output)."
17065 msgid "B<-a>, B<--auto -o> I<complete-output> I<part>"
17070 msgid "Automatically queue parts and reassemble a package if possible."
17076 "The I<part> specified is examined, and compared with other parts of the same "
17077 "package (if any) in the queue of packages file parts."
17083 "If all parts of the package file of which I<part> is a part are available "
17084 "then the package is reassembled and written to I<complete-output> (which "
17085 "should not usually already exist, though this is not an error)."
17091 "If not then the I<part> is copied into the queue and I<complete-output> is "
17098 "If I<part> is not a split binary package part then B<dpkg-split> will exit "
17099 "with status B<1>; if some other trouble occurs then it will exit with status "
17106 "The B<--output> or B<-o> option must be supplied when using B<--auto>. (If "
17107 "this were not mandatory the calling program would not know what output file "
17113 msgid "B<-l>, B<--listq>"
17118 msgid "Lists the contents of the queue of packages to be reassembled."
17124 "For each package file of which parts are in the queue the output gives the "
17125 "name of the package, the parts in the queue, and the total number of bytes "
17126 "stored in the queue."
17131 msgid "B<-d>, B<--discard> [I<package>...]"
17137 "This discards parts from the queue of those waiting for the remaining parts "
17138 "of their packages."
17144 "If no I<package> is specified then the queue is cleared completely; if any "
17145 "are specified then only parts of the relevant package(s) are deleted."
17150 msgid "B<--depotdir> I<directory>"
17156 "Specifies an alternative directory for the queue of parts awaiting automatic "
17157 "reassembly. The default is B<%ADMINDIR%/parts>."
17163 "Set the administrative directory to I<directory> (since dpkg 1.21.10). This "
17164 "is where the I<statoverride> file is stored. Defaults to «I<%ADMINDIR%>» if "
17165 "B<DPKG_ADMINDIR> has not been set."
17171 "Set the root directory to B<directory> (since dpkg 1.21.10), which sets the "
17172 "installation directory to «I<directory>» and the administrative directory to "
17173 "«I<directory>B<%ADMINDIR%>» if B<DPKG_ROOT> has not been set."
17178 msgid "B<-S>, B<--partsize> I<kibibytes>"
17184 "Specifies the maximum part size when splitting, in kibibytes (1024 "
17185 "bytes). The default is 450 KiB."
17190 msgid "B<-o>, B<--output> I<complete-output>"
17195 msgid "Specifies the output file name for a reassembly."
17201 "This overrides the default for a manual reassembly (B<--join>) and is "
17202 "mandatory for an automatic queue-or-reassemble (B<--auto>)."
17207 msgid "B<-Q>, B<--npquiet>"
17213 "When doing automatic queue-or-reassembly B<dpkg-split> usually prints a "
17214 "message if it is given a I<part> that is not a binary package part. This "
17215 "option suppresses this message, to allow programs such as B<dpkg> to cope "
17216 "with both split and unsplit packages without producing spurious messages."
17226 msgid "Forces the output filenames generated by B<--split> to be MSDOS-compatible."
17232 "This mangles the prefix - either the default derived from the input filename "
17233 "or the one supplied as an argument: alphanumerics are lowercased, plus signs "
17234 "are replaced by B<x>'s and all other characters are discarded."
17240 "The result is then truncated as much as is necessary, and filenames of the "
17241 "form I<prefixN>B<of>I<M>B<.deb> are generated."
17247 "The requested split, merge, or other command succeeded. B<--info> commands "
17248 "count as successful even if the files are not binary package parts."
17254 "Only occurs with B<--auto> and indicates that the I<part> file was not a "
17255 "binary package part."
17261 "Fatal or unrecoverable error due to invalid command-line usage, a file that "
17262 "looked like a package part file but was corrupted, or interactions with the "
17263 "system, such as accesses to the database, memory allocations, etc."
17269 "If set and B<--root> option has not been specified, it will be used as the "
17270 "filesystem root directory (since dpkg 1.21.10)."
17276 "If set and the B<--admindir> or B<--root> options have not been specified, "
17277 "it will be used as the B<dpkg> data directory (since dpkg 1.21.10)."
17283 "If set, it will be used as the timestamp (as seconds since the epoch) in the "
17284 "L<deb-split(5)>'s L<ar(5)> container."
17289 msgid "I<%ADMINDIR%/parts>"
17294 msgid "The default queue directory for part files awaiting automatic reassembly."
17300 "The filenames used in this directory are in a format internal to "
17301 "B<dpkg-split> and are unlikely to be useful to other programs, and in any "
17302 "case the filename format should not be relied upon."
17308 "Examining or joining untrusted split package archives should be considered a "
17309 "security boundary, and any breakage of that boundary stemming from these "
17310 "operations should be considered a security vulnerability. Performing these "
17311 "operations over untrusted data as root is strongly discouraged."
17317 "Auto-accumulating and discarding split package parts are considered "
17318 "privileged operations that might allow root escalation. These operations "
17319 "must never be delegated to an untrusted user or be done on untrusted "
17320 "packages, as that might allow root access to the system."
17325 msgid "Splitting package archives should only be performed over trusted data."
17331 "Full details of the packages in the queue are impossible to get without "
17332 "digging into the queue directory yourself."
17338 "There is no easy way to test whether a file that may be a binary package "
17344 msgid "L<deb(5)>, L<deb-control(5)>, L<dpkg-deb(1)>, L<dpkg(1)>."
17348 #: dpkg-statoverride.pod
17349 msgid "dpkg-statoverride - override ownership and mode of files"
17353 #: dpkg-statoverride.pod
17354 msgid "B<dpkg-statoverride> [I<option>...] I<command>"
17358 #: dpkg-statoverride.pod
17360 "“B<stat overrides>” are a way to tell L<dpkg(1)> to use a different owner or "
17361 "mode for a path when a package is installed (this applies to any filesystem "
17362 "object that B<dpkg> handles, including directories, devices, etc.). This can "
17363 "be used to force programs that are normally setuid to be install without a "
17364 "setuid flag, or only executable by a certain group."
17368 #: dpkg-statoverride.pod
17370 "B<dpkg-statoverride> is a utility to manage the list of stat overrides. It "
17371 "has three basic functions: adding, removing and listing overrides."
17375 #: dpkg-statoverride.pod
17376 msgid "B<--add> I<user group mode path>"
17380 #: dpkg-statoverride.pod
17382 "Add an override for I<path>. I<path> does not need to exist nor be known to "
17383 "B<dpkg> when this command is used; the override will be stored and used "
17384 "later. Users and groups can be specified by their name (for example B<root> "
17385 "or B<nobody>), or by their number by prepending the number with a ‘B<#>’ "
17386 "(for example B<#0> or B<#65534>). The I<mode> needs to be specified in "
17391 #: dpkg-statoverride.pod
17393 "If B<--update> is specified and I<path> exists, it is immediately set to the "
17394 "new owner and mode."
17398 #: dpkg-statoverride.pod
17399 msgid "B<--remove> I<path>"
17403 #: dpkg-statoverride.pod
17405 "Remove an override for I<path>, the status of I<path> is left unchanged by "
17410 #: dpkg-statoverride.pod
17412 "List all overrides. If a glob pattern is specified restrict the output to "
17413 "overrides which match the glob."
17417 #: dpkg-statoverride.pod dpkg.pod
17418 msgid "B<--force-help>"
17422 #: dpkg-statoverride.pod
17423 msgid "Give help about the B<--force->I<thing> options (since dpkg 1.19.5)."
17427 #: dpkg-statoverride.pod
17429 "Set the administrative directory to I<directory>. This is where the "
17430 "I<statoverride> file is stored. Defaults to «I<%ADMINDIR%>» if "
17431 "B<DPKG_ADMINDIR> has not been set."
17435 #: dpkg-statoverride.pod dpkg.pod
17436 msgid "B<--force->I<things>"
17440 #: dpkg-statoverride.pod dpkg.pod
17441 msgid "B<--no-force->I<things>, B<--refuse->I<things>"
17445 #: dpkg-statoverride.pod
17447 "Force or refuse (B<no-force> and B<refuse> mean the same thing) to do some "
17448 "things (since dpkg 1.19.5). I<things> is a comma separated list of things "
17449 "specified below. B<--force-help> displays a message describing them. "
17450 "Things marked with (*) are forced by default."
17454 #: dpkg-statoverride.pod
17456 "B<Warning>: These options are mostly intended to be used by experts only. "
17457 "Using them without fully understanding their effects may break your whole "
17462 #: dpkg-statoverride.pod dpkg.pod
17467 #: dpkg-statoverride.pod dpkg.pod
17468 msgid "Turns on (or off) all force options."
17472 #: dpkg-statoverride.pod dpkg.pod
17473 msgid "B<statoverride-add>:"
17477 #: dpkg-statoverride.pod dpkg.pod
17478 msgid "Overwrite an existing stat override when adding it (since dpkg 1.19.5)."
17482 #: dpkg-statoverride.pod dpkg.pod
17483 msgid "B<statoverride-remove>:"
17487 #: dpkg-statoverride.pod dpkg.pod
17488 msgid "Ignore a missing stat override when removing it (since dpkg 1.19.5)."
17492 #: dpkg-statoverride.pod dpkg.pod
17493 msgid "B<security-mac>(*):"
17497 #: dpkg-statoverride.pod dpkg.pod
17499 "Use platform-specific Mandatory Access Controls (MAC) based security when "
17500 "installing files into the filesystem (since dpkg 1.19.5). On Linux systems "
17501 "the implementation uses SELinux."
17505 #: dpkg-statoverride.pod dpkg.pod
17506 msgid "B<not-root>:"
17510 #: dpkg-statoverride.pod
17511 msgid "Try to (de)install things even when not root (since dpkg 1.21.8)."
17515 #: dpkg-statoverride.pod update-alternatives.pod
17520 #: dpkg-statoverride.pod
17522 "Force an action, even if a sanity check would otherwise prohibit it. This "
17523 "is necessary to override an existing override. This option is deprecated "
17524 "(since dpkg 1.19.5), it is replaced by B<--force-all>."
17528 #: dpkg-statoverride.pod
17529 msgid "B<--update>"
17533 #: dpkg-statoverride.pod
17535 "Immediately try to change the I<path> to the new owner and mode if it "
17540 #: dpkg-statoverride.pod
17541 msgid "Be less verbose about what we do."
17545 #: dpkg-statoverride.pod
17546 msgid "For B<--list>, if there are no overrides or none match the supplied glob."
17550 #: dpkg-statoverride.pod dpkg.pod
17551 msgid "B<DPKG_FORCE>"
17555 #: dpkg-statoverride.pod
17557 "If set and none of the B<--force->I<...> options have been specified, it "
17558 "will be used as the force options to use (since dpkg 1.19.5)."
17562 #: dpkg-statoverride.pod
17563 msgid "I<%ADMINDIR%/statoverride>"
17567 #: dpkg-statoverride.pod
17569 "File which contains the current list of stat overrides of the system. It is "
17570 "located in the B<dpkg> administration directory, along with other files "
17571 "important to B<dpkg>, such as I<status> or I<available>."
17575 #: dpkg-statoverride.pod
17577 "B<Note>: B<dpkg-statoverride> preserves the old copy of this file, with "
17578 "extension “-old”, before replacing it with the new one."
17582 #: dpkg-trigger.pod
17583 msgid "dpkg-trigger - a package trigger utility"
17587 #: dpkg-trigger.pod
17588 msgid "B<dpkg-trigger> [I<option>...] I<trigger-name>"
17592 #: dpkg-trigger.pod
17593 msgid "B<dpkg-trigger> [I<option>...] I<command>"
17597 #: dpkg-trigger.pod
17599 "B<dpkg-trigger> is a tool to explicitly activate triggers and check for its "
17600 "support on the running B<dpkg>."
17604 #: dpkg-trigger.pod
17606 "This can be used by maintainer scripts in complex and conditional situations "
17607 "where the file triggers, or the declarative B<activate> triggers control "
17608 "file directive, are insufficiently rich. It can also be used for testing and "
17609 "by system administrators (but note that the triggers won't actually be run "
17610 "by B<dpkg-trigger>)."
17614 #: dpkg-trigger.pod
17615 msgid "Unrecognized trigger name syntaxes are an error for B<dpkg-trigger>."
17619 #: dpkg-trigger.pod
17620 msgid "This program was introduced in dpkg 1.14.17."
17624 #: dpkg-trigger.pod
17625 msgid "B<--check-supported>"
17629 #: dpkg-trigger.pod
17631 "Check if the running B<dpkg> supports triggers (usually called from a "
17632 "postinst). Will exit B<0> if a triggers-capable B<dpkg> has run, or B<1> "
17633 "with an error message to stderr if not. Normally, however, it is better just "
17634 "to activate the desired trigger with B<dpkg-trigger>."
17638 #: dpkg-trigger.pod
17640 "Change the location of the B<dpkg> database. Defaults to I<%ADMINDIR%> if "
17641 "B<DPKG_ADMINDIR> has not been set."
17645 #: dpkg-trigger.pod
17646 msgid "B<--by-package=>I<package>"
17650 #: dpkg-trigger.pod
17652 "Override trigger awaiter (normally set by B<dpkg> through the "
17653 "B<DPKG_MAINTSCRIPT_PACKAGE> environment variable of the maintainer scripts, "
17654 "naming the package to which the script belongs, and this will be used by "
17659 #: dpkg-trigger.pod
17660 msgid "B<--no-await>"
17664 #: dpkg-trigger.pod
17666 "This option arranges that the calling package I<T> (if any) need not await "
17667 "the processing of this trigger; the interested package(s) I<I>, will not be "
17668 "added to I<T>'s trigger processing awaited list and I<T>'s status is "
17669 "unchanged. I<T> may be considered installed even though I<I> may not yet "
17670 "have processed the trigger."
17674 #: dpkg-trigger.pod
17679 #: dpkg-trigger.pod
17681 "This option does the inverse of B<--no-await> (since dpkg 1.17.21). If the "
17682 "interested package has declared a “noawait” directive, then this option will "
17683 "not be effective. It is currently the default behavior."
17687 #: dpkg-trigger.pod
17688 msgid "B<--no-act>"
17692 #: dpkg-trigger.pod
17693 msgid "Just test, do not actually change anything."
17697 #: dpkg-trigger.pod dpkg.pod
17699 "The requested action was successfully performed. Or a check or assertion "
17700 "command returned true."
17704 #: dpkg-trigger.pod dpkg.pod
17705 msgid "A check or assertion command returned false."
17709 #: dpkg-trigger.pod
17710 msgid "L<dpkg(1)>, L<deb-triggers(5)>, B<%PKGDOCDIR%/spec/triggers.txt>."
17715 msgid "dpkg-vendor - queries information about distribution vendors"
17720 msgid "B<dpkg-vendor> [I<option>...] I<command>"
17726 "B<dpkg-vendor> is a tool to query information about vendors listed in "
17727 "B<%PKGCONFDIR%/origins>. B<%PKGCONFDIR%/origins/default> contains "
17728 "information about the current vendor."
17733 msgid "This program was introduced in dpkg 1.15.1."
17738 msgid "B<--is> I<vendor>"
17744 "Exits with B<0> if the current vendor is I<vendor>. Otherwise exits with "
17750 msgid "B<--derives-from> I<vendor>"
17756 "Exits with B<0> if the current vendor distribution is a derivative of "
17757 "I<vendor>, otherwise exits with B<1>. It uses the B<Parent> field to browse "
17758 "all ancestors of the current vendor."
17763 msgid "B<--query> I<field>"
17769 "Print on standard output the value of the vendor-specific I<field> for the "
17775 msgid "B<--vendor> I<vendor>"
17781 "Assumes the current vendor is I<vendor> instead of discovering it with the "
17782 "B<DEB_VENDOR> environment variable or B<%PKGCONFDIR%/origins/default>."
17788 "This setting defines the current vendor. If not set, it will discover the "
17789 "current vendor by reading B<%PKGCONFDIR%/origins/default>."
17794 msgid "L<deb-origin(5)>."
17799 msgid "dpkg.cfg - dpkg configuration file"
17805 "This file contains default options for dpkg. Each line contains a single "
17806 "option which is exactly the same as a normal command line option for dpkg "
17807 "except for the leading hyphens which are not used here. Quotes surrounding "
17808 "option values are stripped. Comments are allowed by starting a line with a "
17809 "hash sign (‘B<#>’)."
17813 #: dpkg.cfg.pod dpkg.pod
17814 msgid "I<%PKGCONFDIR%/dpkg.cfg.d/[0-9a-zA-Z_-]*>"
17818 #: dpkg.cfg.pod dpkg.pod
17819 msgid "I<%PKGCONFDIR%/dpkg.cfg>"
17824 msgid "I<~/.dpkg.cfg>"
17829 msgid "dpkg - package manager for Debian"
17834 msgid "B<dpkg> [I<option>...] I<action>"
17845 "This manual is intended for users wishing to understand B<dpkg>'s command "
17846 "line options and package states in more detail than that provided by B<dpkg "
17853 "It should I<not> be used by package maintainers wishing to understand how "
17854 "B<dpkg> will install their packages. The descriptions of what B<dpkg> does "
17855 "when installing and removing packages are particularly inadequate."
17861 "B<dpkg> is a medium-level tool to install, build, remove and manage Debian "
17862 "packages. The primary and more user-friendly front-end for B<dpkg> as a CLI "
17863 "(command-line interface) is L<apt(8)> and as a TUI (terminal user interface) "
17864 "is L<aptitude(8)>. B<dpkg> itself is controlled entirely via command line "
17865 "parameters, which consist of exactly one action and zero or more "
17866 "options. The action-parameter tells B<dpkg> what to do and options control "
17867 "the behavior of the action in some way."
17873 "B<dpkg> can also be used as a front-end to L<dpkg-deb(1)> and "
17874 "L<dpkg-query(1)>. The list of supported actions can be found later on in the "
17875 "B<ACTIONS> section. If any such action is encountered B<dpkg> just runs "
17876 "B<dpkg-deb> or B<dpkg-query> with the parameters given to it, but no "
17877 "specific options are currently passed to them, to use any such option the "
17878 "back-ends need to be called directly."
17883 msgid "INFORMATION ABOUT PACKAGES"
17889 "B<dpkg> maintains some usable information about available packages. The "
17890 "information is divided in three classes: B<states>, B<selection states> and "
17891 "B<flags>. These values are intended to be changed mainly with B<dselect>."
17896 msgid "Package states"
17901 msgid "B<not-installed>"
17906 msgid "The package is not installed on your system."
17911 msgid "B<config-files>"
17917 "Only the configuration files or the B<postrm> script and the data it needs "
17918 "to remove of the package exist on the system."
17923 msgid "B<half-installed>"
17929 "The installation of the package has been started, but not completed for some "
17935 msgid "B<unpacked>"
17940 msgid "The package is unpacked, but not configured."
17945 msgid "B<half-configured>"
17951 "The package is unpacked and configuration has been started, but not yet "
17952 "completed for some reason."
17957 msgid "B<triggers-awaited>"
17962 msgid "The package awaits trigger processing by another package."
17967 msgid "B<triggers-pending>"
17972 msgid "The package has been triggered."
17977 msgid "B<installed>"
17982 msgid "The package is correctly unpacked and configured."
17987 msgid "Package selection states"
17997 msgid "The package is selected for installation."
18008 "A package marked to be on B<hold> is kept on the same version, that is, no "
18009 "automatic new installs, upgrades or removals will be performed on them, "
18010 "unless these actions are requested explicitly, or are permitted to be done "
18011 "automatically with the B<--force-hold> option."
18016 msgid "B<deinstall>"
18022 "The package is selected for deinstallation (i.e. we want to remove all "
18023 "files, except configuration files)."
18034 "The package is selected to be purged (i.e. we want to remove everything from "
18035 "system directories, even configuration files)."
18046 "The package selection is unknown. A package that is also in a "
18047 "B<not-installed> state, and with an B<ok> flag will be forgotten in the next "
18053 msgid "Package flags"
18064 "A package marked B<ok> is in a known state, but might need further "
18070 msgid "B<reinstreq>"
18076 "A package marked B<reinstreq> is broken and requires reinstallation. These "
18077 "packages cannot be removed, unless forced with option "
18078 "B<--force-remove-reinstreq>."
18088 msgid "B<-i>, B<--install> I<package-file>..."
18094 "Install the package. If B<--recursive> or B<-R> option is specified, "
18095 "I<package-file> must refer to a directory instead."
18100 msgid "Installation consists of the following steps:"
18105 msgid "Extract the control files of the new package."
18111 "If another version of the same package was installed before the new "
18112 "installation, execute I<prerm> script of the old package."
18117 msgid "Run I<preinst> script, if provided by the package."
18123 "Unpack the new files, and at the same time back up the old files, so that if "
18124 "something goes wrong, they can be restored."
18130 "If another version of the same package was installed before the new "
18131 "installation, execute the I<postrm> script of the old package. Note that "
18132 "this script is executed after the I<preinst> script of the new package, "
18133 "because new files are written at the same time old files are removed."
18139 "Configure the package. See B<--configure> for detailed information about how "
18145 msgid "B<--unpack> I<package-file>..."
18151 "Unpack the package, but don't configure it. If B<--recursive> or B<-R> "
18152 "option is specified, I<package-file> must refer to a directory instead."
18158 "Will process triggers for B<Pre-Depends> unless B<--no-triggers> has been "
18164 msgid "B<--configure> I<package>...|B<-a>|B<--pending>"
18170 "Configure a package which has been unpacked but not yet configured. If "
18171 "B<-a> or B<--pending> is given instead of I<package>, all unpacked but "
18172 "unconfigured packages are configured."
18178 "To reconfigure a package which has already been configured, try the "
18179 "L<dpkg-reconfigure(8)> command instead (which is part of the B<debconf> "
18185 msgid "Configuring consists of the following steps:"
18191 "Unpack the conffiles, and at the same time back up the old conffiles, so "
18192 "that they can be restored if something goes wrong."
18197 msgid "Run I<postinst> script, if provided by the package."
18202 msgid "Will process triggers unless B<--no-triggers> has been specified."
18207 msgid "B<--triggers-only> I<package>...|B<-a>|B<--pending>"
18213 "Processes only triggers (since dpkg 1.14.17). All pending triggers will be "
18214 "processed. If package names are supplied only those packages' triggers will "
18215 "be processed, exactly once each where necessary. Use of this option may "
18216 "leave packages in the improper B<triggers-awaited> and B<triggers-pending> "
18217 "states. This can be fixed later by running: B<dpkg --configure --pending>."
18222 msgid "B<-r>, B<--remove> I<package>...|B<-a>|B<--pending>"
18228 "Remove an installed package. This removes everything except conffiles and "
18229 "other data cleaned up by the I<postrm> script, which may avoid having to "
18230 "reconfigure the package if it is reinstalled later (conffiles are "
18231 "configuration files that are listed in the I<DEBIAN/conffiles> control "
18232 "file). If there is no I<DEBIAN/conffiles> control file nor I<DEBIAN/postrm> "
18233 "script, this command is equivalent to calling B<--purge>. If B<-a> or "
18234 "B<--pending> is given instead of a package name, then all packages unpacked, "
18235 "but marked to be removed in file I<%ADMINDIR%/status>, are removed."
18240 msgid "Removing of a package consists of the following steps:"
18245 msgid "Run I<prerm> script."
18250 msgid "Remove the installed files."
18255 msgid "Run I<postrm> script."
18260 msgid "B<-P>, B<--purge> I<package>...|B<-a>|B<--pending>"
18266 "Purge an installed or already removed package. This removes everything, "
18267 "including conffiles, and anything else cleaned up from I<postrm>. If B<-a> "
18268 "or B<--pending> is given instead of a package name, then all packages "
18269 "unpacked or removed, but marked to be purged in file I<%ADMINDIR%/status>, "
18276 "B<Note>: Some configuration files might be unknown to B<dpkg> because they "
18277 "are created and handled separately through the configuration scripts. In "
18278 "that case, B<dpkg> won't remove them by itself, but the package's I<postrm> "
18279 "script (which is called by B<dpkg>), has to take care of their removal "
18280 "during purge. Of course, this only applies to files in system directories, "
18281 "not configuration files written to individual users' home directories."
18286 msgid "Purging of a package consists of the following steps:"
18292 "Remove the package, if not already removed. See B<--remove> for detailed "
18293 "information about how this is done."
18298 msgid "B<-V>, B<--verify> [I<package-name>...]"
18304 "Verifies the integrity of I<package-name> or all packages if omitted, by "
18305 "comparing information from the files installed by a package with the files "
18306 "metadata information stored in the B<dpkg> database (since dpkg 1.17.2). "
18307 "The origin of the files metadata information in the database is the binary "
18308 "packages themselves. That metadata gets collected at package unpack time "
18309 "during the installation process."
18315 "Currently the only functional check performed is an md5sum verification of "
18316 "the file contents against the stored value in the files database. It will "
18317 "only get checked if the database contains the file md5sum. To check for any "
18318 "missing metadata in the database, the B<--audit> command can be used. This "
18319 "is only an integrity check and should not be considered as any kind of "
18320 "security verification."
18326 "The output format is selectable with the B<--verify-format> option, which by "
18327 "default uses the B<rpm> format, but that might change in the future, and as "
18328 "such, programs parsing this command output should be explicit about the "
18329 "format they expect."
18334 msgid "B<-C>, B<--audit> [I<package-name>...]"
18340 "Performs database sanity and consistency checks for I<package-name> or all "
18341 "packages if omitted (per package checks since dpkg 1.17.10). For example, "
18342 "searches for packages that have been installed only partially on your system "
18343 "or that have missing, wrong or obsolete control data or files. B<dpkg> will "
18344 "suggest what to do with them to get them fixed."
18349 msgid "B<--update-avail> [I<Packages-file>]"
18354 msgid "B<--merge-avail> [I<Packages-file>]"
18360 "Update B<dpkg>'s and B<dselect>'s idea of which packages are available. With "
18361 "action B<--merge-avail>, old information is combined with information from "
18362 "I<Packages-file>. With action B<--update-avail>, old information is replaced "
18363 "with the information in the I<Packages-file>. The I<Packages-file> "
18364 "distributed with Debian is simply named «I<Packages>». If the "
18365 "I<Packages-file> argument is missing or named «B<->» then it will be read "
18366 "from standard input (since dpkg 1.17.7). B<dpkg> keeps its record of "
18367 "available packages in I<%ADMINDIR%/available>."
18373 "A simpler one-shot command to retrieve and update the I<available> file is "
18374 "B<dselect update>. Note that this file is mostly useless if you don't use "
18375 "B<dselect> but an APT-based frontend: APT has its own system to keep track "
18376 "of available packages."
18381 msgid "B<-A>, B<--record-avail> I<package-file>..."
18387 "Update B<dpkg> and B<dselect>'s idea of which packages are available with "
18388 "information from the package I<package-file>. If B<--recursive> or B<-R> "
18389 "option is specified, I<package-file> must refer to a directory instead."
18394 msgid "B<--forget-old-unavail>"
18400 "Now B<obsolete> and a no-op as B<dpkg> will automatically forget uninstalled "
18401 "unavailable packages (since dpkg 1.15.4), but only those that do not contain "
18402 "user information such as package selections."
18407 msgid "B<--clear-avail>"
18412 msgid "Erase the existing information about what packages are available."
18417 msgid "B<--get-selections> [I<package-name-pattern>...]"
18423 "Get list of package selections, and write it to stdout. Without a pattern, "
18424 "non-installed packages (i.e. those which have been previously purged) will "
18429 #: dpkg.pod update-alternatives.pod
18430 msgid "B<--set-selections>"
18436 "Set package selections using file read from stdin. This file should be in "
18437 "the format “I<package> I<state>”, where state is one of B<install>, B<hold>, "
18438 "B<deinstall> or B<purge>. Blank lines and comment lines beginning with "
18439 "‘B<#>’ are also permitted."
18445 "The I<available> file needs to be up-to-date for this command to be useful, "
18446 "otherwise unknown packages will be ignored with a warning. See the "
18447 "B<--update-avail> and B<--merge-avail> commands for more information."
18452 msgid "B<--clear-selections>"
18458 "Set the requested state of every non-essential package to deinstall (since "
18459 "dpkg 1.13.18). This is intended to be used immediately before "
18460 "B<--set-selections>, to deinstall any packages not in list given to "
18461 "B<--set-selections>."
18466 msgid "B<--yet-to-unpack>"
18472 "Searches for packages selected for installation, but which for some reason "
18473 "still haven't been installed."
18479 "B<Note>: This command makes use of both the available file and the package "
18485 msgid "B<--predep-package>"
18491 "Print a single package which is the target of one or more relevant "
18492 "pre-dependencies and has itself no unsatisfied pre-dependencies."
18498 "If such a package is present, output it as a Packages file entry, which can "
18499 "be massaged as appropriate."
18505 "Returns 0 when a package is printed, 1 when no suitable package is available "
18511 msgid "B<--add-architecture> I<architecture>"
18517 "Add I<architecture> to the list of architectures for which packages can be "
18518 "installed without using B<--force-architecture> (since dpkg 1.16.2). The "
18519 "architecture B<dpkg> is built for (i.e. the output of "
18520 "B<--print-architecture>) is always part of that list."
18525 msgid "B<--remove-architecture> I<architecture>"
18531 "Remove I<architecture> from the list of architectures for which packages can "
18532 "be installed without using B<--force-architecture> (since dpkg 1.16.2). If "
18533 "the architecture is currently in use in the database then the operation will "
18534 "be refused, except if B<--force-architecture> is specified. The architecture "
18535 "B<dpkg> is built for (i.e. the output of B<--print-architecture>) can never "
18536 "be removed from that list."
18541 msgid "B<--print-architecture>"
18546 msgid "Print architecture of packages B<dpkg> installs (for example, “i386”)."
18551 msgid "B<--print-foreign-architectures>"
18557 "Print a newline-separated list of the extra architectures B<dpkg> is "
18558 "configured to allow packages to be installed for (since dpkg 1.16.2)."
18563 msgid "B<--assert-help>"
18568 msgid "Give help about the B<--assert->I<feature> options (since dpkg 1.21.0)."
18573 msgid "B<--assert->I<feature>"
18579 "Asserts that B<dpkg> supports the requested feature. Returns 0 if the "
18580 "feature is fully supported, 1 if the feature is known but B<dpkg> cannot "
18581 "provide support for it yet, and 2 if the feature is unknown. The current "
18582 "list of assertable features is:"
18587 msgid "B<support-predepends>"
18592 msgid "Supports the B<Pre-Depends> field (since dpkg 1.1.0)."
18597 msgid "B<working-epoch>"
18602 msgid "Supports epochs in version strings (since dpkg 1.4.0.7)."
18607 msgid "B<long-filenames>"
18612 msgid "Supports long filenames in L<deb(5)> archives (since dpkg 1.4.1.17)."
18617 msgid "B<multi-conrep>"
18622 msgid "Supports multiple B<Conflicts> and B<Replaces> (since dpkg 1.4.1.19)."
18627 msgid "B<multi-arch>"
18632 msgid "Supports multi-arch fields and semantics (since dpkg 1.16.2)."
18637 msgid "B<versioned-provides>"
18642 msgid "Supports versioned B<Provides> (since dpkg 1.17.11)."
18647 msgid "B<protected-field>"
18652 msgid "Supports the B<Protected> field (since dpkg 1.20.1)."
18657 msgid "B<--validate->I<thing> I<string>"
18663 "Validate that the I<thing> I<string> has a correct syntax (since dpkg "
18664 "1.18.16). Returns 0 if the I<string> is valid, 1 if the I<string> is "
18665 "invalid but might be accepted in lax contexts, and 2 if the I<string> is "
18666 "invalid. The current list of validatable I<thing>s is:"
18676 msgid "Validates the given package name (since dpkg 1.18.16)."
18681 msgid "B<trigname>"
18686 msgid "Validates the given trigger name (since dpkg 1.18.16)."
18691 msgid "B<archname>"
18696 msgid "Validates the given architecture name (since dpkg 1.18.16)."
18706 msgid "Validates the given version (since dpkg 1.18.16)."
18711 msgid "B<--compare-versions> I<ver1> I<op> I<ver2>"
18717 "Compare version numbers, where I<op> is a binary operator. B<dpkg> returns "
18718 "true (B<0>) if the specified condition is satisfied, and false (B<1>) "
18719 "otherwise. There are two groups of operators, which differ in how they treat "
18720 "an empty I<ver1> or I<ver2>. These treat an empty version as earlier than "
18721 "any version: B<lt le eq ne ge gt>. These treat an empty version as later "
18722 "than any version: B<lt-nl le-nl ge-nl gt-nl>. These are provided only for "
18723 "compatibility with control file syntax: B<E<lt> E<lt>E<lt> E<lt>= = E<gt>= "
18724 "E<gt>E<gt> E<gt>>. The B<E<lt>> and B<E<gt>> operators are obsolete and "
18725 "should B<not> be used, due to confusing semantics. To illustrate: B<0.1 "
18726 "E<lt> 0.1> evaluates to true."
18736 msgid "B<--command-fd> I<n>"
18741 msgid "Accept a series of commands on input file descriptor I<n>."
18747 "B<Note>: Additional options set on the command line, and through this file "
18748 "descriptor, are not reset for subsequent commands executed during the same "
18754 msgid "Display a brief help message."
18759 msgid "Give help about the B<--force->I<thing> options."
18764 msgid "B<-Dh>, B<--debug=help>"
18769 msgid "Give help about debugging options."
18774 msgid "Display B<dpkg> version information."
18780 "When used with B<--robot>, the output will be the program version number in "
18781 "a dotted numerical format, with no newline."
18786 msgid "B<dpkg-deb actions>"
18792 "See L<dpkg-deb(1)> for more information about the following actions, and "
18793 "other actions and options not exposed by the B<dpkg> front-end."
18798 msgid "B<-b>, B<--build> I<directory> [I<archive>|I<directory>]"
18803 msgid "Build a deb package."
18808 msgid "List contents of a deb package."
18813 msgid "Extract control-information from a package."
18818 msgid "Extract the files contained by package."
18823 msgid "Extract and display the filenames contained by a package."
18828 msgid "B<-f>, B<--field> I<archive> [I<control-field>...]"
18833 msgid "Display control field(s) of a package."
18838 msgid "Output the control tar-file contained in a Debian package."
18843 msgid "Output the filesystem tar-file contained by a Debian package."
18848 msgid "B<-I>, B<--info> I<archive> [I<control-file>...]"
18853 msgid "Show information about a package."
18858 msgid "B<dpkg-query actions>"
18864 "See L<dpkg-query(1)> for more information about the following actions, and "
18865 "other actions and options not exposed by the B<dpkg> front-end."
18870 msgid "B<-l>, B<--list> I<package-name-pattern>..."
18875 msgid "List packages matching given pattern."
18880 msgid "B<-s>, B<--status> I<package-name>..."
18885 msgid "Report status of specified package."
18890 msgid "List files installed to your system from I<package-name>."
18895 msgid "Search for a filename from installed packages."
18900 msgid "B<-p>, B<--print-avail> I<package-name>..."
18906 "Display details about I<package-name>, as found in "
18907 "I<%ADMINDIR%/available>. Users of APT-based frontends should use B<apt show> "
18908 "I<package-name> instead."
18914 "All options can be specified both on the command line and in the B<dpkg> "
18915 "configuration file I<%PKGCONFDIR%/dpkg.cfg> or fragment files (with names "
18916 "matching this shell pattern '[0-9a-zA-Z_-]*') on the configuration directory "
18917 "I<%PKGCONFDIR%/dpkg.cfg.d/>. Each line in the configuration file is either "
18918 "an option (exactly the same as the command line option but without leading "
18919 "hyphens) or a comment (if it starts with a ‘B<#>’)."
18924 msgid "B<--abort-after=>I<number>"
18929 msgid "Change after how many errors B<dpkg> will abort. The default is 50."
18934 msgid "B<-B>, B<--auto-deconfigure>"
18940 "When a package is removed, there is a possibility that another installed "
18941 "package depended on the removed package. Specifying this option will cause "
18942 "automatic deconfiguration of the package which depended on the removed "
18948 msgid "B<-D>I<octal>, B<--debug=>I<octal>"
18954 "Switch debugging on. I<octal> is formed by bitwise-ORing desired values "
18955 "together from the list below (note that these values may change in future "
18956 "releases). B<-Dh> or B<--debug=help> display these debugging values."
18963 " Number Description\n"
18964 " 1 Generally helpful progress information\n"
18965 " 2 Invocation and status of maintainer scripts\n"
18966 " 10 Output for each file processed\n"
18967 " 100 Lots of output for each file processed\n"
18968 " 20 Output for each configuration file\n"
18969 " 200 Lots of output for each configuration file\n"
18970 " 40 Dependencies and conflicts\n"
18971 " 400 Lots of dependencies/conflicts output\n"
18972 " 10000 Trigger activation and processing\n"
18973 " 20000 Lots of output regarding triggers\n"
18974 " 40000 Silly amounts of output regarding triggers\n"
18975 " 1000 Lots of drivel about for example the dpkg/info dir\n"
18976 " 2000 Insane amounts of drivel\n"
18983 "Force or refuse (B<no-force> and B<refuse> mean the same thing) to do some "
18984 "things. I<things> is a comma separated list of things specified "
18985 "below. B<--force-help> displays a message describing them. Things marked "
18986 "with (*) are forced by default."
18992 "B<Warning>: These options are mostly intended to be used by experts "
18993 "only. Using them without fully understanding their effects may break your "
18999 msgid "B<downgrade>(*):"
19004 msgid "Install a package, even if newer version of it is already installed."
19010 "B<Warning>: At present B<dpkg> does not do any dependency checking on "
19011 "downgrades and therefore will not warn you if the downgrade breaks the "
19012 "dependency of some other package. This can have serious side effects, "
19013 "downgrading essential system components can even make your whole system "
19014 "unusable. Use with care."
19019 msgid "B<configure-any>:"
19025 "Configure also any unpacked but unconfigured packages on which the current "
19037 "Allow automatic installs, upgrades or removals of packages even when marked "
19038 "to be on “hold”. B<Note>: When these actions are requested explicitly, the "
19039 "“hold” package selection state always gets ignored."
19044 msgid "B<remove-reinstreq>:"
19050 "Remove a package, even if it's broken and marked to require "
19051 "reinstallation. This may, for example, cause parts of the package to remain "
19052 "on the system, which will then be forgotten by B<dpkg>."
19057 msgid "B<remove-protected>:"
19063 "Remove, even if the package is considered protected (since dpkg 1.20.1). "
19064 "Protected packages contain mostly important system boot infrastructure or "
19065 "are used for custom system-local meta-packages. Removing them might cause "
19066 "the whole system to be unable to boot or lose required functionality to "
19067 "operate, so use with caution."
19072 msgid "B<remove-essential>:"
19078 "Remove, even if the package is considered essential. Essential packages "
19079 "contain mostly very basic Unix commands, required for the packaging system, "
19080 "for the operation of the system in general or during boot (although the "
19081 "latter should be converted to protected packages instead). Removing them "
19082 "might cause the whole system to stop working, so use with caution."
19087 msgid "B<depends>:"
19093 "Turn all dependency problems into warnings. This affects the B<Pre-Depends> "
19094 "and B<Depends> fields."
19099 msgid "B<depends-version>:"
19105 "Don't care about versions when checking dependencies. This affects the "
19106 "B<Pre-Depends> and B<Depends> fields."
19117 "Install, even if this would break another package (since dpkg 1.14.6). This "
19118 "affects the B<Breaks> field."
19123 msgid "B<conflicts>:"
19129 "Install, even if it conflicts with another package. This is dangerous, for "
19130 "it will usually cause overwriting of some files. This affects the "
19131 "B<Conflicts> field."
19136 msgid "B<confmiss>:"
19142 "Always install the missing conffile without prompting. This is dangerous, "
19143 "since it means not preserving a change (removing) made to the file."
19148 msgid "B<confnew>:"
19154 "If a conffile has been modified and the version in the package did change, "
19155 "always install the new version without prompting, unless the "
19156 "B<--force-confdef> is also specified, in which case the default action is "
19162 msgid "B<confold>:"
19168 "If a conffile has been modified and the version in the package did change, "
19169 "always keep the old version without prompting, unless the B<--force-confdef> "
19170 "is also specified, in which case the default action is preferred."
19175 msgid "B<confdef>:"
19181 "If a conffile has been modified and the version in the package did change, "
19182 "always choose the default action without prompting. If there is no default "
19183 "action it will stop to ask the user unless B<--force-confnew> or "
19184 "B<--force-confold> is also given, in which case it will use that to decide "
19185 "the final action."
19190 msgid "B<confask>:"
19196 "If a conffile has been modified always offer to replace it with the version "
19197 "in the package, even if the version in the package did not change (since "
19198 "dpkg 1.15.8). If any of B<--force-confnew>, B<--force-confold>, or "
19199 "B<--force-confdef> is also given, it will be used to decide the final "
19205 msgid "B<overwrite>:"
19210 msgid "Overwrite one package's file with another's file."
19215 msgid "B<overwrite-dir>:"
19220 msgid "Overwrite one package's directory with another's file."
19225 msgid "B<overwrite-diverted>:"
19230 msgid "Overwrite a diverted file with an undiverted version."
19235 msgid "B<unsafe-io>:"
19241 "Do not perform safe I/O operations when unpacking (since dpkg 1.15.8.6). "
19242 "Currently this implies not performing file system syncs before file renames, "
19243 "which is known to cause substantial performance degradation on some file "
19244 "systems, unfortunately the ones that require the safe I/O on the first place "
19245 "due to their unreliable behaviour causing zero-length files on abrupt system "
19252 "I<Note>: For ext4, the main offender, consider using instead the mount "
19253 "option B<nodelalloc>, which will fix both the performance degradation and "
19254 "the data safety issues, the latter by making the file system not produce "
19255 "zero-length files on abrupt system crashes with any software not doing syncs "
19256 "before atomic renames."
19262 "B<Warning>: Using this option might improve performance at the cost of "
19263 "losing data, use with care."
19268 msgid "B<script-chrootless>:"
19274 "Run maintainer scripts without L<chroot(2)>ing into B<instdir> even if the "
19275 "package does not support this mode of operation (since dpkg 1.18.5)."
19280 msgid "B<Warning>: This can destroy your host system, use with extreme care."
19285 msgid "B<architecture>:"
19290 msgid "Process even packages with wrong or no architecture."
19295 msgid "B<bad-version>:"
19300 msgid "Process even packages with wrong versions (since dpkg 1.16.1)."
19305 msgid "B<bad-path>:"
19310 msgid "B<PATH> is missing important programs, so problems are likely."
19315 msgid "Try to (de)install things even when not root."
19320 msgid "B<bad-verify>:"
19325 msgid "Install a package even if it fails authenticity check."
19330 msgid "B<--ignore-depends>=I<package>,..."
19336 "Ignore dependency-checking for specified packages (actually, checking is "
19337 "performed, but only warnings about conflicts are given, nothing else). This "
19338 "affects the B<Pre-Depends>, B<Depends> and B<Breaks> fields."
19343 msgid "B<--no-act>, B<--dry-run>, B<--simulate>"
19349 "Do everything which is supposed to be done, but don't write any "
19350 "changes. This is used to see what would happen with the specified action, "
19351 "without actually modifying anything."
19357 "Be sure to give B<--no-act> before the action-parameter, or you might end up "
19358 "with undesirable results. (e.g. B<dpkg --purge foo --no-act> will first "
19359 "purge package “foo” and then try to purge package ”--no-act”, even though "
19360 "you probably expected it to actually do nothing)."
19365 msgid "B<-R>, B<--recursive>"
19371 "Recursively handle all regular files matching pattern B<*.deb> found at "
19372 "specified directories and all of its subdirectories. This can be used with "
19373 "B<-i>, B<-A>, B<--install>, B<--unpack> and B<--record-avail> actions."
19379 "Don't install a package if a newer version of the same package is already "
19380 "installed. This is an alias of B<--refuse-downgrade>."
19386 "Set the administrative directory to I<directory>. This directory contains "
19387 "many files that give information about status of installed or uninstalled "
19388 "packages, etc. Defaults to «I<%ADMINDIR%>» if B<DPKG_ADMINDIR> has not been "
19394 msgid "B<--instdir=>I<dir>"
19400 "Set the installation directory, which refers to the directory where packages "
19401 "are to be installed. B<instdir> is also the directory passed to L<chroot(2)> "
19402 "before running package's installation scripts, which means that the scripts "
19403 "see B<instdir> as a root directory. Defaults to «I</>»."
19408 msgid "B<--root=>I<dir>"
19414 "Set the root directory to B<directory>, which sets the installation "
19415 "directory to «I<dir>» and the administrative directory to "
19416 "«I<dir>B<%ADMINDIR%>»."
19421 msgid "B<-O>, B<--selected-only>"
19427 "Only process the packages that are selected for installation. The actual "
19428 "marking is done with B<dselect> or by B<dpkg>, when it handles packages. For "
19429 "example, when a package is removed, it will be marked selected for "
19435 msgid "B<-E>, B<--skip-same-version>"
19441 "Don't install the package if the same version and architecture of the "
19442 "package is already installed."
19448 "Since dpkg 1.21.10, the architecture is also taken into account, which makes "
19449 "it possible to cross-grade packages or install additional co-installable "
19450 "instances with the same version, but different architecture."
19455 msgid "B<--pre-invoke=>I<command>"
19460 msgid "B<--post-invoke=>I<command>"
19466 "Set an invoke hook I<command> to be run via “%DPKG_DEFAULT_SHELL% -c” before "
19467 "or after the B<dpkg> run for the I<unpack>, I<configure>, I<install>, "
19468 "I<triggers-only>, I<remove> and I<purge> actions (since dpkg 1.15.4), and "
19469 "I<add-architecture> and I<remove-architecture> actions (since dpkg "
19470 "1.17.19). This option can be specified multiple times. The order the "
19471 "options are specified is preserved, with the ones from the configuration "
19472 "files taking precedence. The environment variable B<DPKG_HOOK_ACTION> is "
19473 "set for the hooks to the current B<dpkg> action."
19479 "B<Note>: Front-ends might call B<dpkg> several times per invocation, which "
19480 "might run the hooks more times than expected."
19485 msgid "B<--path-exclude=>I<glob-pattern>"
19490 msgid "B<--path-include=>I<glob-pattern>"
19496 "Set I<glob-pattern> as a path filter, either by excluding or re-including "
19497 "previously excluded paths matching the specified patterns during install "
19498 "(since dpkg 1.15.8)."
19504 "B<Warning>: Take into account that depending on the excluded paths you might "
19505 "completely break your system, use with caution."
19511 "The glob patterns use the same wildcards used in the shell, were ‘*’ matches "
19512 "any sequence of characters, including the empty string and also ‘/’. For "
19513 "example, «I</usr/*/READ*>» matches «I</usr/share/doc/package/README>». As "
19514 "usual, ‘?’ matches any single character (again, including ‘/’). And ‘[’ "
19515 "starts a character class, which can contain a list of characters, ranges and "
19516 "complementations. See L<glob(7)> for detailed information about globbing. "
19517 "B<Note>: The current implementation might re-include more directories and "
19518 "symlinks than needed, in particular when there is a more specific "
19519 "re-inclusion, to be on the safe side and avoid possible unpack failures; "
19520 "future work might fix this."
19526 "This can be used to remove all paths except some particular ones; a typical "
19534 " --path-exclude=/usr/share/doc/*\n"
19535 " --path-include=/usr/share/doc/*/copyright\n"
19541 msgid "to remove all documentation files except the copyright files."
19547 "These two options can be specified multiple times, and interleaved with each "
19548 "other. Both are processed in the given order, with the last rule that "
19549 "matches a file name making the decision."
19555 "The filters are applied when unpacking the binary packages, and as such only "
19556 "have knowledge of the type of object currently being filtered (e.g. a normal "
19557 "file or a directory) and have not visibility of what objects will come "
19558 "next. Because these filters have side effects (in contrast to L<find(1)> "
19559 "filters), excluding an exact pathname that happens to be a directory object "
19560 "like I</usr/share/doc> will not have the desired result, and only that "
19561 "pathname will be excluded (which could be automatically reincluded if the "
19562 "code sees the need). Any subsequent files contained within that directory "
19563 "will fail to unpack."
19568 msgid "B<Hint>: make sure the globs are not expanded by your shell."
19573 msgid "B<--verify-format> I<format-name>"
19578 msgid "Sets the output format for the B<--verify> command (since dpkg 1.17.2)."
19584 "The only currently supported output format is B<rpm>, which consists of a "
19585 "line for every path that failed any check. These lines have the following "
19594 " B<missing > [B<c>] I<pathname> [B<(>I<error-message>B<)>]\n"
19595 " B<??5??????> [B<c>] I<pathname>\n"
19602 "The first 9 characters are used to report the checks result, either a "
19603 "literal B<missing> when the file is not present or its metadata cannot be "
19604 "fetched, or one of the following special characters that report the result "
19616 "Implies the check could not be done (lack of support, file permissions, "
19627 msgid "Implies the check passed."
19632 msgid "‘I<A-Za-z0-9>’"
19638 "Implies a specific check failed. The following positions and alphanumeric "
19639 "characters are currently supported:"
19649 msgid "These checks are currently not supported, will always be ‘B<?>’."
19660 "The file mode check failed (since dpkg 1.21.0). Because pathname metadata "
19661 "is currently not tracked, this check can only be partially emulated via a "
19662 "very simple heuristic for pathnames that have a known digest, which implies "
19663 "they should be regular files, where the check will fail if the pathname is "
19664 "not a regular file on the filesystem. This check will currently never "
19665 "succeed as it does not have enough information available."
19676 "The digest check failed, which means the file contents have changed. This "
19677 "is only an integrity check and should not be considered as any kind of "
19678 "security verification."
19689 "The line is followed by a space and an attribute character. The following "
19690 "attribute character is supported:"
19700 msgid "The pathname is a conffile."
19705 msgid "Finally followed by another space and the pathname."
19711 "In case the entry was of the B<missing> type, and the file was not actually "
19712 "present on the filesystem, then the line is followed by a space and the "
19713 "error message enclosed within parenthesis."
19718 msgid "B<--status-fd> I<n>"
19724 "Send machine-readable package status and progress information to file "
19725 "descriptor I<n>. This option can be specified multiple times. The "
19726 "information is generally one record per line, in one of the following forms:"
19731 msgid "B<status:> I<package>B<:> I<status>"
19736 msgid "Package status changed; I<status> is as in the status file."
19741 msgid "B<status:> I<package> B<: error :> I<extended-error-message>"
19747 "An error occurred. Any possible newlines in I<extended-error-message> will "
19748 "be converted to spaces before output."
19754 "B<status:> I<file> B<: conffile-prompt : '>I<real-old>B<' '>I<real-new>B<'> "
19755 "I<useredited> I<distedited>"
19760 msgid "User is being asked a conffile question."
19765 msgid "B<processing:> I<stage>B<:> I<package>"
19771 "Sent just before a processing stage starts. I<stage> is one of B<upgrade>, "
19772 "B<install> (both sent before unpacking), B<configure>, B<trigproc>, "
19773 "B<disappear>, B<remove>, B<purge>."
19778 msgid "B<--status-logger>=I<command>"
19784 "Send machine-readable package status and progress information to the shell "
19785 "I<command>'s standard input, to be run via “%DPKG_DEFAULT_SHELL% -c” (since "
19786 "dpkg 1.16.0). This option can be specified multiple times. The output "
19787 "format used is the same as in B<--status-fd>."
19792 msgid "B<--log=>I<filename>"
19798 "Log status change updates and actions to I<filename>, instead of the default "
19799 "I<%LOGDIR%/dpkg.log>. If this option is given multiple times, the last "
19800 "filename is used. Log messages are of the form:"
19805 msgid "YYYY-MM-DD HH:MM:SS B<startup> I<type> I<command>"
19811 "For each dpkg invocation where I<type> is B<archives> (with a I<command> of "
19812 "B<unpack> or B<install>) or B<packages> (with a I<command> of B<configure>, "
19813 "B<triggers-only>, B<remove> or B<purge>)."
19818 msgid "YYYY-MM-DD HH:MM:SS B<status> I<state> I<pkg> I<installed-version>"
19823 msgid "For status change updates."
19829 "YYYY-MM-DD HH:MM:SS I<action> I<pkg> I<installed-version> "
19830 "I<available-version>"
19836 "For actions where I<action> is one of B<install>, B<upgrade>, B<configure>, "
19837 "B<trigproc>, B<disappear>, B<remove> or B<purge>."
19842 msgid "YYYY-MM-DD HH:MM:SS B<conffile> I<filename> I<decision>"
19847 msgid "For conffile changes where I<decision> is either B<install> or B<keep>."
19858 "Use a machine-readable output format. This provides an interface for "
19859 "programs that need to parse the output of some of the commands that do not "
19860 "otherwise emit a machine-readable output format. No localization will be "
19861 "used, and the output will be modified to make it easier to parse."
19866 msgid "The only currently supported command is B<--version>."
19871 msgid "B<--no-debsig>"
19876 msgid "Do not try to verify package signatures."
19881 msgid "B<--no-triggers>"
19887 "Do not run any triggers in this run (since dpkg 1.14.17), but activations "
19888 "will still be recorded. If used with B<--configure> I<package> or "
19889 "B<--triggers-only> I<package> then the named package postinst will still be "
19890 "run even if only a triggers run is needed. Use of this option may leave "
19891 "packages in the improper B<triggers-awaited> and B<triggers-pending> "
19892 "states. This can be fixed later by running: B<dpkg --configure --pending>."
19897 msgid "B<--triggers>"
19902 msgid "Cancels a previous B<--no-triggers> (since dpkg 1.14.17)."
19913 "This variable is expected to be defined in the environment and point to the "
19914 "system paths where several required programs are to be found. If it's not "
19915 "set or the programs are not found, B<dpkg> will abort."
19919 #: dpkg.pod dselect.pod
19926 "If set, B<dpkg> will use it as the directory from which to read the user "
19927 "specific configuration file."
19933 "If set, B<dpkg> will use it as the directory in which to create temporary "
19934 "files and directories."
19940 "The program B<dpkg> will execute when starting a new interactive shell, or "
19941 "when spawning a command via a shell."
19947 "The program B<dpkg> will execute when running a pager, which will be "
19948 "executed with «B<$SHELL -c>», for example when displaying the conffile "
19949 "differences. If B<SHELL> is not set, «B<%DPKG_DEFAULT_SHELL%>» will be used "
19950 "instead. The B<DPKG_PAGER> overrides the B<PAGER> environment variable "
19951 "(since dpkg 1.19.2)."
19957 "Sets the debug mask (since dpkg 1.21.10) from an octal value. The currently "
19958 "accepted flags are described in the B<--debug> option."
19964 "Sets the force flags (since dpkg 1.19.5). When this variable is present, no "
19965 "built-in force defaults will be applied. If the variable is present but "
19966 "empty, all force flags will be disabled."
19972 "If set and the B<--admindir> or B<--root> options have not been specified, "
19973 "it will be used as the B<dpkg> administrative directory (since dpkg 1.20.0)."
19978 msgid "B<DPKG_FRONTEND_LOCKED>"
19984 "Set by a package manager frontend to notify dpkg that it should not acquire "
19985 "the frontend lock (since dpkg 1.19.1)."
19991 "Defined by B<dpkg> to “B<-FRSXMQ>”, if not already set, when spawning a "
19992 "pager (since dpkg 1.19.2). To change the default behavior, this variable "
19993 "can be preset to some other value including an empty string, or the B<PAGER> "
19994 "or B<DPKG_PAGER> variables can be set to disable specific options with "
19995 "«B<-+>», for example B<DPKG_PAGER=\"less -+F\">."
20001 "Defined by B<dpkg> on the maintainer script environment to indicate which "
20002 "installation to act on (since dpkg 1.18.5). The value is intended to be "
20003 "prepended to any path maintainer scripts operate on. During normal "
20004 "operation, this variable is empty. When installing packages into a "
20005 "different B<instdir>, B<dpkg> normally invokes maintainer scripts using "
20006 "L<chroot(2)> and leaves this variable empty, but if "
20007 "B<--force-script-chrootless> is specified then the L<chroot(2)> call is "
20008 "skipped and B<instdir> is non-empty."
20014 "Defined by B<dpkg> on the maintainer script environment to indicate the "
20015 "B<dpkg> administrative directory to use (since dpkg 1.16.0). This variable "
20016 "is always set to the current B<--admindir> value."
20022 "Defined by B<dpkg> on the subprocesses environment to all the currently "
20023 "enabled force option names separated by commas (since dpkg 1.19.5)."
20028 msgid "B<DPKG_SHELL_REASON>"
20034 "Defined by B<dpkg> on the shell spawned on the conffile prompt to examine "
20035 "the situation (since dpkg 1.15.6). Current valid value: B<conffile-prompt>."
20040 msgid "B<DPKG_CONFFILE_OLD>"
20046 "Defined by B<dpkg> on the shell spawned on the conffile prompt to examine "
20047 "the situation (since dpkg 1.15.6). Contains the path to the old conffile."
20052 msgid "B<DPKG_CONFFILE_NEW>"
20058 "Defined by B<dpkg> on the shell spawned on the conffile prompt to examine "
20059 "the situation (since dpkg 1.15.6). Contains the path to the new conffile."
20064 msgid "B<DPKG_HOOK_ACTION>"
20070 "Defined by B<dpkg> on the shell spawned when executing a hook action (since "
20071 "dpkg 1.15.4). Contains the current B<dpkg> action."
20076 msgid "B<DPKG_RUNNING_VERSION>"
20082 "Defined by B<dpkg> on the maintainer script environment to the version of "
20083 "the currently running B<dpkg> instance (since dpkg 1.14.17)."
20089 "Defined by B<dpkg> on the maintainer script environment to the "
20090 "(non-arch-qualified) package name being handled (since dpkg 1.14.17)."
20095 msgid "B<DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT>"
20101 "Defined by B<dpkg> on the maintainer script environment to the package "
20102 "reference count, i.e. the number of package instances with a state greater "
20103 "than B<not-installed> (since dpkg 1.17.2)."
20108 msgid "B<DPKG_MAINTSCRIPT_ARCH>"
20114 "Defined by B<dpkg> on the maintainer script environment to the architecture "
20115 "the package got built for (since dpkg 1.15.4)."
20120 msgid "B<DPKG_MAINTSCRIPT_NAME>"
20126 "Defined by B<dpkg> on the maintainer script environment to the name of the "
20127 "script running, one of B<preinst>, B<postinst>, B<prerm> or B<postrm> (since "
20133 msgid "B<DPKG_MAINTSCRIPT_DEBUG>"
20139 "Defined by B<dpkg> on the maintainer script environment to a value (‘B<0>’ "
20140 "or ‘B<1>’) noting whether debugging has been requested (with the B<--debug> "
20141 "option) for the maintainer scripts (since dpkg 1.18.4)."
20146 msgid "Configuration fragment files (since dpkg 1.15.4)."
20151 msgid "Configuration file with default options."
20156 msgid "I<%LOGDIR%/dpkg.log>"
20161 msgid "Default log file (see I<%PKGCONFDIR%/dpkg.cfg> and option B<--log>)."
20167 "The other files listed below are in their default directories, see option "
20168 "B<--admindir> to see how to change locations of these files."
20173 msgid "I<%ADMINDIR%/available>"
20178 msgid "List of available packages."
20183 msgid "I<%ADMINDIR%/status>"
20189 "Statuses of available packages. This file contains information about whether "
20190 "a package is marked for removing or not, whether it is installed or not, "
20191 "etc. See section L</INFORMATION ABOUT PACKAGES> for more info."
20197 "The status file is backed up daily in I<%BACKUPSDIR%>. It can be useful if "
20198 "it's lost or corrupted due to filesystems troubles."
20203 msgid "The format and contents of a binary package are described in L<deb(5)>."
20208 msgid "Filesystem filenames"
20214 "During unpacking and configuration B<dpkg> uses various filenames for backup "
20215 "and rollback purposes. The following is a simplified explanation of how "
20216 "these filenames get used during package installation."
20221 msgid "F<*.dpkg-new>"
20227 "During unpack, B<dpkg> extracts new filesystem objects into "
20228 "I<pathname>B<.dpkg-new> (except for existing directories or symlinks to "
20229 "directories which get skipped), once that is done and after having performed "
20230 "backups of the old objects, the objects get renamed to I<pathname>."
20235 msgid "F<*.dpkg-tmp>"
20241 "During unpack, B<dpkg> makes backups of the old filesystem objects into "
20242 "I<pathname>B<.dpkg-tmp> after extracting the new objects. These backups are "
20243 "performed as either a rename for directories (but only if they switch file "
20244 "type), a new symlink copy for symlinks, or a hard link for any other "
20245 "filesystem object, except for conffiles which get no backups because they "
20246 "are processed at a later stage."
20252 "In case of needing to rollback, these backups get used to restore the "
20253 "previous contents of the objects. These get removed automatically after the "
20254 "installation is complete."
20259 msgid "F<*.dpkg-old>"
20265 "During configuration, when installing a new version, B<dpkg> can make a "
20266 "backup of the previous modified conffile into I<pathname>B<.dpkg-old>."
20271 msgid "F<*.dpkg-dist>"
20277 "During configuration, when keeping the old version, B<dpkg> can make a "
20278 "backup of the new unmodified conffile into I<pathname>B<.dpkg-dist>."
20284 "Any operation that needs write access to the database or the filesystem is "
20285 "considered a privileged operation that might allow root escalation. These "
20286 "operations must never be delegated to an untrusted user or be done on "
20287 "untrusted packages, as that might allow root access to the system."
20293 "Some operations (such as package verification) might need root privileges to "
20294 "be able to access files on the filesystem that would otherwise be "
20295 "inaccessible due to restricted permissions, but should otherwise work "
20296 "normally and produce appropriate messages in those cases."
20302 "See also the B<SECURITY> section of the L<dpkg-deb(1)> and L<dpkg-split(1)> "
20308 msgid "B<--no-act> usually gives less information than might be helpful."
20314 "To list installed packages related to the editor L<vi(1)> (note that "
20315 "B<dpkg-query> does not load the I<available> file anymore by default, and "
20316 "the B<dpkg-query> B<--load-avail> option should be used instead for that):"
20323 " dpkg -l '*vi*'\n"
20329 msgid "To see the entries in I<%ADMINDIR%/available> of two packages:"
20336 " dpkg --print-avail vim neovim | less\n"
20342 msgid "To search the listing of packages yourself:"
20349 " dpkg --print-avail | less\n"
20355 msgid "To remove an installed neovim package:"
20362 " dpkg -r neovim\n"
20369 "To install a package, you first need to find it in an archive or media "
20370 "disc. When using an archive based on a pool structure, knowing the archive "
20371 "area and the name of the package is enough to infer the pathname:"
20378 " dpkg -i /media/bdrom/pool/main/v/vim/vim_9.0.2018-1_amd64.deb\n"
20384 msgid "To make a local copy of the package selection states:"
20391 " dpkg --get-selections >myselections\n"
20398 "You might transfer this file to another computer, and after having updated "
20399 "the I<available> file there with your package manager frontend of choice "
20400 "(see L<https://wiki.debian.org/Teams/Dpkg/FAQ#set-selections> for more "
20401 "details), for example:"
20408 " apt-cache dumpavail | dpkg --merge-avail\n"
20414 msgid "you can install it with:"
20421 " dpkg --clear-selections\n"
20422 " dpkg --set-selections <myselections\n"
20429 "Note that this will not actually install or remove anything, but just set "
20430 "the selection state on the requested packages. You will need some other "
20431 "application to actually download and install the requested packages. For "
20432 "example, run B<apt-get dselect-upgrade>."
20438 "Ordinarily, you will find that L<dselect(1)> provides a more convenient way "
20439 "to modify the package selection states."
20444 msgid "ADDITIONAL FUNCTIONALITY"
20450 "Additional functionality can be gained by installing any of the following "
20451 "packages: B<apt>, B<aptitude> and B<debsig-verify>."
20457 "L<aptitude(8)>, L<apt(8)>, L<dselect(1)>, L<dpkg-deb(1)>, L<dpkg-query(1)>, "
20458 "L<deb(5)>, L<deb-control(5)>, L<dpkg.cfg(5)>, and L<dpkg-reconfigure(8)>."
20469 "See I<%PKGDOCDIR%/THANKS> for the list of people who have contributed to "
20475 msgid "dsc - Debian source packages' control file format"
20480 msgid "I<filename>B<.dsc>"
20486 "Each Debian source package is composed of a .dsc control file, which "
20487 "contains a number of fields, in L<deb822(5)> format."
20493 "Each field begins with a tag, such as B<Source> or B<Binary> (case "
20494 "insensitive), followed by a colon, and the body of the field (case sensitive "
20495 "unless stated otherwise). Fields are delimited only by field tags. In "
20496 "other words, field text may be multiple lines in length, but the "
20497 "installation tools will generally join lines when processing the body of the "
20498 "field (except in case of the multiline fields B<Package-List>, B<Files>, "
20499 "B<Checksums-Sha1> and B<Checksums-Sha256>, see below)."
20505 "The value of this field declares the format version of the source package. "
20506 "The field value is used by programs acting on a source package to interpret "
20507 "the list of files in the source package and determine how to unpack it. The "
20508 "syntax of the field value is a numeric major revision (“0-9”), a period "
20509 "(“.”), a numeric minor revision (“0-9”), and then an optional subtype after "
20510 "whitespace (“ \\t”), which if specified is a lowercase alphanumeric "
20511 "(“a-z0-9”) word in parentheses (“()”). The subtype is optional in the "
20512 "syntax but may be mandatory for particular source format revisions."
20518 "The source formats currently supported by B<dpkg> are B<1.0>, B<2.0>, B<3.0 "
20519 "(native)>, B<3.0 (quilt)>, B<3.0 (git)>, B<3.0 (bzr)> and B<3.0 (custom)>. "
20520 "See L<dpkg-source(1)> for their description."
20525 msgid "B<Source:> I<source-name> (required)"
20530 msgid "B<Binary:> I<binary-package-list>"
20536 "This folded field lists binary packages which this source package can "
20537 "produce, separated by commas."
20543 "This field has now been superseded by the B<Package-List> field, which gives "
20544 "enough information about what binary packages are produced on which "
20545 "architecture, build-profile and other involved restrictions."
20550 msgid "B<Architecture:> I<arch-list> (recommended)"
20556 "A list of architectures and architecture wildcards separated by spaces which "
20557 "specify the type of hardware this package can be compiled for. Common "
20558 "architecture names and architecture wildcards are B<amd64>, B<armel>, "
20559 "B<i386>, B<linux-any>, B<any-amd64>, etc."
20565 "Note that the B<all> value is meant for packages that are architecture "
20566 "independent, and B<any> for packages that are architecture dependent. The "
20567 "list may include (or consist solely of) the special value B<all>. When the "
20568 "list contains the architecture wildcard B<any>, the only other value allowed "
20569 "in the list is B<all>."
20575 "The field value is generally generated from B<Architecture> fields from in "
20576 "the I<debian/control> in the source package."
20581 msgid "B<Uploaders:> I<fullname-email-list>"
20586 msgid "B<Standards-Version:> I<version-string> (recommended)"
20592 "These fields declare the I<url> of the Version Control System repository "
20593 "used to maintain this package. See L<deb-src-control(5)> for more details."
20599 "This field declares that the source package contains the specified test "
20600 "suites. The value is a comma-separated list of test suites. If the "
20601 "B<autopkgtest> value is present, a I<debian/tests/control> is expected to be "
20602 "present, if the file is present but not the value, then B<dpkg-source> will "
20603 "automatically add it, preserving previous values."
20609 "This field declares the comma-separated union of all test dependencies "
20610 "(B<Depends> fields in I<debian/tests/control> file), with all restrictions "
20611 "removed, and OR dependencies flattened (that is, converted to separate AND "
20612 "relationships), except for binaries generated by this source package and its "
20613 "meta-dependency equivalent B<@>."
20619 "B<Rationale>: this field is needed because otherwise to be able to get the "
20620 "test dependencies, each source package would need to be unpacked."
20626 "These fields declare relationships between the source package and packages "
20627 "used to build it. They are discussed in the L<deb-src-control(5)> manual "
20633 msgid "B<Package-List:>"
20638 msgid "S< >I<package> I<package-type> I<section> I<priority> I<key-value-list>"
20644 "This multiline field contains a list of binary packages generated by this "
20650 msgid "The I<package> is the binary package name."
20656 "The I<package-type> is the binary package type, usually B<deb>, another "
20657 "common value is B<udeb>."
20663 "The I<section> and I<priority> match the binary package fields of the same "
20670 "The I<key-value-list> is a space separated I<key>B<=>I<value> list, and the "
20671 "currently known optional keys are:"
20682 "The architecture restriction from the binary package B<Architecture> field, "
20683 "with spaces converted to ‘,’."
20694 "The normalized build-profile restriction formula from the binary package "
20695 "B<Build-Profile> field, with ORs converted to ‘+’ and ANDs to ‘,’."
20700 msgid "B<protected>"
20706 "If the binary package is protected, this key will contain the value of the "
20707 "B<Protected> field, that is a B<yes> value."
20712 msgid "B<essential>"
20718 "If the binary package is essential, this key will contain the value of the "
20719 "B<Essential> field, that is a B<yes> value."
20725 "These multiline fields contain a list of files with a checksum and size for "
20726 "each one. These fields have the same syntax and differ only in the checksum "
20727 "algorithm used: MD5 for B<Files>, SHA-1 for B<Checksums-Sha1> and SHA-256 "
20728 "for B<Checksums-Sha256>."
20734 "The first line of the field value (the part on the same line as the field "
20735 "name followed by a colon) is always empty. The content of the field is "
20736 "expressed as continuation lines, one line per file. Each line consists of "
20737 "the checksum, a space, the file size, a space, and the file name."
20743 "These fields list all files that make up the source package. The list of "
20744 "files in these fields must match the list of files in the other related "
20751 "The B<Format> field conflates the format for the B<.dsc> file itself and the "
20752 "format of the extracted source package."
20757 msgid "L<deb822(5)>, L<deb-src-control(5)>, L<deb-version(7)>, L<dpkg-source(1)>."
20762 msgid "dselect.cfg - dselect configuration file"
20768 "This file contains default options for dselect. Each line contains a single "
20769 "option which is exactly the same as a normal command line option for dselect "
20770 "except for the leading hyphens which are not used here. Quotes surrounding "
20771 "option values are stripped. Comments are allowed by starting a line with a "
20772 "hash sign (‘B<#>’)."
20777 msgid "I<%PKGCONFDIR%/dselect.cfg.d/[0-9a-zA-Z_-]*>"
20782 msgid "I<%PKGCONFDIR%/dselect.cfg>"
20787 msgid "I<~/.dselect.cfg>"
20792 msgid "L<dselect(1)>."
20797 msgid "dselect - Debian package management frontend"
20802 msgid "B<dselect> [I<option>...] [I<command>...]"
20808 "B<dselect> is one of the primary user interfaces for managing packages on a "
20809 "Debian system. At the B<dselect> main menu, the system administrator can:"
20814 msgid "Update the list of available package versions,"
20819 msgid "View the status of installed and available packages,"
20824 msgid "Alter package selections and manage dependencies,"
20829 msgid "Install new packages or upgrade to newer versions."
20835 "B<dselect> operates as a front-end to L<dpkg(1)>, the low-level Debian "
20836 "package handling tool. It features a full-screen package selections manager "
20837 "with package depends and conflicts resolver. When run with administrator "
20838 "privileges, packages can be installed, upgraded and removed. Various access "
20839 "methods can be configured to retrieve available package version information "
20840 "and installable packages from package repositories. Depending on the used "
20841 "access method, these repositories can be public archive servers on the "
20842 "internet, local archive servers or media discs. The recommended access "
20843 "method is I<apt>, which is provided by the package L<apt(8)>."
20849 "Normally B<dselect> is invoked without parameters. An interactive menu is "
20850 "presented, offering the user a list of commands. If a command is given as "
20851 "argument, then that command is started immediately. Several command line "
20852 "parameters are still available to modify the running behaviour of B<dselect> "
20853 "or show additional information about the program."
20859 "All options can be specified both on the command line and in the B<dselect> "
20860 "configuration file I<%PKGCONFDIR%/dselect.cfg> or the files on the "
20861 "configuration directory I<%PKGCONFDIR%/dselect.cfg.d/>. Each line in the "
20862 "configuration file is either an option (exactly the same as the command line "
20863 "option but without leading hyphens) or a comment (if it starts with a "
20870 "Changes the directory where the dpkg ‘I<status>’, ‘I<available>’ and similar "
20871 "files are located. Defaults to I<%ADMINDIR%> if B<DPKG_ADMINDIR> has not "
20878 "Set the installation directory, which refers to the directory where packages "
20879 "get installed (since dpkg 1.21.2). Defaults to «I</>» if B<DPKG_ROOT> has "
20886 "Set the root directory to I<directory>, which sets the installation "
20887 "directory to «I<directory>» and the administrative directory to "
20888 "«I<directory>%ADMINDIR%» (since dpkg 1.21.0)."
20893 msgid "B<-D>I<file>, B<--debug> I<file>"
20898 msgid "Turn on debugging. Debugging information is sent to I<file>."
20903 msgid "B<--expert>"
20908 msgid "Turns on expert mode, i.e. doesn't display possibly annoying help messages."
20915 "I<screenpart>:[I<foreground>],[I<background>][:I<attr>[I<+attr>]...]"
20922 "I<screenpart>:[I<foreground>],[I<background>][:I<attr>[I<+attr>]...]"
20928 "Configures screen colors. This works only if your display supports colors. "
20929 "This option may be used multiple times (and is best used in "
20930 "I<dselect.cfg>). Each use changes the color (and optionally, other "
20931 "attributes) of one part of the screen. The parts of the screen (from top to "
20942 msgid "The screen title."
20947 msgid "B<listhead>"
20952 msgid "The header line above the list of packages."
20962 msgid "The scrolling list of packages (and also some help text)."
20972 msgid "The selected item in the list."
20977 msgid "B<pkgstate>"
20983 "In the list of packages, the text indicating the current state of each "
20989 msgid "B<pkgstatesel>"
20995 "In the list of packages, the text indicating the current state of the "
20996 "currently selected package."
21001 msgid "B<infohead>"
21006 msgid "The header line that displays the state of the currently selected package."
21011 msgid "B<infodesc>"
21016 msgid "The package's short description."
21026 msgid "Used to display package info such as the package's description."
21031 msgid "B<infofoot>"
21036 msgid "The last line of the screen when selecting packages."
21046 msgid "Used to display query lines"
21051 msgid "B<helpscreen>"
21056 msgid "Color of help screens."
21062 "After the part of the screen comes a colon and the color specification. You "
21063 "can specify either the foreground color, the background color, or both, "
21064 "overriding the compiled-in colors. Use standard curses color names."
21070 "Optionally, after the color specification is another colon, and an attribute "
21071 "specification. This is a list of one or more attributes, separated by plus "
21072 "(‘+’) characters. Available attributes include (not all of these will work "
21073 "on all terminals): B<normal>, B<standout>, B<underline>, B<reverse>, "
21074 "B<blink>, B<bright>, B<dim>, B<bold>"
21079 msgid "Print a brief help text and exit successfully."
21084 msgid "Print version information and exit successfully."
21090 "When B<dselect> is started it can perform the following commands, either "
21091 "directly if it was specified on the command line or by prompting the user "
21092 "with a menu of available commands if running interactively:"
21102 msgid "Choose and configure an access method to access package repositories."
21108 "By default, B<dselect> provides several methods such as I<media>, I<file> or "
21109 "I<ftp>, but other packages may provide additional methods, for example the "
21110 "I<apt> access method provided by the L<apt(8)> package."
21115 msgid "The use of the I<apt> access method is strongly recommended."
21125 msgid "Refresh the available packages database."
21131 "Retrieves a list of available package versions from the package repository, "
21132 "configured for the current access method, and update the dpkg database. The "
21133 "package lists are commonly provided by the repository as files named "
21134 "I<Packages> or I<Packages.gz>. These files can be generated by repository "
21135 "maintainers, using the program L<dpkg-scanpackages(1)>."
21141 "Details of the update command depend on the access method's implementation. "
21142 "Normally the process is straightforward and requires no user interaction."
21152 msgid "View or manage package selections and dependencies."
21158 "This is the main function of B<dselect>. In the select screen, the user can "
21159 "review a list of all available and installed packages. When run with "
21160 "administrator privileges, it is also possible to interactively change "
21161 "packages selection state. B<dselect> tracks the implications of these "
21162 "changes to other depending or conflicting packages."
21168 "When a conflict or failed depends is detected, a dependency resolution "
21169 "subscreen is prompted to the user. In this screen, a list of conflicting or "
21170 "depending packages is shown, and for each package listed, the reason for its "
21171 "listing is shown. The user may apply the suggestions proposed by B<dselect>, "
21172 "override them, or back out all the changes, including the ones that created "
21173 "the unresolved depends or conflicts."
21179 "The use of the interactive package selections management screen is explained "
21180 "in more detail below."
21190 msgid "Installs selected packages."
21196 "The configured access method will fetch installable or upgradable packages "
21197 "from the relevant repositories and install these using B<dpkg>. Depending "
21198 "on the implementation of the access method, all packages can be prefetched "
21199 "before installation, or fetched when needed. Some access methods may also "
21200 "remove packages that were marked for removal."
21206 "If an error occurred during install, it is usually advisable to run install "
21207 "again. In most cases, the problems will disappear or be solved. If problems "
21208 "persist or the installation performed was incorrect, please investigate into "
21209 "the causes and circumstances, and file a bug in the Debian bug tracking "
21210 "system. Instructions on how to do this can be found at "
21211 "L<https://bugs.debian.org/> or by reading the documentation for L<bug(1)> or "
21212 "L<reportbug(1)>, if these are installed."
21218 "Details of the install command depend on the access method's "
21219 "implementation. The user's attention and input may be required during "
21220 "installation, configuration or removal of packages. This depends on the "
21221 "maintainer scripts in the package. Some packages make use of the "
21222 "L<debconf(1)> library, allowing for more flexible or even automated "
21223 "installation setups."
21233 msgid "Configures any previously installed, but not fully configured packages."
21243 msgid "Removes or purges installed packages, that are marked for removal."
21253 msgid "Quit B<dselect>."
21258 msgid "Exits the program with zero (successful) error code."
21263 msgid "PACKAGE SELECTIONS MANAGEMENT"
21268 msgid "Introduction"
21274 "B<dselect> directly exposes the administrator to some of the complexities "
21275 "involved with managing large sets of packages with many "
21276 "interdependencies. For a user who is unfamiliar with the concepts and the "
21277 "ways of the Debian package management system, it can be quite "
21278 "overwhelming. Although B<dselect> is aimed at easing package management and "
21279 "administration, it is only instrumental in doing so and cannot be assumed to "
21280 "be a sufficient substitute for administrator skill and understanding. The "
21281 "user is required to be familiar with the concepts underlying the Debian "
21282 "packaging system. In case of doubt, consult the L<dpkg(1)> manual page and "
21283 "the distribution policy."
21289 "Unless B<dselect> is run in expert or immediate mode, a help screen is first "
21290 "displayed when choosing this command from the menu. The user is I<strongly> "
21291 "advised to study all of the information presented in the online help "
21292 "screens, when one pops up. The online help screens can at any time be "
21293 "invoked with the ‘B<?>’ key."
21298 msgid "Screen layout"
21304 "The select screen is by default split in a top and a bottom half. The top "
21305 "half shows a list of packages. A cursor bar can select an individual "
21306 "package, or a group of packages, if applicable, by selecting the group "
21307 "header. The bottom half of the screen shows some details about the package "
21308 "currently selected in the top half of the screen. The type of detail that "
21309 "is displayed can be varied."
21315 "Pressing the ‘B<I>’ key toggles a full-screen display of the packages list, "
21316 "an enlarged view of the package details, or the equally split screen."
21321 msgid "Package details view"
21327 "The package details view by default shows the extended package description "
21328 "for the package that is currently selected in the packages status list. The "
21329 "type of detail can be toggled by pressing the ‘B<i>’ key. This alternates "
21335 msgid "the extended description"
21340 msgid "the control information for the installed version"
21345 msgid "the control information for the available version"
21351 "In a dependency resolution screen, there is also the possibility of viewing "
21352 "the specific unresolved depends or conflicts related to the package and "
21353 "causing it to be listed."
21358 msgid "Packages status list"
21364 "The main select screen displays a list of all packages known to the Debian "
21365 "package management system. This includes packages installed on the system "
21366 "and packages known from the available packages database."
21372 "For every package, the list shows the package's status, priority, section, "
21373 "installed and available architecture, installed and available versions, the "
21374 "package name and its short description, all in one line. By pressing the "
21375 "‘B<A>’ key, the display of the installed and available architecture can be "
21376 "toggled between on an off. By pressing the ‘B<V>’ key, the display of the "
21377 "installed and available version can be toggled between on an off. By "
21378 "pressing the ‘B<v>’ key, the package status display is toggled between "
21379 "verbose and shorthand. Shorthand display is the default."
21385 "The shorthand status indication consists of four parts: an error flag, which "
21386 "should normally be clear, the current status, the last selection state and "
21387 "the current selection state. The first two relate to the actual state of "
21388 "the package, the second pair are about the selections set by the user."
21393 msgid "These are the meanings of the shorthand package status indicator codes:"
21398 msgid "Error flag:"
21403 msgid "I<empty> no error"
21408 msgid "B<R> serious error, needs reinstallation;"
21413 msgid "Installed state:"
21418 msgid "I<empty> not installed;"
21423 msgid "B<*> fully installed and configured;"
21428 msgid "B<-> not installed but some config files may remain;"
21433 msgid "B<U> unpacked but not yet configured;"
21438 msgid "B<C> half-configured (an error happened);"
21443 msgid "B<I> half-installed (an error happened)."
21448 msgid "Current and requested selections:"
21453 msgid "B<*> marked for installation or upgrade;"
21458 msgid "B<-> marked for removal, configuration files remain;"
21463 msgid "B<=> on hold: package will not be processed at all;"
21468 msgid "B<_> marked for purge, also remove configuration;"
21473 msgid "B<n> package is new and has yet to be marked."
21478 msgid "Cursor and screen movement"
21484 "The package selection list and the dependency conflict resolution screens "
21485 "can be navigated using motion commands mapped to the following keys:"
21490 msgid "B<p, Up, k> move cursor bar up"
21495 msgid "B<n, Down, j> move cursor bar down"
21500 msgid "B<P, Pgup, Backspace> scroll list 1 page up"
21505 msgid "B<N, Pgdn, Space> scroll list 1 page down"
21510 msgid "B<^p> scroll list 1 line up"
21515 msgid "B<^n> scroll list 1 line down"
21520 msgid "B<t, Home> jump to top of list"
21525 msgid "B<e, End> jump to end of list"
21530 msgid "B<u> scroll info 1 page up"
21535 msgid "B<d> scroll info 1 page down"
21540 msgid "B<^u> scroll info 1 line up"
21545 msgid "B<^d> scroll info 1 line down"
21550 msgid "B<B, Left-arrow> pan display 1/3 screen left"
21555 msgid "B<F, Right-arrow> pan display 1/3 screen right"
21560 msgid "B<^b> pan display 1 character left"
21565 msgid "B<^f> pan display 1 character right"
21570 msgid "Searching and sorting"
21576 "The list of packages can be searched by package name. This is done by "
21577 "pressing ‘B</>’, and typing a simple search string. The string is "
21578 "interpreted as a L<regex(7)> regular expression. If you add ‘B</d>’ to the "
21579 "search expression, dselect will also search in descriptions. If you add "
21580 "‘B</i>’ the search will be case insensitive. You may combine these two "
21581 "suffixes like this: ‘B</id>’. Repeated searching is accomplished by "
21582 "repeatedly pressing the ‘B<n>’ or ‘B<\\>’ keys, until the wanted package is "
21583 "found. If the search reaches the bottom of the list, it wraps to the top "
21584 "and continues searching from there."
21590 "The list sort order can be varied by pressing the ‘B<o>’ and ‘B<O>’ keys "
21591 "repeatedly. The following nine sort orderings can be selected:"
21596 msgid "B<alphabet>"
21601 msgid "B<priority+section>"
21606 msgid "B<section+priority>"
21611 msgid "B<available>"
21616 msgid "B<available+priority>"
21621 msgid "B<available+section>"
21631 msgid "B<status+priority>"
21636 msgid "B<status+section>"
21642 "Where not listed above explicitly, alphabetic order is used as the final "
21643 "subordering sort key."
21648 msgid "Altering selections"
21654 "The requested selection state of individual packages may be altered with the "
21655 "following commands:"
21660 msgid "B<+, Insert> install or upgrade"
21665 msgid "B<=, H> hold in present state and version"
21670 msgid "B<:, G> unhold: upgrade or leave uninstalled"
21675 msgid "B<-, Delete> remove, but leave configuration"
21680 msgid "B<_> remove & purge configuration"
21686 "When the change request results in one or more unsatisfied depends or "
21687 "conflicts, B<dselect> prompts the user with a dependency resolution "
21688 "screen. This will be further explained below."
21694 "It is also possible to apply these commands to groups of package selections, "
21695 "by pointing the cursor bar onto a group header. The exact grouping of "
21696 "packages is dependent on the current list ordering settings."
21702 "Proper care should be taken when altering large groups of selections, "
21703 "because this can instantaneously create large numbers of unresolved depends "
21704 "or conflicts, all of which will be listed in one dependency resolution "
21705 "screen, making them very hard to handle. In practice, only hold and unhold "
21706 "operations are useful when applied to groups."
21711 msgid "Resolving depends and conflicts"
21717 "When the change request results in one or more unsatisfied depends or "
21718 "conflicts, B<dselect> prompts the user with a dependency resolution "
21719 "screen. First however, an informative help screen is displayed."
21725 "The top half of this screen lists all the packages that will have unresolved "
21726 "depends or conflicts, as a result of the requested change, and all the "
21727 "packages whose installation can resolve any of these depends or whose "
21728 "removal can resolve any of the conflicts. The bottom half defaults to show "
21729 "the depends or conflicts that cause the currently selected package to be "
21736 "When the sublist of packages is displayed initially, B<dselect> may have "
21737 "already set the requested selection status of some of the listed packages, "
21738 "in order to resolve the depends or conflicts that caused the dependency "
21739 "resolution screen to be displayed. Usually, it is best to follow up the "
21740 "suggestions made by B<dselect>."
21746 "The listed packages' selection state may be reverted to the original "
21747 "settings, as they were before the unresolved depends or conflicts were "
21748 "created, by pressing the ‘B<R>’ key. By pressing the ‘B<D>’ key, the "
21749 "automatic suggestions are reset, but the change that caused the dependency "
21750 "resolution screen to be prompted is kept as requested. Finally, by pressing "
21751 "‘B<U>’, the selections are again set to the automatic suggestion values."
21756 msgid "Establishing the requested selections"
21762 "By pressing B<enter>, the currently displayed set of selections is "
21763 "accepted. If B<dselect> detects no unresolved depends as a result of the "
21764 "requested selections, the new selections will be set. However, if there are "
21765 "any unresolved depends, B<dselect> will again prompt the user with a "
21766 "dependency resolution screen."
21772 "To alter a set of selections that creates unresolved depends or conflicts "
21773 "and forcing B<dselect> to accept it, press the ‘B<Q>’ key. This sets the "
21774 "selections as specified by the user, unconditionally. Generally, don't do "
21775 "this unless you've read the fine print."
21781 "The opposite effect, to back out any selections change requests and go back "
21782 "to the previous list of selections, is attained by pressing the ‘B<X>’ or "
21783 "B<escape> keys. By repeatedly pressing these keys, any possibly detrimental "
21784 "changes to the requested package selections can be backed out completely to "
21785 "the last established settings."
21791 "If you mistakenly establish some settings and wish to revert all the "
21792 "selections to what is currently installed on the system, press the ‘B<C>’ "
21793 "key. This is somewhat similar to using the unhold command on all packages, "
21794 "but provides a more obvious panic button in cases where the user pressed "
21795 "B<enter> by accident."
21800 msgid "The requested command was successfully performed."
21806 "If set and the B<--instdir> or B<--root> options have not been specified, it "
21807 "will be used as the filesystem root directory (since dpkg 1.21.0)."
21813 "If set and the B<--admindir> or B<--root> option have not been specified, it "
21814 "will be used as the B<dpkg> database directory (since dpkg 1.21.0)."
21820 "If set, B<dselect> will use it as the directory from which to read the user "
21821 "specific configuration file."
21827 "The B<dselect> package selection interface is confusing to some new users. "
21828 "Reportedly, it even makes seasoned kernel developers cry."
21833 msgid "The documentation is lacking."
21838 msgid "There is no help option in the main menu."
21843 msgid "The visible list of available packages cannot be reduced."
21849 "The built in access methods can no longer stand up to current quality "
21850 "standards. Use the access method provided by L<apt(8)>, it is not only not "
21851 "broken, it is also much more flexible than the built in access methods."
21856 msgid "L<dpkg(1)>, L<apt(8)>, L<sources.list(5)>, L<deb(5)>."
21860 #: start-stop-daemon.pod
21861 msgid "start-stop-daemon - start and stop system daemon programs"
21865 #: start-stop-daemon.pod
21866 msgid "B<start-stop-daemon> [I<option>...] I<command>"
21870 #: start-stop-daemon.pod
21872 "B<start-stop-daemon> is used to control the creation and termination of "
21873 "system-level processes. Using one of the matching options, "
21874 "B<start-stop-daemon> can be configured to find existing instances of a "
21879 #: start-stop-daemon.pod
21881 "B<Note>: Unless B<--pid> or B<--pidfile> are specified, B<start-stop-daemon> "
21882 "behaves similar to L<killall(1)>. B<start-stop-daemon> will scan the "
21883 "process table looking for any processes which match the process name, parent "
21884 "pid, uid, and/or gid (if specified). Any matching process will prevent "
21885 "B<--start> from starting the daemon. All matching processes will be sent the "
21886 "TERM signal (or the one specified via B<--signal> or B<--retry>) if "
21887 "B<--stop> is specified. For daemons which have long-lived children which "
21888 "need to live through a B<--stop>, you must specify a pidfile."
21892 #: start-stop-daemon.pod
21893 msgid "B<-S>, B<--start> [B<-->] I<arguments>"
21897 #: start-stop-daemon.pod
21899 "Check for the existence of a specified process. If such a process exists, "
21900 "B<start-stop-daemon> does nothing, and exits with error status 1 (0 if "
21901 "B<--oknodo> is specified). If such a process does not exist, it starts an "
21902 "instance, using either the executable specified by B<--exec> or, if "
21903 "specified, by B<--startas>. Any arguments given after B<--> on the command "
21904 "line are passed unmodified to the program being started."
21908 #: start-stop-daemon.pod
21909 msgid "B<-K>, B<--stop>"
21913 #: start-stop-daemon.pod
21915 "Checks for the existence of a specified process. If such a process exists, "
21916 "B<start-stop-daemon> sends it the signal specified by B<--signal>, and exits "
21917 "with error status 0. If such a process does not exist, B<start-stop-daemon> "
21918 "exits with error status 1 (0 if B<--oknodo> is specified). If B<--retry> is "
21919 "specified, then B<start-stop-daemon> will check that the process(es) have "
21924 #: start-stop-daemon.pod
21925 msgid "B<-T>, B<--status>"
21929 #: start-stop-daemon.pod
21931 "Check for the existence of a specified process, and returns an exit status "
21932 "code, according to the LSB Init Script Actions (since version 1.16.1)."
21936 #: start-stop-daemon.pod
21937 msgid "B<-H>, B<--help>"
21941 #: start-stop-daemon.pod
21942 msgid "Show usage information and exit."
21946 #: start-stop-daemon.pod
21947 msgid "B<-V>, B<--version>"
21951 #: start-stop-daemon.pod
21952 msgid "Show the program version and exit."
21956 #: start-stop-daemon.pod
21957 msgid "Matching options"
21961 #: start-stop-daemon.pod
21962 msgid "B<--pid> I<pid>"
21966 #: start-stop-daemon.pod
21968 "Check for a process with the specified I<pid> (since version 1.17.6). The "
21969 "I<pid> must be a number greater than 0."
21973 #: start-stop-daemon.pod
21974 msgid "B<--ppid> I<ppid>"
21978 #: start-stop-daemon.pod
21980 "Check for a process with the specified parent pid I<ppid> (since version "
21981 "1.17.7). The I<ppid> must be a number greater than 0."
21985 #: start-stop-daemon.pod
21986 msgid "B<-p>, B<--pidfile> I<pidfile>"
21990 #: start-stop-daemon.pod
21991 msgid "Check whether a process has created the file I<pidfile>."
21995 #: start-stop-daemon.pod
21997 "B<Note>: Using this matching option alone might cause unintended processes "
21998 "to be acted on, if the old process terminated without being able to remove "
22003 #: start-stop-daemon.pod
22005 "B<Warning>: Using this match option with a world-writable pidfile or using "
22006 "it alone with a daemon that writes the pidfile as an unprivileged (non-root) "
22007 "user will be refused with an error (since version 1.19.3) as this is a "
22008 "security risk, because either any user can write to it, or if the daemon "
22009 "gets compromised, the contents of the pidfile cannot be trusted, and then a "
22010 "privileged runner (such as an init script executed as root) would end up "
22011 "acting on any system process. Using I</dev/null> is exempt from these "
22016 #: start-stop-daemon.pod
22017 msgid "B<-x>, B<--exec> I<executable>"
22021 #: start-stop-daemon.pod
22023 "Check for processes that are instances of this I<executable>. The "
22024 "I<executable> argument should be an absolute pathname."
22028 #: start-stop-daemon.pod
22030 "B<Note>: This might not work as intended with interpreted scripts, as the "
22031 "executable will point to the interpreter. Take into account processes "
22032 "running from inside a chroot will also be matched, so other match "
22033 "restrictions might be needed."
22037 #: start-stop-daemon.pod
22038 msgid "B<-n>, B<--name> I<process-name>"
22042 #: start-stop-daemon.pod
22044 "Check for processes with the name I<process-name>. The I<process-name> is "
22045 "usually the process filename, but it could have been changed by the process "
22050 #: start-stop-daemon.pod
22052 "B<Note>: On most systems this information is retrieved from the process comm "
22053 "name from the kernel, which tends to have a relatively short length limit "
22054 "(assuming more than 15 characters is non-portable)."
22058 #: start-stop-daemon.pod
22059 msgid "B<-u>, B<--user> I<username>|I<uid>"
22063 #: start-stop-daemon.pod
22064 msgid "Check for processes owned by the user specified by I<username> or I<uid>."
22068 #: start-stop-daemon.pod
22070 "B<Note>: Using this matching option alone will cause all processes matching "
22071 "the user to be acted on."
22075 #: start-stop-daemon.pod
22076 msgid "Generic options"
22080 #: start-stop-daemon.pod
22081 msgid "B<-g>, B<--group> I<group>|I<gid>"
22085 #: start-stop-daemon.pod
22086 msgid "Change to I<group> or I<gid> when starting the process."
22090 #: start-stop-daemon.pod
22091 msgid "B<-s>, B<--signal> I<signal>"
22095 #: start-stop-daemon.pod
22097 "With B<--stop>, specifies the signal to send to processes being stopped "
22102 #: start-stop-daemon.pod
22103 msgid "B<-R>, B<--retry> I<timeout>|I<schedule>"
22107 #: start-stop-daemon.pod
22109 "With B<--stop>, specifies that B<start-stop-daemon> is to check whether the "
22110 "process(es) do finish. It will check repeatedly whether any matching "
22111 "processes are running, until none are. If the processes do not exit it will "
22112 "then take further action as determined by the schedule."
22116 #: start-stop-daemon.pod
22118 "If I<timeout> is specified instead of I<schedule>, then the schedule "
22119 "I<signal>B</>I<timeout>B</KILL/>I<timeout> is used, where I<signal> is the "
22120 "signal specified with B<--signal>."
22124 #: start-stop-daemon.pod
22126 "I<schedule> is a list of at least two items separated by slashes (B</>); "
22127 "each item may be B<->I<signal-number> or [B<->]I<signal-name>, which means "
22128 "to send that signal, or I<timeout>, which means to wait that many seconds "
22129 "for processes to exit, or B<forever>, which means to repeat the rest of the "
22130 "schedule forever if necessary."
22134 #: start-stop-daemon.pod
22136 "If the end of the schedule is reached and B<forever> is not specified, then "
22137 "B<start-stop-daemon> exits with error status 2. If a schedule is specified, "
22138 "then any signal specified with B<--signal> is ignored."
22142 #: start-stop-daemon.pod
22143 msgid "B<-a>, B<--startas> I<pathname>"
22147 #: start-stop-daemon.pod
22149 "With B<--start>, start the process specified by I<pathname>. If not "
22150 "specified, defaults to the argument given to B<--exec>."
22154 #: start-stop-daemon.pod
22155 msgid "B<-t>, B<--test>"
22159 #: start-stop-daemon.pod
22161 "Print actions that would be taken and set appropriate return value, but take "
22166 #: start-stop-daemon.pod
22167 msgid "B<-o>, B<--oknodo>"
22171 #: start-stop-daemon.pod
22172 msgid "Return exit status 0 instead of 1 if no actions are (would be) taken."
22176 #: start-stop-daemon.pod
22177 msgid "B<-q>, B<--quiet>"
22181 #: start-stop-daemon.pod
22182 msgid "Do not print informational messages; only display error messages."
22186 #: start-stop-daemon.pod
22187 msgid "B<-c>, B<--chuid> I<username>|I<uid>[B<:>I<group>|I<gid>]"
22191 #: start-stop-daemon.pod
22193 "Change to this username/uid before starting the process. You can also "
22194 "specify a group by appending a B<:>, then the group or gid in the same way "
22195 "as you would for the L<chown(1)> command (I<user>B<:>I<group>). If a user "
22196 "is specified without a group, the primary GID for that user is used. When "
22197 "using this option you must realize that the primary and supplemental groups "
22198 "are set as well, even if the B<--group> option is not specified. The "
22199 "B<--group> option is only for groups that the user isn't normally a member "
22200 "of (like adding per process group membership for generic users like "
22205 #: start-stop-daemon.pod
22206 msgid "B<-r>, B<--chroot> I<root>"
22210 #: start-stop-daemon.pod
22212 "Change directory and chroot to I<root> before starting the process. Please "
22213 "note that the pidfile is also written after the chroot."
22217 #: start-stop-daemon.pod
22218 msgid "B<-d>, B<--chdir> I<path>"
22222 #: start-stop-daemon.pod
22224 "Change directory to I<path> before starting the process. This is done after "
22225 "the chroot if the B<-r>|B<--chroot> option is set. When not specified, "
22226 "B<start-stop-daemon> will change directory to the root directory before "
22227 "starting the process."
22231 #: start-stop-daemon.pod
22232 msgid "B<-b>, B<--background>"
22236 #: start-stop-daemon.pod
22238 "Typically used with programs that don't detach on their own. This option "
22239 "will force B<start-stop-daemon> to fork before starting the process, and "
22240 "force it into the background."
22244 #: start-stop-daemon.pod
22246 "B<Warning>: B<start-stop-daemon> cannot check the exit status if the process "
22247 "fails to execute for B<any> reason. This is a last resort, and is only meant "
22248 "for programs that either make no sense forking on their own, or where it's "
22249 "not feasible to add the code for them to do this themselves."
22253 #: start-stop-daemon.pod
22254 msgid "B<--notify-await>"
22258 #: start-stop-daemon.pod
22260 "Wait for the background process to send a readiness notification before "
22261 "considering the service started (since version 1.19.3). This implements "
22262 "parts of the systemd readiness protocol, as specified in the L<sd_notify(3)> "
22263 "manual page. The following variables are supported:"
22267 #: start-stop-daemon.pod
22272 #: start-stop-daemon.pod
22273 msgid "The program is ready to give service, so we can exit safely."
22277 #: start-stop-daemon.pod
22278 msgid "B<EXTEND_TIMEOUT_USEC=>I<number>"
22282 #: start-stop-daemon.pod
22284 "The program requests to extend the timeout by I<number> microseconds. This "
22285 "will reset the current timeout to the specified value."
22289 #: start-stop-daemon.pod
22290 msgid "B<ERRNO=>I<number>"
22294 #: start-stop-daemon.pod
22296 "The program is exiting with an error. Do the same and print the "
22297 "user-friendly string for the B<errno> value."
22301 #: start-stop-daemon.pod
22302 msgid "B<--notify-timeout> I<timeout>"
22306 #: start-stop-daemon.pod
22308 "Set a timeout for the B<--notify-await> option (since version 1.19.3). When "
22309 "the timeout is reached, B<start-stop-daemon> will exit with an error code, "
22310 "and no readiness notification will be awaited. The default is B<60> "
22315 #: start-stop-daemon.pod
22316 msgid "B<-C>, B<--no-close>"
22320 #: start-stop-daemon.pod
22322 "Do not close any file descriptor when forcing the daemon into the background "
22323 "(since version 1.16.5). Used for debugging purposes to see the process "
22324 "output, or to redirect file descriptors to log the process output. Only "
22325 "relevant when using B<--background>."
22329 #: start-stop-daemon.pod
22330 msgid "B<-O>, B<--output> I<pathname>"
22334 #: start-stop-daemon.pod
22336 "Redirect B<stdout> and B<stderr> to I<pathname> when forcing the daemon into "
22337 "the background (since version 1.20.6). Only relevant when using "
22342 #: start-stop-daemon.pod
22343 msgid "B<-N>, B<--nicelevel> I<int>"
22347 #: start-stop-daemon.pod
22348 msgid "This alters the priority of the process before starting it."
22352 #: start-stop-daemon.pod
22353 msgid "B<-P>, B<--procsched> I<policy>B<:>I<priority>"
22357 #: start-stop-daemon.pod
22359 "This alters the process scheduler policy and priority of the process before "
22360 "starting it (since version 1.15.0). The priority can be optionally "
22361 "specified by appending a B<:> followed by the value. The default I<priority> "
22362 "is 0. The currently supported policy values are B<other>, B<fifo> and B<rr>."
22366 #: start-stop-daemon.pod
22368 "This option might do nothing on some systems, where POSIX process scheduling "
22369 "is not supported."
22373 #: start-stop-daemon.pod
22374 msgid "B<-I>, B<--iosched> I<class>B<:>I<priority>"
22378 #: start-stop-daemon.pod
22380 "This alters the IO scheduler class and priority of the process before "
22381 "starting it (since version 1.15.0). The priority can be optionally "
22382 "specified by appending a B<:> followed by the value. The default I<priority> "
22383 "is 4, unless I<class> is B<idle>, then I<priority> will always be 7. The "
22384 "currently supported values for I<class> are B<idle>, B<best-effort> and "
22389 #: start-stop-daemon.pod
22391 "This option might do nothing on some systems, where Linux IO scheduling is "
22396 #: start-stop-daemon.pod
22397 msgid "B<-k>, B<--umask> I<mask>"
22401 #: start-stop-daemon.pod
22403 "This sets the umask of the process before starting it (since version "
22408 #: start-stop-daemon.pod
22409 msgid "B<-m>, B<--make-pidfile>"
22413 #: start-stop-daemon.pod
22415 "Used when starting a program that does not create its own pid file. This "
22416 "option will make B<start-stop-daemon> create the file referenced with "
22417 "B<--pidfile> and place the pid into it just before executing the "
22418 "process. Note, the file will only be removed when stopping the program if "
22419 "B<--remove-pidfile> is used."
22423 #: start-stop-daemon.pod
22425 "B<Note>: This feature may not work in all cases. Most notably when the "
22426 "program being executed forks from its main process. Because of this, it is "
22427 "usually only useful when combined with the B<--background> option."
22431 #: start-stop-daemon.pod
22432 msgid "B<--remove-pidfile>"
22436 #: start-stop-daemon.pod
22438 "Used when stopping a program that does not remove its own pid file (since "
22439 "version 1.17.19). This option will make B<start-stop-daemon> remove the "
22440 "file referenced with B<--pidfile> after terminating the process."
22444 #: start-stop-daemon.pod
22445 msgid "Print verbose informational messages."
22449 #: start-stop-daemon.pod
22451 "The requested action was performed. If B<--oknodo> was specified, it's also "
22452 "possible that nothing had to be done. This can happen when B<--start> was "
22453 "specified and a matching process was already running, or when B<--stop> was "
22454 "specified and there were no matching processes."
22458 #: start-stop-daemon.pod
22459 msgid "If B<--oknodo> was not specified and nothing was done."
22463 #: start-stop-daemon.pod
22465 "If B<--stop> and B<--retry> were specified, but the end of the schedule was "
22466 "reached and the processes were still running."
22470 #: start-stop-daemon.pod
22475 #: start-stop-daemon.pod
22476 msgid "Any other error."
22480 #: start-stop-daemon.pod
22481 msgid "When using the B<--status> command, the following status codes are returned:"
22485 #: start-stop-daemon.pod
22486 msgid "Program is running."
22490 #: start-stop-daemon.pod
22491 msgid "Program is not running and the pid file exists."
22495 #: start-stop-daemon.pod
22496 msgid "Program is not running."
22500 #: start-stop-daemon.pod
22505 #: start-stop-daemon.pod
22506 msgid "Unable to determine program status."
22510 #: start-stop-daemon.pod
22512 "Start the B<food> daemon, unless one is already running (a process named "
22513 "food, running as user food, with pid in food.pid):"
22517 #: start-stop-daemon.pod
22520 " start-stop-daemon --start --oknodo --user food --name food \\\n"
22521 " --pidfile %RUNSTATEDIR%/food.pid --startas /usr/sbin/food \\\n"
22522 " --chuid food -- --daemon\n"
22527 #: start-stop-daemon.pod
22528 msgid "Send B<SIGTERM> to B<food> and wait up to 5 seconds for it to stop:"
22532 #: start-stop-daemon.pod
22535 " start-stop-daemon --stop --oknodo --user food --name food \\\n"
22536 " --pidfile %RUNSTATEDIR%/food.pid --retry 5\n"
22541 #: start-stop-daemon.pod
22542 msgid "Demonstration of a custom schedule for stopping B<food>:"
22546 #: start-stop-daemon.pod
22549 " start-stop-daemon --stop --oknodo --user food --name food \\\n"
22550 " --pidfile %RUNSTATEDIR%/food.pid --retry=TERM/30/KILL/5\n"
22555 #: update-alternatives.pod
22556 msgid "update-alternatives - maintain symbolic links determining default commands"
22560 #: update-alternatives.pod
22561 msgid "B<update-alternatives> [I<option>...] I<command>"
22565 #: update-alternatives.pod
22567 "B<update-alternatives> creates, removes, maintains and displays information "
22568 "about the symbolic links comprising the alternatives system."
22572 #: update-alternatives.pod
22574 "It is possible for several programs fulfilling the same or similar functions "
22575 "to be installed on a single system at the same time. For example, many "
22576 "systems have several text editors installed at once. This gives choice to "
22577 "the users of a system, allowing each to use a different editor, if desired, "
22578 "but makes it difficult for a program to make a good choice for an editor to "
22579 "invoke if the user has not specified a particular preference."
22583 #: update-alternatives.pod
22585 "The alternatives system aims to solve this problem. A generic name in the "
22586 "filesystem is shared by all files providing interchangeable functionality. "
22587 "The alternatives system and the system administrator together determine "
22588 "which actual file is referenced by this generic name. For example, if the "
22589 "text editors L<ed(1)> and L<nvi(1)> are both installed on the system, the "
22590 "alternatives system will cause the generic name I</usr/bin/editor> to refer "
22591 "to I</usr/bin/nvi> by default. The system administrator can override this "
22592 "and cause it to refer to I</usr/bin/ed> instead, and the alternatives system "
22593 "will not alter this setting until explicitly requested to do so."
22597 #: update-alternatives.pod
22599 "The generic name is not a direct symbolic link to the selected alternative. "
22600 "Instead, it is a symbolic link to a name in the I<alternatives> "
22601 "I<directory>, which in turn is a symbolic link to the actual file "
22602 "referenced. This is done so that the system administrator's changes can be "
22603 "confined within the I<%CONFDIR%> directory: the FHS (q.v.) gives reasons why "
22604 "this is a Good Thing."
22608 #: update-alternatives.pod
22610 "When each package providing a file with a particular functionality is "
22611 "installed, changed or removed, B<update-alternatives> is called to update "
22612 "information about that file in the alternatives system. "
22613 "B<update-alternatives> is usually called from the following Debian package "
22614 "maintainer scripts, B<postinst> (configure) to install the alternative and "
22615 "from B<prerm> and B<postrm> (remove) to remove the alternative. B<Note>: in "
22616 "most (if not all) cases no other maintainer script actions should call "
22617 "B<update-alternatives>, in particular neither of B<upgrade> nor "
22618 "B<disappear>, as any other such action can lose the manual state of an "
22619 "alternative, or make the alternative temporarily flip-flop, or completely "
22620 "switch when several of them have the same priority."
22624 #: update-alternatives.pod
22626 "It is often useful for a number of alternatives to be synchronized, so that "
22627 "they are changed as a group; for example, when several versions of the "
22628 "L<vi(1)> editor are installed, the manual page referenced by "
22629 "I</usr/share/man/man1/vi.1> should correspond to the executable referenced "
22630 "by I</usr/bin/vi>. B<update-alternatives> handles this by means of "
22631 "I<master> and I<slave> links; when the master is changed, any associated "
22632 "slaves are changed too. A master link and its associated slaves make up a "
22633 "I<link> I<group>."
22637 #: update-alternatives.pod
22639 "Each link group is, at any given time, in one of two modes: automatic or "
22640 "manual. When a group is in automatic mode, the alternatives system will "
22641 "automatically decide, as packages are installed and removed, whether and how "
22642 "to update the links. In manual mode, the alternatives system will retain "
22643 "the choice of the administrator and avoid changing the links (except when "
22644 "something is broken)."
22648 #: update-alternatives.pod
22650 "Link groups are in automatic mode when they are first introduced to the "
22651 "system. If the system administrator makes changes to the system's automatic "
22652 "settings, this will be noticed the next time B<update-alternatives> is run "
22653 "on the changed link's group, and the group will automatically be switched to "
22658 #: update-alternatives.pod
22660 "Each alternative has a I<priority> associated with it. When a link group is "
22661 "in automatic mode, the alternatives pointed to by members of the group will "
22662 "be those which have the highest priority."
22666 #: update-alternatives.pod
22668 "When using the B<--config> option, B<update-alternatives> will list all of "
22669 "the choices for the link group of which given I<name> is the master "
22670 "alternative name. The current choice is marked with a ‘*’. You will then "
22671 "be prompted for your choice regarding this link group. Depending on the "
22672 "choice made, the link group might no longer be in I<auto> mode. You will "
22673 "need to use the B<--auto> option in order to return to the automatic mode "
22674 "(or you can rerun B<--config> and select the entry marked as automatic)."
22678 #: update-alternatives.pod
22680 "If you want to configure non-interactively you can use the B<--set> option "
22681 "instead (see below)."
22685 #: update-alternatives.pod
22687 "Different packages providing the same file need to do so B<cooperatively>. "
22688 "In other words, the usage of B<update-alternatives> is B<mandatory> for all "
22689 "involved packages in such case. It is not possible to override some file in "
22690 "a package that does not employ the B<update-alternatives> mechanism."
22694 #: update-alternatives.pod
22695 msgid "TERMINOLOGY"
22699 #: update-alternatives.pod
22701 "Since the activities of B<update-alternatives> are quite involved, some "
22702 "specific terms will help to explain its operation."
22706 #: update-alternatives.pod
22707 msgid "generic name (or alternative link)"
22711 #: update-alternatives.pod
22713 "A name, like I</usr/bin/editor>, which refers, via the alternatives system, "
22714 "to one of a number of files of similar function."
22718 #: update-alternatives.pod
22719 msgid "alternative name"
22723 #: update-alternatives.pod
22724 msgid "The name of a symbolic link in the alternatives directory."
22728 #: update-alternatives.pod
22729 msgid "alternative (or alternative path)"
22733 #: update-alternatives.pod
22735 "The name of a specific file in the filesystem, which may be made accessible "
22736 "via a generic name using the alternatives system."
22740 #: update-alternatives.pod
22741 msgid "alternatives directory"
22745 #: update-alternatives.pod
22746 msgid "A directory, by default I<%CONFDIR%/alternatives>, containing the symlinks."
22750 #: update-alternatives.pod
22751 msgid "administrative directory"
22755 #: update-alternatives.pod
22757 "A directory, by default I<%ADMINDIR%/alternatives>, containing "
22758 "B<update-alternatives>' state information."
22762 #: update-alternatives.pod
22767 #: update-alternatives.pod
22768 msgid "A set of related symlinks, intended to be updated as a group."
22772 #: update-alternatives.pod
22773 msgid "master link"
22777 #: update-alternatives.pod
22779 "The alternative link in a link group which determines how the other links in "
22780 "the group are configured."
22784 #: update-alternatives.pod
22789 #: update-alternatives.pod
22791 "An alternative link in a link group which is controlled by the setting of "
22796 #: update-alternatives.pod
22797 msgid "automatic mode"
22801 #: update-alternatives.pod
22803 "When a link group is in automatic mode, the alternatives system ensures that "
22804 "the links in the group point to the highest priority alternative appropriate "
22809 #: update-alternatives.pod
22810 msgid "manual mode"
22814 #: update-alternatives.pod
22816 "When a link group is in manual mode, the alternatives system will not make "
22817 "any changes to the system administrator's settings."
22821 #: update-alternatives.pod
22822 msgid "B<--install> I<link name path priority> [B<--slave> I<link name path>]..."
22826 #: update-alternatives.pod
22828 "Add a group of alternatives to the system. I<link> is the generic name for "
22829 "the master link, I<name> is the name of its symlink in the alternatives "
22830 "directory, and I<path> is the alternative being introduced for the master "
22831 "link. The arguments after B<--slave> are the generic name, symlink name in "
22832 "the alternatives directory and the alternative path for a slave link. Zero "
22833 "or more B<--slave> options, each followed by three arguments, may be "
22834 "specified. Note that the master alternative must exist or the call will "
22835 "fail. However if a slave alternative doesn't exist, the corresponding slave "
22836 "alternative link will simply not be installed (a warning will still be "
22837 "displayed). If some real file is installed where an alternative link has to "
22838 "be installed, it is kept unless B<--force> is used."
22842 #: update-alternatives.pod
22844 "If the alternative name specified exists already in the alternatives "
22845 "system's records, the information supplied will be added as a new set of "
22846 "alternatives for the group. Otherwise, a new group, set to automatic mode, "
22847 "will be added with this information. If the group is in automatic mode, and "
22848 "the newly added alternatives' priority is higher than any other installed "
22849 "alternatives for this group, the symlinks will be updated to point to the "
22850 "newly added alternatives."
22854 #: update-alternatives.pod
22855 msgid "B<--set> I<name> I<path>"
22859 #: update-alternatives.pod
22861 "Set the program I<path> as alternative for I<name>. This is equivalent to "
22862 "B<--config> but is non-interactive and thus scriptable."
22866 #: update-alternatives.pod
22867 msgid "B<--remove> I<name> I<path>"
22871 #: update-alternatives.pod
22873 "Remove an alternative and all of its associated slave links. I<name> is a "
22874 "name in the alternatives directory, and I<path> is an absolute filename to "
22875 "which I<name> could be linked. If I<name> is indeed linked to I<path>, "
22876 "I<name> will be updated to point to another appropriate alternative (and the "
22877 "group is put back in automatic mode), or removed if there is no such "
22878 "alternative left. Associated slave links will be updated or removed, "
22879 "correspondingly. If the link is not currently pointing to I<path>, no links "
22880 "are changed; only the information about the alternative is removed."
22884 #: update-alternatives.pod
22885 msgid "B<--remove-all> I<name>"
22889 #: update-alternatives.pod
22891 "Remove all alternatives and all of their associated slave links. I<name> is "
22892 "a name in the alternatives directory."
22896 #: update-alternatives.pod
22898 "Call B<--config> on all alternatives. It can be usefully combined with "
22899 "B<--skip-auto> to review and configure all alternatives which are not "
22900 "configured in automatic mode. Broken alternatives are also displayed. Thus "
22901 "a simple way to fix all broken alternatives is to call B<yes '' | "
22902 "update-alternatives --force --all>."
22906 #: update-alternatives.pod
22907 msgid "B<--auto> I<name>"
22911 #: update-alternatives.pod
22913 "Switch the link group behind the alternative for I<name> to automatic mode. "
22914 "In the process, the master symlink and its slaves are updated to point to "
22915 "the highest priority installed alternatives."
22919 #: update-alternatives.pod
22920 msgid "B<--display> I<name>"
22924 #: update-alternatives.pod
22926 "Display information about the link group. Information displayed includes "
22927 "the group's mode (auto or manual), the master and slave links, which "
22928 "alternative the master link currently points to, what other alternatives are "
22929 "available (and their corresponding slave alternatives), and the highest "
22930 "priority alternative currently installed."
22934 #: update-alternatives.pod
22935 msgid "B<--get-selections>"
22939 #: update-alternatives.pod
22941 "List all master alternative names (those controlling a link group) and "
22942 "their status (since version 1.15.0). Each line contains up to 3 fields "
22943 "(separated by one or more spaces). The first field is the alternative name, "
22944 "the second one is the status (either B<auto> or B<manual>), and the last one "
22945 "contains the current choice in the alternative (beware: it's a filename and "
22946 "thus might contain spaces)."
22950 #: update-alternatives.pod
22952 "Read configuration of alternatives on standard input in the format generated "
22953 "by B<--get-selections> and reconfigure them accordingly (since version "
22958 #: update-alternatives.pod
22959 msgid "B<--query> I<name>"
22963 #: update-alternatives.pod
22965 "Display information about the link group like B<--display> does, but in a "
22966 "machine parseable way (since version 1.15.0, see section L</QUERY FORMAT> "
22971 #: update-alternatives.pod
22972 msgid "B<--list> I<name>"
22976 #: update-alternatives.pod
22977 msgid "Display all targets of the link group."
22981 #: update-alternatives.pod
22982 msgid "B<--config> I<name>"
22986 #: update-alternatives.pod
22988 "Show available alternatives for a link group and allow the user to "
22989 "interactively select which one to use. The link group is updated."
22993 #: update-alternatives.pod
22994 msgid "B<--altdir> I<directory>"
22998 #: update-alternatives.pod
23000 "Specifies the alternatives directory, when this is to be different from the "
23001 "default. Defaults to «I<%CONFDIR%/alternatives>»."
23005 #: update-alternatives.pod
23007 "Specifies the administrative directory, when this is to be different from "
23008 "the default. Defaults to «I<%ADMINDIR%/alternatives>» if "
23009 "B<%ADMINDIR_ENVVAR%> has not been set."
23013 #: update-alternatives.pod
23015 "Specifies the installation directory where alternatives links will be "
23016 "created (since version 1.20.1). Defaults to «I</>» if B<%INSTDIR_ENVVAR%> "
23017 "has not been set."
23021 #: update-alternatives.pod
23023 "Specifies the root directory (since version 1.20.1). This also sets the "
23024 "alternatives, installation and administrative directories to match. "
23025 "Defaults to «I</>» if B<%INSTDIR_ENVVAR%> has not been set."
23029 #: update-alternatives.pod
23030 msgid "B<--log> I<file>"
23034 #: update-alternatives.pod
23036 "Specifies the log file (since version 1.15.0), when this is to be different "
23037 "from the default (%LOGDIR%/alternatives.log)."
23041 #: update-alternatives.pod
23043 "Allow replacing or dropping any real file that is installed where an "
23044 "alternative link has to be installed or removed."
23048 #: update-alternatives.pod
23049 msgid "B<--skip-auto>"
23053 #: update-alternatives.pod
23055 "Skip configuration prompt for alternatives which are properly configured in "
23056 "automatic mode. This option is only relevant with B<--config> or B<--all>."
23060 #: update-alternatives.pod
23061 msgid "Do not generate any comments unless errors occur."
23065 #: update-alternatives.pod
23066 msgid "B<--verbose>"
23070 #: update-alternatives.pod
23071 msgid "Generate more comments about what is being done."
23075 #: update-alternatives.pod
23077 "Generate even more comments, helpful for debugging, about what is being done "
23078 "(since version 1.19.3)."
23082 #: update-alternatives.pod
23084 "Problems were encountered whilst parsing the command line or performing the "
23089 #: update-alternatives.pod
23090 msgid "B<%INSTDIR_ENVVAR%>"
23094 #: update-alternatives.pod
23095 msgid "B<%ADMINDIR_ENVVAR%>"
23099 #: update-alternatives.pod
23101 "If set and the B<--admindir> option has not been specified, it will be used "
23102 "as the base administrative directory."
23106 #: update-alternatives.pod
23107 msgid "I<%CONFDIR%/alternatives/>"
23111 #: update-alternatives.pod
23113 "The default alternatives directory. Can be overridden by the B<--altdir> "
23118 #: update-alternatives.pod
23119 msgid "I<%ADMINDIR%/alternatives/>"
23123 #: update-alternatives.pod
23125 "The default administration directory. Can be overridden by the "
23126 "B<--admindir> option."
23130 #: update-alternatives.pod
23131 msgid "QUERY FORMAT"
23135 #: update-alternatives.pod
23137 "The B<--query> format is using an RFC822-like flat format. It's made of I<n> "
23138 "+ 1 stanzas where I<n> is the number of alternatives available in the "
23139 "queried link group. The first stanza contains the following fields:"
23143 #: update-alternatives.pod
23144 msgid "B<Name:> I<name>"
23148 #: update-alternatives.pod
23149 msgid "The alternative name in the alternative directory."
23153 #: update-alternatives.pod
23154 msgid "B<Link:> I<link>"
23158 #: update-alternatives.pod
23159 msgid "The generic name of the alternative."
23163 #: update-alternatives.pod
23164 msgid "B<Slaves:> I<list-of-slaves>"
23168 #: update-alternatives.pod
23170 "When this field is present, the B<next> lines hold all slave links "
23171 "associated to the master link of the alternative. There is one slave per "
23172 "line. Each line contains one space, the generic name of the slave "
23173 "alternative, another space, and the path to the slave link."
23177 #: update-alternatives.pod
23178 msgid "B<Status:> I<status>"
23182 #: update-alternatives.pod
23183 msgid "The status of the alternative (B<auto> or B<manual>)."
23187 #: update-alternatives.pod
23188 msgid "B<Best:> I<best-choice>"
23192 #: update-alternatives.pod
23194 "The path of the best alternative for this link group. Not present if there "
23195 "is no alternatives available."
23199 #: update-alternatives.pod
23200 msgid "B<Value:> I<currently-selected-alternative>"
23204 #: update-alternatives.pod
23206 "The path of the currently selected alternative. It can also take the magic "
23207 "value B<none>. It is used if the link doesn't exist."
23211 #: update-alternatives.pod
23213 "The other stanzas describe the available alternatives in the queried link "
23218 #: update-alternatives.pod
23219 msgid "B<Alternative:> I<path-of-this-alternative>"
23223 #: update-alternatives.pod
23224 msgid "Path to this stanza's alternative."
23228 #: update-alternatives.pod
23229 msgid "B<Priority:> I<priority-value>"
23233 #: update-alternatives.pod
23234 msgid "Value of the priority of this alternative."
23238 #: update-alternatives.pod
23240 "When this field is present, the B<next> lines hold all slave alternatives "
23241 "associated to the master link of the alternative. There is one slave per "
23242 "line. Each line contains one space, the generic name of the slave "
23243 "alternative, another space, and the path to the slave alternative."
23247 #: update-alternatives.pod
23252 #: update-alternatives.pod
23255 " $ update-alternatives --query editor\n"
23257 " Link: /usr/bin/editor\n"
23259 " editor.1.gz /usr/share/man/man1/editor.1.gz\n"
23260 " editor.fr.1.gz /usr/share/man/fr/man1/editor.1.gz\n"
23261 " editor.it.1.gz /usr/share/man/it/man1/editor.1.gz\n"
23262 " editor.pl.1.gz /usr/share/man/pl/man1/editor.1.gz\n"
23263 " editor.ru.1.gz /usr/share/man/ru/man1/editor.1.gz\n"
23265 " Best: /usr/bin/vim.basic\n"
23266 " Value: /usr/bin/vim.basic\n"
23271 #: update-alternatives.pod
23274 " Alternative: /bin/ed\n"
23275 " Priority: -100\n"
23277 " editor.1.gz /usr/share/man/man1/ed.1.gz\n"
23282 #: update-alternatives.pod
23285 " Alternative: /usr/bin/vim.basic\n"
23288 " editor.1.gz /usr/share/man/man1/vim.1.gz\n"
23289 " editor.fr.1.gz /usr/share/man/fr/man1/vim.1.gz\n"
23290 " editor.it.1.gz /usr/share/man/it/man1/vim.1.gz\n"
23291 " editor.pl.1.gz /usr/share/man/pl/man1/vim.1.gz\n"
23292 " editor.ru.1.gz /usr/share/man/ru/man1/vim.1.gz\n"
23297 #: update-alternatives.pod
23299 "With B<--verbose> B<update-alternatives> chatters incessantly about its "
23300 "activities on its standard output channel. If problems occur, "
23301 "B<update-alternatives> outputs error messages on its standard error channel "
23302 "and returns an exit status of 2. These diagnostics should be "
23303 "self-explanatory; if you do not find them so, please report this as a bug."
23307 #: update-alternatives.pod
23309 "There are several packages which provide a text editor compatible with "
23310 "B<vi>, for example B<nvi> and B<vim>. Which one is used is controlled by the "
23311 "link group B<vi>, which includes links for the program itself and the "
23312 "associated manual page."
23316 #: update-alternatives.pod
23318 "To display the available packages which provide B<vi> and the current "
23319 "setting for it, use the B<--display> action:"
23323 #: update-alternatives.pod
23326 " update-alternatives --display vi\n"
23331 #: update-alternatives.pod
23333 "To choose a particular B<vi> implementation, use this command as root and "
23334 "then select a number from the list:"
23338 #: update-alternatives.pod
23341 " update-alternatives --config vi\n"
23346 #: update-alternatives.pod
23348 "To go back to having the B<vi> implementation chosen automatically, do this "
23353 #: update-alternatives.pod
23356 " update-alternatives --auto vi\n"
23361 #: update-alternatives.pod
23362 msgid "L<ln(1)>, FHS (the Filesystem Hierarchy Standard)."