luigi
(Luigi)
March 6, 2025, 10:25am
1
Following the documentation how to add icinga2 to servers Debian - Icinga 2 the to get the Keyring request get an HTTP 404 response.
To be more precise, this request: https://packages.icinga.com/icinga-archive-keyring_latest+debian12 is the one that gets 404
apenning
(Alvar)
March 6, 2025, 10:33am
2
Your URL misses the .deb
suffix. The script adds it on the third line:
wget -O icinga-archive-keyring.deb "https://packages.icinga.com/icinga-archive-keyring_latest+debian$(
. /etc/os-release; echo "$VERSION_ID"
).deb"
Thus, the URL is https://packages.icinga.com/icinga-archive-keyring_latest+debian12.deb
, not https://packages.icinga.com/icinga-archive-keyring_latest+debian12
.
$ curl -I https://packages.icinga.com/icinga-archive-keyring_latest+debian12.deb
HTTP/1.1 200 OK
Date: Thu, 06 Mar 2025 10:32:36 GMT
Server: Apache
Last-Modified: Mon, 19 Aug 2024 11:12:41 GMT
ETag: "10b0-62007632e93a3;6248545802825
Accept-Ranges: bytes
Content-Length: 4272
Content-Type: application/vnd.debian.binary-package
3 Likes