Public bug reported:

ever since the daily unattended upgrade is run via systemd timers it
does no longer recover from interrupted dpkg runs

in /usr/lib/apt/apt.systemd.daily, before the actual unattended-upgrade script 
is called, there is a call to 
   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-
Upgrade::AutoFixInterruptedDpkg was set to "false"). So this is a
regression.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt 1.2.24
ProcVersionSignature: Ubuntu 4.10.0-35.39~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-35-generic x86_64
NonfreeKernelModules: wl
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)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1731636

Title:
  daily unattended upgrade does not recover from interrupted dpkg run
  (regression)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1731636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to