man > deb822(5)

📛 NAME

deb822 — Debian RFC822 control data format

🚀 Quick Reference

Use CaseCommand / DirectiveDescription
📦 Define a package stanzaPackage: <name>Start a paragraph with the Package field
📄 Continue a long value (leading space or tab)Continuation line for folded or multiline fields
💬 Add a comment# commentComment line (only in debian/control and deb-origin(5))
🔚 Separate paragraphsempty lineBlank line between stanzas
🔍 Embed a literal empty line .Space followed by dot escapes an empty line inside a value
🌐 Encode the fileUTF-8All control files must be UTF-8

📖 DESCRIPTION

The package management system manipulates data represented in a common format, known as control data, stored in control files. Control files are used for source packages, binary packages and the .changes files which control the installation of uploaded files (dpkg's internal databases are in a similar format).

🔧 SYNTAX

A control file consists of one or more paragraphs of fields (the paragraphs are also sometimes referred to as stanzas). The paragraphs are separated by empty lines. Parsers may accept lines consisting solely of U+0020 SPACE and U+0009 TAB as paragraph separators, but control files should use empty lines. Some control files allow only one paragraph; others allow several, in which case each paragraph usually refers to a different package. (For example, in source packages, the first paragraph refers to the source package, and later paragraphs refer to binary packages generated from the source.) The ordering of the paragraphs in control files is significant.

Each paragraph consists of a series of data fields. Each field consists of the field name followed by a colon (U+003A ‘:’), and then the data/value associated with that field. The field name is composed of US-ASCII characters excluding control characters, space, and colon (i.e., characters in the ranges U+0021 ‘!’ through U+0039 ‘9’, and U+003B ‘;’ through U+007E ‘~’, inclusive). Field names must not begin with the comment character (U+0023 ‘#’), nor with the hyphen character (U+002D ‘-’).

The field ends at the end of the line or at the end of the last continuation line (see below). Horizontal whitespace (U+0020 SPACE and U+0009 TAB) may occur immediately before or after the value and is ignored there; it is conventional to put a single space after the colon. For example, a field might be:

Package: dpkg

the field name is Package and the field value dpkg.

Empty field values are only permitted in source package control files (debian/control). Such fields are ignored.

A paragraph must not contain more than one instance of a particular field name.

📋 Field Types

There are three types of fields:

📝 Additional Rules

🔗 SEE ALSO

RFC822, RFC5322.

deb822(5)
📛 NAME 🚀 Quick Reference 📖 DESCRIPTION 🔧 SYNTAX
📋 Field Types 📝 Additional Rules
🔗 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-30 22:28 @216.73.217.135
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!

^_top_^