held package
A package you have told the package manager not to upgrade or remove, pinning it at its current version.
In more detail
Holds protect a known-good version, for example with apt-mark hold or the dnf versionlock plugin. They also block security fixes for that package, so record why each hold exists. Transaction previews list held packages that were skipped.
Related terms
- package transaction — One install, upgrade or removal operation, planned as a whole and applied together by the package manager.
- dependency resolution — The package manager's work of choosing which packages and versions to install, upgrade or remove so every declared dependency stays satisfied.
- package manager — A tool that installs, updates and removes software together with what it depends on, such as apt on Debian, apk on Alpine or Homebrew on macOS.
Taught in
- Three Families: apt, dnf And pacman — Linux Fundamentals & Systems Administration
- The Upgrade That Broke Nginx: Packages, Repositories And Pins On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Three PBQs Against The Clock: A Performance-Based Mock On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Ninety Minutes, Five Domains: The Full Mock And The Week Before The Exam — CompTIA Linux+ (XK0-006) Exam Prep