package mysql-server-5.6 5.6.28-0ubuntu0.14.04.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1

Bug #1542666 reported by Shawe Ewahs
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-5.6 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Seems that is not possible update/upgrade this package:

$ sudo apt-get -f install
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
  libjs-sphinxdoc linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
  linux-image-3.19.0-25-generic linux-image-extra-3.19.0-25-generic
  linux-signed-image-3.19.0-25-generic
Use 'apt-get autoremove' to remove them.
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
1 no instalados del todo o eliminados.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
Configurando mysql-server-5.6 (5.6.28-0ubuntu0.14.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error al procesar el paquete mysql-server-5.6 (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
 mysql-server-5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo apt-get upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Calculando la actualización... Listo
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
  libjs-sphinxdoc linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
  linux-image-3.19.0-25-generic linux-image-extra-3.19.0-25-generic
  linux-signed-image-3.19.0-25-generic
Use 'apt-get autoremove' to remove them.
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
1 no instalados del todo o eliminados.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n] s
Configurando mysql-server-5.6 (5.6.28-0ubuntu0.14.04.1) ...
2016-02-06 17:22:12 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-02-06 17:22:12 0 [Note] /usr/sbin/mysqld (mysqld 5.6.28-0ubuntu0.14.04.1) starting as process 24827 ...
2016-02-06 17:22:12 24827 [Note] Plugin 'FEDERATED' is disabled.
2016-02-06 17:22:12 24827 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-02-06 17:22:12 24827 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-06 17:22:12 24827 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-06 17:22:12 24827 [Note] InnoDB: Memory barrier is not used
2016-02-06 17:22:12 24827 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-06 17:22:12 24827 [Note] InnoDB: Using Linux native AIO
2016-02-06 17:22:12 24827 [Note] InnoDB: Using CPU crc32 instructions
2016-02-06 17:22:12 24827 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-02-06 17:22:12 24827 [Note] InnoDB: Completed initialization of buffer pool
2016-02-06 17:22:12 24827 [Note] InnoDB: Highest supported file format is Barracuda.
2016-02-06 17:22:12 24827 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-06 17:22:12 24827 [Note] InnoDB: Waiting for purge to start
2016-02-06 17:22:12 24827 [Note] InnoDB: 5.6.28 started; log sequence number 2207083
2016-02-06 17:22:12 24827 [Note] Binlog end
2016-02-06 17:22:12 24827 [Note] InnoDB: FTS optimize thread exiting.
2016-02-06 17:22:12 24827 [Note] InnoDB: Starting shutdown...
2016-02-06 17:22:14 24827 [Note] InnoDB: Shutdown completed; log sequence number 2207093
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error al procesar el paquete mysql-server-5.6 (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo apt-get dist-upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Calculando la actualización... Listo
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
  libjs-sphinxdoc linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
  linux-image-3.19.0-25-generic linux-image-extra-3.19.0-25-generic
  linux-signed-image-3.19.0-25-generic
Use 'apt-get autoremove' to remove them.
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
1 no instalados del todo o eliminados.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n] s
Configurando mysql-server-5.6 (5.6.28-0ubuntu0.14.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error al procesar el paquete mysql-server-5.6 (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
 mysql-server-5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: mysql-server-5.6 5.6.28-0ubuntu0.14.04.1
ProcVersionSignature: Ubuntu 3.19.0-47.53~14.04.1-generic 3.19.8-ckt10
Uname: Linux 3.19.0-47-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Sat Feb 6 17:19:34 2016
DuplicateSignature: package:mysql-server-5.6:5.6.28-0ubuntu0.14.04.1:el subproceso instalado el script post-installation devolvió el código de salida de error 1
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2016-01-26 (10 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.5
 apt 1.0.1ubuntu2.11
SourcePackage: mysql-5.6
Title: package mysql-server-5.6 5.6.28-0ubuntu0.14.04.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Shawe Ewahs (shawe-ewahs) wrote :
Revision history for this message
Shawe Ewahs (shawe-ewahs) wrote :
Download full text (3.2 KiB)

Seems to not work also:

$ sudo dpkg -i /var/cache/apt/archives/mysql-server-5.6_5.6.28-0ubuntu0.14.04.1_amd64.deb
(Leyendo la base de datos ... 276499 ficheros o directorios instalados actualmente.)
Preparing to unpack .../mysql-server-5.6_5.6.28-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-5.6 (5.6.28-0ubuntu0.14.04.1) over (5.6.28-0ubuntu0.14.04.1) ...
Configurando mysql-server-5.6 (5.6.28-0ubuntu0.14.04.1) ...
2016-02-06 17:25:44 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-02-06 17:25:44 0 [Note] /usr/sbin/mysqld (mysqld 5.6.28-0ubuntu0.14.04.1) starting as process 25671 ...
2016-02-06 17:25:44 25671 [Note] Plugin 'FEDERATED' is disabled.
2016-02-06 17:25:44 25671 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-02-06 17:25:44 25671 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-06 17:25:44 25671 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-06 17:25:44 25671 [Note] InnoDB: Memory barrier is not used
2016-02-06 17:25:44 25671 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-06 17:25:44 25671 [Note] InnoDB: Using Linux native AIO
2016-02-06 17:25:44 25671 [Note] InnoDB: Using CPU crc32 instructions
2016-02-06 17:25:44 25671 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-02-06 17:25:44 25671 [Note] InnoDB: Completed initialization of buffer pool
2016-02-06 17:25:44 25671 [Note] InnoDB: Highest supported file format is Barracuda.
2016-02-06 17:25:44 25671 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-06 17:25:44 25671 [Note] InnoDB: Waiting for purge to start
2016-02-06 17:25:45 25671 [Note] InnoDB: 5.6.28 started; log sequence number 2207153
2016-02-06 17:25:45 25671 [Note] Binlog end
2016-02-06 17:25:45 25671 [Note] InnoDB: FTS optimize thread exiting.
2016-02-06 17:25:45 25671 [Note] InnoDB: Starting shutdown...
2016-02-06 17:25:46 25671 [Note] InnoDB: Shutdown completed; log sequence number 2207163
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error al procesar el paquete mysql-server-5.6 (--install):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Se encontraron errores al procesar:
 mysql-server-5.6

$ sudo dpkg -i --force-all /var/cache/apt/archives/mysql-server-5.6_5.6.28-0ubuntu0.14.04.1_amd64.deb
(Leyendo la base de datos ... 276499 ficheros o directorios instalados actualmente.)
Preparing to unpack .../mysql-server-5.6_5.6.28-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-5.6 (5.6.28-0ubuntu0.14.04.1) over (5.6.28-0ubuntu0.14.04.1) ...
Configurando mysql-server-5.6 (5.6.28-0ubuntu0.14.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error al procesar el paquete mysql-server-5.6 (--install):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100...

Read more...

tags: removed: need-duplicate-check
Revision history for this message
Shawe Ewahs (shawe-ewahs) wrote :

Solved with:

sudo rm -rf /var/lib/dpkg/info/mysql-server-5*
sudo apt-get install mysql-server-5.6

I think that is not a clean way, but seems to work.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mysql-5.6 (Ubuntu):
status: New → Confirmed
Joshua Powers (powersj)
Changed in mysql-5.6 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.