Problemas com a atualização do MySQL

1

Em um pouco de confusão aqui. Eu tentei sem sucesso atualizar meu MySQL de 5.5 para 5.7. Eu estou executando uma rotação Mint 17.2. O apt-get falhou devido a um erro de rede e nenhuma das rotinas habituais de "correção" funcionou. Eu tenho tentado me livrar de tudo manualmente usando dpkg e achei que fiz isso.

Rodando

sudo apt-get install mysql-server

Eu obtenho

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:
 mysql-server : Depends: mysql-community-server (= 5.7.17-1ubuntu16.04) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Então, ter um looksee

apt-mark showhold

não recebo nada.

Pensar aptitude pode resolver:

addinall@Fermi /etc/apt/sources.list.d $ sudo aptitude install mysql-server
The following NEW packages will be installed:
  mysql-client{a} mysql-community-client{ab} mysql-community-server{ab} mysql-server 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not to upgrade.
Need to get 32.1 MB of archives. After unpacking 237 MB will be used.
The following packages have unmet dependencies:
 mysql-community-server : Depends: libmecab2 (>= 0.996-1.2ubuntu1) but it is not going to be installed.
                          Depends:    Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not to upgrade.
Need to get 0 B of archives. After unpacking 0 B will be used.

Selecionando n :

Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Install the following packages:                                                    
1)     libdbd-mysql-perl [4.025-1ubuntu0.1 (trusty-security, trusty-updates)]           
2)     libdbi-perl [1.630-1 (trusty)]                                                   
3)     libmysqlclient18 [5.5.54-0ubuntu0.14.04.1 (now, trusty-security, trusty-updates)]
4)     mysql-client [5.5.54-0ubuntu0.14.04.1 (trusty-security, trusty-updates)]         
5)     mysql-client-5.5 [5.5.54-0ubuntu0.14.04.1 (trusty-security, trusty-updates)]     
6)     mysql-client-core-5.5 [5.5.54-0ubuntu0.14.04.1 (trusty-security, trusty-updates)]

     Keep the following packages at their current version:                              
7)     mysql-community-client [Not Installed]                                           
8)     mysql-community-server [Not Installed]                                           
9)     mysql-server [Not Installed]                                                     



Accept this solution? [Y/n/q/?]  libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is installed.
                          Depends: init-system-helpers (>= 1.18~) but 1.14ubuntu1 is installed.
 mysql-community-client : Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is installed.
                          Depends: libtinfo5 (>= 6) but 5.9+20140118-1ubuntu1 is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     mysql-client [Not Installed]                       
2)     mysql-community-client [Not Installed]             
3)     mysql-community-server [Not Installed]             
4)     mysql-server [Not Installed]                       



Accept this solution? [Y/n/q/?] 

Selecionando y dá:

Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not to upgrade.
Need to get 0 B of archives. After unpacking 0 B will be used.
Selecting n

Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Install the following packages:                                                    
1)     libdbd-mysql-perl [4.025-1ubuntu0.1 (trusty-security, trusty-updates)]           
2)     libdbi-perl [1.630-1 (trusty)]                                                   
3)     libmysqlclient18 [5.5.54-0ubuntu0.14.04.1 (now, trusty-security, trusty-updates)]
4)     mysql-client [5.5.54-0ubuntu0.14.04.1 (trusty-security, trusty-updates)]         
5)     mysql-client-5.5 [5.5.54-0ubuntu0.14.04.1 (trusty-security, trusty-updates)]     
6)     mysql-client-core-5.5 [5.5.54-0ubuntu0.14.04.1 (trusty-security, trusty-updates)]

     Keep the following packages at their current version:                              
7)     mysql-community-client [Not Installed]                                           
8)     mysql-community-server [Not Installed]                                           
9)     mysql-server [Not Installed]                                                     



Accept this solution? [Y/n/q/?] 

Ele quer instalar o 5.5 novamente.

O conteúdo de mysql.list :

THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/ubuntu/ xenial mysql-apt-config
deb http://repo.mysql.com/apt/ubuntu/ xenial mysql-5.7
deb http://repo.mysql.com/apt/ubuntu/ xenial mysql-tools
#deb http://repo.mysql.com/apt/ubuntu/ xenial mysql-tools-preview
deb-src http://repo.mysql.com/apt/ubuntu/ xenial mysql-5.7

Alguma idéia?

    
por Addinall 30.01.2017 / 00:08

0 respostas