[Bug 1886161] Re: UU should work on roaming laptops
Julian Andres Klode
1886161 at bugs.launchpad.net
Thu Jul 23 14:40:41 UTC 2020
We'll eventually get a retry support in apt, if updating failed, but
there are no plans to react to connection state changes.
The retry will be linear every 10 minutes or so I suppose, but can't be
sure, we'll have to see - I'd do exponential, but systemd does not give
us an option for that.
Any change is not suitable for backporting to old releases.
Tthis is a tough topic, but our behavior wrt to updating is not
different from other major platforms - e.g. Android only installs
updates in the same conditions. It just gets the service triggered
automatically if it missed it due to conditions, but systemd does not
retrigger nor does it know about network state.
FWIW, I believe that all desktops do have their own integration, because
they need to for every other distribution, because that's how PackageKit
works.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1886161
Title:
UU should work on roaming laptops
Status in apt package in Ubuntu:
New
Status in gnome-settings-daemon package in Ubuntu:
Invalid
Bug description:
For many if not most laptop computers, Unattended Upgrades seems all
but useless by design.
For upgrades to happen, with default config, 3 conditions must be met:
- an internet connection must be up and running when the timer or cron or anacron tries the unattended upgrade
- the connection must not be metered, whatever that means (Skip-Updates-On-Metered-Connections "true")
- the computer must be plugged in (OnlyOnACPower "true")
These are insurmountable problems for many laptops on the go.
Inevitably, security upgrades will almost never run unattended on such
computers. I discovered with shock that Unattended Upgrades had almost
never run on my laptop. I tried all possible config tweaks. Nothing
worked reliably and in the end I gave up and wrote a upgrade script
which uses Network Manager's connection-up hook. Unattended Upgrades
needs to do something like this out of the box. Users should not need
to write scripts to ensure security upgrades.
Unattended upgrades is an excellent project for servers. But it really
needs to work, out of the box, on laptops too.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1886161/+subscriptions
More information about the foundations-bugs
mailing list