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
- What other flags are there?
- How to read the flags? (because the explanation is quite complicated, IMO)