The error log here indicates that something on your system removed
/etc/nginx/nginx.conf and that is why the service cannot start.

The way to solve this is to restore the default configuration file.

(1) Back up any configurations in /etc/nginx/sites-available and
/etc/nginx/sites-enabled you wish to keep.

(2) sudo apt-get purge nginx nginx-common nginx-core

(3) sudo apt-get install nginx nginx-common nginx-core

This will replace all configurations with the defaults.

(4) Restore your configurations you backed up.


This is not however a package bug.  Marking as Invalid.

** Changed in: nginx (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1594025

Title:
  package nginx-core 1.9.3-1ubuntu1.2 failed to install/upgrade: sub-
  processo script post-installation instalado retornou estado de saída
  de erro 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1594025/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to