Thank you for taking the time to file a bug report. This is known to be a local-system-related issue and not an issue in the packaging.
This can happen when some packages are installed or removed, and alter configurations. This can also happen due to user error or mistakes, which remove the configuration files. In each case, this is a local- system issue. You have an error in your nginx.conf file that is preventing the start of the service. Since this is most likely the case, I am marking this bug as 'Invalid'. However, if you believe that this is really a bug in Ubuntu, then we would be grateful if you would provide a more complete description of the problem with steps to reproduce, explaining why you believe this is a bug in Ubuntu rather than a problem specific to your system. Depending on the information provided, the status will either be set to "Confirmed" if we can reproduce the issue reported, or we will leave the status as "Invalid" and explain why this is the case. For local system issues, you can find assistance here: http://www.ubuntu.com/support/community ** 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/1760964 Title: when performing "sudo apt-get autoremove -f"package nginx-core 1.10.3-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1760964/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs