Using Debian Packages Flashcards
what is the basic format for dpkg
dpkg [options] ACTION PACKAGE-FILE
dpkg -c
displays contents of a package file
dpkg -C
searches for broken installed packages and suggests how to fix them
dpkg –configure
reconfigure an installed package
dpkg –get-selections
displays currently installed packages
dpkg -i
installs package, but if already installed, upgrades it
dpkg -I
displays information about an uninstalle;d package file
dpkg -l
lists all installed packages matching a specified pattern
dpkg -L
lists the installed files associated with a package
dpkg -p
displays information about an installed package
dpkg -P
removes an installed package, including config files
dpkg -r
removes an installed package but leaves the configuration files
dpkg -s
displays the status of the specified package
dpkg -S
locates the package that owns the specified files