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

今天在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 安装成功。

相关文章

此处评论已关闭