Bug#586428: Please clear the apt cache
* Petter Reinholdtsen <pere@hungry.com> [2010-06-19 19:38]:
> When Debian Edu set up its thin client server, the installer reuse the
> APT cache by bind-mounting /var/cache/apt/archives into the chroot to
> avoid having to download the same packages again when creating the
> LTSP chroot. Because of this, I would suggest to not clear the cache
> by default until at the very end of the installation run.
Would it be a major problem simply to use a web proxy instead? (Just
curious).
> What about making the apt cache cleaning optional and default to not
> doing it, and allow the systems with little disk space to remove it?
I guess one way would be to use a post-base-installer.d script (as
Otavio has suggested) and then Debian Edu could remove delete this
script. Or we could introduce a config variable, but this is getting
more complicated that I originally expected. Any opionions on the
best solutions welcome (especially from Otavio, Frans and Colin who
see the big picture of d-i).
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: