[记录] nginx无法安装

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_37962554/article/details/82878524

正在设置 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

猜你喜欢

转载自blog.csdn.net/m0_37962554/article/details/82878524