2025-03-14 21:59:59 -06:00
|
|
|
# apt-mark
|
|
|
|
|
|
|
|
|
|
> Utility to change the status of installed packages.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://manned.org/apt-mark>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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 showmanual`
|
|
|
|
|
|
|
|
|
|
- Show held packages that aren't being updated:
|
|
|
|
|
|
|
|
|
|
`apt-mark showhold`
|