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
selections such as hold, install, deinstall and purge which are respected e.g. by
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.
will at least suggest removing them.
is used to mark a package as being automatically installed, which will cause the package to be removed when no more manually installed packages depend on this package.
is used to mark a package as being manually installed, which will prevent the package from being automatically removed if no other packages depend on it.
is used to mark (transitive) dependencies of metapackages as automatically installed. This can be used after an installation for example, to minimize the number of manually installed packages; or continuously on systems managed by system configuration metapackages.
is used to print a list of automatically installed packages with each package on a new line. All automatically installed packages will be listed if no package is given. If packages are given only those which are automatically installed will be shown.
can be used in the same way as
except that it will print a list of manually installed packages instead.
Read/Write package stats from the filename given with the parameter
instead of from the default location, which is
in the directory defined by the Configuration Item:
PREVENT CHANGES FOR A PACKAGE
is used to mark a package as held back, which will prevent the package from being automatically installed, upgraded or removed.
is used to cancel a previously set hold on a package to allow all actions again.
is used to print a list of packages on hold in the same way as for the other show commands.
SCHEDULE PACKAGES FOR INSTALL, REMOVE AND PURGE
Some front-ends like
can be used to apply previously scheduled changes to the install state of packages. Such changes can be scheduled with the
(also known as
commands. Packages with a specific selection can be displayed with
respectively. More information about these so called dpkg selections can be found in
Show a short usage summary.
Show the program version.
Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this configuration file. If configuration settings need to be set before the default configuration files are parsed specify a file with the
environment variable. See
for syntax information.
Set a Configuration Option; This will set an arbitrary configuration option. The syntax is
can be used multiple times to set different options.
Status list of auto-installed packages. Configuration Item:
returns zero on normal operation, non-zero on error.
m[blue]APT bug pagem. If you wish to report a bug in APT, please see
APT bug page