yum报错Error: Cannot retrieve repository metadata (repomd.xm
发布时间:2020-12-15 16:26:21 所属栏目:安全 来源:网络整理
导读:思路: rm -fr /etc/yum.repo.d/* #删除下面内容 wget http://mirrors.aliyun.com/repo/Centos-7.repo wget http://mirrors.aliyun.com/repo/Centos-6.repo #从三个任一选择一个下载 wget http://mirrors.aliyun.com/repo/Centos-5.repo yum clean all #清除
思路: rm -fr /etc/yum.repo.d/* #删除下面内容 wget http://mirrors.aliyun.com/repo/Centos-7.repo wget http://mirrors.aliyun.com/repo/Centos-6.repo #从三个任一选择一个下载 wget http://mirrors.aliyun.com/repo/Centos-5.repo yum clean all #清除 yum makecache #重新加载缓存 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |