Original link: https://blog.singee.me/2023/06/07/baf5a24c337a4c3f8666398d601f97d5/
Let me make a complaint first, why does CentOS break a system that is running normally?
If no other mirror has been configured before
1 |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* |
If configured, just change the domain name in baseurl to http://vault.centos.org
(note that only HTTP is supported)
The reason is that because CentOS 8 is Deprecated, the warehouse is deleted in Mirror
This article is transferred from: https://blog.singee.me/2023/06/07/baf5a24c337a4c3f8666398d601f97d5/
This site is only for collection, and the copyright belongs to the original author.