我有一台 Debian 10 服务器,无法进行无人值守升级。系统定时器被覆盖如下:
/etc/systemd/system/apt-daily.timer.d/override.conf
:
[Timer]
OnCalendar=
OnCalendar=*-*-* 13:30
RandomizedDelaySec=300
/etc/systemd/system/apt-daily-upgrade.timer.d/override.conf
[Timer]
OnCalendar=
OnCalendar=*-*-* 13:40
RandomizedDelaySec=300
计时器似乎在运行:
NEXT LEFT LAST PASSED UNIT ACTIVATES
Thu 2020-10-08 13:33:52 CEST 23h left Wed 2020-10-07 13:31:17 CEST 15min ago apt-daily.timer apt-daily.service
Thu 2020-10-08 13:40:55 CEST 23h left Wed 2020-10-07 13:43:20 CEST 3min 7s ago apt-daily-upgrade.timer apt-daily-upgrade.service
但无人值守升级并未运行。如果我手动运行unattended-upgrades -d
它工作正常。