Help-on-using-aptitude

From BubbaWiki
Revision as of 10:59, 7 October 2010 by Asad (talk | contribs)
Jump to navigation Jump to search

Aptitude is a command line packet manager.
It is more then apt-get, then you can search and view status of packages.

installing packages
aptitude install package-name

searching for packages
aptitude search keyword

viewing package details
aptitude show package-name


The "state" flag displayed for a package has the following possible values:
v - virtual
B - broken
u - "unpacked"
C - half-configured
H - half-installed
c - removed, but config-files still present (ie, not purged)
i - installed
E - internal error (should not happen)


The "action" flag displayed for a package has the following possible values:
h - hold
p - purge
d - delete (remove)
B - broken
i - install
r - reinstall
u - upgrade
F - the available upgrade has been forbidden via "F"