One click repair
sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo
yum clean all
yum makecache
Similar Posts:
- Install CentOS development tools
- Solve the error of centos7 using Yum installation software: cannot find a valid baseurl for repo: base / 7 / x86_ sixty-four
- [Solved] Centos6.8 yum Error: YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid
- When centos7 uses yum, file contains no section headers
- Yum Install Docker and Upgrade Yum Storage error: No packages marked for update
- Centos6.8 yum Error & Fix YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid
- This system is not registered with an entitlement server. You can use subscription-manager to reg…
- Loaded plugins: rhnplugin, security This system is not registered with RHN.
- Centos7.4 appears Yum command not found [How to Solve]
- GDB debugging report missing separate debuginfos problem solving