DOKK / manpages / debian 11 / dlocate / dpkg-hold.8.en
DPKG-HOLD(8) dlocate DPKG-HOLD(8)

dpkg-hold - mark packages as `hold' to prevent installation

dpkg-hold [PACKAGE...]

dpkg-hold marks package(s) to be held.

It achieves this by running `dpkg --set-selections' and piping in the package name(s) followed by `hold'.

NOTE: This program does not install, remove, purge any package. It ONLY sets the status of the package. Any actual removal or purging is done the next time dselect, apt-get, aptitude, etc are run.

dpkg(1), dpkg-unhold(1), dpkg-remove(1), dpkg-purge(1)

dpkg-hold was written Craig Sanders <cas@taz.net.au>. dpkg-hold is Free Software placed in the public domain.

2009-06-02 Debian Project