出现问题的时候的http仓库配置
1 [http repo]
2 name=this is Tsinghua's open source mirror site
3 baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/7/os/x86_64/
4 gpgcheck=0
5 enabled=1
[http repo]把这个中的空格去掉居然就好了,不知道什么原因,按道理的话[]之间的不是名字 名字不是随便取的吗
1 [httprepo]
2 name=this is Tsinghua's open source mirror site
3 baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/7/os/x86_64/
4 gpgcheck=0
5 enabled=1