Package: nginx-common Version: 1.18.0-6ubuntu14.2
This is for ubuntu 22.04. The default site file contains : listen 80 default_server; listen [::]:80 default_server; This is an error and causes the entire nginx install to fail. Commenting out one of listen lines corrects the issue.