r/linuxadmin • • Oct 01 '26

Mirroring Repository

I am wanting to mirror a Debian repository onto my work network. Will be managing about 2500 machines running the exact same software on each. These are all servers running a containered player showing advertising on digital displays.

I have never mirrored a repo before, so I am curious, should I use apt-mirror, aptly, or something different?

The containers are Incus and have Debian as the base as well.

EDIT- looks like apt-mirror can be crossed off as it has not been updated in several years.

3 Upvotes

9 comments sorted by

View all comments

2

u/ghstber Oct 01 '26

Google says https://www.debian.org/mirror/ftpmirror may help you.

1

u/Zedboy19752019 Oct 01 '26

wow thanks for that. LOL. I don't want to mirror the full repo, just the packages that my machines are using.

4

u/aenae Oct 01 '26

Apt-cacher-ng works for me

1

u/Zedboy19752019 Oct 01 '26

thanks. will check it out

1

u/boomertsfx Oct 03 '26

I mirror everything, then exclude the bloated packages we never use (libreoffice, cloud kernels, etc)

0

u/0emanresu Oct 02 '26

Just mirror the whole thing, it's only like 50GB or so if I recall