![](/img/trans.png)
[英]Redhat stopped CentOS 7 updates, Do we need to upgrade to CentOS 8 Stream version?
[英]CentOS 8 stream
dnf --enablerepo=centos-openstack-wallaby -y 升級 CentOS-8 - Ceph Nautilus 63 B/s | 38 B 00:00 錯誤:無法下載 repo 'centos-ceph-nautilus' 的元數據:無法准備內部鏡像列表:鏡像列表中沒有 URL
如果您需要更新您的 CentOS 8 Stream,您需要將鏡像更改為 vault.centos.org
第1步:Go到/etc/yum.repos.d/目錄
# cd /etc/yum.repos.d/
第 2 步:運行以下命令
# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
現在運行你的 dnf 命令。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.