dpkg-hold(8)

dpkg-hold8

Mark packages as held to prevent installation

Usage

dpkg-hold [package ...]

Warning

This command is deprecated, and will be removed during in Debian forky, use "dpkg --set-selections" or "apt-mark" instead.

Overview

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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0–7
  2. 8–12
  3. 13

From dlocate 1.17 in Debian 13 (Trixie). Parsed by carta from the page's man source.