将CentOS 8无缝更新到CentOS Stream 8
本文最后更新于:2022年3月1日 晚上
前言
最近上我的云服务器搞点东西,结果发现yum
没法用了,一直提示
1 |
|
不查不知道,一查吓一跳,原来官方已经在2021/12/31
停止了对CentOS 8
的支持,那我就试着更新yum
源试试,这里使用的是阿里的yum
镜像源
- 将源文件备份
1 |
|
- 下载阿里源文件
1 |
|
- 更新源里面的地址
1 |
|
- 生成缓存
1 |
|
到这里就能切换完成了,但是很不凑巧,当我执行yum check-update
和yum update
之后出现报错,并有下列提示
1 |
|
总之老子再也不想用CentOS 8
了,赶紧切换到CentOS Stream
从CentOS 8
平滑升级至CentOS Stream
1 |
|
建议更新后重启一下。
CentOS Stream
迁移后还原回CentOS 8
:
https://forums.rockylinux.org/t/centos-8-centos-stream-rocky-linux/2343/5
https://unix.stackexchange.com/questions/624494/how-to-switch-to-centos-8-from-centos-stream
将CentOS 8无缝更新到CentOS Stream 8
https://jialiangz.github.io/2022/02/23/update-to-CentosStream8/