1、cd /etc/yum.repos.d

2、编辑 CentOS-Stream-Sources.repo

3、 查看里面的yum源地址

4、更新yum源,执行下面指令
yum clean all # 清除系统所有的yum缓存
yum makeacache # 生成新的yum缓存
yum repolist
1、cd /etc/yum.repos.d
2、编辑 CentOS-Stream-Sources.repo
3、 查看里面的yum源地址
4、更新yum源,执行下面指令
yum clean all # 清除系统所有的yum缓存
yum makeacache # 生成新的yum缓存
yum repolist