package mysql-server-5.7 5.7.21-0ubuntu0.17.10.1 failed to install/upgrade: subprocess instaliran post-installation skripta returned error exit status 1

Bug #1749098 reported by Krešo Kunjas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

on a clean install (no /etc/mysql folder, no /var/lib/mysql folder), installer complains that folder /etc/mysql/conf.d doesn't exist?

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: mysql-server-5.7 5.7.21-0ubuntu0.17.10.1
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.7
AptOrdering:
 mysql-server-core-5.7:amd64: Install
 mysql-server-5.7:amd64: Install
 mysql-server:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Mon Feb 12 13:48:54 2018
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-precise-amd64-20130203-1
ErrorMessage: subprocess instaliran post-installation skripta returned error exit status 1
InstallationDate: Installed on 2014-03-20 (1425 days ago)
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130203-13:50
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['mysql', 'ibtmp1', 'sys', 'intech_db', 'auto.cnf', 'performance_schema', 'ib_logfile1', 'debian-5.7.flag', 'ib_buffer_pool', 'ib_logfile0', 'ibdata1']
ProcCmdline: BOOT_IMAGE=/vmlinuz-4.13.0-32-generic root=/dev/mapper/ubuntu--vg-root ro memory_corruption_check_size=256K quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt 1.5.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.21-0ubuntu0.17.10.1 failed to install/upgrade: subprocess instaliran post-installation skripta returned error exit status 1
UpgradeStatus: Upgraded to artful on 2017-10-03 (132 days ago)

Revision history for this message
Krešo Kunjas (deresh) wrote :
Revision history for this message
Joshua Powers (powersj) wrote :

Thanks for taking the time to file a bug and even read through your error messages :)

Looking at your dpkg history log, it shows you purging mysql-server right before installing. I tried this same ordering and did not come across this issue:

https://paste.ubuntu.com/p/C6dW4f9TRW/

I believe we have seen this before, but without steps to reproduce it is difficult to know how to work further on this bug.

Changed in mysql-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Krešo Kunjas (deresh) wrote :

@powersj

I also deleted /etc/mysql folder, as this folder shouldn't exists before installing mysql. Maybe that's the problem...

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.