在创建本地存储库时以及在 RedHat 8.1 上使用
yum repolist
后,我得到了这个结果
Updating Subscription Management repositories.
AppStream 57 MB/s | 5.6 MB 00:00
BaseOS 98 MB/s | 2.2 MB 00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS 0.0 B/s | 0 B 00:00
Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms'
Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms'
我在 VmWare 上,并且出于我的任务目的,机器仅在主机上 我在运行
dnf install dhcp-server -y
时也遇到了同样的错误
我尝试重新启动虚拟机,但没有任何变化
我没有任何线索,不知道该怎么做
我昨天也遇到了同样的问题。但我通过取消订阅然后在订阅应用程序中订阅 RHEL 解决了这个问题。