Bug #82198 | Installation of Mysql-server-5.7 on Ubuntu 16.04, very resistant | ||
---|---|---|---|
Submitted: | 12 Jul 2016 11:03 | Modified: | 13 Jul 2016 8:50 |
Reporter: | Oscar de la Rosa | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S1 (Critical) |
Version: | 5.7 | OS: | Ubuntu (16.04) |
Assigned to: | CPU Architecture: | Any | |
Tags: | configure-symlinks, mysql-server-5.7 |
[12 Jul 2016 11:03]
Oscar de la Rosa
[12 Jul 2016 11:36]
Lars Tangvald
Hi, Could you try running ls /usr/share/mysql-common and see what the output is? Also, can you try running apt-get install mysql-common first (the file should be in that package), and then install the server package.
[12 Jul 2016 12:39]
Oscar de la Rosa
jmq@pandora:~$ ls /usr/share/mysql-common internal-use-only jmq@pandora:~$
[12 Jul 2016 12:41]
Oscar de la Rosa
jmq@pandora:~$ apt-get install mysql-common Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho mysql-common ya está en su versión más reciente (10.1.14+maria-1~xenial). 0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados. jmq@pandora:~$
[12 Jul 2016 12:43]
MySQL Verification Team
Thank you for the bug report. miguel@miguel:~/Downloads$ sudo dpkg -i mysql-apt-config_0.7.3-1_all.deb Selecting previously unselected package mysql-apt-config. (Reading database ... 172519 files and directories currently installed.) Preparing to unpack mysql-apt-config_0.7.3-1_all.deb ... Unpacking mysql-apt-config (0.7.3-1) ... Setting up mysql-apt-config (0.7.3-1) ... OK miguel@miguel:~/Downloads$ sudo apt-get update Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Get:2 http://repo.mysql.com/apt/ubuntu xenial InRelease [11,9 kB] Get:3 http://repo.mysql.com/apt/ubuntu xenial/mysql-5.7 Sources [889 B] Get:4 http://repo.mysql.com/apt/ubuntu xenial/mysql-apt-config amd64 Packages [560 B] Get:5 http://repo.mysql.com/apt/ubuntu xenial/mysql-apt-config i386 Packages [560 B] Get:6 http://repo.mysql.com/apt/ubuntu xenial/mysql-5.7 amd64 Packages [2.721 B] Get:7 http://repo.mysql.com/apt/ubuntu xenial/mysql-5.7 i386 Packages [2.711 B] Get:8 http://repo.mysql.com/apt/ubuntu xenial/mysql-tools amd64 Packages [921 B] Hit:9 http://br.archive.ubuntu.com/ubuntu xenial InRelease Hit:10 http://br.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:11 http://br.archive.ubuntu.com/ubuntu xenial-backports InRelease Fetched 20,3 kB in 5s (3.803 B/s) Reading package lists... Done miguel@miguel:~/Downloads$ sudo apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libpango1.0-0 libpangox-1.0-0 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libaio1 libmecab2 mysql-client mysql-common mysql-community-client mysql-community-server The following NEW packages will be installed: libaio1 libmecab2 mysql-client mysql-common mysql-community-client mysql-community-server mysql-server 0 upgraded, 7 newly installed, 0 to remove and 3 not upgraded. Need to get 28,6 MB of archives. After this operation, 216 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 libaio1 amd64 0.3.110-2 [6.356 B] Get:2 http://br.archive.ubuntu.com/ubuntu xenial/universe amd64 libmecab2 amd64 0.996-1.2ubuntu1 [264 kB] Get:3 http://repo.mysql.com/apt/ubuntu xenial/mysql-5.7 amd64 mysql-common amd64 5.7.13-1ubuntu16.04 [264 kB] Get:4 http://repo.mysql.com/apt/ubuntu xenial/mysql-5.7 amd64 mysql-community-client amd64 5.7.13-1ubuntu16.04 [7.712 kB] Get:5 http://repo.mysql.com/apt/ubuntu xenial/mysql-5.7 amd64 mysql-client amd64 5.7.13-1ubuntu16.04 [12,8 kB] Get:6 http://repo.mysql.com/apt/ubuntu xenial/mysql-5.7 amd64 mysql-community-server amd64 5.7.13-1ubuntu16.04 [20,3 MB] Get:7 http://repo.mysql.com/apt/ubuntu xenial/mysql-5.7 amd64 mysql-server amd64 5.7.13-1ubuntu16.04 [12,8 kB] Fetched 28,6 MB in 4s (6.618 kB/s) Preconfiguring packages ... Selecting previously unselected package mysql-common. (Reading database ... 172524 files and directories currently installed.) Preparing to unpack .../mysql-common_5.7.13-1ubuntu16.04_amd64.deb ... Unpacking mysql-common (5.7.13-1ubuntu16.04) ... Selecting previously unselected package libaio1:amd64. Preparing to unpack .../libaio1_0.3.110-2_amd64.deb ... Unpacking libaio1:amd64 (0.3.110-2) ... Selecting previously unselected package mysql-community-client. Preparing to unpack .../mysql-community-client_5.7.13-1ubuntu16.04_amd64.deb ... Unpacking mysql-community-client (5.7.13-1ubuntu16.04) ... Selecting previously unselected package mysql-client. Preparing to unpack .../mysql-client_5.7.13-1ubuntu16.04_amd64.deb ... Unpacking mysql-client (5.7.13-1ubuntu16.04) ... Selecting previously unselected package libmecab2. Preparing to unpack .../libmecab2_0.996-1.2ubuntu1_amd64.deb ... Unpacking libmecab2 (0.996-1.2ubuntu1) ... Selecting previously unselected package mysql-community-server. Preparing to unpack .../mysql-community-server_5.7.13-1ubuntu16.04_amd64.deb ... Unpacking mysql-community-server (5.7.13-1ubuntu16.04) ... Selecting previously unselected package mysql-server. Preparing to unpack .../mysql-server_5.7.13-1ubuntu16.04_amd64.deb ... Unpacking mysql-server (5.7.13-1ubuntu16.04) ... Processing triggers for libc-bin (2.23-0ubuntu3) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for systemd (229-4ubuntu6) ... Processing triggers for ureadahead (0.100.0-19) ... Setting up mysql-common (5.7.13-1ubuntu16.04) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up libaio1:amd64 (0.3.110-2) ... Setting up mysql-community-client (5.7.13-1ubuntu16.04) ... Setting up mysql-client (5.7.13-1ubuntu16.04) ... Setting up libmecab2 (0.996-1.2ubuntu1) ... Setting up mysql-community-server (5.7.13-1ubuntu16.04) ... update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up mysql-server (5.7.13-1ubuntu16.04) ... Processing triggers for libc-bin (2.23-0ubuntu3) ... Processing triggers for systemd (229-4ubuntu6) ... Processing triggers for ureadahead (0.100.0-19) ... miguel@miguel:~/Downloads$ cat /etc/issue Ubuntu 16.04 LTS \n \l miguel@miguel:~/Downloads$ mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.7.13 MySQL Community Server (GPL) Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>
[12 Jul 2016 12:48]
Oscar de la Rosa
Thanks Lars
[12 Jul 2016 15:01]
Lars Tangvald
Did you get it working?
[13 Jul 2016 6:58]
Oscar de la Rosa
Thanks Miguel. I'll try again. jmq@pandora:~$ sudo apt-get install mysql-server Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho Se instalarán los siguientes paquetes adicionales: libmecab2 mysql-community-server Se instalarán los siguientes paquetes NUEVOS: libmecab2 mysql-community-server mysql-server 0 actualizados, 3 nuevos se instalarán, 0 para eliminar y 5 no actualizados. Se necesita descargar 0 B/20.6 MB de archivos. Se utilizarán 152 MB de espacio de disco adicional después de esta operación. ¿Desea continuar? [S/n] s Preconfigurando paquetes ... Seleccionando el paquete libmecab2 previamente no seleccionado. (Leyendo la base de datos ... 619739 ficheros o directorios instalados actualmente.) Preparando para desempaquetar .../libmecab2_0.996-1.2ubuntu1_amd64.deb ... Desempaquetando libmecab2 (0.996-1.2ubuntu1) ... Seleccionando el paquete mysql-community-server previamente no seleccionado. Preparando para desempaquetar .../mysql-community-server_5.7.13-1ubuntu16.04_amd64.deb ... Desempaquetando mysql-community-server (5.7.13-1ubuntu16.04) ... Seleccionando el paquete mysql-server previamente no seleccionado. Preparando para desempaquetar .../mysql-server_5.7.13-1ubuntu16.04_amd64.deb ... Desempaquetando mysql-server (5.7.13-1ubuntu16.04) ... Procesando disparadores para libc-bin (2.23-0ubuntu3) ... Procesando disparadores para systemd (229-4ubuntu6) ... Procesando disparadores para ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Procesando disparadores para man-db (2.7.5-1) ... Configurando libmecab2 (0.996-1.2ubuntu1) ... Configurando mysql-community-server (5.7.13-1ubuntu16.04) ... update-alternatives: utilizando /etc/mysql/mysql.cnf para proveer /etc/mysql/my.cnf (my.cnf) en modo automático update-alternatives: atención: no se sustituirá /etc/mysql/my.cnf por un enlace Job for mysql.service failed because a timeout was exceeded. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. dpkg: error al procesar el paquete mysql-community-server (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 1 dpkg: problemas de dependencias impiden la configuración de mysql-server: mysql-server depende de mysql-community-server (= 5.7.13-1ubuntu16.04); sin embargo: El paquete `mysql-community-server' no está configurado todavía. dpkg: error al procesar el paquete mysql-server (--configure): problemas de dependencias - se deja sin configurar Procesando disparadores para libc-bin (2.23-0ubuntu3) ... No se escribió un informe «apport» porque el mensaje de error indica que es un mensaje de error asociado a un fallo previo. Se encontraron errores al procesar: mysql-community-server mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) jmq@pandora:~$
[13 Jul 2016 7:22]
Oscar de la Rosa
I think the problem is at this point: Miguel: update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode My log: update-alternatives: utilizando /etc/mysql/mysql.cnf para proveer /etc/mysql/my.cnf (my.cnf) en modo automático update-alternatives: atención: no se sustituirá /etc/mysql/my.cnf por un enlace
[13 Jul 2016 8:04]
Oscar de la Rosa
jmq@pandora:~/Descargas$ sudo dpkg -i mysql-apt-config_0.7.3-1_all.deb Seleccionando el paquete mysql-apt-config previamente no seleccionado. (Leyendo la base de datos ... 617937 ficheros o directorios instalados actualmente.) Preparando para desempaquetar mysql-apt-config_0.7.3-1_all.deb ... Desempaquetando mysql-apt-config (0.7.3-1) ... Configurando mysql-apt-config (0.7.3-1) ... Configuración de mysql-apt-config --------------------------------- MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive. Once you are satisfied with the configuration then select last option 'Apply' to save the configuration. Advanced users can always change the configurations later, depending on their own needs. 1. MySQL Server (Currently selected: mysql-5.7) 2. MySQL Tools & Connectors (Currently selected: Enabled) 3. MySQL Preview Packages (Currently selected: Disabled) 4. Ok Which MySQL product do you wish to configure? 1
[13 Jul 2016 8:05]
Oscar de la Rosa
jmq@pandora:~/Descargas$ sudo dpkg -i mysql-apt-config_0.7.3-1_all.deb Seleccionando el paquete mysql-apt-config previamente no seleccionado. (Leyendo la base de datos ... 617937 ficheros o directorios instalados actualmente.) Preparando para desempaquetar mysql-apt-config_0.7.3-1_all.deb ... Desempaquetando mysql-apt-config (0.7.3-1) ... Configurando mysql-apt-config (0.7.3-1) ... Configuración de mysql-apt-config --------------------------------- MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive. Once you are satisfied with the configuration then select last option 'Apply' to save the configuration. Advanced users can always change the configurations later, depending on their own needs. 1. MySQL Server (Currently selected: mysql-5.7) 2. MySQL Tools & Connectors (Currently selected: Enabled) 3. MySQL Preview Packages (Currently selected: Disabled) 4. Ok Which MySQL product do you wish to configure? 1 This configuration program has determined that no MySQL Server is installed on your system, and has highlighted the most appropriate repository package. If you are not sure which version to install, do not change the auto-selected version. Advanced users can always change the version as needed later. 1. mysql-5.6 2. mysql-5.7 3. None Which server version do you wish to receive? 2
[13 Jul 2016 8:09]
Oscar de la Rosa
jmq@pandora:~/Descargas$ sudo dpkg -i mysql-apt-config_0.7.3-1_all.deb Seleccionando el paquete mysql-apt-config previamente no seleccionado. (Leyendo la base de datos ... 617937 ficheros o directorios instalados actualmente.) Preparando para desempaquetar mysql-apt-config_0.7.3-1_all.deb ... Desempaquetando mysql-apt-config (0.7.3-1) ... Configurando mysql-apt-config (0.7.3-1) ... Configuración de mysql-apt-config --------------------------------- MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive. Once you are satisfied with the configuration then select last option 'Apply' to save the configuration. Advanced users can always change the configurations later, depending on their own needs. 1. MySQL Server (Currently selected: mysql-5.7) 2. MySQL Tools & Connectors (Currently selected: Enabled) 3. MySQL Preview Packages (Currently selected: Disabled) 4. Ok Which MySQL product do you wish to configure? 1 This configuration program has determined that no MySQL Server is installed on your system, and has highlighted the most appropriate repository package. If you are not sure which version to install, do not change the auto-selected version. Advanced users can always change the version as needed later. 1. mysql-5.6 2. mysql-5.7 3. None Which server version do you wish to receive? 2 MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive. Once you are satisfied with the configuration then select last option 'Apply' to save the configuration. Advanced users can always change the configurations later, depending on their own needs. 1. MySQL Server (Currently selected: mysql-5.7) 2. MySQL Tools & Connectors (Currently selected: Enabled) 3. MySQL Preview Packages (Currently selected: Disabled) 4. Ok Which MySQL product do you wish to configure? 4
[13 Jul 2016 8:11]
Oscar de la Rosa
jmq@pandora:~/Descargas$ sudo dpkg -i mysql-apt-config_0.7.3-1_all.deb Seleccionando el paquete mysql-apt-config previamente no seleccionado. (Leyendo la base de datos ... 617937 ficheros o directorios instalados actualmente.) Preparando para desempaquetar mysql-apt-config_0.7.3-1_all.deb ... Desempaquetando mysql-apt-config (0.7.3-1) ... Configurando mysql-apt-config (0.7.3-1) ... Configuración de mysql-apt-config --------------------------------- MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive. Once you are satisfied with the configuration then select last option 'Apply' to save the configuration. Advanced users can always change the configurations later, depending on their own needs. 1. MySQL Server (Currently selected: mysql-5.7) 2. MySQL Tools & Connectors (Currently selected: Enabled) 3. MySQL Preview Packages (Currently selected: Disabled) 4. Ok Which MySQL product do you wish to configure? 1 This configuration program has determined that no MySQL Server is installed on your system, and has highlighted the most appropriate repository package. If you are not sure which version to install, do not change the auto-selected version. Advanced users can always change the version as needed later. 1. mysql-5.6 2. mysql-5.7 3. None Which server version do you wish to receive? 2 MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive. Once you are satisfied with the configuration then select last option 'Apply' to save the configuration. Advanced users can always change the configurations later, depending on their own needs. 1. MySQL Server (Currently selected: mysql-5.7) 2. MySQL Tools & Connectors (Currently selected: Enabled) 3. MySQL Preview Packages (Currently selected: Disabled) 4. Ok Which MySQL product do you wish to configure? 4 OK jmq@pandora:~/Descargas$
[13 Jul 2016 8:15]
Oscar de la Rosa
jmq@pandora:~/Descargas$ sudo apt-get update Des:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Ign:2 http://archive.ubuntu.com/ubuntu trusty InRelease Obj:3 http://ppa.launchpad.net/ondrej/mysql-5.7/ubuntu xenial InRelease Obj:4 http://archive.ubuntu.com/ubuntu trusty Release Obj:5 http://repo.mysql.com/apt/ubuntu xenial InRelease Des:7 http://tedeco.fi.upm.es/mirror/mariadb/repo/10.1/ubuntu xenial InRelease [3,874 B] Obj:8 http://archive.canonical.com xenial InRelease Obj:9 http://es.archive.ubuntu.com/ubuntu xenial InRelease Des:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [200 B] Des:11 http://es.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB] Obj:12 http://es.archive.ubuntu.com/ubuntu xenial-backports InRelease Des:13 http://es.archive.ubuntu.com/ubuntu xenial-updates/main Sources [94.6 kB] Des:14 http://es.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [62.3 kB] Des:15 http://es.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [256 kB] Des:16 http://es.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [252 kB] Des:17 http://es.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [101 kB] Des:18 http://es.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [169 kB] Des:19 http://es.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [166 kB] Des:20 http://es.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [80.9 kB] Ign:21 http://mirror.stshosting.co.uk/mariadb/repo/10.0/ubuntu trusty InRelease Ign:22 http://mirror.stshosting.co.uk/mariadb/repo/10.0/ubuntu trusty Release Obj:23 http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu trusty InRelease
[13 Jul 2016 8:40]
Oscar de la Rosa
log sudo apt-get update
Attachment: log_sudo_apt-get_update (application/octet-stream, text), 14.28 KiB.
[13 Jul 2016 8:50]
Oscar de la Rosa
It's ok!!!!! Thank you very much Miguel!!!