如何安装nginx-full [英] How to install nginx-full

查看:831
本文介绍了如何安装nginx-full的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的12.04机器上安装nginx-full(从11.04升级) 通过apt-get得到此错误-

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.

有能力得到这个

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的输出为空.

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.

推荐答案

看起来您的程序包数据库混乱了.首先卸载所有以nginx和passenger开头的软件包,然后重试.

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

这篇关于如何安装nginx-full的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆