What do the various dpkg flags like 'ii' 'rc' mean?

Posted by theTuxRacer on Ask Ubuntu See other posts from Ask Ubuntu or by theTuxRacer
Published on 2010-12-25T09:02:58Z Indexed on 2014/05/30 22:05 UTC
Read the original article Hit count: 196

Filed under:
|

I frequently need to check which packages are installed, and I use the following command:

dpkg -l | grep foo

which gives the following output

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version         Description
ii   foo                       <version>         <description>
  1. What does the ii mean?
  2. What other flags are there?
  3. How to read the flags? (because the explanation is quite complicated, IMO)

Thanks.

© Ask Ubuntu or respective owner

Related posts about dpkg

Related posts about command-line