# Official install not working for Ubuntu 24.04 LTS

**URL:** <https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246>\
**Category:** Getting Started\
**Tags:** sensu-go\
**Created:** [July 7, 2024, 11:24am UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246 "2024-07-07T11:24:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ceda](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/ceda/32/217_2.png) [@ceda](https://discourse.sensu.io/u/ceda)\
**Post date:** [July 7, 2024, 11:24am UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/1 "2024-07-07T11:24:13Z")

</div>

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](https://sensu.io/downloads#ubuntu-debian) the “latest” support distro/packaging is Focal. Any plans on creating releases for the 24.04 LTS?

```auto
    - name: Install Sensu packages repository
      apt_repository:
        repo: "deb https://packagecloud.io/sensu/stable/ubuntu/ {{ ansible_distribution_release }} main"
        state: present
        filename: sensu-stable

    - name: Install Sensu Ruby Plugins repository
      apt_repository:
        repo: "deb https://packagecloud.io/sensu/community/ubuntu/ {{ ansible_distribution_release }} main"
        state: present
        filename: sensu-community

```

Full playbook: [A simple playbook for installing, configuring and starting a Sensu Go agent · GitHub](https://gist.github.com/FredrikWendt/bc17485ebe0953cbc904c844126d5d8f)

---

<div class="post-metadata">

**Author:** ![ceda](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/ceda/32/217_2.png) [@ceda](https://discourse.sensu.io/u/ceda)\
**Post date:** [July 7, 2024, 11:34am UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/2 "2024-07-07T11:34:19Z")

</div>

I see this was kind of reported here too: [Unable to locate the package sensu-go-backend - #2 by JustinToo](https://discourse.sensu.io/t/unable-to-locate-the-package-sensu-go-backend/3124/2)

The official install method of using the scripted solution from packagecloud also results in the same failed install:

```auto
# 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:

```auto
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.

```

Source: [Install Sensu - Sensu Docs](https://docs.sensu.io/sensu-go/latest/operations/deploy-sensu/install-sensu/#install-sensu-agents)

---

<div class="post-metadata">

**Author:** ![ceda](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/ceda/32/217_2.png) [@ceda](https://discourse.sensu.io/u/ceda)\
**Post date:** [July 7, 2024, 11:48am UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/3 "2024-07-07T11:48:19Z")

</div>

I wasn’t aware of the cutting of resources/funding …

> [@Is Sensu Go still alive?](https://discourse.sensu.io/t/is-sensu-go-still-alive/3198/3):
>
> Unless there are more signs of life in the next few months, we’re going to look for alternatives.

---

<div class="post-metadata">

**Author:** ![jedi](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jedi/32/949_2.png) [@jedi](https://discourse.sensu.io/u/jedi)\
**Post date:** [July 8, 2024, 2:58pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/4 "2024-07-08T14:58:22Z")

</div>

It’s now coming up on 4 months that I did the “still alive” post and except that post by Justin, not a lot happened…

I still like sensu go and don’t really want to look for something else, maybe we need a fork?

---

<div class="post-metadata">

**Author:** ![teutat3s](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/teutat3s/32/963_2.png) [@teutat3s](https://discourse.sensu.io/u/teutat3s)\
**Post date:** [July 9, 2024, 2:57pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/5 "2024-07-09T14:57:18Z")

</div>

As a hacky workaround, try replacing `noble` with `jammy` in the APT sources file.

For ansible:

```auto
pre_tasks:
    - set_fact:
        ansible_distribution_release: "jammy"
      delegate_to: "{{ item }}"
      with_items: "{{ play_hosts }}"
      run_once: yes
      when: ansible_distribution_release == "noble"

```

---

<div class="post-metadata">

**Author:** ![justinhenderson](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/justinhenderson/32/1035_2.png) [@justinhenderson](https://discourse.sensu.io/u/justinhenderson)\
**Post date:** [July 9, 2024, 7:24pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/6 "2024-07-09T19:24:07Z")

</div>

Hey @ceda, 👋

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.

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/michael/32/769_2.png) [@Michael](https://discourse.sensu.io/u/Michael)\
**Post date:** [September 11, 2024, 7:07am UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/7 "2024-09-11T07:07:36Z")

</div>

Here’s the hacky workaround if you’re not using ansible and just installing it manually.

Manually add the repository for jammy:

```bash
echo "deb https://packagecloud.io/sensu/stable/ubuntu/ jammy main" | sudo tee /etc/apt/sources.list.d/sensu.list

```

If the directory `/etc/apt/keyrings` does not already exist, create it:

```bash
sudo mkdir -p /etc/apt/keyrings

```

Download and add the Sensu GPG key:

```bash
curl -fsSL https://packagecloud.io/sensu/stable/gpgkey | sudo gpg --dearmor -o /etc/apt/keyrings/sensu.gpg

```

Create a file to configure the GPG key:

```bash
echo "deb [signed-by=/etc/apt/keyrings/sensu.gpg] https://packagecloud.io/sensu/stable/ubuntu/ jammy main" | sudo tee /etc/apt/sources.list.d/sensu.list

```

Update your package lists:

```bash
sudo apt-get update -y

```

Now try to install Sensu:

```bash
sudo apt-get install -y sensu-go-agent

```

---

<div class="post-metadata">

**Author:** ![jedi](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jedi/32/949_2.png) [@jedi](https://discourse.sensu.io/u/jedi)\
**Post date:** [September 13, 2024, 7:52am UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/8 "2024-09-13T07:52:35Z")

</div>

> [@justinhenderson](#):
>
> We will release 24.04 packages with Sensu Go 6.12.0, our next minor release, which is planned for this month, or next.

That was in July, so “this month or next” is over… #sad

---

<div class="post-metadata">

**Author:** ![todd](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/todd/32/936_2.png) [@todd](https://discourse.sensu.io/u/todd)\
**Post date:** [September 13, 2024, 10:41pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/9 "2024-09-13T22:41:26Z")

</div>

Based on [commits in this branch](https://github.com/sensu/sensu-go/commits/etcdCleanup/) from two days ago, it appears a bug fix 6.11.1 release is in the pipeline to address [this issue](https://github.com/sensu/sensu-go/issues/5063).

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 and a change to the FIPS build.

---

<div class="post-metadata">

**Author:** ![justinhenderson](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/justinhenderson/32/1035_2.png) [@justinhenderson](https://discourse.sensu.io/u/justinhenderson)\
**Post date:** [September 17, 2024, 9:14pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/10 "2024-09-17T21:14:32Z")

</div>

Thank you for your continued interest in our upcoming releases. We’re currently addressing a significant blocker with our CI tooling, and our engineering team is working diligently to resolve it. We aim to release two updates as soon as possible.

We apologize for the delay and appreciate your patience. Once resolved, both a patch and a minor release will be ready. While we don’t have an exact timeline yet, we’ll keep you updated as soon as we have more information.

---

<div class="post-metadata">

**Author:** ![highb](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/highb/32/984_2.png) [@highb](https://discourse.sensu.io/u/highb)\
**Post date:** [September 30, 2024, 6:14pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/11 "2024-09-30T18:14:09Z")

</div>

Are there any updates on when this release will ship?

---

<div class="post-metadata">

**Author:** ![Israel\_Calvete](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/israel_calvete/32/986_2.png) [@Israel\_Calvete](https://discourse.sensu.io/u/Israel_Calvete)\
**Post date:** [October 8, 2024, 2:37pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/12 "2024-10-08T14:37:34Z")

</div>

Still waiting.

```auto
Err:7 https://packagecloud.io/sensu/stable/ubuntu noble Release
  404 Not Found [IP: 52.9.236.142 443]
Reading package lists... Done

```

You said June guys. Please, what is happening?

---

<div class="post-metadata">

**Author:** ![Nasirhussen\_Mulla](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/nasirhussen_mulla/32/977_2.png) [@Nasirhussen\_Mulla](https://discourse.sensu.io/u/Nasirhussen_Mulla)\
**Post date:** [October 14, 2024, 1:29pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/13 "2024-10-14T13:29:27Z")

</div>

We apologize for the delay and appreciate your patience. We are planning to release Sensu in the coming days, as most blockers have been resolved, with an expected ETA for completion of approximately two weeks

---

<div class="post-metadata">

**Author:** ![egon1024](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/egon1024/32/813_2.png) [@egon1024](https://discourse.sensu.io/u/egon1024)\
**Post date:** [November 2, 2024, 12:49pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/14 "2024-11-02T12:49:55Z")

</div>

Are there any updates on when we’ll see this? 🙂

---

<div class="post-metadata">

**Author:** ![todd](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/todd/32/936_2.png) [@todd](https://discourse.sensu.io/u/todd)\
**Post date:** [November 3, 2024, 11:32pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/15 "2024-11-03T23:32:53Z")

</div>

![waiting-impatient](https://us1.discourse-cdn.com/flex016/uploads/sensu/original/1X/be3f11b46fb04243332b6854e71ce2585abe8582.gif)

---

<div class="post-metadata">

**Author:** ![justinhenderson](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/justinhenderson/32/1035_2.png) [@justinhenderson](https://discourse.sensu.io/u/justinhenderson)\
**Post date:** [November 11, 2024, 9:01pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/16 "2024-11-11T21:01:38Z")

</div>

Our team is buttoning everything up. Wednesday, November 13th, 24th is our planned release day for Sensu Go, 6.12.0. I’ll be posting here, as well as on the Community Slack, when that release goes live. Here is a quick preview of the features being added:

1. Fixes and updates.
2. Support for Entra ID.
3. Upgraded Docker Image.
4. Support for Ubuntu 24.04.

Looking forward to notifying y’all on release day!

---

<div class="post-metadata">

**Author:** ![dishi-singhal](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/dishi-singhal/32/985_2.png) [@dishi-singhal](https://discourse.sensu.io/u/dishi-singhal)\
**Post date:** [November 19, 2024, 3:33pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/17 "2024-11-19T15:33:37Z")

</div>

Hey Team,

We’re thrilled to announce the official release of Sensu 6.12! 🎉

With this update, you can now install Sensu on Ubuntu 24.04. While the sensu docs are not yet published, rest assured we’re actively working on them and will share them soon. In the meantime, this shouldn’t stop you from getting started with Sensu on Ubuntu 24.04 right away.

We apologize for any inconvenience caused by the delay and appreciate your patience. I’ll keep you updated as soon as the release notes are available

---

<div class="post-metadata">

**Author:** ![egon1024](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/egon1024/32/813_2.png) [@egon1024](https://discourse.sensu.io/u/egon1024)\
**Post date:** [November 19, 2024, 5:55pm UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/18 "2024-11-19T17:55:00Z")

</div>

Excellent! Congrats on the release!

---

<div class="post-metadata">

**Author:** ![teutat3s](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/teutat3s/32/963_2.png) [@teutat3s](https://discourse.sensu.io/u/teutat3s)\
**Post date:** [November 20, 2024, 10:22am UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/19 "2024-11-20T10:22:46Z")

</div>

Congrats on the release. We extensively use the [ansible role](https://github.com/sensu/sensu-go-ansible) to install `sensu-agent`. Judging from [this issue](https://github.com/sensu/sensu-go-ansible/issues/362) it seems that sensu-go-ansible will be removed from Ansible Galaxy in version 12 due to unresolved issues. Could you share details if maintenance of the role and fixing the mentioned issue is planned? It would be valuable to us if you could ensure that the sensu-go role does not get removed from Ansible Galaxy.

> The `sensu.sensu_go` collection will be removed from Ansible 12 due  
> to unresolved Ansible inclusion requirements violations  
> ([[Vote ended 2024-09-27] Collection removal: sensu.sensu\_go - Project Discussions - Ansible](https://forum.ansible.com/t/8380)).  
> See the removal process for details on how this works and can be cancelled [Ansible Community Package Collections Removal Process — Ansible Community Documentation](https://docs.ansible.com/ansible/devel/community/collection_contributors/collection_package_removal.html#collections-not-satisfying-the-collection-requirements).

---

<div class="post-metadata">

**Author:** ![Israel\_Calvete](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/israel_calvete/32/986_2.png) [@Israel\_Calvete](https://discourse.sensu.io/u/Israel_Calvete)\
**Post date:** [December 3, 2024, 9:55am UTC](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246/20 "2024-12-03T09:55:22Z")

</div>

There is some warnings here.

```auto
W: https://packages.treasuredata.com/5/ubuntu/noble/dists/noble/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://packagecloud.io/sensu/stable/ubuntu/dists/noble/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

```

[Next page](https://discourse.sensu.io/t/official-install-not-working-for-ubuntu-24-04-lts/3246.md?page=2)
