|
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ENVIRONMENT | COLOPHON |
|
|
|
dpkg-checkbuilddeps(1) dpkg suite dpkg-checkbuilddeps(1)
dpkg-checkbuilddeps - check build dependencies and conflicts
dpkg-checkbuilddeps [option...] [control-file]
This program checks the installed packages in the system against
the build dependencies and build conflicts listed in the control
file. If any are not met, it displays them and exits with a
nonzero return code.
By default, debian/control is read, but an alternate control
filename may be specified on the command line.
--admindir=dir
Change the location of the dpkg database. The default
location is /usr/local/var/lib/dpkg.
Supported since dpkg 1.14.0.
-A Ignore Build-Depends-Arch and Build-Conflicts-Arch lines. Use
when only arch-indep packages will be built, or combine with
-B when only a source package is to be built.
Supported since dpkg 1.16.4.
-B Ignore Build-Depends-Indep and Build-Conflicts-Indep lines.
Use when only arch-dep packages will be built, or combine with
-A when only a source package is to be built.
-I Ignore built-in build depends and conflicts. These are
implicit dependencies that are usually required on a specific
distribution, the so called Build-Essential package set.
Supported since dpkg 1.18.2.
-d build-depends-string
-c build-conflicts-string
Use the given build dependencies/conflicts instead of those
contained in the debian/control file.
Supported since dpkg 1.14.17.
-a arch
Check build dependencies/conflicts assuming that the package
described in the control file is to be built for the given
host architecture instead of the architecture of the current
system.
Supported since dpkg 1.16.2.
-P profile[,...]
Check build dependencies/conflicts assuming that the package
described in the control file is to be built for the given
build profile(s). The argument is a comma-separated list of
profile names, without any exclamation marks.
Supported since dpkg 1.17.2.
-?, --help
Show the usage message and exit.
--version
Show the version and exit.
DEB_HOST_ARCH
Sets the host architecture. This affects the dependency
resolution logic, which might then not match what the system
dpkg considers satisfiable.
DEB_BUILD_PROFILES
If set, it will be used as the active build profile(s) for the
package being built. It is a space separated list of profile
names, without any exclamation marks. Overridden by the -P
option.
DPKG_COLORS
Sets the color mode. The currently accepted values are: auto
(default), always and never.
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: 0 and 1 (default).
Supported since dpkg 1.19.0.
This page is part of the dpkg (Debian Package Manager) project.
Information about the project can be found at
⟨https://wiki.debian.org/Teams/Dpkg/⟩. If you have a bug report
for this manual page, see
⟨http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=dpkg⟩. This
page was obtained from the project's upstream Git repository ⟨git
clone https://git.dpkg.org/git/dpkg/dpkg.git⟩ on 2026-08-03. (At
that time, the date of the most recent commit that was found in
the repository was 2026-08-01.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
1.23.7-216-gff7e9 2026-03-07 dpkg-checkbuilddeps(1)