最近在玩linux时 yum 遇到了问题时间:2023-03-09 09:02:21 主要是软件源出现了问题 我做的方式可能比较粗暴 ls -l /etc/yum.repos.d/ /*查看软件源*/ rm -rf /etc/yum.repos.d/ /*全删了*/ mkdir /etc/yum.repos.d/ /*新建*/ wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo /**/ yum makecache ok!