package mysql-server-5.7 5.7.30-0ubuntu0.18.04.1 failed to install/upgrade: instalado mysql-server-5.7 paquete post-installation guión el subproceso devolvió un error con estado de salida 127

Bug #1887293 reported by Horst Salzwedel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Ubuntu 18.04

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.30-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-109.110-generic 4.15.18
Uname: Linux 4.15.0-109-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.15
AptOrdering:
 mysql-common:amd64: Install
 mysql-client-5.7:amd64: Install
 mysql-common:amd64: Configure
 mysql-server-5.7:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Sun Jul 12 11:00:45 2020
ErrorMessage: instalado mysql-server-5.7 paquete post-installation guión el subproceso devolvió un error con estado de salida 127
InstallationDate: Installed on 2020-01-10 (183 days ago)
InstallationMedia: Ubuntu 16.04.6 LTS "Xenial Xerus" - Release amd64 (20190227)
Logs.var.log.daemon.log:

Logs.var.log.mysql.error.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.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: []
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-109-generic root=UUID=ffd07f62-f1b6-4838-97f9-2730e236e520 ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.6, Python 3.6.9, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.3
 apt 1.6.12ubuntu0.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.30-0ubuntu0.18.04.1 failed to install/upgrade: instalado mysql-server-5.7 paquete post-installation guión el subproceso devolvió un error con estado de salida 127
UpgradeStatus: Upgraded to bionic on 2020-01-11 (183 days ago)

Revision history for this message
Horst Salzwedel (horst-salzwedel) wrote :
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

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

Checking the logs I noticed the mysqld failed to start:

ERROR: Unable to start MySQL server:
/var/lib/dpkg/info/mysql-server-5.7.postinst: línea 102: mysqld: orden no encontrada
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.

As you can see this might be an upgrade issue, so please take a look at that wiki page. Moreover, I saw some attempts to run mysql from a nextcloud snap:

[ 12.712907] audit: type=1400 audit(1594569471.624:107): apparmor="DENIED" operation="capable" profile="snap.nextcloud.mysql" pid=2856 comm="mysqld" capability=24 capname="sys_resource"

This might be also related to your issue.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, 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-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in mysql-5.7 (Ubuntu):
status: Incomplete → Expired
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.