一键修复yum
直接復制粘貼下面命令到命令行就行了
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
?
備注:https://blog.csdn.net/weixin_42104211/article/details/112228242
總結
- 上一篇: Mac webstorm eslint一
- 下一篇: Excel制作甘特图+自动报表