我正在尝试安装nginx(Debian 7,amd64):
apt-get install nginx
但是我收到一个错误:
nginx : Depends: libssl0.9.8 (>= 0.9.8m-1) but it is not installable
我下载了deb并安装它:
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
但这没有效果.我究竟做错了什么?
谢谢.
解决方法:
解:
要在Debian 7上安装nginx,您应该将其添加到/etc/apt/sources.list中:
deb http://nginx.org/packages/debian/ wheezy nginx
deb-src http://nginx.org/packages/debian/ wheezy nginx