This bug was fixed in the package unattended-upgrades -
1.1ubuntu1.18.04.7~16.04.2
---
unattended-upgrades (1.1ubuntu1.18.04.7~16.04.2) xenial; urgency=medium
* Don't check blacklist too early and report updates from not allowed origins
as kept back. (LP: #1781176)
*
Verified 1.1ubuntu1.18.04.7~16.04.2 on Xenial:
root@x-uu-verify:~# on_ac_power ; echo $?
1
root@x-uu-verify:~# unattended-upgrade --dry-run --verbose
Initial blacklisted packages: ebtables
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=xenial,
** Summary changed:
- unattended upgrade no longer actions on shutdown
+ unattended upgrade no longer actions on shutdown (when started on battery)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Hello Anthony, or anyone else affected,
Accepted unattended-upgrades into xenial-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/unattended-upgrades/1.1ubuntu1.18.04.7~16.04.2 in a few hours, and then
in the -proposed repository.
Please help us by
Tested with 1.1ubuntu1.18.04.7~16.04.1:
root@x-uu-ref:~# dpkg -l unattended-upgrades | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name
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
** Changed in: unattended-upgrades (Ubuntu Xenial)
Importance: Undecided => Medium
** Changed in: unattended-upgrades (Ubuntu Bionic)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Hello Anthony, or anyone else affected,
Accepted unattended-upgrades into xenial-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/unattended-upgrades/1.1ubuntu1.18.04.7~16.04.0 in a few hours, and then
in the -proposed repository.
Please help us by
** Also affects: unattended-upgrades (Ubuntu Xenial)
Importance: Undecided
Status: New
--
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
This bug was fixed in the package unattended-upgrades -
1.1ubuntu1.18.04.4
---
unattended-upgrades (1.1ubuntu1.18.04.4) bionic; urgency=medium
* Redirect stderr output in upgrade-between-snapshots, too, otherwise it
breaks the test sometimes (LP: #1781446)
unattended-upgrades
Tested 1.1ubuntu1.18.04.4 and it worked as expected.
Log:
rbalint@yogi:~$ sudo unattended-upgrade --dry-run --verbose
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security,
Hello Anthony, or anyone else affected,
Accepted unattended-upgrades into bionic-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/unattended-upgrades/1.1ubuntu1.18.04.2 in a few hours, and then in the
-proposed repository.
Please help us by testing
** Description changed:
+ [Impact]
+
+ * Unattended-upgrades does not install upgrades when it is configured
+ to install updates on shutdown and when it the system is started on
+ battery, but installs updates on battery in other cases.
+
+ * This behaviour is unintended and confuses users,
This bug was fixed in the package unattended-upgrades - 1.3ubuntu3
---
unattended-upgrades (1.3ubuntu3) cosmic; urgency=medium
* Stop rewriting test apt.conf in test_untrusted.py.
This fixes overwriting Unattended-Upgrade::OnlyOnACPower "false"
accidentally
and breaking
I have confirmed the behavior on my 18.04 laptop. Yes, it was being
started on battery and the service status matches your post. When
started on power, the unattended-upgrades install on shutdown, although
the screen is blank during the action.
I have confirmed that my 16.04 laptop does not
In my tests i found u-u operating properly on shutdown except when the
system was started on battery, and in that case the u-u.service did not
start - thus did not stop on shutdown:
$ service unattended-upgrades status
● unattended-upgrades.service - Unattended Upgrades Shutdown
Loaded: loaded
16 matches
Mail list logo