【发布时间】:2020-11-11 17:27:03
【问题描述】:
[root@###~]# yum install jenkins 加载的插件:fastestmirror、product-id、search-disabled-repos、subscription-manager
此系统未在授权服务器上注册。您可以使用订阅管理器进行注册。
从缓存的主机文件加载镜像速度
- 基地:mirror.myfahim.com
- 附加:centos-hcm.viettelidc.com.vn
- 更新:mirror.tino.org 基地 | 3.6 KB 00:00:00 额外 | 2.9 KB 00:00:00 http://pkg.jenkins.io/redhat-stable/repodata/repomd.xml: [Errno 14] HTTPS 错误 301 - 永久移动 尝试其他镜子。
其中一个配置的存储库失败(Jenkins-stable), 并且 yum 没有足够的缓存数据来继续。此时唯一 百胜可以做的安全的事情是失败。有几种方法可以“解决”这个问题:
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=jenkins ...
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 jenkins
or
subscription-manager repos --disable=jenkins
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=jenkins.skip_if_unavailable=true
失败:来自 jenkins 的 repodata/repomd.xml:[Errno 256] 没有更多镜像可以尝试。 http://pkg.jenkins.io/redhat-stable/repodata/repomd.xml:[Errno 14] HTTPS 错误 301 - 永久移动
请帮帮我
【问题讨论】:
-
同样的问题,但对于我所有的包裹......你找到解决方案了吗?
标签: jenkins continuous-integration devops failed-installation