.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "deb-control 5" .TH deb-control 5 "2022-09-01" "1.20.12" "dpkg suite" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" deb\-control \- Debian binary packages' master control file format .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBDEBIAN/control\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" Each Debian binary package contains a \fBcontrol\fR file in its \fBcontrol\fR member, and its \fBdeb822\fR\|(5) format is a subset of the master \&\fBdebian/control\fR file in Debian source packages, see \fBdeb-src-control\fR(5). .PP This file contains a number of fields. Each field begins with a tag, such as \&\fBPackage\fR or \&\fBVersion\fR (case insensitive), followed by a colon, and the body of the field (case sensitive unless stated otherwise). Fields are delimited only by field tags. In other words, field text may be multiple lines in length, but the installation tools will generally join lines when processing the body of the field (except in the case of the \&\fBDescription\fR field, see below). .SH "FIELDS" .IX Header "FIELDS" .IP "\fBPackage:\fR \fIpackage-name\fR (required)" 4 .IX Item "Package: package-name (required)" The value of this field determines the package name, and is used to generate file names by most installation tools. .IP "\fBPackage-Type:\fR \fBdeb\fR|\fBudeb\fR|\fItype\fR" 4 .IX Item "Package-Type: deb|udeb|type" This field defines the type of the package. \&\fBudeb\fR is for size-constrained packages used by the debian installer. \&\fBdeb\fR is the default value, it is assumed if the field is absent. More types might be added in the future. .IP "\fBVersion:\fR \fIversion-string\fR (required)" 4 .IX Item "Version: version-string (required)" Typically, this is the original package's version number in whatever form the program's author uses. It may also include a Debian revision number (for non-native packages). The exact format and sorting algorithm are described in \&\fBdeb-version\fR(7). .IP "\fBMaintainer:\fR \fIfullname-email\fR (recommended)" 4 .IX Item "Maintainer: fullname-email (recommended)" Should be in the format \(lqJoe Bloggs \(rq, and is typically the person who created the package, as opposed to the author of the software that was packaged. .IP "\fBDescription:\fR \fIshort-description\fR (recommended)" 4 .IX Item "Description: short-description (recommended)" .PD 0 .IP "\fB\fR \fIlong-description\fR" 4 .IX Item " long-description" .PD The format for the package description is a short brief summary on the first line (after the \fBDescription\fR field). The following lines should be used as a longer, more detailed description. Each line of the long description must be preceded by a space, and blank lines in the long description must contain a single \(oq\fB.\fR\(cq following the preceding space. .IP "\fBSection:\fR \fIsection\fR" 4 .IX Item "Section: section" This is a general field that gives the package a category based on the software that it installs. Some common sections are \fButils\fR, \fBnet\fR, \fBmail\fR, \fBtext\fR, \&\fBx11\fR, etc. .IP "\fBPriority:\fR \fIpriority\fR" 4 .IX Item "Priority: priority" Sets the importance of this package in relation to the system as a whole. Common priorities are \fBrequired\fR, \fBstandard\fR, \fBoptional\fR, \&\fBextra\fR, etc. .PP The \&\fBSection\fR and \&\fBPriority\fR fields usually have a defined set of accepted values based on the specific distribution policy. .IP "\fBInstalled-Size:\fR \fIsize\fR" 4 .IX Item "Installed-Size: size" The approximate total size of the package's installed files, in KiB units. .IP "\fBProtected:\fR \fByes\fR|\fBno\fR" 4 .IX Item "Protected: yes|no" This field is usually only needed when the answer is \fByes\fR. It denotes a package that is required for proper booting of the system. \&\fBdpkg\fR\|(1) or any other installation tool will not allow a \fBProtected\fR package to be removed (at least not without using one of the force options). .IP "\fBEssential:\fR \fByes\fR|\fBno\fR" 4 .IX Item "Essential: yes|no" This field is usually only needed when the answer is \fByes\fR. It denotes a package that is required for proper operation of the system. \&\fBdpkg\fR\|(1) or any other installation tool will not allow an \fBEssential\fR package to be removed (at least not without using one of the force options). .IP "\fBBuild-Essential:\fR \fByes\fR|\fBno\fR" 4 .IX Item "Build-Essential: yes|no" This field is usually only needed when the answer is \fByes\fR, and is commonly injected by the archive software. It denotes a package that is required when building other packages. .IP "\fBArchitecture:\fR \fIarch\fR|\fBall\fR (recommended)" 4 .IX Item "Architecture: arch|all (recommended)" The architecture specifies which type of hardware this package was compiled for. Common architectures are \fBamd64\fR, \fBarmel\fR, \fBi386\fR, \fBpowerpc\fR, etc. Note that the \&\fBall\fR value is meant for packages that are architecture independent. Some examples of this are shell and Perl scripts, and documentation. .IP "\fBOrigin:\fR \fIname\fR" 4 .IX Item "Origin: name" The name of the distribution this package is originating from. .IP "\fBBugs:\fR \fIurl\fR" 4 .IX Item "Bugs: url" The \fIurl\fR of the bug tracking system for this package. The current used format is \fIbts-type\fR\fB://\fR\fIbts-address\fR, like \&\fBdebbugs://bugs.debian.org\fR. .IP "\fBHomepage:\fR \fIurl\fR" 4 .IX Item "Homepage: url" The upstream project home page \fIurl\fR. .IP "\fBTag:\fR \fItag-list\fR" 4 .IX Item "Tag: tag-list" List of tags describing the qualities of the package. The description and list of supported tags can be found in the \fBdebtags\fR package. .IP "\fBMulti-Arch:\fR \fBno\fR|\fBsame\fR|\fBforeign\fR|\fBallowed\fR" 4 .IX Item "Multi-Arch: no|same|foreign|allowed" This field is used to indicate how this package should behave on a multi-arch installations. .RS 4 .IP "\fBno\fR" 4 .IX Item "no" This value is the default when the field is omitted, in which case adding the field with an explicit \fBno\fR value is generally not needed. .IP "\fBsame\fR" 4 .IX Item "same" This package is co-installable with itself, but it must not be used to satisfy the dependency of any package of a different architecture from itself. .IP "\fBforeign\fR" 4 .IX Item "foreign" This package is not co-installable with itself, but should be allowed to satisfy a non-arch-qualified dependency of a package of a different arch from itself (if a dependency has an explicit arch-qualifier then the value \fBforeign\fR is ignored). .IP "\fBallowed\fR" 4 .IX Item "allowed" This allows reverse-dependencies to indicate in their \fBDepends\fR field that they accept this package from a foreign architecture by qualifying the package name with \fB:any\fR, but has no effect otherwise. .RE .RS 4 .RE .IP "\fBSource:\fR \fIsource-name\fR [\fB(\fR\fIsource-version\fR\fB)\fR]" 4 .IX Item "Source: source-name [(source-version)]" The name of the source package that this binary package came from, if it is different than the name of the package itself. If the source version differs from the binary version, then the \&\fIsource-name\fR will be followed by a \fIsource-version\fR in parenthesis. This can happen for example on a binary-only non-maintainer upload, or when setting a different binary version via \(Fo\fBdpkg-gencontrol \-v\fR\(Fc. .IP "\fBSubarchitecture:\fR \fIvalue\fR" 4 .IX Item "Subarchitecture: value" .PD 0 .IP "\fBKernel-Version:\fR \fIvalue\fR" 4 .IX Item "Kernel-Version: value" .IP "\fBInstaller-Menu-Item:\fR \fIvalue\fR" 4 .IX Item "Installer-Menu-Item: value" .PD These fields are used by the debian-installer and are usually not needed. See /usr/share/doc/debian\-installer/devel/modules.txt from the \&\fBdebian-installer\fR package for more details about them. .IP "\fBDepends:\fR \fIpackage-list\fR" 4 .IX Item "Depends: package-list" List of packages that are required for this package to provide a non-trivial amount of functionality. The package maintenance software will not allow a package to be installed if the packages listed in its \&\fBDepends\fR field aren't installed (at least not without using the force options). In an installation, the postinst scripts of packages listed in \fBDepends\fR fields are run before those of the packages which depend on them. On the opposite, in a removal, the prerm script of a package is run before those of the packages listed in its \fBDepends\fR field. .IP "\fBPre-Depends:\fR \fIpackage-list\fR" 4 .IX Item "Pre-Depends: package-list" List of packages that must be installed \&\fBand\fR configured before this one can be installed. This is usually used in the case where this package requires another package for running its preinst script. .IP "\fBRecommends:\fR \fIpackage-list\fR" 4 .IX Item "Recommends: package-list" Lists packages that would be found together with this one in all but unusual installations. The package maintenance software will warn the user if they install a package without those listed in its \&\fBRecommends\fR field. .IP "\fBSuggests:\fR \fIpackage-list\fR" 4 .IX Item "Suggests: package-list" Lists packages that are related to this one and can perhaps enhance its usefulness, but without which installing this package is perfectly reasonable. .PP The syntax of \&\fBDepends\fR, \&\fBPre-Depends\fR, \&\fBRecommends\fR and \&\fBSuggests\fR fields is a list of groups of alternative packages. Each group is a list of packages separated by vertical bar (or \(lqpipe\(rq) symbols, \(oq\fB|\fR\(cq. The groups are separated by commas. Commas are to be read as \(lqAND\(rq, and pipes as \(lqOR\(rq, with pipes binding more tightly. Each package name is optionally followed by an architecture qualifier appended after a colon \(oq\fB:\fR\(cq, optionally followed by a version number specification in parentheses. .PP An architecture qualifier name can be a real Debian architecture name (since dpkg 1.16.5) or \fBany\fR (since dpkg 1.16.2). If omitted, the default is the current binary package architecture. A real Debian architecture name will match exactly that architecture for that package name, \fBany\fR will match any architecture for that package name if the package has been marked as \fBMulti-Arch: allowed\fR. .PP A version number may start with a \(oq\fB>>\fR\(cq, in which case any later version will match, and may specify or omit the Debian packaging revision (separated by a hyphen). Accepted version relationships are \(oq\fB>>\fR\(cq for greater than, \(oq\fB<<\fR\(cq for less than, \(oq\fB>=\fR\(cq for greater than or equal to, \(oq\fB<=\fR\(cq for less than or equal to, and \(oq\fB=\fR\(cq for equal to. .IP "\fBBreaks:\fR \fIpackage-list\fR" 4 .IX Item "Breaks: package-list" Lists packages that this one breaks, for example by exposing bugs when the named packages rely on this one. The package maintenance software will not allow broken packages to be configured; generally the resolution is to upgrade the packages named in a \&\fBBreaks\fR field. .IP "\fBConflicts:\fR \fIpackage-list\fR" 4 .IX Item "Conflicts: package-list" Lists packages that conflict with this one, for example by containing files with the same names. The package maintenance software will not allow conflicting packages to be installed at the same time. Two conflicting packages should each include a \&\fBConflicts\fR line mentioning the other. .IP "\fBReplaces:\fR \fIpackage-list\fR" 4 .IX Item "Replaces: package-list" List of packages files from which this one replaces. This is used for allowing this package to overwrite the files of another package and is usually used with the \&\fBConflicts\fR field to force removal of the other package, if this one also has the same files as the conflicted package. .PP The syntax of \&\fBBreaks\fR, \&\fBConflicts\fR and \&\fBReplaces\fR is a list of package names, separated by commas (and optional whitespace). In the \&\fBBreaks\fR and \&\fBConflicts\fR fields, the comma should be read as \(lqOR\(rq. An optional architecture qualifier can also be appended to the package name with the same syntax as above, but the default is \fBany\fR instead of the binary package architecture. An optional version can also be given with the same syntax as above for the \&\fBBreaks\fR, \&\fBConflicts\fR and \&\fBReplaces\fR fields. .IP "\fBEnhances:\fR \fIpackage-list\fR" 4 .IX Item "Enhances: package-list" This is a list of packages that this one enhances. It is similar to \fBSuggests\fR but in the opposite direction. .IP "\fBProvides:\fR \fIpackage-list\fR" 4 .IX Item "Provides: package-list" This is a list of virtual packages that this one provides. Usually this is used in the case of several packages all providing the same service. For example, sendmail and exim can serve as a mail server, so they provide a common package (\(lqmail\-transport\-agent\(rq) on which other packages can depend. This will allow sendmail or exim to serve as a valid option to satisfy the dependency. This prevents the packages that depend on a mail server from having to know the package names for all of them, and using \(oq\fB|\fR\(cq to separate the list. .PP The syntax of \&\fBProvides\fR is a list of package names, separated by commas (and optional whitespace). An optional architecture qualifier can also be appended to the package name with the same syntax as above. If omitted, the default is the current binary package architecture. An optional exact (equal to) version can also be given with the same syntax as above (honored since dpkg 1.17.11). .IP "\fBBuilt-Using:\fR \fIpackage-list\fR" 4 .IX Item "Built-Using: package-list" This field lists extra source packages that were used during the build of this binary package. This is an indication to the archive maintenance software that these extra source packages must be kept whilst this binary package is maintained. This field must be a list of source package names with strict \(oq\fB=\fR\(cq version relationships. Note that the archive maintenance software is likely to refuse to accept an upload which declares a \&\fBBuilt-Using\fR relationship which cannot be satisfied within the archive. .IP "\fBBuilt-For-Profiles:\fR \fIprofile-list\fR (obsolete)" 4 .IX Item "Built-For-Profiles: profile-list (obsolete)" This field used to specify a whitespace separated list of build profiles that this binary packages was built with (since dpkg 1.17.2 until 1.18.18). The information previously found in this field can now be found in the \&\fB.buildinfo\fR file, which supersedes it. .IP "\fBAuto-Built-Package:\fR \fIreason-list\fR" 4 .IX Item "Auto-Built-Package: reason-list" This field specifies a whitespace separated list of reasons why this package was auto-generated. Binary packages marked with this field will not appear in the \&\fIdebian/control\fR master source control file. The only currently used reason is \fBdebug-symbols\fR. .IP "\fBBuild-Ids:\fR \fIelf-build-id-list\fR" 4 .IX Item "Build-Ids: elf-build-id-list" This field specifies a whitespace separated list of \s-1ELF\s0 build-ids. These are unique identifiers for semantically identical \s-1ELF\s0 objects, for each of these within the package. .Sp The format or the way to compute each build-id is not defined by design. .SH "EXAMPLE" .IX Header "EXAMPLE" .Vb 10 \& Package: grep \& Essential: yes \& Priority: required \& Section: base \& Maintainer: Wichert Akkerman \& Architecture: sparc \& Version: 2.4\-1 \& Pre\-Depends: libc6 (>= 2.0.105) \& Provides: rgrep \& Conflicts: rgrep \& Description: GNU grep, egrep and fgrep. \& The GNU family of grep utilities may be the "fastest grep in the west". \& GNU grep is based on a fast lazy\-state deterministic matcher (about \& twice as fast as stock Unix egrep) hybridized with a Boyer\-Moore\-Gosper \& search for a fixed string that eliminates impossible text from being \& considered by the full regexp matcher without necessarily having to \& look at every character. The result is typically many times faster \& than Unix grep or egrep. (Regular expressions containing backreferencing \& will run more slowly, however). .Ve .SH "BUGS" .IX Header "BUGS" The \fBBuild-Ids\fR field uses a rather generic name out of its original context within an \s-1ELF\s0 object, which serves a very specific purpose and executable format. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdeb822\fR\|(5), \&\fBdeb-src-control\fR(5), \&\fBdeb\fR(5), \&\fBdeb-version\fR(7), \&\fBdebtags\fR(1), \&\fBdpkg\fR(1), \&\fBdpkg-deb\fR(1).