Wednesday, July 26, 2017

apt - Apache2 installation failed on Ubuntu 12.04


Hi i am trying to install Apache2 server on my Ubuntu 12.04, but when i enter this command


sudo apt-get install apache2

i am getting this error -


Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed.

This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:


 apache2 : Depends: apache2-bin (= 2.4.12-1+deb.sury.org~precise+5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

How do i fix this problem??



Run this command:


sudo apt-get update
sudo apt-get install --reinstall apache2 apache2-bin

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...