package mysql-server-5.7 5.7.33-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1916644 reported by Scott
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

This bug occurred while running do-release-upgrade to upgrade trusty to xenial as root on an aws ec2 instance.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.33-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 3.13.0-170.220-generic 3.13.11-ckt39
Uname: Linux 3.13.0-170-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.30
Architecture: amd64
Date: Tue Feb 23 18:53:05 2021
Ec2AMI: ami-064218cbdf53b7325
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-west-2c
Ec2InstanceType: t2.micro
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
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: ['ibdata1', 'modus', 'ib_logfile1', 'mysql_upgrade_info', 'performance_schema', 'wiki', 'ordering', 'ib_logfile0', 'debian-5.5.flag', 'mysql']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.13.0-170-generic root=UUID=c70a26ec-1dda-455c-acfd-792015b2bb6f ro console=tty1 console=ttyS0
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.6
 apt 1.2.32ubuntu0.2
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.33-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2021-02-23 (0 days ago)

Revision history for this message
Scott (stovepipe) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Scott (stovepipe) wrote :

mysql-5.7 installed successfully after removing the following line from /etc/mysql/my.cnf

myisam_recover = BACKUP

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks for taking the time to write a report. As you noticed, this was caused by a local configuration issue. As such, I am marking this bug as Invalid. Feel free to reopen it and provide more information if you think it is a real bug.

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