Abra o terminal e digite:
sudo apt update
sudo apt-get dist-upgrade
sudo apt install -f apache2
Estou tentando instalar o apache2 no meu Kubuntu Linux usando %código% e isso me mostra esta mensagem:
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
Abra o terminal e digite:
sudo apt update
sudo apt-get dist-upgrade
sudo apt install -f apache2
Como os estados da mensagem de erro, tente:
sudo apt-get install -f
Idf é bem sucedido então:
sudo apt-get update
Então:
sudo apt-get install apache2