[Bug 444349] Re: package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Radek Krahl informatyka at klimat.eu
Wed Dec 30 07:47:26 GMT 2009


Try to add 'user=mysql' in [mysqld] section of /etc/mysql/my.cnf before
doing 'apt-get install mysql-server'.

It worked for me. My problem was mysqld creating log files
(/var/lib/mysql/[hostname]-bin.[number]) for innodb tables owned by root
during the installation/upgrade. When started normally as mysql, mysqld
didn't have permission to read/write these files. It looks like package
installation script starts mysqld as root at first, and then as mysql.

-- 
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/444349
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list