This is tagged todo, but this needs a lot of planning

** Changed in: apt (Ubuntu)
     Assignee: (unassigned) => Julian Andres Klode (juliank)

** Tags removed: rls-pp-incoming
** Tags added: foundations-todo

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2089151

Title:
  apt-daily and apt-daily-upgrade may never actually run

Status in apt package in Ubuntu:
  New

Bug description:
  My daily workflow looks like this:
  * Disconnect laptop from charger
  * Open lid, resuming system from suspend
  * [work work work]
  * Close lid, suspends system
  * Connect laptop to charger
  - repeat.

  Basically my laptop is almost never awake while charging.
  Regardless whether the systemd timers end up firing while running or on 
resume, the pre-condition for apt-daily.service and apt-daily-upgrade.service 
`ConditionACPower=true` is always missed and the services are never started.

  I don't really have a good solution in mind, but:
  I think for starters we should reconsider whether refreshing caches 
(apt-daily.service) should really need AC power: it shouldn't be a very power 
hungry operation.
  But that does not solve the problem for apt-daily-upgrade.service which is 
supposed to run unattended-upgrade daily.

  Also, setting the `Unattended-Upgrade::OnlyOnACPower` apt config to
  false wouldn't mitigate this issue, because without systemd first
  starting the service we never even get to check that; and regardless
  the situation should be better with the default configs.

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


-- 
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