Debian Stretch sensu-plugins-ruby

I’m running Debian Stretch and would like to install the sensu-plugins-ruby package using apt.

  1. What have you already tried? Please include links to gists and/or code blocks (if relatively small)

I am not seeing the package here:

  1. Tell us about your setup, this should include OS, version of Sensu, version of Sensu component (redis, rabbitmq), plugin versions (if applicable), anything special about your setup such as an airgapped network or strict ACLs

I’m running Sensu Go 5.2

  1. Is there a Github issue related to your issue?

No.

  1. Is there anything else that can help us effectively help you?

@Pascal if you run the following command, are you able to install the package?

curl -s https://packagecloud.io/install/repositories/sensu/community/script.deb.sh | sudo bash

Thanks for helping out!

Looks good at first:

Detected operating system as debian/stretch.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing debian-archive-keyring which is needed for installing
apt-transport-https on many Debian systems.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/sensu_community.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.

But then I get this with I run apt update:

Ign:9 https://packagecloud.io/sensu/community/debian stretch InRelease
Err:12 https://packagecloud.io/sensu/community/debian stretch Release
  404  Not Found
Hit:11 https://packagecloud.io/sensu/stable/debian stretch InRelease
Reading package lists... Done
E: The repository 'https://packagecloud.io/sensu/community/debian stretch 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.

Ah! Ok. Gotcha. FWIW we’re in the process of adding deb support https://github.com/sensu/sensu-plugins-omnibus/issues/3

1 Like