centos8的更新源

http://linuxsoft.cern.ch/centos-vault/8.5.2111/


vault.centos.org 在国内有镜像的感觉。

 

  

https://www.linode.com/community/questions/22398/error-failed-to-download-metadata-for-repo-baseos-appstream-centos-8

 

The reason you're seeing this error is because CentOS 8 went EOL 12/31/21 (deadline extended to today - 1/31/22), and the official repo was moved to vault.centos.org. Therefore, we do not keep mirrors for this anymore.

The following page provides more information on this:

https://www.centos.org/centos-linux-eol/

Therefore, you may want to consider using CentOS 7 (EOL 2024-06-30) or CentOS Stream 8 (EOL 2024-05-31).

While it's not recommended, if you prefer to continue using CentOS 8 for the time being, you can do the following:

  1. Open your CentOS-Linux-AppStream.repo and CentOS-Linux-BaseOS.repo files in vim or nano.
  2. Comment out:

CentOS-Linux-BaseOS.repo
#baseurl=http://mirrors.linode.com/$contentdir/$releasever/BaseOS/$basearch/os/

CentOS-Linux-AppStream.repo
#baseurl=http://mirrors.linode.com/$contentdir/$releasever/AppStream/$basearch/os/

  1. Add the following line to each respective file:

CentOS-Linux-BaseOS.repo
baseurl=http://vault.centos.org/$contentdir/$releasever/BaseOS/$basearch/os/

CentOS-Linux-AppStream.repo
baseurl=http://vault.centos.org/$contentdir/$releasever/AppStream/$basearch/os/

  1. Save each file and exit.
  2. Run yum update again.

We will continue to offer Centos 8 for six months after EOL and will mark the Centos 8 distro as deprecated soon so as not to cause further confusion.

 
 
 
posted @   multitude  阅读(364)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 使用C#创建一个MCP客户端
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示