web-dev-qa-db-fra.com

Erreur "apt-get install Apache2"

J'essaie d'installer Apache2 sur mon Linux Kubuntu en utilisant Sudo apt-get install Apache2 et le message suivant s'affiche:

dagger@HP:~$ Sudo apt-get install Apache2
       Reading package lists... Done
       Building dependency tree
       Reading state information... Done
       You might want to run 'apt-get -f install' to correct these:
       The following packages have unmet dependencies:
       Apache2 : Depends: Apache2-bin (= 2.4.18-2ubuntu3.1) but it is  
       not going to be installed
       Depends: Apache2-utils (>= 2.4)
       Depends: Apache2-data (= 2.4.18-2ubuntu3.1) but it is not going      
       to be installed
       google-chrome-stable : Depends: libappindicator1 but it is not 
       going to be installed
       E: Unmet dependencies. Try 'apt-get -f install' with no                 
       packages (or specify a solution).
       dagger@HP:~$ ^C 
4
VOLK 14

Ouvrez le terminal et tapez:

Sudo apt update 
Sudo apt-get dist-upgrade
Sudo apt install -f Apache2
3
karel

Comme le message d'erreur l'indique, essayez:

Sudo apt-get install -f

Si cela réussit alors:

Sudo apt-get update

Ensuite:

Sudo apt-get install Apache2
3
Arronical