Public bug reported:
Modified the file
vi /etc/apparmor.d/tunables/alias
# Or if mysql databases are stored in /home:
alias /var/lib/mysql/ to an exist folder
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.21-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.13.0-32.35~16.04.1-generic 4.13.13
Uname: Linux 4.13.0-32-generic i686
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: i386
Date: Sat Feb 10 18:51:28 2018
ErrorMessage: subprocess installed post-installation script returned error exit
status 1
InstallationDate: Installed on 2018-02-07 (2 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release i386 (20170801)
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.mysql.conf.d.mysqld_safe_syslog.cnf:
[mysqld_safe]
syslog
MySQLVarLibDirListing: ['debian-5.7.flag']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.13.0-32-generic
root=UUID=df742cda-13e9-424e-8bc6-2232223413b9 ro quiet splash vt.handoff=7
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.3
apt 1.2.24
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.21-0ubuntu0.16.04.1 failed to
install/upgrade: subprocess installed post-installation script returned error
exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: mysql-5.7 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apparmor apport-package i386 xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748654
Title:
package mysql-server-5.7 5.7.21-0ubuntu0.16.04.1 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 1 - nonstandard location
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1748654/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs