Re: debootstrap and using /var/cache/apt/archives as --cache-dir

2018-04-17 Thread Hideki Yamane
Hi, On Tue, 17 Apr 2018 09:57:13 +0200 Raphael Hertzog wrote: > You could create /var/cache/debootstrap for this purpose but I'm not > convinced that this is needed because if someone really cares about the > performance of debootstrap runs, it will likely already have optimized > the download of

Re: debootstrap and using /var/cache/apt/archives as --cache-dir

2018-04-17 Thread Raphael Hertzog
On Tue, 17 Apr 2018, Hideki Yamane wrote: > > For all those reasons, I'm really sure that it is not a good idea > > to enable that directory as default --cache-dir. > > Thanks, 1 is rare, but 2 and 3 sound reasonable. > Then, can we make any directories for cache option by default? You could cr

Re: debootstrap and using /var/cache/apt/archives as --cache-dir

2018-04-16 Thread Hideki Yamane
On Thu, 12 Apr 2018 10:41:57 +0200 Raphael Hertzog wrote: > 1/ You will put files there but what happens if "apt-get clean" is run in > a cron job while you are running debootstrap ? > > 2/ APT stores files there with a naming policy of its own (for instance > it adds the epoch to the version) an

debootstrap and using /var/cache/apt/archives as --cache-dir

2018-04-12 Thread Raphael Hertzog
Hi, moving to debian-boot as this is unrelated to this bug. On Thu, 12 Apr 2018, Hideki Yamane wrote: > > Drop default value for --cache-dir parameter > > > > It is not at all appropriate for debootstrap to start putting files > > in APT's cache of .deb files (it could possibly u