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
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