[英]Red Hat Enterprise Linux 8.5 -> check-update -> Cannot download repodata/repomd.xml: All mirrors were tried
I want to update GCP Instance where Red Hat Enterprise Linux 8.5 is installed.我想更新安装了 Red Hat Enterprise Linux 8.5 的 GCP 实例。 When I try 'sudo dnf check-update' I get an error:
当我尝试“sudo dnf check-update”时出现错误:
Error: Failed to download metadata for repo 'rhui-codeready-builder-for-rhel-8-x86_64-rhui-debug-rpms': Cannot
download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
下载 repomd.xml: 无法下载 repodata/repomd.xml: 所有镜像都试过了
If I try ' curl -I https://cds.rhel.updates.googlecloud.com ' I get response:如果我尝试“curl -I https://cds.rhel.updates.googlecloud.com ”,我会得到回复:
HTTP/1.1 200 Connection established curl: (60) SSL certificate problem: self signed certificate in certificate chain
Do you have any suggestions how to make it work?你对如何让它发挥作用有什么建议吗?
Error: Failed to download metadata for repo 'rhui-codeready-builder-for-rhel-8-x86_64-rhui-debug-rpms': Cannot
The above error might have caused because of many reasons:上面的错误可能是由于多种原因造成的:
Network connectivity to the rhel repo License issues Temporary glitches与 rhel 存储库的网络连接 许可证问题 临时故障
We can rule out.network connectivity issues since you were able to crul the repo url. If you are using your own license check whether your license is active and if you are using google repos try to disable the repo and enable it again and then run the update command我们可以排除网络连接问题,因为您能够 crul 存储库 url。如果您使用自己的许可证,请检查您的许可证是否处于活动状态,如果您使用的是谷歌存储库,请尝试禁用该存储库并再次启用它,然后运行更新命令
dnf --disablerepo="*" --enablerepo="google-compute-engine" install google-rhui-client-rhel8 dnf --disablerepo="*" --enablerepo="google-compute-engine" 安装 google-rhui-client-rhel8
dnf update dnf更新
If you are using any proxy in your gcp environment try to check that necessary configs are available.如果您在 gcp 环境中使用任何代理,请尝试检查必要的配置是否可用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.