package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 failed to install/upgrade: el subproceso instalado paquete mysql-server-8.0 script post-installation devolvió el código de salida de error 1

Bug #1981770 reported by RogelioGarcía Díaz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

 el subproceso instalado paquete mysql-server-8.0 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-server-8.0; sin embargo:
 El paquete `mysql-server-8.0' no está configurado todavía.

dpkg: error al procesar el paquete mysql-server (--configure):
 problemas de dependencias - se deja sin configurar
Procesando disparadores para man-db (2.10.2-1) ...
No se escribió un informe «apport» porque el mensaje de error indica que es un mensaje de error asociado a un fallo previo.
                                           Procesando disparadores para libc-bin (2.35-0ubuntu3) ...
Se encontraron errores al procesar:
 mysql-server-8.0
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.29-0ubuntu0.22.04.2
ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39
Uname: Linux 5.15.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Jul 14 18:26:37 2022
ErrorMessage: el subproceso instalado paquete mysql-server-8.0 script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2022-05-31 (44 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLConf.etc.mysql.my.cnf: Error: [Errno 40] Demasiados niveles de enlaces simbólicos: '/etc/mysql/my.cnf'
MySQLVarLibDirListing: ['binlog.index', 'mysql', 'performance_schema', 'server-cert.pem', 'binlog.000002', 'mysql.ibd', '#innodb_temp', 'undo_002', '#ib_16384_1.dblwr', 'ca.pem', '#ib_16384_0.dblwr', 'undo_001', 'ib_logfile1', 'client-cert.pem', 'ca-key.pem', 'server-key.pem', 'ibdata1', 'sys', 'public_key.pem', 'ib_logfile0', 'debian-5.7.flag', 'auto.cnf', 'client-key.pem', 'private_key.pem', 'ib_buffer_pool', 'binlog.000001']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-41-generic root=UUID=511f55bc-d1a1-483a-8428-950e5a86d1a9 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.5
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 failed to install/upgrade: el subproceso instalado paquete mysql-server-8.0 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
RogelioGarcía Díaz (rgdgarcia) wrote :
Revision history for this message
Lena Voytek (lvoytek) wrote :

Hello,

From your logs, I see:

2022-07-14T23:26:34.599189Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Address already in use
2022-07-14T23:26:34.599238Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 3306 ?

This matches up with LP: #1921378 which will be released to 22.04 soon. In the meantime you can try and install mysql again with the following commands:

sudo apt purge mysql*
sudo apt install mysql-server

Thanks!

Revision history for this message
RogelioGarcía Díaz (rgdgarcia) wrote : Re: [Bug 1981770] Re: package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 failed to install/upgrade: el subproceso instalado paquete mysql-server-8.0 script post-installation devolvió el código de salida de error 1
Download full text (4.4 KiB)

This matches up with LP: #1921378 which will be released to 22.04 soon.
In the meantime you can try and install mysql again with the following
commands:

sudo apt purge mysql*
sudo apt install mysql-server

It doesn´t works, but thanks anyway.

El vie, 15 jul 2022 a la(s) 09:45, Lena Voytek (<email address hidden>)
escribió:

> *** This bug is a duplicate of bug 1921378 ***
> https://bugs.launchpad.net/bugs/1921378
>
> Hello,
>
> From your logs, I see:
>
> 2022-07-14T23:26:34.599189Z 0 [ERROR] [MY-010262] [Server] Can't start
> server: Bind on TCP/IP port: Address already in use
> 2022-07-14T23:26:34.599238Z 0 [ERROR] [MY-010257] [Server] Do you already
> have another mysqld server running on port: 3306 ?
>
> This matches up with LP: #1921378 which will be released to 22.04 soon.
> In the meantime you can try and install mysql again with the following
> commands:
>
> sudo apt purge mysql*
> sudo apt install mysql-server
>
> Thanks!
>
>
> ** This bug has been marked a duplicate of bug 1921378
> mysql server crashes with port 3306 already in use
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1981770
>
> Title:
> package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 failed to
> install/upgrade: el subproceso instalado paquete mysql-server-8.0
> script post-installation devolvió el código de salida de error 1
>
> Status in mysql-8.0 package in Ubuntu:
> New
>
> Bug description:
> el subproceso instalado paquete mysql-server-8.0 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-server-8.0; sin embargo:
> El paquete `mysql-server-8.0' no está configurado todavía.
>
> dpkg: error al procesar el paquete mysql-server (--configure):
> problemas de dependencias - se deja sin configurar
> Procesando disparadores para man-db (2.10.2-1) ...
> No se escribió un informe «apport» porque el mensaje de error indica que
> es un mensaje de error asociado a un fallo previo.
> Procesando disparadores para
> libc-bin (2.35-0ubuntu3) ...
> Se encontraron errores al procesar:
> mysql-server-8.0
> mysql-server
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> ProblemType: Package
> DistroRelease: Ubuntu 22.04
> Package: mysql-server-8.0 8.0.29-0ubuntu0.22.04.2
> ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39
> Uname: Linux 5.15.0-41-generic x86_64
> ApportVersion: 2.20.11-0ubuntu82.1
> Architecture: amd64
> CasperMD5CheckResult: pass
> Date: Thu Jul 14 18:26:37 2022
> ErrorMessage: el subproceso instalado paquete mysql-server-8.0 script
> post-installation devolvió el código de salida de error 1
> InstallationDate: Installed on 2022-05-31 (44 days ago)
> InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64
> (20220419)
> Logs.var.log.daemon.log:
>
> MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
> MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
> [mysqldump]
> quick
> quote-names
> max_allowed_packet = 16M...

Read more...

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.