---
name: "dpkg-hold"
section: "1"
platform: "linux"
package: "dlocate"
version: "0.96.1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/dpkg-hold"
---

# dpkg-hold(1)

program to flag for hold a package or packages

## NAME

dpkg-hold - program to flag for hold a package or packages

## SYNOPSIS

**dpkg-hold** \[*PACKAGE*...\]

## DESCRIPTION

**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.

## SEE ALSO

[**dpkg**(1)](/dpkg/1.md), [**dpkg-unhold**(1)](/dpkg-unhold/1.md), [**dpkg-remove**(1)](/dpkg-remove/1.md), [**dpkg-purge**(1)](/dpkg-purge/1.md)

## AUTHOR

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