mysql não será instalado no Ubuntu

1

eu tentei instalar o apache no Ubuntu, e trabalhei,

eu tentei instalar o php5 no Ubuntu, e isso funcionou também.

mas se im instalado mysql, ele não será instalado, eu não sabia o que está acontecendo, eu sou novo no Ubuntu

aqui está o meu código de terminal

 sudo apt-get -f install mysql-server libapache2-mod-auth-mysql php5-mysql

e depois de enviar esse código, parece que:

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:
 libapache2-mod-auth-mysql : Depends: libmysqlclient18 (>= 5.5.13-1) but it is not going to be installed
 mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
 perl : Depends: perl-modules (>= 5.14.2-6ubuntu2.4) but 5.14.2-6ubuntu2.3 is to be installed
 php5-mysql : Depends: libmysqlclient18 (>= 5.5.13-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

como corrigir esse problema? muito obrigado

    
por Delta7 19.05.2014 / 08:39

1 resposta

0

Em situações como esta, você precisa colocar os pacotes "não serão instalados" na lista principal de instalação.

Use o seguinte comando:

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql libmysqlclient18 mysql-server-5.5 perl-modules 
    
por user224082 19.05.2014 / 08:47