Linux

在 Amazon Linux EC2 上為 Icinga2 配置的儲存庫失敗

  • April 12, 2019

根據本指南將 epel 發布 repo 和Icinga2 repo添加到我的實例中

在安裝 Icinga2 時,sudo yum install icinga2 我得到了

http://packages.icinga.com/epel/latest/release/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

One of the configured repositories failed (ICINGA (stable release for epel))

我還有其他回購嗎?

我們的預設發布 RPM 和 repo 文件使用$releasever

https://packages.icinga.com/epel/ICINGA-release.repo

顯然,Amazon Linux 將這裡latest用作值,而不是77Server像任何其他 RHEL 複製一樣。

您應該將 baseurl 更改為:

baseurl=http://packages.icinga.com/epel/7/release/

Amazon Linux 是 RHEL 7,對吧?

引用自:https://serverfault.com/questions/962624