yum install,Update在centos 6.6中返回404错误

问题描述 投票:1回答:2

百胜不起作用,

yum install,update doesnt work给出了以下错误

yum update
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
 * epel: archive.linux.duke.edu
http://mirror.centos.org/centos/6/SCL/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: scl. Please verify its path and try again

centos版本6.6 python 2.6

如果有人知道这个,请帮助我。

EDIT1

试用时,

 yum --enablerepo=extras install centos-release-scl

加载的插件:fastermirror

获取额外的存储库数据时出错,找不到存储库

得到了上述错误

centos6 yum
2个回答
-1
投票

好像你需要配置一些与yum相关的文件,

我试图在网上搜索这个问题,并找到一些适用于其他人的解决方案。

试试此链接寻求解决方案。

https://community.hortonworks.com/questions/15506/error-cannot-retrieve-repository-metadata-repomdxm.html

https://github.com/puphpet/puphpet/issues/2321

希望这会有所帮助。


-1
投票

在yum.conf.d中,找到使用此破坏的URL和切换启用标志为0的repo,以便不使用此repo

grep -ril "<url to find>" ./ 
© www.soinside.com 2019 - 2024. All rights reserved.