Celeb Glow
news | March 30, 2026

What should be in the "misc-depends:" in a control file?

Lintian gives error without "misc-depends:" in the control file.

 W: brightness-controller source: debhelper-but-no-misc-depends brightness-controller

What should be supposed to be in it? Every else works fine without it.

6

1 Answer

"misc-depends" is not a field in the debian/control file, but infact a variable that dh_gencontrol will substitute during the build of the binary package. As the New Maintainer's Guide says:

Some debhelper commands may cause the generated package to depend on some additional packages. All such commands generate a list of required packages for each binary package. This list is used for substituting ${misc:Depends}.

In practice, it looks like:

Depends: libfoobar, ${shlibs:Depends}, ${misc:Depends}

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy