linux yum安装报错:http://people.centos.org/tru/devtools-2/7/x86_64/RPMS/repodata/repomd.xml

报错

在这里插入图片描述

已加载插件:fastestmirror, security
设置安装进程
Repository fasttrack is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * c6-media: 
 * epel: mirror.nju.edu.cn
 * nux-dextop: li.nux.ro
http://people.centos.org/tru/devtools-2/6/x86_64/RPMS/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
尝试其他镜像。
It was impossible to connect to the Red Hat servers.
This could mean a connectivity issue in your environment, such as the requirement to configure a proxy,
or a transparent proxy that tampers with TLS security, or an incorrect system clock.
Please collect information about the specific failure that occurs in your environment,
using the instructions in: https://access.redhat.com/solutions/1527033 and open a ticket with Red Hat Support.

错误:Cannot retrieve repository metadata (repomd.xml) for repository: testing-devtools-2-centos-6. Please verify its path and try again
You have new mail.                                  

解决方案

1、进入yum源目录

cd /etc/yum.repos.d

2、cat查看,发现有对应的网址信息

cat devtools-2.repo 
[testing-devtools-2-centos-$releasever]
name=testing 2 devtools for CentOS $releasever 
baseurl=http://people.centos.org/tru/devtools-2/$releasever/$basearch/RPMS
gpgcheck=0

3、修改文件名称

mv devtools-2.repo devtools-2.repo.bak  
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值