Re: Upgrading with a low data cap
- Date: Mon, 8 Oct 2018 11:56:21 -0000 (UTC)
- From: Dan Purgert <dan@xxxxxxxx>
- Subject: Re: Upgrading with a low data cap
Richard Owlett wrote:
> On 10/07/2018 08:25 PM, David Wright wrote:
>> Can you simultaneously
>> connect the machine being installed to both the internet and the
>> system running apt-cache-ng (and using http:)?
> I haven't yet read the documentation for apt-cache-ng and don't know if
> it would match my mental image. I was assuming that that all the
> packages that I downloaded/upgraded were still in a cache which could be
> transferred to the target machine via a flash drive. The machines are
> adjacent. My current priority is verifying my Buster system is properly
Essentially apt-cache-ng (or squid) is a proxy service for your
You run it on your "main" machine (or, well any spare server or VM), and
tell apt to use that machine as a proxy.
Then, when you're on your secondary laptop (or updating additional
servers / VMs), they send all their apt requests via the proxy. If it
has the package(s) in question, it supplies them directly to the client
machine(s). If it doesn't, then you download them (and the proxy cache
is updated for next time).
Admittedly, these options work best if you have multiple machines
that're pretty much the same (e.g. that "lab" I did, where all the
desktops were identical).
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281