Blog · 2026-10-29 · Gardience Engineering

WSUS for Linux: one update cache for Debian, Ubuntu, Rocky and Alma

Is there a WSUS for Linux? Not from Microsoft, but the idea works. How a local Linux update cache works, the open-source ways to build one, and a built-in cache that also carries into networks with no internet.

WSUS (Windows Server Update Services) does two things for Windows: it downloads each update once and serves it to every machine on the network, and it lets an admin decide what gets installed. There is no WSUS for Linux from Microsoft, and WSUS itself is deprecated. But both halves of the idea work on Linux, and the first half is simpler than on Windows.

Why Linux needs it less, and still benefits

Linux machines already get updates from repositories over HTTP, and every package is signed by the distribution. So a local cache does not have to be trusted the way WSUS was: if it served a changed package, apt or dnf on the machine would refuse it because the signature would not match.

What a cache still gives you:

The open-source ways to build one

ToolWhat it isGood for
apt-cacher-ngA caching proxy for Debian and Ubuntu (some RPM support)Small Debian/Ubuntu fleets
Squid or nginx as a cacheA general web cache in front of the mirrorsTeams that already run one
A full mirror (reposync, apt-mirror, debmirror)A complete copy of each repositoryFixed offline networks, if you have the disk
Pulp, Foreman/Katello, UyuniRepository management with snapshots and content viewsLarge estates that want to freeze what is installable

The trade-off is always the same: a caching proxy stores only what machines actually asked for, which is small and needs no upkeep, while a full mirror stores everything, which is large but complete. Any of them still leaves you to point each machine at it, and to put each machine back if you stop.

How Gardience does it

Gardience 1.18 adds an update cache, Patching > Update cache, built into the server you already run:

Patching then works as before: tested patch sets, rings, change windows, schedules and approvals, with every action in the audit log. We tested it on Debian 13, Ubuntu 24.04, Rocky Linux 9 with EPEL, and AlmaLinux 9: the first download came from the internet, the second from the cache, a wrong certificate was refused and rolled back, and "back to their own sources" left each machine identical to a fresh install.

What it does not cover

Questions

Is there a WSUS for Linux?

Not from Microsoft. On Linux the same job is done by a local cache or mirror of the distribution's repositories: apt-cacher-ng, a web cache, a full mirror, or a tool like Pulp or Foreman. Gardience includes one for Debian, Ubuntu, Rocky, AlmaLinux and EPEL.

Can a cache install a tampered package?

No. Debian, Ubuntu, Rocky, AlmaLinux and Fedora (for EPEL) sign their packages, and apt and dnf check those signatures on each machine, whatever server the file came from.

Does it work with no internet?

Yes. A cache filled on a connected network can be exported and imported on a network with no internet. Debian's security list expires after about a week offline, so bring in a fresh export at least weekly for Debian security updates.

Try Gardience on your own machines

One supported console for Windows and Linux on open-source Salt: patching, a scored STIG/CIS-aligned baseline, drift repair, event-driven automation, two-person approval and a tamper-evident audit log. Flat yearly pricing, not per node.

Free 90-day trial (25 nodes)See it work Compare

Salt is a trademark of its owner, Ansible is a trademark of Red Hat, Inc., and other names are trademarks of their owners. Gardience is independent and not affiliated with any of them.