简体   繁体   English

Red Hat Enterprise Linux 8.5 -> 检查更新 -> 无法下载 repodata/repomd.xml:已尝试所有镜像

[英]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.

相关问题 GCP METADATA OSCONFIG:TRUE 导致 yum check-update 失败 repo not found - GCP METADATA OSCONFIG:TRUE casues yum check-update to fail repo not found 所有<a>标签都在 outlook 上损坏</a> - All of <a> tags were broken on outlook firebase 如何下载镜像并再次更新? - firebase how to download image and update it again? 如何从谷歌云存储中下载 Python 或 Linux 中的文件? - How to download a file in Python or Linux from Google Cloud storage? 无法检查 Firebase 中是否存在“长名称”文档? - Cannot check for "Long Named" Document existence in Firebase? 无法检查一个区域中虚拟机的大小 - Cannot check the size of virtual machines in one region 当我向我显示此错误“无法读取未定义的属性(读取'_internalPath')”时,我尝试使用nodejs和firestore中的过滤器获取数据 - I tried to get data using filter in nodejs and firestore when show me this error "Cannot read properties of undefined (reading '_internalPath')" 如何在 AWS Linux / CentOS 上使用 Yum 更新 PHP 版本 - How to update PHP versions with Yum on AWS Linux / CentOS 无法在 AMD64 Linux 上模拟 Android ARM64 - Cannot emulate Android ARM64 on AMD64 Linux 编译 ImageMagick:找不到“libwebp”,从亚马逊上的源代码编译 Linux 2 - Compiling ImageMagick: Cannot Find 'libwebp', compiled From Source on Amazon Linux 2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM