Praveen Mandadi
Praveen Mandadi

Reputation: 381

Unable to install apache2 in Ubuntu 14.04

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

Answers (2)

Krishna Prasad
Krishna Prasad

Reputation: 150

You can completely remove using

sudo apt-get remove apache2*

and then install using

sudo apt-get install apache2

Upvotes: 1

itsrajon
itsrajon

Reputation: 383

find the previous package getting in the way. Remove it completely. Then try

sudo aptitude install

Upvotes: 1

Related Questions