N-1 patching on Debian enables you to manage updates in your Debian environment at your convenience. It helps you:
Debian does not retain older versions of package updates in its public repositories. When a new update is released, the previous version is removed. Because N-1 patching requires access to older package versions, you must maintain an internal Debian repository mirror.
The N-1 workflow relies on this mirror to supply older package metadata and update files to agents. Machines mapped to the mirror will report missing updates based on the mirror’s metadata rather than the latest available updates.
N-1 patching on Debian requires a Debian repository mirror hosted within your environment over HTTP or HTTPS. This mirror should contain the older package versions you intend to use.
For detailed steps on creating a mirror, refer to the How to mirror section in the official Debian documentation.
After creating the mirror:
The Central Server verifies the mirror URL and adds it to the list.

Mapping machines to a mirror instructs the agents to fetch Linux package metadata and updates from that mirror. This overrides the default behaviour of using the latest Debian repository data.
Before mapping, create a custom group containing the Debian machines that require N-1 patching.
After the group and mirror are ready:
The mapped machines will begin using the mirror starting from the next refresh cycle. Their missing-patch reports will reflect the metadata available in the mirror.
Note: Agents apply the mirror configuration only during their next refresh cycle.

Note: If you manage machines across multiple regions, host a separate mirror for each location and map machines accordingly.