package transaction
One install, upgrade or removal operation, planned as a whole and applied together by the package manager.
In more detail
Read the plan before confirming: look for removals, replacements, held packages and services that will restart. Simulate first with apt --simulate, dnf --assumeno or pacman --print. On a production host an upgrade can replace configuration or restart a service.
Example
name=web version=2 source=stable deps=ssl records what a transaction should make explicit.Related terms
- 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.
- held package — A package you have told the package manager not to upgrade or remove, pinning it at its current version.
- production — The live environment where real users use the service, as opposed to development or testing.
Taught in
- What A Package Manager Guarantees — Linux Fundamentals & Systems Administration
- Three Families: apt, dnf And pacman — Linux Fundamentals & Systems Administration