I have three Ubuntu systems and I wish to minimize download bandwidth by setting up a cache of downloaded packages. (With only three systems, it's not worth setting up a full mirror).
apt-cacher-ng
sounded perfect for this, but it doesn't work as I expected after setting up a trial with 1 server and 1 client.
When I install software on the client, it works as expected - packages are downloaded to the server and stored in the server's cache.
But when I install software on the server, the packages are not cached.
This kind of ruins apt-cacher-ng
's utility for me - with only two systems, I will end up downloading the software packages twice anyway (like for kernel updates, etc). I would like it to cache the packages downloaded to be installed on the server; for me, there is a huge overlap between these packages and what the clients will request.
Is there a way to get apt-cacher-ng
to cache the packages which are downloaded to be installed on the server?