okay, try running sudo apt-get remove apache2
If that doesn’t solve the issue, run dpkg -l | grep apache2 and remove each remaining component
okay, try running sudo apt-get remove apache2
If that doesn’t solve the issue, run dpkg -l | grep apache2 and remove each remaining component