Closed WalterPrech closed 2 days ago
This is not a full log; it's impossible to tell what went wrong in this case.
@WalterPrech I ran into this issue myself on an Ubuntu 20.04 machine. In order to get everything working again on the box, I used sudo dpkg --purge --force-all --no-triggers nginx
first to remove nginx. After that, I removed all of the broken/unmet dependency packages with sudo apt remove -y <all of the packages from the error message here>
.
After I removed everything, I did an update/upgrade to ensure everything else on the box was up to date. Then I re-installed nginx via sudo apt install -y nginx
. I can only guess as to the cause, but I'd imagine some sort of post-install script ran into an issue and error'd out. This left the nginx package unconfigured which prevented everything from working properly. A full remove and re-install sorted it out for me. So something about upgrading an existing install is maybe broken in the post-install script.
@endoze Thank you, this procedure works for me.
Frequently asked questions
Describe the bug Post-installation script of nginx throws the following errors:
To Reproduce
Your understanding of what is happening The post-installation script in not working well.
Expected behavior Installation of nginx and php with all dependencies should work without an error
Distribution (please complete the following information):
Package(s) (please complete the following information):