daily unattended upgrade does not recover from interrupted dpkg run (regression)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
ever since the daily unattended upgrade is run via systemd timers it does no longer recover from interrupted dpkg runs
in /usr/lib/
apt-get check
which ends the daily update run with an error in this case. The log says
error encountered in cron job with "apt-get check".
Before the switch to systemd timers, when a dpkg run was interrupted (requiring execution of dpkg --configure -a), the unattended upgrade script would recover from this (unless Unattended-
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt 1.2.24
ProcVersionSign
Uname: Linux 4.10.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Nov 11 15:49:14 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-05-05 (554 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
I can't follow. The apt-get check check has been there since 2007, and the check is the same since 2004.