Bug#586428: Please clear the apt cache
On Sunday 20 June 2010, Martin Michlmayr wrote:
> * Otavio Salvador <email@example.com> [2010-06-19 12:35]:
> > > The following patch, which clears the cache after debootstrap and
> > > then again at the end (after kernel/extra packages), works for me.
> > > OK to apply?
> > Conceptually it is OK but why not move it to post-base-installer.d?
> Well, my idea was to clean it twice, once after debootstrap and once
> at the end (after kernel and extra packages). Doing it in
> post-base-installer.d would not clean the kernel and extra packages.
IMO it should only be done once during base-installer: at the very end (and
only if successful). Doing it twice does not gain anything.