this post was submitted on 01 Feb 2024
17 points (100.0% liked)
Debian operating system
2749 readers
1 users here now
Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why did you create it manually? You should just edit the existing file. And this can be done via
sudo dpkg-reconfigure unattended-upgrades
IIRC.On my system that file is
/etc/apt/apt.conf.d/20auto-upgrades
. You can read description of its parameters in comments in the/usr/lib/apt/apt.systemd.daily
script. It does not requireunattended-upgrades
to work.BTW I have
unattended-upgrades
enabled for many years on all my systems, both desktops and servers, and it never caused any troubles when only stable repos are configured.My system did not already have that 20auto-upgrades file. I went through the others in the directory and none seemed to contain those relevant lines. I just checked my other ubuntu system, which did have the 20auto-upgrades AND a 10periodic with the same lines, which is likely redundant.