Package: unattended-upgrades
Version: 2.12
Dear maintainer:
File data/50unattended-upgrades.Debian in the source
(and other similar files as well) has a comment
saying this:
// Within lines unattended-upgrades allows 2 macros whose values are
// derived from /etc/debian_version:
// ${distro_id} Installed origin.
// ${distro_codename} Installed codename (eg, "buster")
Maybe it should say this instead:
// derived from /etc/debian_version and /etc/os-release:
In fact, I'm not really sure if /etc/debian_version is still
used these days, so maybe the right fix is to put os-release only,
I don't really know.
Note: I noticed about this because this thread from the debian-user
mailing list:
https://lists.debian.org/debian-user/2025/08/msg00477.html
where one Debian user had a non-working unattended-upgrade command
due to bug #1111039 in live-build. Including /etc/os-release in the
comment would probably have made the bug to be diagnosed faster.
Thanks.