I am running a Debian Wheezy install on a system where space is tight. Hence, I've turned off the "Automatically install recommended packages" option. The problem occurs if I install a package which results in a bunch of automatic dependencies. When I then remove that package, aptitude does not remove many of the automatically installed packages, for the reason that they are recommended by other packages. For instance, I installed pybliographer and was required to install almost 45 MB of packages. When I enter aptitude remove pybliographer
a few hours later, I'm told that 3 MB will be freed. Trying aptitude why
on a few random packages that were earlier installed - e.g. libgnomeui-0 - shows that they are recommended by some other package, but not depended on by any.
The Debian documentation on "managing automatically installed packages" mentions that one can set Apt::AutoRemove::SuggestsImportant
to false so that packages are not retained just because they are suggested by another package. But there is no reference to an option to do this for recommended packages - that page states that packages "will be removed when there is no path via Depends, PreDepends, or Recommends to them from a manually installed package." Is there no way this behaviour can be changed?