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
  • 相关阅读:
    ansible
    celery 计划任务使用
    11 session 使用
    10 模版继承和页面之间的调用
    9 模版语言 jinja2
    8 公共函数
    7 文件上传
    6 获取请求头和URL信息
    5 获取Form表单取值
    4 文件操作 支持图片 视频 mp3 文本等
  • 原文地址:https://www.cnblogs.com/xypbk/p/10149781.html
Copyright © 2011-2022 走看看