centos 6 4 不能使用yum install 的问题

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

               

在青云上创建centos 6.4后,习惯性的安装emacs. 结果遇到报错信息:

# yum install emacsLoaded plugins: fastestmirrorDetermining fastest mirrorsError: Cannot retrieve metalink for repository: epel. Please verify its path and try again

解决方法是更新ca-certificates

# yum upgrade ca-certificates --disablerepo=epelLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.skyshe.cn * extras: ftp.sjtu.edu.cn * rpmfusion-free-updates: ftp.sjtu.edu.cn * rpmfusion-nonfree-updates: ftp.sjtu.edu.cn * updates: mirrors.skyshe.cnbase                                                                                                                                                                   | 3.7 kB     00:00     base/primary_db                                                                                                                                                        | 4.6 MB     00:04     emacs                                                                                                                                                                  | 2.9 kB     00:02     emacs/primary_db                                                                                                                                                       |  37 kB     00:01     extras                                                                                                                                                                 | 3.4 kB     00:00     extras/primary_db                                                                                                                                                      |  37 kB     00:00     rpmfusion-free-updates                                                                                                                                                 | 2.7 kB     00:00     rpmfusion-free-updates/primary_db                                                                                                                                      | 272 kB     00:00     rpmfusion-nonfree-updates                                                                                                                                              | 2.2 kB     00:00     rpmfusion-nonfree-updates/primary_db                                                                                                                                   |  65 kB     00:00     updates                                                                                                                                                                | 3.4 kB     00:00     updates/primary_db                                                                                                                                                     | 5.2 MB     00:05     Setting up Upgrade ProcessResolving 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--> Processing Dependency: libtasn1.so.3(LIBTASN1_0_3)(64bit) for package: p11-kit-0.18.5-2.el6_5.2.x86_64--> Processing Dependency: libtasn1.so.3()(64bit) for package: p11-kit-0.18.5-2.el6_5.2.x86_64---> Package p11-kit-trust.x86_64 0:0.18.5-2.el6_5.2 will be installed--> Running transaction check---> Package libtasn1.x86_64 0:2.3-6.el6_5 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.14.0.0-12.el6 will be updated--> Processing Dependency: nss = 3.14.0.0-12.el6 for package: nss-tools-3.14.0.0-12.el6.x86_64--> Processing Dependency: nss = 3.14.0.0-12.el6 for package: nss-sysinit-3.14.0.0-12.el6.x86_64---> Package nss.x86_64 0:3.21.0-0.3.el6_7 will be an update--> Processing Dependency: nss-util >= 3.21.0 for package: nss-3.21.0-0.3.el6_7.x86_64--> Processing Dependency: nss-softokn(x86-64) >= 3.14.3-22 for package: nss-3.21.0-0.3.el6_7.x86_64--> Processing Dependency: nspr >= 4.11.0 for package: nss-3.21.0-0.3.el6_7.x86_64--> Processing Dependency: libnssutil3.so(NSSUTIL_3.21)(64bit) for package: nss-3.21.0-0.3.el6_7.x86_64--> Processing Dependency: libnssutil3.so(NSSUTIL_3.17.1)(64bit) for package: nss-3.21.0-0.3.el6_7.x86_64--> Processing Dependency: libnssutil3.so(NSSUTIL_3.15)(64bit) for package: nss-3.21.0-0.3.el6_7.x86_64--> Running transaction check---> Package nspr.x86_64 0:4.9.2-1.el6 will be updated---> Package nspr.x86_64 0:4.11.0-0.1.el6_7 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.el6_7 will be an update--> Processing Dependency: nss-softokn-freebl(x86-64) >= 3.14.3-23.el6_7 for package: nss-softokn-3.14.3-23.el6_7.x86_64---> Package nss-sysinit.x86_64 0:3.14.0.0-12.el6 will be updated---> Package nss-sysinit.x86_64 0:3.21.0-0.3.el6_7 will be an update---> Package nss-tools.x86_64 0:3.14.0.0-12.el6 will be updated---> Package nss-tools.x86_64 0:3.21.0-0.3.el6_7 will be an update---> Package nss-util.x86_64 0:3.14.0.0-2.el6 will be updated---> Package nss-util.x86_64 0:3.21.0-0.3.el6_7 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.el6_7 will be an update--> Finished Dependency ResolutionDependencies Resolved============================================================================================================================================================================================== Package                                           Arch                                  Version                                                 Repository                              Size==============================================================================================================================================================================================Updating: ca-certificates                                   noarch                                2015.2.6-65.0.1.el6_7                                   updates                                1.2 M nss                                               x86_64                                3.21.0-0.3.el6_7                                        updates                                858 kInstalling for dependencies: libtasn1                                          x86_64                                2.3-6.el6_5                                             base                                   238 k 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 kUpdating for dependencies: nspr                                              x86_64                                4.11.0-0.1.el6_7                                        updates                                114 k nss-softokn                                       x86_64                                3.14.3-23.el6_7                                         updates                                262 k nss-softokn-freebl                                x86_64                                3.14.3-23.el6_7                                         updates                                167 k nss-sysinit                                       x86_64                                3.21.0-0.3.el6_7                                        updates                                 46 k nss-tools                                         x86_64                                3.21.0-0.3.el6_7                                        updates                                435 k nss-util                                          x86_64                                3.21.0-0.3.el6_7                                        updates                                 67 kTransaction Summary==============================================================================================================================================================================================Install       3 Package(s)Upgrade       8 Package(s)Total download size: 3.5 MIs this ok [y/N]: yDownloading Packages:(1/11): ca-certificates-2015.2.6-65.0.1.el6_7.noarch.rpm                                                                                                               | 1.2 MB     00:01     (2/11): libtasn1-2.3-6.el6_5.x86_64.rpm                                                                                                                                | 238 kB     00:00     (3/11): nspr-4.11.0-0.1.el6_7.x86_64.rpm                                                                                                                               | 114 kB     00:00     (4/11): nss-3.21.0-0.3.el6_7.x86_64.rpm                                                                                                                                | 858 kB     00:00     (5/11): nss-softokn-3.14.3-23.el6_7.x86_64.rpm                                                                                                                         | 262 kB     00:00     (6/11): nss-softokn-freebl-3.14.3-23.el6_7.x86_64.rpm                                                                                                                  | 167 kB     00:00     (7/11): nss-sysinit-3.21.0-0.3.el6_7.x86_64.rpm                                                                                                                        |  46 kB     00:00     (8/11): nss-tools-3.21.0-0.3.el6_7.x86_64.rpm                                                                                                                          | 435 kB     00:00     (9/11): nss-util-3.21.0-0.3.el6_7.x86_64.rpm                                                                                                                           |  67 kB     00:00     (10/11): p11-kit-0.18.5-2.el6_5.2.x86_64.rpm                                                                                                                           |  94 kB     00:00     (11/11): p11-kit-trust-0.18.5-2.el6_5.2.x86_64.rpm                                                                                                                     |  71 kB     00:00     ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Total                                                                                                                                                         601 kB/s | 3.5 MB     00:06     Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction  Updating   : nspr-4.11.0-0.1.el6_7.x86_64                                                                                                                                              1/19   Updating   : nss-util-3.21.0-0.3.el6_7.x86_64                                                                                                                                          2/19   Updating   : nss-softokn-freebl-3.14.3-23.el6_7.x86_64                                                                                                                                 3/19   Updating   : nss-softokn-3.14.3-23.el6_7.x86_64                                                                                                                                        4/19   Updating   : nss-sysinit-3.21.0-0.3.el6_7.x86_64                                                                                                                                       5/19   Updating   : nss-3.21.0-0.3.el6_7.x86_64                                                                                                                                               6/19   Installing : libtasn1-2.3-6.el6_5.x86_64                                                                                                                                               7/19   Installing : p11-kit-0.18.5-2.el6_5.2.x86_64                                                                                                                                           8/19   Installing : p11-kit-trust-0.18.5-2.el6_5.2.x86_64                                                                                                                                     9/19   Updating   : ca-certificates-2015.2.6-65.0.1.el6_7.noarch                                                                                                                             10/19   Updating   : nss-tools-3.21.0-0.3.el6_7.x86_64                                                                                                                                        11/19   Cleanup    : ca-certificates-2010.63-3.el6_1.5.noarch                                                                                                                                 12/19   Cleanup    : nss-tools-3.14.0.0-12.el6.x86_64                                                                                                                                         13/19   Cleanup    : nss-3.14.0.0-12.el6.x86_64                                                                                                                                               14/19   Cleanup    : nss-sysinit-3.14.0.0-12.el6.x86_64                                                                                                                                       15/19   Cleanup    : nss-softokn-3.12.9-11.el6.x86_64                                                                                                                                         16/19   Cleanup    : nss-util-3.14.0.0-2.el6.x86_64                                                                                                                                           17/19   Cleanup    : nspr-4.9.2-1.el6.x86_64                                                                                                                                                  18/19   Cleanup    : nss-softokn-freebl-3.12.9-11.el6.x86_64                                                                                                                                  19/19   Verifying  : p11-kit-0.18.5-2.el6_5.2.x86_64                                                                                                                                           1/19   Verifying  : nss-util-3.21.0-0.3.el6_7.x86_64                                                                                                                                          2/19   Verifying  : nss-softokn-3.14.3-23.el6_7.x86_64                                                                                                                                        3/19   Verifying  : nss-softokn-freebl-3.14.3-23.el6_7.x86_64                                                                                                                                 4/19   Verifying  : nss-sysinit-3.21.0-0.3.el6_7.x86_64                                                                                                                                       5/19   Verifying  : libtasn1-2.3-6.el6_5.x86_64                                                                                                                                               6/19   Verifying  : nss-3.21.0-0.3.el6_7.x86_64                                                                                                                                               7/19   Verifying  : ca-certificates-2015.2.6-65.0.1.el6_7.noarch                                                                                                                              8/19   Verifying  : nspr-4.11.0-0.1.el6_7.x86_64                                                                                                                                              9/19   Verifying  : nss-tools-3.21.0-0.3.el6_7.x86_64                                                                                                                                        10/19   Verifying  : p11-kit-trust-0.18.5-2.el6_5.2.x86_64                                                                                                                                    11/19   Verifying  : nss-tools-3.14.0.0-12.el6.x86_64                                                                                                                                         12/19   Verifying  : nss-3.14.0.0-12.el6.x86_64                                                                                                                                               13/19   Verifying  : ca-certificates-2010.63-3.el6_1.5.noarch                                                                                                                                 14/19   Verifying  : nss-softokn-freebl-3.12.9-11.el6.x86_64                                                                                                                                  15/19   Verifying  : nss-util-3.14.0.0-2.el6.x86_64                                                                                                                                           16/19   Verifying  : nss-sysinit-3.14.0.0-12.el6.x86_64                                                                                                                                       17/19   Verifying  : nspr-4.9.2-1.el6.x86_64                                                                                                                                                  18/19   Verifying  : nss-softokn-3.12.9-11.el6.x86_64                                                                                                                                         19/19 Dependency Installed:  libtasn1.x86_64 0:2.3-6.el6_5                             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.0-0.3.el6_7                                                        Dependency Updated:  nspr.x86_64 0:4.11.0-0.1.el6_7              nss-softokn.x86_64 0:3.14.3-23.el6_7         nss-softokn-freebl.x86_64 0:3.14.3-23.el6_7         nss-sysinit.x86_64 0:3.21.0-0.3.el6_7          nss-tools.x86_64 0:3.21.0-0.3.el6_7         nss-util.x86_64 0:3.21.0-0.3.el6_7          Complete!

现在可以了。



           

给我老师的人工智能教程打call!http://blog.csdn.net/jiangjunshow
这里写图片描述
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值