Linux 在终端输入yum check update时出现没有已启用的仓库

如图所示,还有VNC具体是如何操作的,需要你们给我支点招,我是一名小white

img

可以操考下centos换源操作步骤


1、备份系统自带的源

sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak

2、用wget下载阿里源

sudo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

3、清除并重建缓存

yum clean all

yum makecache