@rbalint As I detailed, the problems cannot *all* be resolved by config.
The biggest one, the first above, is still there. If you turn on a
laptop when (1) an update is overdue and (2) there is not yet an
internet connection, then the update will not run even if the connection
becomes available 5 minutes later. This is an **absolutely typical**
situation when on the go and connecting to new wifi networks.

Perhaps this is anacron's fault, or systemd's or something, I am not
sure. What is certain is that, in the real world, in this common
situation, unattended upgrades does not upgrade Ubuntu unattended.

I believe that is a significant problem.

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in

  UU should work on roaming laptops

Status in unattended-upgrades package in Ubuntu:

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:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to