We are missing information still for debugging this. There also appears to be a different issue as well with apport hooks.
I need you to include the output of the following command, please, as either a comment on your bug or as an attachment:
systemctl -l nginx.service status
This will likely contain additional information, because it failed to start after configuring the package, which suggests something else is at play, and the error message was not obtained here.
We are missing information still for debugging this. There also appears to be a different issue as well with apport hooks.
I need you to include the output of the following command, please, as either a comment on your bug or as an attachment:
systemctl -l nginx.service status
This will likely contain additional information, because it failed to start after configuring the package, which suggests something else is at play, and the error message was not obtained here.