rinald_未来往事

Debian Install Nginx Error: Depends libssl0.9.8 (>= 0.9.8m-1) but it is not installable

Apache/Nginx
今天在Debian系统上使用apt-get install nginx-full方式安装nginx时遇到错误:Depends libssl0.9.8 (>= 0.9.8m-1) but it is not installable,错误代码如下:
root@(none):/opt# apt-get install nginx-full
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
nginx-full : Depends: libssl0.9.8 (>= 0.9.8m-1) but it is not installable
E: Unable to correct problems, you have held broken packages.

解决思路:
错误提示缺少高于libssl0.9.8版本的包,安装即可。链接地址:
32bit:https://packages.debian.org/squeeze/i386/libssl0.9.8/download
64bit:https://packages.debian.org/squeeze/amd64/libssl0.9.8/download

由于本机是64位的Debian7系统,这里下载及安装如下:
#wget http://ftp.cn.debian.org/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-4squeeze14_amd64.deb
#dpkg -i libssl0.9.8_0.9.8o-4squeeze14_amd64.deb

再次运行# apt-get install nginx-full 安装成功。

原文作者:rinald
原文地址:http://fity.cn/post/547.html
互联网技术更新较快,本站很多文章具有实效性,我会及时更新原文,但转载的文章无法通知更新。为了不给读者造成困惑或误导,请您在转载时保留此出处信息,尊重别人也是尊重自己。

发表评论

必填

选填

选填

必填

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。