Bug#1138002: apt-daily: why wait for the upgrade?
Harald Dunkel <[email protected]> Wed, 27 May 2026 10:50:05 +0200
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Message-ID | <875x49xmma.fsf__12142.6387735241$1779871913$gmane$org@tweety.afaics.de> |
Package: apt
Version: 3.0.3
systemctl list-timers shows
% systemctl list-timers | egrep NEXT\|apt
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2026-05-27 16:59:18 CEST 6h Tue 2026-05-26 23:21:00 CEST 11h ago apt-daily.timer apt-daily.service
Thu 2026-05-28 06:54:07 CEST 20h Wed 2026-05-27 06:02:50 CEST 4h 36min ago apt-daily-upgrade.timer apt-daily-upgrade.service
This looks weird. Even if apt-daily is run in 18h again, there
will be still a gap of 2 hours to running apt-daily-upgrade.
Why wait?
I would suggest to add
[Service]
ExecStartPre=/usr/lib/apt/apt.systemd.daily update
to the apt-daily-upgrade service to make sure the local index
files are up-to-date. The previous download of the packages
run by apt-daily might have failed (if configured).