David Dooling wrote:
> Did this not show up on yours version or mine? It seems like it
> should have shown up on mine since the second character is an ``i''.
Turns out there was a difference between our listing, but that wasn't
it. I found the "pi" package by sorting (dpkg -l|sort). When I saw the
pi along with the heading stuff, I thought that must be it. Turns out
there was another package:
$ diff \
<( dpkg -l | tr -s ' ' '\t' | cut -f2 | tail +6 | sort; ) \
<( dpkg -l | awk '/^.i/ { print $2 }' | sort )
74d73
< cups-pdf
$ dpkg -l cups-pdf | grep cup
rc cups-pdf 2.2.0-1 PDF printer for CUPS
I'm guessing the package has been "removed" but the config files still
exist.
>> Why is it pi instead of ii? I assume that p=Purge and i=Installed. But
>> what does that mean to be in the Purge state with an Installed
>> status?
>
> It means that it is marked for purge (remove package and config
> files), but it has not been purged yet. If you were to run
>
> # dpkg -r --purge --pending
>
> Then it would get removed. This is how tools like apt-get, dselect,
> aptitude, and synaptic work. Setting selections then use --pending.
> That is how they are all able to be stateful, even between different
> apt front ends.
Makes sense. Although I find it odd that something has been marked to
be purged even though it hasn't been removed, yet. I wonder how that
happened.
Regards,
- Robert
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/