I’ve always used Ansible to set up an APT/DEB repo to pull sensu go agents from, but the snippet below no longer works. At Sensu | Sensu Go Downloads the “latest” support distro/packaging is Focal. Any plans on creating releases for the 24.04 LTS?
The official install method of using the scripted solution from packagecloud also results in the same failed install:
# Add the Sensu repository
curl -s https://packagecloud.io/install/repositories/sensu/stable/script.deb.sh | sudo bash
# Install the sensu-go-agent package
sudo apt-get install sensu-go-agent
example:
root@machine345:~# curl -s https://packagecloud.io/install/repositories/sensu/stable/script.deb.sh | sudo bash
Detected operating system as Ubuntu/noble.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Detected apt version as 2.7.14
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/sensu_stable.list...done.
Importing packagecloud gpg key... Packagecloud gpg key imported to /etc/apt/keyrings/sensu_stable-archive-keyring.gpg
done.
Running apt-get update... done.
The repository is setup! You can now install packages.
root@machine345:~# apt update
Hit:1 https://download.docker.com/linux/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 https://ppa.launchpadcontent.net/ansible/ansible/ubuntu noble InRelease
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:7 https://packagecloud.io/sensu/stable/ubuntu noble InRelease
Err:8 https://packagecloud.io/sensu/stable/ubuntu noble Release
404 Not Found [IP: 52.52.87.14 443]
Reading package lists... Done
E: The repository 'https://packagecloud.io/sensu/stable/ubuntu noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
To answer your initial quesiton, our last release 6.11.0 was just prior to Ubuntu 24.04 (Noble Numbat), so packages for it do not yet exist. We will release 24.04 packages with Sensu Go 6.12.0, our next minor release, which is planned for this month, or next.
I can validate @teutat3s method, I use it when I’m testing on newer, or unsupported OS’s.
Based on commits in this branch from two days ago, it appears a bug fix 6.11.1 release is in the pipeline to address this issue.
We know there’s been promises for 6.12.0 to include Ubuntu 24.04 packages, and updated Docker images. I would hope there would also be packages for RHEL 9 as well. I’m not sure what else to expect as the 6.11.0 release was only a bump in some package dependencies in a change to the FIPS build.