Ruby pulls apache, through a long list of dependencies.
Disable the service, so upgrade process doesn't try to start it.
Ruby pulls apache, through a long list of dependencies.
Disable the service, so upgrade process doesn't try to start it.
Apache is still installed during new server provisioning,
$ systemctl status apache2 ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2021-08-25 21:18:03 UTC; 2h 24min ago Docs: https://httpd.apache.org/docs/2.4/ CPU: 60ms Aug 25 21:18:03 eglide.org systemd[1]: Starting The Apache HTTP Server... Aug 25 21:18:03 eglide.org apachectl[58641]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 Aug 25 21:18:03 eglide.org apachectl[58641]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 Aug 25 21:18:03 eglide.org apachectl[58641]: no listening sockets available, shutting down Aug 25 21:18:03 eglide.org apachectl[58641]: AH00015: Unable to open logs Aug 25 21:18:03 eglide.org apachectl[58638]: Action 'start' failed. Aug 25 21:18:03 eglide.org apachectl[58638]: The Apache error log may have more information. Aug 25 21:18:03 eglide.org systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE Aug 25 21:18:03 eglide.org systemd[1]: apache2.service: Failed with result 'exit-code'. Aug 25 21:18:03 eglide.org systemd[1]: Failed to start The Apache HTTP Server.
apache2, apache2-data, apache2-utils can be deleted without any issue and impact on other packages.