1

I want to know how to delete every file installed by a package using either aptitude or apt-get and then re-download and re-install that package completely again.

I've tried doing aptitude reinstall apache2 apache2-doc after running aptitude purge apache2 apache2-doc but that doesnt work.

What I did was I deleted my /etc/apache2 directory thinking I could just reinstall it (I was having PHP integration issues) but now whenever I try to install it I get the error "invoke-rc.d initscript apache, action "reload" failed."

Any advice will be helpful.

  • 1
    Everything is explained here. – Buddyshot Aug 14 '14 at 23:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.