snippetbashTip
apt-mark — Utility to change the status of installed packages. More information: <https://manned.org/apt-mark>.
Viewed 0 times
thecommandstatusclichangeapt-markutilityinstalled
linux
Problem
How to use the
apt-mark command: Utility to change the status of installed packages. More information: <https://manned.org/apt-mark>.Solution
apt-mark — Utility to change the status of installed packages. More information: <https://manned.org/apt-mark>.Mark a package as automatically installed:
sudo apt-mark auto {{package}}Hold a package at its current version and prevent updates to it:
sudo apt-mark hold {{package}}Allow a package to be updated again:
sudo apt-mark unhold {{package}}Show manually installed packages:
apt-mark showmanualShow held packages that aren't being updated:
apt-mark showholdCode Snippets
Mark a package as automatically installed
sudo apt-mark auto {{package}}Hold a package at its current version and prevent updates to it
sudo apt-mark hold {{package}}Allow a package to be updated again
sudo apt-mark unhold {{package}}Show manually installed packages
apt-mark showmanualShow held packages that aren't being updated
apt-mark showholdContext
tldr-pages: linux/apt-mark
Revisions (0)
No revisions yet.