Closed jpmens closed 9 months ago
It appears to be that Ubuntu jammy has unattended upgrades configured:
Service restarts being deferred:
systemctl restart unattended-upgrades.service
On Debian (d1)
sudo apt -qq install -y unattended-upgrades
# have the user decide?
LC_ALL=C sudo dpkg-reconfigure -plow unattended-upgrades
Answering 'no', appears to do nothing. Answering 'y' causes this file to be modified (or even created?)
$ cat /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
(dpkg reconfigure and 'n', changes 1
to 0
)
unattended-upgrade --dry-run -d
IMO a good documentation about all this (in German): this blog. They also explain how to add a separate repo, e.g. owntracks for ot-recorder
I've decided if the OS configures them, such as on Ubuntu, that's fine. For others we might revisit this in future if we're requested to, but I'm not going to implement this now.
I've had good experience with unattended upgrades on Debian/Ubuntu, and I know from several people who say the same.