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

Mark Korzhov picture Mark Korzhov · Jan 2, 2014 · Viewed 7.3k times · Source

I'm trying to install nginx (Debian 7, amd64):

apt-get install nginx

But I get an error:

nginx : Depends: libssl0.9.8 (>= 0.9.8m-1) but it is not installable

I downloaded the deb and install it:

wget http://snapshot.debian.org/archive/debian/20110406T213352Z/pool/main/o/openssl098/libssl0.9.8_0.9.8o-7_i386.deb
sudo dpkg -i libssl0.9.8_0.9.8o-7_i386.deb

But this has no effect. What am I doing wrong?

Thanks.

Answer

Mark Korzhov picture Mark Korzhov · Jan 2, 2014

Solution:

To install nginx on Debian 7 you should add it in /etc/apt/sources.list :

deb http://nginx.org/packages/debian/ wheezy nginx
deb-src http://nginx.org/packages/debian/ wheezy nginx