On Tue, 15 Jun 2021 13:28:21 +0200 Helmut Grohne <[email protected]>
wrote:
> Package: debspawn
> Version: 0.5.0-1
> Severity: wishlist
>
> Hi,
>
> thanks for fixing all of the bugs I reported. I was looking into
> debspawn again and noticed that there is no way to opt out of caching
> downloaded .debs locally. One can cache the directory for caching
them,
> but not disable it.
>
> Why would one want to do that? If your system resides on a SSD,
writes
> reduce the lifetime of your disk. Partially, one can avoid writes
> incurred by debspawn by mounting a tmpfs on /var/tmp/debspawn (or
moving
> it to a tmpfs-based /tmp). The writes to the aptcache cannot be
avoided
> that way. My local network has a fast mirror, so downloading them
over
> and over again is not too bad. Quite to the contrary, the cache can
be
> shared by multiple hosts.
Also if I already have apt-cacher-ng setup, I don't want debspawn also
to duplicate a cache. May be it should use auto-apt-proxy to check if
there is an apt-cacher-ng setup and disable it automatically if it
detects one.