如何安装nginx-full

时间:2014-07-24 08:14:16

标签: ubuntu nginx passenger uwsgi

我正在尝试在我的12.04机器上安装nginx-full(从11.04升级) 使用apt-get -

获取此错误
The following packages have unmet dependencies:
nginx-full : Depends: passenger-common (>= 1:3.0.17) but it is not going to be installed
          Depends: passenger-common (< 1:3.0.18) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

有能力得到这个

The following packages have unmet dependencies:
nginx-light : Conflicts: nginx-full but 1:1.2.3-1~38~natty1 is to be installed.
nginx-full : Conflicts: nginx-light but 1:1.2.3-1~38~natty1 is installed.
passenger-common : Depends: libev3 (>= 3.0) which is a virtual package.
  Depends: ruby-rack but it is not going to be installed.
  Depends: passenger-common1.8 (= 1:3.0.17+120~natty1) but it is not going to be installed. or
         passenger-common1.9.1 (= 1:3.0.17+120~natty1) but it is not going to be installed.

当我尝试安装passenger-common时,它取决于libev3不可用。 我怎么解决这个问题。 dpkg --get-selections | grep hold的输出为空。

1 个答案:

答案 0 :(得分:0)

看起来你有一个乱糟糟的包数据库。首先卸载所有以nginx和passenger开头的软件包,然后再试一次。