Здравствуйте! Судя по логу, Вы уже пытались поставить nginx из репозиториев дистрибутива, а теперь пытаетесь поставить nginx из репозиториев разработчиков nginx. Чтоб все прошло хорошо, удалите хвосты от старого:
service nginx stop killall nginx apt-get purge nginx-core nginx И после этого ставьте желаемую версию. С уважением, Иван. В письме от 17 августа 2017 16:01:10 пользователь Andrey_Bushman написал: > Доброго времени суток. > > 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 > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx-ru
_______________________________________________ nginx-ru mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-ru
