无法在 RedHat 上下载存储库“rhel-8-for-x86_64-baseos-rpms”的元数据

问题描述 投票:0回答:1

在创建本地存储库时以及在 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
时也遇到了同样的错误 我尝试重新启动虚拟机,但没有任何变化

我没有任何线索,不知道该怎么做

linux redhat
1个回答
0
投票

我昨天也遇到了同样的问题。但我通过取消订阅然后在订阅应用程序中订阅 RHEL 解决了这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.