Bug#528011: Please allow APT::Get::AutomaticRemove=true during dist-upgrades
Package: apt
Version: 0.7.21
Severity: wishlist
Hi
In pbuilder, we attempted to drop unused packages automatically via:
-o "APT::Get::AutomaticRemove=true"
which we added to the apt-get dist-upgrade call; this doesn't work
because in apt, DoAutomaticRemove() is only called from DoInstall()
(which is called for apt-get install, remove, purge, and autoremove).
dist-upgrade calls DoDistUpgrade().
Could you please call DoAutomaticRemove() from DoDistUpgrade()?
Thanks,
--
Loïc Minier
Reply to: