Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

发布者: 粮油菜大市场 发布时间: 2022.02.24 06:28:49

Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

copy from https://haydenjames.io/fix-error-failed-to-download-metadata-for-repo-appstream-centos-8/

To migrate from CentOS 8 to CentOS Stream 8, run the following commands:

dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos
dnf distro-sync

 

评论
登陆评论

没有评论