记录时间:2020-12-12 13:54:15 星期六
最近在使用yum安装supervisor服务
ps :
yum install supervisor 获取仓库的repo.xml疯狂提示404
stp1:
然后就换了各种源,发现依然是404
stp2:怀疑系统变量拼凑,导致的路径不对
进入源目录中,查找repo.xml的真实路径,只发现了如下内容。
This directory (and version of CentOS) is deprecated. For normal users,
you should use /6/ and not /6.9/ in your path. Please see this FAQ
concerning the CentOS release scheme:
https://wiki.centos.org/FAQ/General
If you know what you are doing, and absolutely want to remain at the 6.8
level, go to http://vault.centos.org/ for packages.
Please keep in mind that 6.0, 6.1, 6.2, 6.3, 6.4 , 6.5, 6.6, 6.7, 6.8 and 6.9 no longer get any updates, nor
any security fix's.
-
大致意思是停止了centos6.x系统及源的提供、维护和更新。
-
额外提示: 除了上面阿里云不再提供centos6.x镜像源外,163,centos官方源也从2020.12.4日停止了centos6.x镜像和软件仓库的提供。
-
那centos6.x系统上配置的yum源,就用不了了,但旧系统(centos6.x)要安装软件怎么办?建议替换成下面的源。
centos6.x系统使用yum源参考
- 试试下面腾讯提供的的yum源(还能用):
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos6_base.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.cloud.tencent.com/repo/epel-6.repo
- 还有种方法是把阿里云提供的镜像站点中的/centos替换成/centos-vault/,但是centos6.x系统的epel源,阿里云停止提供了