
如何使用 Ubuntu 的儲存庫升級 OpenSSL?
我看到美國海軍在http://www.ubuntu.com/usn/usn-2165-1/
和這裡的包包https://launchpad.net/ubuntu/+source/openssl/1.0.1-4ubuntu5.12
但我找不到如何使用它來升級我的 OpenSSL 版本的說明。
標準更新指令不會升級我的 ssl 版本:
sudo apt-get update
sudo apt-get dist-upgrade
openssl
OpenSSL> version
OpenSSL 1.0.1 14 Mar 2012
如何從儲存庫取得最新版本?
編輯:
dpkg --列出 openssl
||/ Name Version Description
+++-=========================-=========================-==================================================================
ii openssl 1.0.1-4ubuntu5.12 Secure Socket Layer (SSL) binary and related cryptographic tools
aptitude 顯示 libssl1.0.0
Package: libssl1.0.0
State: installed
Automatically installed: no
Multi-Arch: same
Version: 1.0.1-4ubuntu5.12
Priority: required
Section: libs
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Uncompressed Size: 2,991 k
Depends: libc6 (>= 2.14), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0
PreDepends: multiarch-support
Breaks: openssh-client (< 1:5.9p1-4), openssh-client (< 1:5.9p1-4), openssh-server (< 1:5.9p1-4), openssh-server (< 1:5.9p1-4),
libssl1.0.0 (!= 1.0.1-4ubuntu5.12)
Replaces: libssl1.0.0 (< 1.0.1-4ubuntu5.12)
Description: SSL shared libraries
libssl and libcrypto shared libraries needed by programs like apache-ssl, telnet-ssl and openssh.
It is part of the OpenSSL implementation of SSL.
答案1
你能做 aptitude show libssl1.0.0 嗎?如果您執行了 apt-get dist-upgrade 並重新啟動,您可能擁有正確的修補版本,但它不會顯示在 openssh 版本中,因為 ubuntu 打包程式的方式不同。編輯:錯字
答案2
sudo apt-get 更新
sudo apt-get 升級
另外不要忘記使用 OpenSSL 重新啟動服務