I'm trying to install it bur I keep getting this error:
`● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-10-21 22:50:35 CEST; 52ms ago
Docs: man:nginx(8)
Process: 22469 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 22470 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Oct 21 22:50:33 raspberrypi nginx[22470]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Oct 21 22:50:33 raspberrypi nginx[22470]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 21 22:50:34 raspberrypi nginx[22470]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Oct 21 22:50:34 raspberrypi nginx[22470]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 21 22:50:34 raspberrypi nginx[22470]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Oct 21 22:50:34 raspberrypi nginx[22470]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 21 22:50:35 raspberrypi nginx[22470]: nginx: [emerg] still could not bind()
Oct 21 22:50:35 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Oct 21 22:50:35 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 21 22:50:35 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
installed nginx-full package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-full (<< 1.14.2-2+deb10u4.1~) | nginx-light (<< 1.14.2-2+deb10u4.1~) | nginx-extras (<< 1.14.2-2+deb10u4.1~); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-full (>= 1.14.2-2+deb10u4) | nginx-light (>= 1.14.2-2+deb10u4) | nginx-extras (>= 1.14.2-2+deb10u4); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
`
How can I fix this?
I'm trying to install it bur I keep getting this error: `● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-10-21 22:50:35 CEST; 52ms ago Docs: man:nginx(8) Process: 22469 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 22470 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Oct 21 22:50:33 raspberrypi nginx[22470]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Oct 21 22:50:33 raspberrypi nginx[22470]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Oct 21 22:50:34 raspberrypi nginx[22470]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Oct 21 22:50:34 raspberrypi nginx[22470]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Oct 21 22:50:34 raspberrypi nginx[22470]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Oct 21 22:50:34 raspberrypi nginx[22470]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Oct 21 22:50:35 raspberrypi nginx[22470]: nginx: [emerg] still could not bind() Oct 21 22:50:35 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Oct 21 22:50:35 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 21 22:50:35 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server. dpkg: error processing package nginx-full (--configure): installed nginx-full package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of nginx: nginx depends on nginx-full (<< 1.14.2-2+deb10u4.1~) | nginx-light (<< 1.14.2-2+deb10u4.1~) | nginx-extras (<< 1.14.2-2+deb10u4.1~); however: Package nginx-full is not configured yet. Package nginx-light is not installed. Package nginx-extras is not installed. nginx depends on nginx-full (>= 1.14.2-2+deb10u4) | nginx-light (>= 1.14.2-2+deb10u4) | nginx-extras (>= 1.14.2-2+deb10u4); however: Package nginx-full is not configured yet. Package nginx-light is not installed. Package nginx-extras is not installed. ` How can I fix this?