deb-scrub-obsolete(1)

πŸ“¦
version 0.162 Β· 3 versions
, in debian bookworm, ubuntu noble, ubuntu questing

πŸŽ€ 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 maintscript entries 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 from RELEASE or newer releases. this can be a codename ("bookworm") or an alias ("unstable", "old-old-stable"). for the full list of options, see distro-info(1) πŸ“‹
  • --compat-release=RELEASE β€” don't remove any constraints that are necessary for building on RELEASE or newer releases. also a codename ("bookworm") or an alias ("unstable", "old-old-stable"). full list of options lives in distro-info(1) too 🌸
  • --identity β€” prints the identity (name and e-mail address) that apply-multiarch-hints will 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-changelog and --no-update-changelog arguments 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