YUM:[Errno 14] problem making ssl connection
有時候在使用YUM的時候,你會出現如題所示的問題,具體如下:
[[email protected] c++]# yum install -y glib2-devel libpcap-devel libnet-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* extras: mirrors.163.com
* remi-safe: mirrors.thzhost.com
* updates: mirrors.aliyun.com
LocalPercona | 2.9 kB 00:00 ...
LocalPercona/primary_db | 16 kB 00:00 ...
http://download.fedoraproject.org/pub/epel/6/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
[[email protected] c++]#
對於該問題,需要首先禁用出問題的YUM源(enabled=0),然後安裝ca-certificates包:
yum install ca-certificates
可以看到,上面出問題的是EPEL源。
先禁用:
[root@mha1 ~]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=0
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=0
[root@mha1 ~]#
然後,安裝軟體包:
[[email protected] ~]# yum install ca-certificates
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.163.com
* remi-safe: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.aliyun.com
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ca-certificates.noarch 0:2010.63-3.el6_1.5 will be updated
---> Package ca-certificates.noarch 0:2015.2.6-65.0.1.el6_7 will be an update
--> Processing Dependency: p11-kit-trust >= 0.18.4-2 for package: ca-certificates-2015.2.6-65.0.1.el6_7.noarch
--> Processing Dependency: p11-kit >= 0.18.4-2 for package: ca-certificates-2015.2.6-65.0.1.el6_7.noarch
--> Running transaction check
---> Package p11-kit.x86_64 0:0.18.5-2.el6_5.2 will be installed
---> Package p11-kit-trust.x86_64 0:0.18.5-2.el6_5.2 will be installed
--> Processing Conflict: p11-kit-trust-0.18.5-2.el6_5.2.x86_64 conflicts nss < 3.14.3-33
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package nss.x86_64 0:3.13.3-6.el6 will be updated
--> Processing Dependency: nss = 3.13.3-6.el6 for package: nss-tools-3.13.3-6.el6.x86_64
--> Processing Dependency: nss = 3.13.3-6.el6 for package: nss-sysinit-3.13.3-6.el6.x86_64
---> Package nss.x86_64 0:3.21.3-2.el6_8 will be an update
--> Processing Dependency: nss-util >= 3.21.0 for package: nss-3.21.3-2.el6_8.x86_64
--> Processing Dependency: nss-softokn(x86-64) >= 3.14.3-22 for package: nss-3.21.3-2.el6_8.x86_64
--> Processing Dependency: nspr >= 4.11.0 for package: nss-3.21.3-2.el6_8.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.21)(64bit) for package: nss-3.21.3-2.el6_8.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.17.1)(64bit) for package: nss-3.21.3-2.el6_8.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.15)(64bit) for package: nss-3.21.3-2.el6_8.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.14)(64bit) for package: nss-3.21.3-2.el6_8.x86_64
--> Running transaction check
---> Package nspr.x86_64 0:4.9-1.el6 will be updated
---> Package nspr.x86_64 0:4.11.0-1.el6 will be an update
---> Package nss-softokn.x86_64 0:3.12.9-11.el6 will be updated
---> Package nss-softokn.x86_64 0:3.14.3-23.3.el6_8 will be an update
--> Processing Dependency: nss-softokn-freebl(x86-64) >= 3.14.3-23.3.el6_8 for package: nss-softokn-3.14.3-23.3.el6_8.x86_64
---> Package nss-sysinit.x86_64 0:3.13.3-6.el6 will be updated
---> Package nss-sysinit.x86_64 0:3.21.3-2.el6_8 will be an update
---> Package nss-tools.x86_64 0:3.13.3-6.el6 will be updated
---> Package nss-tools.x86_64 0:3.21.3-2.el6_8 will be an update
---> Package nss-util.x86_64 0:3.13.3-2.el6 will be updated
---> Package nss-util.x86_64 0:3.21.3-1.el6_8 will be an update
--> Running transaction check
---> Package nss-softokn-freebl.x86_64 0:3.12.9-11.el6 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.14.3-23.3.el6_8 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================
Updating:
ca-certificates noarch 2015.2.6-65.0.1.el6_7 base 1.2 M
nss x86_64 3.21.3-2.el6_8 updates 859 k
Installing for dependencies:
p11-kit x86_64 0.18.5-2.el6_5.2 base 94 k
p11-kit-trust x86_64 0.18.5-2.el6_5.2 base 71 k
Updating for dependencies:
nspr x86_64 4.11.0-1.el6 base 114 k
nss-softokn x86_64 3.14.3-23.3.el6_8 updates 262 k
nss-softokn-freebl x86_64 3.14.3-23.3.el6_8 updates 168 k
nss-sysinit x86_64 3.21.3-2.el6_8 updates 47 k
nss-tools x86_64 3.21.3-2.el6_8 updates 437 k
nss-util x86_64 3.21.3-1.el6_8 updates 67 k
Transaction Summary
==================================================================================================================================================
Install 2 Package(s)
Upgrade 8 Package(s)
Total download size: 3.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): ca-certificates-2015.2.6-65.0.1.el6_7.noarch.rpm | 1.2 MB 00:02
(2/10): nspr-4.11.0-1.el6.x86_64.rpm | 114 kB 00:00
(3/10): nss-3.21.3-2.el6_8.x86_64.rpm | 859 kB 00:01
(4/10): nss-softokn-3.14.3-23.3.el6_8.x86_64.rpm | 262 kB 00:00
(5/10): nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64.rpm | 168 kB 00:00
(6/10): nss-sysinit-3.21.3-2.el6_8.x86_64.rpm | 47 kB 00:00
(7/10): nss-tools-3.21.3-2.el6_8.x86_64.rpm | 437 kB 00:00
(8/10): nss-util-3.21.3-1.el6_8.x86_64.rpm | 67 kB 00:00
(9/10): p11-kit-0.18.5-2.el6_5.2.x86_64.rpm | 94 kB 00:00
(10/10): p11-kit-trust-0.18.5-2.el6_5.2.x86_64.rpm | 71 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------
Total 439 kB/s | 3.3 MB 00:07
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : nspr-4.11.0-1.el6.x86_64 1/18
Updating : nss-util-3.21.3-1.el6_8.x86_64 2/18
Updating : nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 3/18
Installing : p11-kit-0.18.5-2.el6_5.2.x86_64 4/18
Updating : nss-softokn-3.14.3-23.3.el6_8.x86_64 5/18
Updating : nss-sysinit-3.21.3-2.el6_8.x86_64 6/18
Updating : nss-3.21.3-2.el6_8.x86_64 7/18
Installing : p11-kit-trust-0.18.5-2.el6_5.2.x86_64 8/18
Updating : ca-certificates-2015.2.6-65.0.1.el6_7.noarch 9/18
Updating : nss-tools-3.21.3-2.el6_8.x86_64 10/18
Cleanup : nss-tools-3.13.3-6.el6.x86_64 11/18
Cleanup : ca-certificates-2010.63-3.el6_1.5.noarch 12/18
Cleanup : nss-sysinit-3.13.3-6.el6.x86_64 13/18
Cleanup : nss-3.13.3-6.el6.x86_64 14/18
Cleanup : nss-softokn-3.12.9-11.el6.x86_64 15/18
Cleanup : nss-util-3.13.3-2.el6.x86_64 16/18
Cleanup : nspr-4.9-1.el6.x86_64 17/18
Cleanup : nss-softokn-freebl-3.12.9-11.el6.x86_64 18/18
Verifying : p11-kit-0.18.5-2.el6_5.2.x86_64 1/18
Verifying : nss-softokn-3.14.3-23.3.el6_8.x86_64 2/18
Verifying : nspr-4.11.0-1.el6.x86_64 3/18
Verifying : nss-3.21.3-2.el6_8.x86_64 4/18
Verifying : nss-tools-3.21.3-2.el6_8.x86_64 5/18
Verifying : nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 6/18
Verifying : nss-sysinit-3.21.3-2.el6_8.x86_64 7/18
Verifying : ca-certificates-2015.2.6-65.0.1.el6_7.noarch 8/18
Verifying : p11-kit-trust-0.18.5-2.el6_5.2.x86_64 9/18
Verifying : nss-util-3.21.3-1.el6_8.x86_64 10/18
Verifying : nspr-4.9-1.el6.x86_64 11/18
Verifying : nss-3.13.3-6.el6.x86_64 12/18
Verifying : nss-sysinit-3.13.3-6.el6.x86_64 13/18
Verifying : nss-tools-3.13.3-6.el6.x86_64 14/18
Verifying : ca-certificates-2010.63-3.el6_1.5.noarch 15/18
Verifying : nss-util-3.13.3-2.el6.x86_64 16/18
Verifying : nss-softokn-3.12.9-11.el6.x86_64 17/18
Verifying : nss-softokn-freebl-3.12.9-11.el6.x86_64 18/18
Dependency Installed:
p11-kit.x86_64 0:0.18.5-2.el6_5.2 p11-kit-trust.x86_64 0:0.18.5-2.el6_5.2
Updated:
ca-certificates.noarch 0:2015.2.6-65.0.1.el6_7 nss.x86_64 0:3.21.3-2.el6_8
Dependency Updated:
nspr.x86_64 0:4.11.0-1.el6 nss-softokn.x86_64 0:3.14.3-23.3.el6_8 nss-softokn-freebl.x86_64 0:3.14.3-23.3.el6_8
nss-sysinit.x86_64 0:3.21.3-2.el6_8 nss-tools.x86_64 0:3.21.3-2.el6_8 nss-util.x86_64 0:3.21.3-1.el6_8
Complete!
[[email protected] ~]#
然後,重新啟用YUM源:
[root@mha1 ~]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=0
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=0
[root@mha1 ~]#
再次嘗試之前失敗的安裝:
[[email protected] ~]# yum install -y glib2-devel libpcap-devel libnet-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.163.com
* remi-safe: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.aliyun.com
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:17
Setting up Install Process
Package glib2-devel-2.28.8-5.el6.x86_64 already installed and latest version
Package 14:libpcap-devel-1.4.0-4.20130826git2dbcaa1.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package libnet-devel.x86_64 0:1.1.6-7.el6 will be installed
--> Processing Dependency: libnet(x86-64) = 1.1.6-7.el6 for package: libnet-devel-1.1.6-7.el6.x86_64
--> Processing Dependency: libnet.so.1()(64bit) for package: libnet-devel-1.1.6-7.el6.x86_64
--> Running transaction check
---> Package libnet.x86_64 0:1.1.6-7.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================
Installing:
libnet-devel x86_64 1.1.6-7.el6 epel 181 k
Installing for dependencies:
libnet x86_64 1.1.6-7.el6 epel 58 k
Transaction Summary
==================================================================================================================================================
Install 2 Package(s)
Total download size: 239 k
Installed size: 1.4 M
Downloading Packages:
(1/2): libnet-1.1.6-7.el6.x86_64.rpm | 58 kB 00:00
(2/2): libnet-devel-1.1.6-7.el6.x86_64.rpm | 181 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------
Total 110 kB/s | 239 kB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libnet-1.1.6-7.el6.x86_64 1/2
Installing : libnet-devel-1.1.6-7.el6.x86_64 2/2
Verifying : libnet-1.1.6-7.el6.x86_64 1/2
Verifying : libnet-devel-1.1.6-7.el6.x86_64 2/2
Installed:
libnet-devel.x86_64 0:1.1.6-7.el6
Dependency Installed:
libnet.x86_64 0:1.1.6-7.el6
Complete!
[[email protected] ~]#
可以看到,已經沒問題了。
————————————
Done。
相關推薦
YUM:[Errno 14] problem making ssl connection
有時候在使用YUM的時候,你會出現如題所示的問題,具體如下: [[email protected] c++]# yum install -y glib2-devel libpcap-devel libnet-devel Loaded plugin
yum [Errno 14] problem making ssl connection CentOs
yum [Errno 14] problem making ssl connection CentOs CentOS下執行yum install時提示無法下載https的package包,異常資訊提示如下 [[email pro
centos6在安裝epel源後更新yum快取提示problem making ssl connection的解決辦法
首先禁用epel源,即將epel.repo裡面的enabled=1先改為enabled=0然後執行命令:yum install -y ca-certificates安裝成功後,再重新將enabled=0改成enabled=1最後執行yum makecache即可成功更新yum
Yum:[Errno 5] [Errno 2] No such file or directory
python Yum yum安裝軟件時,可以連接yum 倉庫,但是下載安裝時失敗,報錯如下 root@pts/0 # yum install httpd 已加載插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile
Java連接Mysql數據庫警告:Establishing SSL connection witho
als option set cat ati ren mysql數據庫 錯誤 oot 當出現這種錯誤:Thu Jan 04 22:49:59 CST 2018 WARN: Establishing SSL connection without server's id
SpringBoot連接Mysql數據庫警告:Establishing SSL connection without server's identity verification is not recommend
prop exist 原因 5.7 ide als character spring ati Java使用mysql-jdbc連接MySQL出現如下警告: Establishing SSL connection without server‘s identity
yum 安裝包時提示:[Errno 5] [Errno 2] No such file or dir
http 清理 text 升級 pytho roc 圖片 ffffff 技術 這個原因是python的環境發生過改變,簡單來說就是升級過,導致python找不到原來的版本了。 此時可以查看一下以下兩個文件:/usr/bin/yum --第一行對應的python版本
在scala中連線mysql時出現錯誤:Establishing SSL connection without server's identity verification is not recomm
在Scala中連線mysql時,輸入命令: scala> rebuyDF.write.mode("append").jdbc("jdbc:mysql://localhost:3306/dbtaobao", "dbtaobao.rebuy", prop) 出現錯誤如下: Wed No
Centos7 更新yum報錯http://nginx.org/packages/centos/$releaserver/x86_64/repodata/repomd.xml: [Errno 14]
新安裝好的centos7,下載新的yum源,在yum update和yum makecache 時報錯如下:修改nginx.repovim /etc/yum.repos.d/nginx.repo將[nginx]name=nginx repobaseurl=http://ngi
yum 安裝時錯誤 Errno 14 Couldn't resolve host 解決辦法
Downloading Packages: http://mirrors.163.com/centos/6.5/os/i386/Packages/mlocate-0.22.2-4.el6.i686.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host
tensorflow安裝過程中報錯:Failed to establish a new connection: [Errno 101]
tensorflow安裝過程中報錯: export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
mysql5.7:mysql安裝和基於SSL加密的主從復制(詳細剖析)
mysql ssl db 數據 加密傳輸 小生博客:http://xsboke.blog.51cto.com 小生 Q Q:1770058260 -------謝謝您的參考,如有疑問,歡迎交流目錄:--------my
ArcCatalog連接ArcSDE連接報:unable to create new database connection file,permission is denied
sde rcc href connect database 連接 art .com new 參考博文:鏈接 另外,若機器ip變更,sde是否受影響的問題 ArcCatalog連接ArcSDE連接報:unable to create new database conne
Flask網站搭建:Ubuntu 14.04 sever (阿裏雲64bit) 部署 flask + uWSGI + Ngnix
eas digital 一次 進行 server type form 部署 == 第一次寫技術類的博客,有點小激動。這篇文章整合了多方資源,將在文末附上鏈接,非常感謝作者的幫助。同時也希望這篇博客能幫助像我一樣的外行玩家快速搭建自己的網站。如果文章有什麽不妥的地方,希望大家
WARN: Establishing SSL connection without server's identity verification is not recommended
.com left strong ren time req jdbc連接 using new 0.要想用Java連接mysql數據庫,首先裝好JDK,配置好環境變量,將jdk*.*.*\lib放入classpath,將jdk*.*.*\bin放入path中(*.*.*表示版
How an SSL connection is established
blog auth rsa short achieved ive support sim ssa An SSL connection between a client and server is set up by a handshake, the goals of whi
POJ2826:An Easy Problem?!——題解(配特殊情況圖)
while 一次 mes bsp print 情況下 queue blank using http://poj.org/problem?id=2826 題目大意:給兩條線,讓它接豎直下的雨,問其能裝多少橫截面積的雨。 ———&mdas
HDU1402:A * B Problem Plus——題解
|| name nbsp pro style plus string stream size http://acm.hdu.edu.cn/showproblem.php?pid=1402 給出兩個高精度正整數,求它們的積,最長的數長度不大於5e4。 FFT裸題,
Python Cookbook(第3版)中文版:15.14 傳遞Unicode字符串給C函數庫
pre 緩存 標準 解決 pep 存儲 nal body clas 15.14 傳遞Unicode字符串給C函數庫? 問題? 你要寫一個擴展模塊,需要將一個Python字符串傳遞給C的某個庫函數,但是這個函數不知道該怎麽處理Unicode。 解決方案? 這裏我們需要考
MySQL 連接超時:報錯SQLSTATE[HY000] [2002] Connection timed out
裏的 state 一個 全部 nec 應該 sqlstate 不用 med 在網上找了一堆,結果全部是錯的 後來,我明白了其實是設置問題。 當你的代碼部署到服務器裏的時候,你的mysql 的host 值 應該為 127.0.0.1 而不是 你的服務器ip 不然就會報錯。 其