dpkg-genchanges(1)
โจ dpkg-genchanges โ generate Debian .changes files โจ
okay so bestie, welcome to the dpkg-genchanges(1) page from the dpkg suite โ this is the little tool that makes your Debian .changes file happen, and we're gonna get into every last flag together. ๐
๐ธ NAME ๐ธ
dpkg-genchanges โ generate Debian .changes files.
๐ SYNOPSIS ๐
dpkg-genchanges [option...]
๐ฆ DESCRIPTION ๐ฆ
So dpkg-genchanges reads information from an unpacked and built Debian source tree, plus all the files it has generated, and then it generates a Debian upload control file โ aka a .changes file. That's the whole vibe. โจ
๐ OPTIONS ๐
--build=typeโ specifies the build type from a comma-separated list of components. Supported since dpkg 1.18.5. The allowed values are:sourceโ upload the source package.anyโ upload the architecture specific binary packages.allโ upload the architecture independent binary packages.binaryโ upload the architecture specific and independent binary packages. This is an alias forany,all.fullโ upload everything. This is alias forsource,any,all, and the same as the default case when no build option is specified.
-gโ equivalent to--build=source,all. Supported since dpkg 1.17.11.-Gโ equivalent to--build=source,any. Supported since dpkg 1.17.11.-bโ equivalent to--build=binaryor--build=any,all.-Bโ equivalent to--build=any.-Aโ equivalent to--build=all.-Sโ equivalent to--build=source.
The -sx options control whether the original source archive is included in the upload if any source is being generated (i.e. -b or -B haven't been used). ๐
-siโ by default, or if specified, the original source will be included only if the upstream version number (the version without epoch and without Debian revision) differs from the upstream version number of the previous changelog entry.-saโ forces the inclusion of the original source.-sdโ forces the exclusion of the original source and includes only the diff.-vversionโ causes changelog information from all versions strictly later than version to be used.-Cchanges-descriptionโ read the description of the changes from the file changes-description rather than using the information from the source tree's changelog file.-mmaintainer-addressโ use maintainer-address as the name and email address of the maintainer for this package, rather than using the information from the source tree's control file.-emaintainer-addressโ use maintainer-address as the name and email address of the maintainer for this upload, rather than using the information from the source tree's changelog.-Vname=valueโ set an output substitution variable. Seedeb-substvars(5)for a discussion of output substitution.-Tsubstvars-fileโ read substitution variables in substvars-file; the default isdebian/substvars. No variable substitution is done on any of the fields that are output, except for the contents extracted from each binary package Description field (since dpkg 1.19.0), however the special variableFormatwill override the field of the same name. This option can be used multiple times to read substitution variables from multiple files (since dpkg 1.15.6).-Dfield=valueโ override or add an output control file field.-Ufieldโ remove an output control file field.-ccontrolfileโ specifies the main source control file to read information from. The default isdebian/control.-lchangelog-fileโ specifies the changelog file to read information from. The default isdebian/changelog.-ffiles-list-fileโ read the list of files to be uploaded here, rather than usingdebian/files.-Fchangelog-formatโ specifies the format of the changelog. Seedpkg-parsechangelog(1)for information about alternative formats.-uupload-files-dirโ look for the files to be uploaded in upload-files-dir rather than..(dpkg-genchangesneeds to find these files so that it can include their sizes and checksums in the.changesfile).-qโ usuallydpkg-genchangeswill produce informative messages on standard error, for example about how many of the package's source files are being uploaded.-qsuppresses these messages.-O[filename]โ print the changes file to standard output (the default) or to filename if specified. Support for the filename argument since dpkg 1.18.5.-?,--helpโ show the usage message and exit.--versionโ show the version and exit.
๐ ENVIRONMENT ๐
DEB_HOST_ARCHโ sets the host architecture.DEB_BUILD_PROFILESโ if set, it will be used as the active build profile(s) to use when generating the.changesfile. It is a space separated list of profile names, without any exclamation marks.DPKG_COLORSโ sets the color mode. The currently accepted values are:auto(default),alwaysandnever. Supported since dpkg 1.18.5.DPKG_NLSโ if set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support. The accepted values are:0and1(default). Supported since dpkg 1.19.0.
๐ FILES ๐
debian/filesโ the list of generated files which are part of the upload being prepared.dpkg-genchangesreads the data here when producing a.changesfile.
๐ SEE ALSO ๐
deb-email(7), deb-substvars(5), deb-src-control(5), deb-src-files(5), deb-changelog(5), deb-changes(5).
๐ Thatโs the whole page, bestie โdpkg-genchanges(1)from the dpkg suite, version 1.23.11-dirty, dated 2026-09-09. Now go make a.changesfile that slays. ๐ซถ
๐ฆ where this page comes from
- arch rolling: dpkg 1.23.11-1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms