deb-scrub-obsolete(1)
π NAME π
ok so deb-scrub-obsolete β it scrubs a Debian package clean of all the configuration that's just... not necessary anymore π
like a glow-up but for your packaging.
β¨ SYNOPSIS β¨
deb-scrub-obsolete [-h] [--no-update-changelog] [--version]
[--upgrade-release=RELEASE]
π¦ DESCRIPTION π¦
Bestie. Listen. This thing takes your Debian source package and scrubs out all the versioned depends, conflicts and maintscripts that literally nobody needs anymore. It's giving spring cleaning π§Ήβ¨
Specifically, it makes these categories of changes:
- obsolete
maintscriptentries for upgrades from versions older than the one in$compat_releaseποΈ - depends on packages that are essential since
$compat_release - build-depends on packages that are build-essential since
$compat_release - replacing dependencies on "transitional dummy packages" with the real thing (as long as it's satisfiable since
$compat_release) π - conflicts with packages that have been gone since before
$compat_releaseπ - version constraints in build-depends or depends that are already met by the package in
$compat_release
π optional arguments π
-h,--helpβ shows this help message and dips. bye π--no-update-changelogβ whether to update the changelog. yes that's the description, I'm just the messenger π«Ά--versionβ shows the program's version number and exits π·οΈ--upgrade-release=RELEASEβ don't remove any constraints that are necessary for upgrading fromRELEASEor newer releases. this can be a codename ("bookworm") or an alias ("unstable","old-old-stable"). for the full list of options, seedistro-info(1)π--compat-release=RELEASEβ don't remove any constraints that are necessary for building onRELEASEor newer releases. also a codename ("bookworm") or an alias ("unstable","old-old-stable"). full list of options lives indistro-info(1)too πΈ--identityβ prints the identity (name and e-mail address) thatapply-multiarch-hintswill use when committing changes, then exits. iconic little flex π--debugβ prints debugging information π--keep-minimum-depends-versionsβ keeps minimum version dependencies, even when they're unnecessary. hoarder energy, we respect it π
π ENVIRONMENT π
DEB_UPDATE_CHANGELOGβ controls whether the changelog should be updated, depending on whether it's set to"leave","update"or"auto". the--update-changelogand--no-update-changelogarguments override this. no cap β‘
π« SEE ALSO π«
lintian-brush.conf(5) lintian-brush(1)
π AUTHORS π
Jelmer Vernooij <jelmer@debian.org> π«Ά
ok that's the whole vibe check, go forth and scrub, bestie π§ββοΈ
this was deb-scrub-obsolete version 0.1, dated September 2020 β manual page deb-scrub-obsolete(1), and yes she ate π
β¨
π¦ where this page comes from
- debian bookworm: lintian-brush 0.147 Β· GPL-2.0-or-later
- ubuntu noble: lintian-brush 0.152ubuntu1 Β· GPL-2.0-or-later
- ubuntu questing: lintian-brush 0.162
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms