[Bug 2089151] Re: apt-daily and apt-daily-upgrade may never actually run

2026-03-03 Thread James McKenzie
I'm not convinced this is a bug although I agree it might be quite
difficult to figure out why it's not triggering automatically when using
devices in this way.

One solution is to generate a systemd drop-in file like this:

#/etc/systemd/system/apt-daily.service.d/apt-daily.service.conf 
[Unit]
ConditionACPower=


This will clear the condition requiring AC Power to be connected.

https://wiki.archlinux.org/title/Systemd#Drop-in_files

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

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

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


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

[Bug 2089151] Re: apt-daily and apt-daily-upgrade may never actually run

2026-01-23 Thread Alessandro Astone
Trying to improve the situation without fully resolving this bug:
https://salsa.debian.org/apt-team/apt/-/merge_requests/547

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

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

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


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

[Bug 2089151] Re: apt-daily and apt-daily-upgrade may never actually run

2024-12-05 Thread Julian Andres Klode
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089151

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

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


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

[Bug 2089151] Re: apt-daily and apt-daily-upgrade may never actually run

2024-11-25 Thread Ravi Kant Sharma
** Tags added: rls-pp-incoming

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

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

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


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

[Bug 2089151] Re: apt-daily and apt-daily-upgrade may never actually run

2024-11-20 Thread Alessandro Astone
** Description changed:

  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, pre-condition for apt-daily.service and apt-daily-upgrade.service 
`ConditionACPower=true` is always false and the services are never started.
+ 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.

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

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

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


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