Apt-cacher-ng: Cache packages on a local mirror instead of redownloading them

Klara@lemmy.blahaj.zone to Linux@lemmy.ml – 39 points –
wiki.debian.org

I set this up a few weeks ago since all my systems, except one Gentoo server, run Debian and I am very happy with it. Should work on all distros using apt (Mint, Ubuntu, etc.) and I've read that dnf may work with it as well.

7

Just like Nix cache…. but worse.

Yeah, I get that. I was daily driving Guix for quite a long time and really enjoyed it. As I understand it shares a lot of code with Nix. It's just been a bit hard to integrate with a lot of the software I run due to it not being compatible with the traditional filesystem hierarchy. This is obviously a selling point for Nix/Guix as it frees it to try new ideas, but makes it harder for me to run my music production software for example, which I can't run in flatpak officially and since it Just Works™ on Debian, I'm happy with it. Maybe I'll get into it sometime again as the community seems to have grown a lot, and I've looked into running Nix on top of my Debian install.

I daily drive NixOS and often have similar issues with FHS-style software even with flatpac so I completely understand.

So, my system for years has been a squid proxy jail with plenty of disk space, works great so far.

I can see where this might be better, but squid solves a few of my issues including limiting outbound connections for most of my apps to the ones I know they need.

Been using this with my debian machines for years. I have VMs spanning versions 8-10 but set it up when Wheezy was still prominent and it's always worked well.

Oh I've been looking for something like this! Thanks for sharing :D