
612
|
Chapter 5: Package Management
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--help
Print help message and exit.
-i pkgfile, --install pkgfile
Install the package specified as pkgfile. With -R or --recursive,
pkgfile must be a directory.
--license, --licence
Print dpkg license information and exit.
--print-architecture
Print the target architecture.
--print-gnu-build-architecture
Print the GNU version of the target architecture.
--print-installation-architecture
Print the host architecture for installation.
-r, --remove [packages|-a|--pending]
--purge [packages|-a|--pending]
Remove or purge one or more installed packages. Removal
gets rid of everything except the configuration files listed in
debian/conffiles; purging also removes the configuration files.
If -a or --pending is given instead of packages, dpkg removes
or purges all packages that are unpacked and marked (in /var/
lib/dpkg/status) for removing or purging.
--set-selections
Set package selections based on input file read from standard
input.
--unpack pkgfile
Unpack the package, but don’t configure it. When used
with -R or --recursive, pkgfile must be a directory.
--update-avail pkgs-file
--merge-avail pkgs-file
Update the record of available files kept in /var/lib/dpkg/
available. This information is used by dpkg and dselect to
determine what packages are available. Update replaces ...