debhelper(7)
πΈ debhelper-obsolete-compat π
okay bestie, listen UP β this is debhelper(7), the Debhelper manual, and this particular page is the throwback vault: a full list of every compat level that is no longer supported. it's giving historical archive realness, and honestly? iconic but retired. π
β¨ NAME β¨
debhelper-obsolete-compat β a whole list of no-longer-supported compat levels, periodt.
β¨ SYNOPSIS β¨
so basically this doc holds all the upgrade tea for every compat level that has since been yeeted from support. which means it's mostly here for historical vibes and to help you if you're trapped in some ancient non-supported compat level and trying to claw your way up to a supported one. π«Ά
if you're upgrading from a compat level that is still supported, head over to debhelper(7) instead, bestie, that's the one you want.
For upgrades from supported compat levels, please see debhelper(7).
β¨ UPGRADE LIST FOR COMPAT LEVELS β¨
here's the full rundown of the now-obsolete compat levels and everything that changed in each one. no cap, every single one. π
π v7
this one is the lowest supported compatibility level.
changes from v6 are:
dh_installwill fall back to looking for files indebian/tmpif it doesn't find them in the current directory (or wherever you tell it to look using--sourcedir). this letsdh_installinteroperate withdh_auto_install, which installs todebian/tmp, without needing any special parameters. slay.dh_cleanwill readdebian/cleanand delete the files listed in there.dh_cleanwill delete toplevel*-stampfiles.dh_installchangelogswill guess at what file is the upstream changelog if none is specified.
π v6
changes from v5 are:
- commands that generate maintainer script fragments will order the fragments in reverse order for the
prermandpostrmscripts. literally backwards, on purpose. dh_installwmwill install a slave manpage link forx-window-manager.1.gz, if it sees the man page inusr/share/man/man1in the package build directory.dh_builddebdid not previously delete everything matchingDH_ALWAYS_EXCLUDE, if it was set to a list of things to exclude, such asCVS:.svn:.git. now it does. glow up.dh_installmanallows overwriting existing man pages in the package build directory. in previous compatibility levels it silently refuses to do this β rude of it tbh.
This mode is deprecated. π
π v5
changes from v4 are:
- comments are ignored in debhelper config files.
dh_strip --dbg-packagenow specifies the name of a package to put debugging symbols in, not the packages to take the symbols from. it flipped the whole meaning, bestie, keep up.dh_installdocsskips installing empty files.dh_installerrors out if wildcards expand to nothing.
π v4
changes from v3 are:
dh_makeshlibs -Vwill not include the Debian part of the version number in the generated dependency line in theshlibsfile.- you are encouraged to put the new
${misc:Depends}intodebian/controlto supplement the${shlibs:Depends}field. dh_fixpermswill make all files inbin/directories and inetc/init.dexecutable.dh_linkwill correct existing links to conform with policy.
This mode is deprecated. π
π v3
this one works like v2, with the following additions:
- debhelper config files support globbing via
*and?, when appropriate. to turn this off and use those characters raw, just prefix with a backslash. dh_makeshlibsmakes thepostinstandpostrmscripts callldconfig.- every file in
etc/is automatically flagged as a conffile bydh_installdeb.
This mode is deprecated. π
π v2
in this mode, debhelper will consistently use debian/package as the package tree directory for every package that is built.
This mode is deprecated. π
π v1
this is the original debhelper compatibility level, and so it is the default one, no cap. in this mode, debhelper will use debian/tmp as the package tree directory for the first binary package listed in the control file, while using debian/package for all other packages listed in the control file.
This mode is deprecated. π
β¨ SEE ALSO β¨
β¨ AUTHORS β¨
the legends who made this happen:
- Niels Thykier
<niels@thykier.net> - Joey Hess
and that's a wrap, bestie π this was debhelper(7), from version 14.5ubuntu1, dated 2026-09-21. go forth and upgrade your compat level, you absolute icon ππ
π¦ where this page comes from
- ubuntu stonking: debhelper 14.5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms