My installation of apache2 is incomplete, and after a lot of googling, purging, and reinstalling I am still in the same place. During installation my console prints
Setting up apache2 (2.4.7-1ubuntu4.1) … Enabling module mpm_event. cp: cannot stat ‘/usr/share/apache2/default-site/index.html’: No such file or directory dpkg: error processing package apache2 (–configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for ureadahead (0.100.0-16) … Processing triggers for ufw (0.34~rc-0ubuntu2) … Errors were encountered while processing: apache2 E: Sub-process /usr/bin/dpkg returned an error code (1) imperialsoup@imperialsoup:~$
Not sure where to go from here, as I’ve already uninstalled and reinstalled apache 2 quite a few times at this point. Any help with this would be deeply appreciated, I’d like to get this install over with so I can continue with the tutorial. Thanks in advance, -M
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!