Skip to content

PeriodicUpdates (unattended-upgrades) — by Debian Wiki

intermediatepageCC BY-SA 4.0 (for changes after 24 July 2025; see page footer)

Explains how automatic updates work and how to change when they run by overriding the apt-daily timers with systemctl edit, ideally with a randomised delay on shared servers.

Quick steps

  1. sudo systemctl edit apt-daily.timer
  2. sudo systemctl edit apt-daily-upgrade.timer
  3. Clear OnCalendar= then set a new time

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full article on wiki.debian.org

Source: PeriodicUpdates (unattended-upgrades) by Debian Wiki. Licence: CC BY-SA 4.0 (for changes after 24 July 2025; see page footer).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

systemdtimersaptunattended-upgrades

More in Linux