Reputation: 381
I'm facing the below errors when installing apache2 on my ubuntu 14.04 LTS
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4.18) but 2.4.10-1ubuntu1.1~ubuntu14.
04.2 is to be installed
Depends: apache2-data (= 2.4.7-1ubuntu4.18) but 2.4.10-1ubuntu1.1~ubuntu14.04.2 is
to be installed
Upvotes: 0
Views: 255
Reputation: 150
You can completely remove using
sudo apt-get remove apache2*
and then install using
sudo apt-get install apache2
Upvotes: 1
Reputation: 383
find the previous package getting in the way. Remove it completely. Then try
sudo aptitude install
Upvotes: 1