CentOS 8: Cannot prepare internal mirrorlist: No URLs in mirrorlist --解决方法

sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-*

sudo sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-* 

 

阅读剩余
THE END