centos7的yum出現File contains no section headers

centos7的yum源無法使用 錯誤提示 解決方案 進入【cd /etc/yum.repos.d】刪除【rm -f CentOS-Base.repo】CentOS-Base.repo文件 重新下載【wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo】 重新加載【yum cle
相關文章
相關標籤/搜索