Regarding the output of "dpkg -l":
Code:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii a2ps 4.13b-16woody1 GNU a2ps 'Anything to PostScript' converter
ii adduser 3.63 Add and remove users and groups
ii apache 1.3.26-0woody6 Versatile, high-performance HTTP server
[snip]
I see that there's three columns on the left, but I've only ever seen two of them actually used, and they mostly say "ii" or "rc".
Why do the installed packages say "ii"? I don't *"desire"* for them to be installed -- they're *already* installed.
Also, why can't I get rid of some packages? I sometimes install a package, but then later remove it (apt-get remove --purge foo), but it still stays in that dpkg -l output with an "rc" next to it. It suggests that I "desire" to remove the package, but it should already *be* removed...
Looking at the man page, it organizes pkg info into three classes -- each class having one of a number of possible values:
Code:
states
installed
half-installed
not-installed
unpacked
half-configured
config-files
selection states
install
deinstall
purge
flags
hold
reinst-required
So it seems that the connection between the dpkg -l header and the man page is:
Desired <--> selection state plus the "hold" flag
Status <--> states
Err <--> flags
Where "hold" gets used twice.
Seems a bit out of sync... or confusing at least.
Anyhow, any commentary or explanation is welcome and appreciated. I'll be happy to update the lq-wiki page with anything useful that comes up here.
As for my specific question though: I've got a package that says "ic" in the left column of the dpkg -l output. What's the significance of that 'c'?