问题描述
伙计们,你们能帮我吗?我在安装 centeron 时遇到了问题:
#yum install centreon-base-config-centreon-engine centreon
输出
Loading mirror speeds from cached hostfile
base: mirror.vpsnet.com
centos-kernel: mirror.vpsnet.com
extras: mirror.vpsnet.com
updates: centosh9.centos.org
http://yum.centreon.com/standard/3.4/el7/stable/armhfp/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
One of the configured repositories Failed (Centreon Entreprise Linux reposistory contains software to use with Centreon.),and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository,to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the prevIoUs distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=centreon-stable ...
4. disable the repository permanently,so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable centreon-stable
or
subscription-manager repos --disable=centreon-stable
5. Configure the failing repository to be skipped,if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though,this is often a nice
compromise:
yum-config-manager --save --setopt=centreon-stable.skip_if_unavailable=true
失败:来自 centeron-stable 的 repodata/repomd.xml:[Errno 256] 没有更多的镜像可以尝试。 http://yum.centreon.com/standard/3.4/el7/stable/armhfp/repodata/repomd.xml:[Errno 14] HTTPS 错误 404 - 未找到 我所做的是: ls /etc/yum.repos.d/ nano /etc/yum.repos.d/centreon.repo #enabled=0
我在哪里可以找到“centreon-base-config-centreon-engine centreon”的包
解决方法
不再支持 Centreon 3.4 版。 您应该使用较新的版本。 最新的是 21.04。
这个版本带有一个自动执行所有安装的脚本。 它在 Centreon 下载站点的“包”选项卡中有描述:https://download.centreon.com/