zoukankan      html  css  js  c++  java
  • Ubuntu无法安装nginx

    1、问题
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
     nginx : Depends: nginx-core (>= 1.9.15-0ubuntu1) but it is not going to be installed or
                      nginx-full (>= 1.9.15-0ubuntu1) but it is not going to be installed or
                      nginx-light (>= 1.9.15-0ubuntu1) but it is not going to be installed or
                      nginx-extras (>= 1.9.15-0ubuntu1) but it is not going to be installed
             Depends: nginx-core (< 1.9.15-0ubuntu1.1~) but it is not going to be installed or
                      nginx-full (< 1.9.15-0ubuntu1.1~) but it is not going to be installed or
                      nginx-light (< 1.9.15-0ubuntu1.1~) but it is not going to be installed or
                      nginx-extras (< 1.9.15-0ubuntu1.1~) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    2、解决办法
    sudo apt-get install software-properties-common sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get install nginx
  • 相关阅读:
    ovx openVirtex的阅读文档
    如何通过修改文件添加用户到sudoers上
    服务器上搭建flowvisor平台
    flowvisor连接ovs
    ovs的学习
    新手报道
    Java——枚举类(疯狂Java讲义6.9)
    Java——Lambda表达式
    Java——foreach的使用
    Java:成员变量、局部变量和静态变量
  • 原文地址:https://www.cnblogs.com/xypbk/p/10149781.html
Copyright © 2011-2022 走看看