Thank you for the bug report.
From your logs, I see the error was caused by a missing /etc/nginx/nginx.conf.
I also see nginx was previously installed and purged. So it's likely that the
file was removed before the re-install.
I was able to reproduce this with
# apt install nginx
# rm /etc/nginx/nginx.conf
# apt-get purge nginx
# apt install nginx
Did you remove the file manually before attempting to re-install?
** Changed in: nginx (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121758
Title:
package nginx 1.24.0-2ubuntu7.5 failed to install/upgrade: installed
nginx package post-installation script subprocess returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2121758/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs