package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Ubuntu 9.10 alpha,
Attached is the output generated by the crash handler, aptitude safe-upgrade, mysql generated this report.
Il
ProblemType: Package
Architecture: amd64
Date: Wed Sep 9 09:49:59 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
NonfreeKernelMo
Package: mysql-server-5.1 5.1.37-1ubuntu4
ProcVersionSign
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-9-generic x86_64
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that you're using a non-standard location for your data directory (datadir option in my.cnf). However mysqld apparmor profile (in /etc/apparmor. d/usr.sbin. mysqld) hasn't been updated to allow access to the custom directory.
See https:/ /wiki.ubuntu. com/DebuggingAp parmor# Debugging% 20procedure for more information on how to update mysqld apparmor profile.