Re: Ошибки при установке NGINX

Iurii Medvedev medvedev.yp на gmail.com
Чт Авг 17 20:04:06 UTC 2017


Вначале внимательно изучить вывод journalctl -xe
У вас же написано какую команду выполнить чтобы узнать детали

17 авг. 2017 г. 23:01 пользователь "Andrey_Bushman" <
nginx-forum на forum.nginx.org> написал:

> Доброго времени суток.
>
> Ubuntu-16.04-x86_64 (сервер)
>
> Устанавливаю NGINX:
>
> > apt-get install nginx
>
> Получаю ошибки:
>
> ------------------------
>
> Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ...
> 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: error processing package nginx-core (--configure):
>  subprocess installed post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of nginx:
>  nginx depends on nginx-core (>= 1.10.3-0ubuntu0.16.04.2) | nginx-full (>=
> 1.10.3-0ubuntu0.16.04.2) | nginx-light (>= 1.10.3-0ubuntu0.16.04.2) |
> nginx-extras (>= 1.10.3-0ubuntu0.16.04.2); however:
>   Package nginx-core is not configured yet.
>   Package nginx-full is not installed.
>   Package nginx-light is not installed.
>   Package nginx-extras is not installed.
>  nginx depends on nginx-core (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-full
> (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-light (<<
> 1.10.3-0ubuntu0.16.04.2.1~) | nginx-extras (<< 1.10.3-0ubuntu0.16.04.2.1~);
> however:
>   Package nginx-core is not configured yet.
>   Package nginx-full is not installed.
>   Package nginx-light is not installed.
>   Package nginx-extras is not installed.
>
> dpkg: error processing package nginx (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  nginx-core
>  nginx
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> ----------------------------
>
> Как установить nginx?
>
> Спасибо
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?21,276085,276085#msg-276085
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru на nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20170817/47ee8c91/attachment.html>


Подробная информация о списке рассылки nginx-ru