[Aptitude-devel] Bug#724887: Bug#724887: dpkg: warning: ignoring request to remove iproute which isn't installed

Tom bug at users.ch.eu.org
Fri Jun 19 12:10:33 UTC 2015


On Wed, 02 Apr 2014 08:06:33 +0800 =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni at 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 ...


I could not figure-out in what way the package state of such packages
differ from the normal case where a apt-get remove, followed by  an
apt-get purge just works as expected.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20150619/374b06fe/attachment.html>


More information about the Aptitude-devel mailing list