remram
I feel you, but on the other hand if every single community member tries to help, even if they have no idea or don’t understand the question, this is not great.
Anybody can ask Google or an LLM, I am spending more time reading and acknowledging this bot answer than it took you to copy/paste. This is the inverse of helping.
The problem is not “the loop”(?), your (LLM’s) approach is not relevant, and I’ve explained why.
Using scheduling is not a good option IMO, it’s both too slow (some machines will wait a week to upgrade) and too fast (significant part of machines will upgrade right away).
It seems that making APT mirrors at the cadence I want is the best solution, but thanks for the answer.
Keep in mind that a part of the filesystem will be reserved on creation. Here if I create a completely empty ext4 filesystem with:
truncate -s 230G /tmp/img
mkfs.ext4 /tmp/img
mount /tmp/img /mnt
Dolphin reports “213.8 GiB free of 225.3 GiB (5% used)”
Making multiple mirrors seems like the best solution. I will explore that route.
I was hoping there was something built into APT or unattended-upgrades, I vaguely remembered such a feature… what I was remembering was probably Phased Updates, but those are controlled by Ubuntu not by me, and roll out too fast.
I have never met anyone refer to “screen off” as “sleep”.
https://en.wikipedia.org/wiki/Sleep_mode
The terms everybody else are using are: “sleep” = “suspend to RAM” = “S3” and “hibernation” = “suspend to disk”.