Bug#322649: What about apt-get autoremove?
Loïc Minier
lool at dooz.org
Sun May 10 10:00:37 UTC 2009
On Sun, May 10, 2009, Junichi Uekawa wrote:
> Actually, pbuilder update sets APT::GET::AutomaticRemove=true and
> should already be doing that, which version of pbuilder are you
> running?
In apt, DoAutomaticRemove() is only called from DoInstall() (which is
called for apt-get install, remove, purge, and autoremove); what we run
for pbuilder updates is apt-get dist-upgrade, and it's the only time
where we set APT::Get::AutomaticRemove=true. dist-upgrade calls
DoDistUpgrade().
I've filed a bug against apt to request APT::Get::AutomaticRemove=true
to work in dist-upgrade.
Bye
--
Loïc Minier
More information about the Pbuilder-maint
mailing list