Home Installing apache2 on ubuntu 16.04
Reply: 0

Installing apache2 on ubuntu 16.04

Ramsk
1#
Ramsk Published in 2017-12-07 12:34:57Z

I do uninstalled and removed apache2 cleanly by following steps:

  1. $ sudo service apache2 stop
  2. $ sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
  3. $ sudo apt-get autoremove
  4. $ whereis apache2
  5. $ sudo rm -rf /etc/apache2

then I tried back to install apache2


$ sudo apt-get install apache2

but response was like below

Package apache2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'apache2' has no installation candidate


even I was not able to update any packages,can anyone help me to get out of this. I will be thankful for you!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.372131 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO