CentOS   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了Centos 14: problem making ssl connection大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

在执行 yum 命令时,会提示 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was 14: problem

在执行 yum 命令时,会提示

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not get Metalink https://mirrors.fedoraproject.org/Metalink?repo=epel-6&arch=x86_64 error was
14: problem making ssl connection

解决方法是将: /etc/yum.repos.d/epel.repo 文件中的[epel] 节点的@H_668_23@mirrorlist注释掉,baseurl去除注释,enable的值为1

命令:

使用vim 编辑器打开/etc/yum.repos.d/epel.repo文件

vim /etc/yum.repos.d/epel.repo

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
# baseurl 前去除#号
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
# mirrorlist 前加#好
#mirrorlist=https://mirrors.fedoraproject.org/Metalink?repo=epel-6&arch=$basearch
failovermethod=priority
# enable值改为1
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

修改epel.repo 文件之后,然后再试 yum 命令
如:

yum list PHP
References
  1. linux下yum错误:Errno 14 problem making ssl connection Trying other mirror.

大佬总结

以上是大佬教程为你收集整理的Centos 14: problem making ssl connection全部内容,希望文章能够帮你解决Centos 14: problem making ssl connection所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。