mariadb install causes mysql install to fail with ibdata1 locked

Bug #1973308 reported by Paolo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

...

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.29-0ubuntu0.22.04.2
ProcVersionSignature: Ubuntu 5.15.0-30.31-generic 5.15.30
Uname: Linux 5.15.0-30-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri May 13 06:46:39 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-05 (8 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: ['private_key.pem', 'snap', 'binlog.000009', 'binlog.000007', 'server-key.pem', 'ca.pem', 'server-cert.pem', 'undo_001', 'binlog.000010', 'binlog.000001', 'binlog.000012', '.config', 'sys', 'debian-5.7.flag', 'binlog.000005', '#ib_16384_0.dblwr', 'ca-key.pem', 'ib_logfile0', 'binlog.000015', '#ib_16384_1.dblwr', 'ib_buffer_pool', '.local', 'binlog.000004', 'dell.pid', 'binlog.000006', 'binlog.000011', 'binlog.000002', 'client-key.pem', 'ib_logfile1', 'ibtmp1', 'ibdata1', 'binlog.000008', 'public_key.pem', '.cache', 'binlog.000014', 'binlog.000013', 'performance_schema', 'client-cert.pem', 'auto.cnf', 'nepyru', 'mysql.ibd', 'binlog.000003', 'binlog.index', 'mysql', 'undo_002', 'dell.err', '#innodb_temp']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-30-generic root=UUID=14a8284c-c28a-4615-8842-6ee83b9b0348 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
 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
Paolo (ppalella) wrote :
Revision history for this message
Lena Voytek (lvoytek) wrote :

Hello,

From your logs, I see you installed mariadb then removed mysql then tried to reinstall it again.
Unfortunately mariadb and mysql are incompatible with each other. If you would like to install mysql make sure to remove and purge mariadb from your system. I'm marking this bug as invalid as it is a configuration error. If you feel this is incorrect please let us know.

Thanks!

Changed in mysql-8.0 (Ubuntu):
status: New → Invalid
summary: - 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
+ mariadb install causes mysql install to fail with ibdata1 locked
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.