The problem, in my case, was due to having apache2 running at the time of the upgrade. Stopping the apache2 service and trying to configure nginx again solved the issue.
** Also affects: nginx Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512344 Title: [Master Bug] Package nginx-* failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 (due to "Address in Use" issue) To manage notifications about this bug go to: https://bugs.launchpad.net/nginx/+bug/1512344/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs