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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to