[记录] nginx无法安装

正在设置 nginx-full (1.10.1-1) ...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: 处理软件包 nginx-full (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
dpkg: 依赖关系问题使得 nginx 的配置工作不能继续:
nginx 依赖于 nginx-full (>= 1.10.1-1) | nginx-light (>= 1.10.1-1) | nginx-extras (>= 1.10.1-1);然而:
  软件包 nginx-full 尚未配置。
  未安装软件包 nginx-light。
  未安装软件包 nginx-extras。
nginx 依赖于 nginx-full (<< 1.10.1-1.1~) | nginx-light (<< 1.10.1-1.1~) | nginx-extras (<< 1.10.1-1.1~);然而:
  软件包 nginx-full 尚未配置。
  未安装软件包 nginx-light。
  未安装软件包 nginx-extras。

dpkg: 处理软件包 nginx (--configure)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 systemd (229-4) 的触发器 ...
在处理时有错误发生:
nginx-full
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
正在设置 nginx-full (1.10.1-1) ...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: 处理软件包 nginx-full (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
dpkg: 依赖关系问题使得 nginx 的配置工作不能继续:
nginx 依赖于 nginx-full (>= 1.10.1-1) | nginx-light (>= 1.10.1-1) | nginx-extras (>= 1.10.1-1);然而:
  软件包 nginx-full 尚未配置。
  未安装软件包 nginx-light。
  未安装软件包 nginx-extras。
nginx 依赖于 nginx-full (<< 1.10.1-1.1~) | nginx-light (<< 1.10.1-1.1~) | nginx-extras (<< 1.10.1-1.1~);然而:
  软件包 nginx-full 尚未配置。
  未安装软件包 nginx-light。
  未安装软件包 nginx-extras。

dpkg: 处理软件包 nginx (--configure)时出错:
依赖关系问题 - 仍未被配置
在处理时有错误发生:
nginx-full
nginx

 

 

 

 

$ service apache2 stop

$ apt-get install nginx

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值