A tool for installing, managing, and building packages. Also serves as a frontend to dpkg-deb and dpkg-query.
These actions are carried out by dpkg itself:
Update the record of available files kept in /var/lib/dpkg/available with information from pkgfile. This information is used by dpkg and dselect to determine what packages are available. With
--recursive, pkgfile must be a directory.
Search for partially installed packages and suggest how to get them working.
Remove existing information about what packages are available.
Accept commands passed on the file descriptor given by n. Note that any additional options set through this file descriptor or on the command line are not reset, but remain for other commands issued during the same session.
ver1 op ver2
Perform a binary comparison of two version numbers. The operators
gttreat a missing version as earlier. The operators
gt-nltreat a missing version as later (where
nlis “not later”). A third set of operators (
< << <= = >= >> >) is provided for compatibility with control-file syntax. dpkg returns zero for success (i.e., the condition is satisfied) and nonzero otherwise.
Reconfigure one or more unpacked packages. If
--pendingis given instead of packages, configure all packages that are unpacked but ...