centos8的更新源

Posted ~~~~~~

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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.

 
 
 

以上是关于centos8的更新源的主要内容,如果未能解决你的问题,请参考以下文章

centos8更换阿里yum源

centos8更换阿里yum源

CentOS8 yum源配置

CentOS8 yum源配置

centos 源上怎么没有 libstdc++

怎么更新centos原有的rrdtool