mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
24 lines
469 B
Markdown
24 lines
469 B
Markdown
# apt-mark
|
|
|
|
> Utility to change the status of installed packages.
|
|
|
|
- Mark a package as automatically installed:
|
|
|
|
`sudo apt-mark auto {{package_name}}`
|
|
|
|
- Hold a package at its current version and prevent updates to it:
|
|
|
|
`sudo apt-mark hold {{package_name}}`
|
|
|
|
- Allow a package to be updated again:
|
|
|
|
`sudo apt-mark unhold {{package_name}}`
|
|
|
|
- Show manually installed packages:
|
|
|
|
`apt-mark showmanual`
|
|
|
|
- Show held packages that aren't being updated:
|
|
|
|
`apt-mark showhold`
|