How to install nginx-full

血红的双手。 提交于 2019-12-25 00:34:08

问题


I'm trying to install nginx-full on my 12.04 machine(upgraded from 11.04) getting this error with 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.

with aptitude getting this

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.

When I try to install passenger-common it depends on libev3 which is not available. How can I solve this problem. Output of dpkg --get-selections | grep hold this is empty.


回答1:


It looks like you have a messed up package database. First uninstall all packages that begin with nginx and passenger, then try again.



来源:https://stackoverflow.com/questions/24928407/how-to-install-nginx-full

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!