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: 267
        
dpkg
|command-line
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>
- What does the 
iimean? - What other flags are there?
 - How to read the flags? (because the explanation is quite complicated, IMO)
 
Thanks.
© Ask Ubuntu or respective owner