Then without AC power:

root@x-uu-ref:~# cat > /etc/apt/apt.conf.d/51unattended-upgrades-on-battery
 Unattended-Upgrade::OnlyOnACPower "false";
root@x-uu-ref:~# unattended-upgrade --dry-run --verbose 
Initial blacklisted packages: 
Initial whitelisted packages: 
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=xenial, o=Ubuntu,a=xenial-security, 
o=UbuntuESM,a=xenial
No packages found that can be upgraded unattended and no pending auto-removals
root@x-uu-ref:~# on_ac_power ; echo $?
1
root@x-uu-ref:~# 


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

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

Title:
  unattended upgrade no longer actions on shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1773033/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to