I'm also interested by a fix for noble, since it also fails when
installing manually the package :
Preparing to unpack .../nginx-common_1.24.0-2ubuntu7.1_all.deb ...
Unpacking nginx-common (1.24.0-2ubuntu7.1) ...
Selecting previously unselected package nginx.
Preparing to unpack .../nginx_1.24.0-2ubuntu7.1_amd64.deb ...
Unpacking nginx (1.24.0-2ubuntu7.1) ...
Setting up nginx (1.24.0-2ubuntu7.1) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for
details.
invoke-rc.d: initscript nginx, action "start" failed.
× nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; preset:
enabled)
Active: failed (Result: exit-code) since Tue 2025-02-11 10:05:17 CET; 11ms
ago
Docs: man:nginx(8)
Process: 155932 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on;
master_process on; (code=exited, status=1/FAILURE)
CPU: 3ms
Feb 11 10:05:17 ugexesos02 systemd[1]: Starting nginx.service - A high
performance web server and a reverse proxy server...
Feb 11 10:05:17 ugexesos02 nginx[155932]: 2025/02/11 10:05:17 [emerg]
155932#155932: open() "/etc/nginx/nginx.conf" failed (2: No such file or
directory)
Feb 11 10:05:17 ugexesos02 nginx[155932]: nginx: configuration file
/etc/nginx/nginx.conf test failed
Feb 11 10:05:17 ugexesos02 systemd[1]: nginx.service: Control process exited,
code=exited, status=1/FAILURE
Feb 11 10:05:17 ugexesos02 systemd[1]: nginx.service: Failed with result
'exit-code'.
Feb 11 10:05:17 ugexesos02 systemd[1]: Failed to start nginx.service - A high
performance web server and a reverse proxy server.
dpkg: error processing package nginx (--configure):
installed nginx package post-installation script subprocess returned error
exit status 1
dpkg: dependency problems prevent configuration of nginx-common:
nginx-common depends on nginx (<< 1.24.0-2ubuntu7.1.1~); however:
Package nginx is not configured yet.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081308
Title:
Resolve circular dependency loop between nginx and nginx-common
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2081308/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs