I am trying to install and run apache2, but after
apt-get purge apache2;apt-get install apache2 (as root), I am still missing the file
I am running Backtrack 5 RC 2, which is a Ubuntu devirate.
How can I fix that?
closed as off topic by Rinzwind, fossfreedom♦ May 22 '12 at 18:14
Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Given that you are purging, presumably you had it installed at some point and things went wrong. The /usr/sbin/apache2 binary isn't provided by the apache2 package, but by one of its dependencies:
If your binary is missing, but the package still installed, you can use the above command to figure out which package provides the binary and re-install.