Não é possível instalar o mysql-client-core * no ubuntu 14.04?

0

Eu tentei instalar o mysql-client-core * via apt-get no ubuntu 14; mas foi falha.

O seguinte é meu sistema operacional:

xxx@ubuntu:~/pvz2/pvz2server/dockerfiles$ uname -a
Linux ubuntu 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

instalando informações:

xxx@ubuntu:~/pvz2/pvz2server/dockerfiles$  sudo apt-get install -y mysql-client-core*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'mysql-client-core-5.1' for regex 'mysql-client-core*'
Note, selecting 'mysql-client-core-5.5' for regex 'mysql-client-core*'
Note, selecting 'mysql-client-core-5.6' for regex 'mysql-client-core*'
Note, selecting 'virtual-mysql-client-core' for regex 'mysql-client-core*'
mysql-client-core-5.5 is already the newest version.
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:
 mysql-client-core-5.6 : Breaks: mysql-client-core-5.5 but 5.5.54-0ubuntu0.14.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Se eu usar: apt-get install mysql-client-core-5.6 ou mysql-client-core-5.5, pode instalar com sucesso, mas não conectar o servidor mysql.

mysql -h127.0.0.1 -uxxx -pxxx

ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)

Espero instalar o mysql-client-core-5.6 do que o mysql-client-core-5.5.

Quem pode me ajudar?

    
por shaun 31.03.2017 / 09:28

1 resposta

0

Sugiro executar sudo apt-get clean && sudo apt-get autoclean && sudo apt-get autoremove && sudo apt-get update para limpar os pacotes antigos que estão no seu sistema e atualizar as fontes. Então instale o programa.

    
por Schyken 31.03.2017 / 09:30