Skip to content

APT repository is missing "Origin" and "Suite" fields preventing unattended-upgrades #8865

Open
@andrewmooreio

Description

@andrewmooreio

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions