[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#678889: marked as done (autoremove: Does not remove suggested packages independent of APT::Install-Suggests)



Your message dated Mon, 25 Jun 2012 01:16:53 +0200
with message-id <CAAZ6_fBFcvL+ZCwhM8Oz1-Lrx=VAmzCVwpMJeKFfsVm8cCBihw@mail.gmail.com>
and subject line Re: Bug#678889: autoremove: Does not remove suggested packages independent of APT::Install-Suggests
has caused the Debian Bug report #678889,
regarding autoremove: Does not remove suggested packages independent of APT::Install-Suggests
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
678889: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678889
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.9.7
thanks


Hi,

if APT::Install-Suggests is deactivated autoremove does not remove
(automatically installed) packages which are only suggested by other
packages. In that case APT does not install suggested packages so
expected behavior is that autoremove removes those suggested-only packages.


Regards

Dominique Lasserre



--- End Message ---
--- Begin Message ---
On Mon, Jun 25, 2012 at 12:14 AM, Dominique Lasserre
<lasserre.d@googlemail.com> wrote:
> My understanding of this autoremove feature is:
> When I install a package which comes with some "hard" dependencies,
> (auto)removal of this package should remove what was installed before
> (except if I install those dependencies manually or if there are some
> packages which depend on them).

APT::AutoRemove::SuggestsImportant "false";

Is what you want, then (and maybe for Recommends, too).

autoremove is NOT intended to undo a previous install - for that
we actually need a command, in the meantime you can have a look
at /var/log/apt/history.log which stores this information.

autoremove is intended to remove unused packages, but this
package isn't unused, it can be put to use by the another package.

Imagine you installed a image viewer. As it's sole propose is to display
images it will depend on a bunch of image formats.
You install a browser right after that (or did so ten years before).
It suggests these only as it can do more than just display images.
Now, you don't like this image viewer that much, but you discovered
that your browser happens to display that stuff just fine, so you are
going to remove the image viewer: What will happen now?
Exactly… People come to us complaining that they removed what
APT suggested would be unneeded packages and therefore a safe
operation with no visible consequences, but in fact packages which
are needed are removed as I can't see these images anymore.

I am therefore closing this bug as "not a bug, but a feature".
If you don't like it, the mentioned option above will help you fix it.


Best regards

David Kalnischkies


--- End Message ---

Reply to: