dpkg-hold(8)
β¨ dpkg-hold β it's giving "don't touch my packages" β¨
okay bestie, so this one lives in the dpkg suite and it's the dpkg-hold manual, section 8 (that's the sysadmin girly section π
). let's get into it.
πΈ NAME πΈ
dpkg-hold β marks packages as held so they cannot be installed. literally just vibes of "hands off, she's taken". π
π SYNOPSIS π
dpkg-hold [package...]
that's it. that's the whole thing. you pass her some package names, she holds them. no cap. β¨
β οΈ WARNING β οΈ
bestie. listen to me. STOP. π
This command is deprecated and will be removed during in Debian forky. not "might be", not "maybe someday" β it's getting removed, fr fr. π
instead, please use:
dpkg --set-selectionsapt-mark
like, use those. the grown-up ones. the ones with a future. π
π DESCRIPTION π
dpkg-hold marks package(s) to be held. that's the whole assignment. she ate. π
the way she does this? she runs dpkg --set-selections and pipes in the package name(s) followed by hold. iconic behavior honestly. π
NOTE: this program does not install, remove, or purge any package. she does ONLY one thing: sets the status of the package. that's her whole personality. π¦ any actual removal or purging happens the next timedselect,apt-get,aptitude, etc. are run. so it's giving "the real work happens later, not now". β
so like. don't come for her asking why the package is still on your system. she just marked it. the next run of your package manager is the one doing the deleting. iykyk. π
π SEE ALSO π
go read these next, bestie, they're all in the same friend group:
dpkg(1)apt-mark(8)dpkg-unhold(1)dpkg-remove(1)dpkg-purge(1)
and that's the whole page!! π«Ά this little cutie is dpkg-hold(8), version 1.17, dated 2024-11-25, part of the dpkg suite. mwah π now go use apt-mark like the main character you are. πβ¨πΈππ¦π
π¦ where this page comes from
- debian trixie: dlocate 1.17
- ubuntu questing: dlocate 1.17
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms