<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
<PRE>
On Wed, 02 Apr 2014 08:06:33 +0800 =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@jidanni.org> wrote:
>
> All I can say is that if apt had just tried good old dpkg -P ...
>
> So in this case we see that apt is probably trying a remove + purge
> instead of a plain purge or something.
I can confirm that in some cases, "apt-get purge" doesn't purge an
uninstalled package whereas "dpkg --purge" works:
# apt-get purge gnome-games
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
gnome-games*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
dpkg: warning: ignoring request to remove gnome-games which isn't installed
# dpkg --purge gnome-games
(Reading database ... 141051 files and directories currently installed.)
Removing gnome-games ...
Purging configuration files for gnome-games ...
</PRE>
I could not figure-out in what way the package state of such packages<BR>
differ from the normal case where a apt-get remove, followed by an<BR>
apt-get purge just works as expected.
</BODY>
</HTML>