package mysql-server-8.0 8.0.20-0ubuntu0.20.04.1 failed to install/upgrade: 已安装 mysql-server-8.0 软件包 post-installation 脚本 子进程返回错误状态 2

Bug #1887511 reported by Evan Tonkovski
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Expired
Undecided
Unassigned
Focal
Expired
Undecided
Unassigned

Bug Description

sudo apt remove mysql-server
sudo apt install mysql-server

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.20-0ubuntu0.20.04.1
ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
Uname: Linux 5.4.0-40-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Jul 14 19:02:09 2020
ErrorMessage: 已安装 mysql-server-8.0 软件包 post-installation 脚本 子进程返回错误状态 2
InstallationDate: Installed on 2020-07-12 (1 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
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
MySQLVarLibDirListing: ['ca.pem', 'public_key.pem', 'ibtmp1', 'binlog.000001', 'server-key.pem', 'ib_buffer_pool', 'ib_logfile1', 'binlog.index', 'binlog.000002', 'ibdata1', '#ib_16384_1.dblwr', 'undo_002', 'sys', 'binlog.000003', 'ib_logfile0', 'performance_schema', 'auto.cnf', 'undo_001', 'server-cert.pem', 'client-key.pem', 'client-cert.pem', 'private_key.pem', 'debian-5.7.flag', 'ca-key.pem', '#ib_16384_0.dblwr', 'mysql.ibd', 'mysql', '#innodb_temp', 't0nkov-ThinkPad-X1-Extreme-2nd.pid']
ProcCmdline: BOOT_IMAGE=/vmlinuz-5.4.0-40-generic root=UUID=ff1ee71e-0486-414d-af78-8c1b53b634a5 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.20-0ubuntu0.20.04.1 failed to install/upgrade: 已安装 mysql-server-8.0 软件包 post-installation 脚本 子进程返回错误状态 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Evan Tonkovski (t0nkov) wrote :
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Thank you for taking the time to file a bug report.

Despite the following error:

2020-07-14T11:03:57.070457Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create lock file /var/run/mysqld/mysqlx.sock.lock'

I was not able to find any other error. But, judging by it... looks like you possibly have a local configuration issue. Would you be able to provide a clean step-by-step reproducer for this error ?

Since there is not enough information in your report to begin triage or to
differentiate between a local configuration problem and a bug in Ubuntu, I
am marking this bug as "Incomplete". We would be grateful if you would:
provide a more complete description of the problem, explain why you
believe this is a bug in Ubuntu rather than a problem specific to your
system, and then change the bug status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

Changed in mysql-8.0 (Ubuntu):
status: New → Incomplete
Changed in mysql-8.0 (Ubuntu Focal):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-8.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-8.0 (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-8.0 (Ubuntu Focal) because there has been no activity for 60 days.]

Changed in mysql-8.0 (Ubuntu Focal):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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