APT-MARK(8) | APT | APT-MARK(8) |
NAME¶
apt-mark - show, set and unset various settings for a package
SYNOPSIS¶
apt-mark {-f=filename | {auto | manual} pkg... | {showauto | showmanual} [pkg...] } | {-v | --version} | {-h | --help}
apt-mark {hold | unhold | install | remove | purge} pkg... | {showhold | showinstall | showremove | showpurge} [pkg...]
DESCRIPTION¶
apt-mark can be used as a unified front-end to set various settings for a package, such as marking a package as being automatically/manually installed or changing dpkg selections such as hold, install, deinstall and purge which are respected e.g. by apt-get dselect-upgrade or aptitude.
AUTOMATICALLY AND MANUALLY INSTALLED PACKAGES¶
When you request that a package is installed, and as a result other packages are installed to satisfy its dependencies, the dependencies are marked as being automatically installed, while the package you installed explicitly is marked as manually installed. Once an automatically installed package is no longer depended on by any manually installed package it is considered no longer needed and e.g. apt-get or aptitude will at least suggest removing them.
auto
manual
minimize-manual
showauto
showmanual
Options¶
-f=filename, --file=filename
PREVENT CHANGES FOR A PACKAGE¶
hold
unhold
showhold
SCHEDULE PACKAGES FOR INSTALL, REMOVE AND PURGE¶
Some front-ends like apt-get dselect-upgrade can be used to apply previously scheduled changes to the install state of packages. Such changes can be scheduled with the install, remove (also known as deinstall) and purge commands. Packages with a specific selection can be displayed with showinstall, showremove and showpurge respectively. More information about these so called dpkg selections can be found in dpkg(1).
OPTIONS¶
-h, --help
-v, --version
-c, --config-file
-o, --option
FILES¶
/var/lib/apt/extended_states
SEE ALSO¶
DIAGNOSTICS¶
apt-mark returns zero on normal operation, non-zero on error.
BUGS¶
APT bug page[1]. If you wish to report a bug in APT, please see /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command.
AUTHORS¶
Mike O'Connor
APT team
NOTES¶
- 1.
- APT bug page
11 December 2018 | APT 2.2.4 |