2016-04-08 43 views
1

我使用CentOS的7.2,我想更新OpenSSL,目前的版本是如下:如何在centos 7.2上更新OpenSSL?

[[email protected] ~]# rpm -qa|grep openssl 
openssl-libs-1.0.1e-51.el7_2.4.x86_64 
openssl-devel-1.0.1e-51.el7_2.4.x86_64 
openssl-1.0.1e-51.el7_2.4.x86_64 

我試圖下載SRPM包在Fedora的劇目,

openssl-1.0.2d-2.fc23.src.rpm 

重建它並安裝,但有什麼不對,

[[email protected] ~]# yum update openssl 
Loaded plugins: axelget, langpacks 
No metadata available for base 
No metadata available for dockerrepo 
No metadata available for elrepo 
No metadata available for epel 
No metadata available for extras 
No metadata available for local 
No metadata available for mariadb 
No metadata available for nginx 
No metadata available for remi-php70 
No metadata available for remi-php70-test 
No metadata available for remi-safe 
No metadata available for salt-2015.8 
No metadata available for updates 
Resolving Dependencies 
--> Running transaction check 
---> Package openssl.x86_64 1:1.0.1e-51.el7_2.4 will be updated 
---> Package openssl.x86_64 1:1.0.2d-2.el7.centos will be an update 
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2d-2.el7.centos for package: 1:openssl-1.0.2d-2.el7.centos.x86_64 
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 1:openssl-1.0.2d-2.el7.centos.x86_64 
--> Running transaction check 
---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.4 will be updated 
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-51.el7_2.4 for package: 1:openssl-devel-1.0.1e-51.el7_2.4.x86_64 
---> Package openssl-libs.x86_64 1:1.0.2d-2.el7.centos will be an update 
--> Processing Dependency: crypto-policies for package: 1:openssl-libs-1.0.2d-2.el7.centos.x86_64 
--> Running transaction check 
---> Package openssl-devel.x86_64 1:1.0.1e-51.el7_2.4 will be updated 
---> Package openssl-devel.x86_64 1:1.0.2d-2.el7.centos will be an update 
---> Package openssl-libs.x86_64 1:1.0.2d-2.el7.centos will be an update 
--> Processing Dependency: crypto-policies for package: 1:openssl-libs-1.0.2d-2.el7.centos.x86_64 
--> Finished Dependency Resolution 
Error: Package: 1:openssl-libs-1.0.2d-2.el7.centos.x86_64 (local) 
      Requires: crypto-policies 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 

我該怎麼辦?

+0

這個問題是關閉主題在這裏,應該問unix.stackexchange.com – Rob

+0

堆棧溢出是編程和開發問題的網站。這個問題似乎與題目無關,因爲它不涉及編程或開發。請參閱幫助中心的[我可以詢問哪些主題](http://stackoverflow.com/help/on-topic)。也許[超級用戶](http://superuser.com/)或[Unix&Linux堆棧交換](http://unix.stackexchange.com/)會是一個更好的地方。另請參閱[我在哪裏發佈有關Dev Ops的問題?](http://meta.stackexchange.com/q/134306)。 – jww

回答