Comment 1 for bug 1686470

Revision history for this message
Julian Andres Klode (juliank) wrote : Re: Apt updates that are uniformally spread across all timezones, with predictable application windows

I propose we simply split up the apt daily script and run that in two timers (one for fetching, the other for potentially destructive stuff like u-u and clean).

/usr/lib/apt/apt.systemd.daily.common.sh
  The shell functions used by both scripts (top part of script), plus the variables
  (so right until the # update package lists part).

/usr/lib/apt/apt.systemd.daily
  The middle part of the current script, until u-u

/usr/lib/apt/apt.systemd.destructive-daily

  The final part of the script handling u-u, clean, and autoclean