Open
Description
Hi,
The Datadog APT repository doesn't include the "Origin" or "Suite" fields within the Release file.
https://s3.amazonaws.com/apt.datadoghq.com/dists/stable/Release
Codename: stable
Date: Tue, 27 Jul 2021 08:24:49 UTC
Architectures: amd64 i386 x86_64 armhf arm64 all
Components: main 6 7
Suite:
This is a requirement for setting up unattended-upgrades on Debian/Ubuntu. The allowed repositories are defined in "Origin" and "Suite" pairs. For example:
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}";
"${distro_id}ESM:${distro_codename}"; // Extended Security Maintenance
"${distro_id}:${distro_codename}-backports";
"${distro_id}:${distro_codename}-security";
"${distro_id}:${distro_codename}-updates";
"Datadog:stable";
};
An example of a Release file with the necessary fields: http://gb.archive.ubuntu.com/ubuntu/dists/focal/Release
Without those fields defined within the repository Release file unattended-upgrades cannot function. I appreciate not everyone wants to automatically upgrade the Datadog agent, but we do.
Thanks.