安装CentOS后,如果不换成国内的源,经常会遇到File contains no section headers错误问题;所以最后还是换成国内的源,我这里记录一下换阿里源的过程。
文章目录
一、更新阿里源之前使用默认源遇到的错误如下
[root@localhost yum.repos.d]# yum clean all
已加载插件:fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configura