I found what was not correct :

my /etc/apparmor.d/usr.sbin.mysqld was not correctly set up with the
location I use for mysql (/home/mysql)

Tow lines:

/var/lib/mysql/ r,
/var/lib/mysql/** rwk,

should be replaced by:

/home/mysql/ r,
/home/mysql/** rwk,

It is well described in 
http://case.oncle-tom.net/2008/05/04/modifier-emplacement-donnees-serveur-mysql/

Thanks.
Maybe it can help others.

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: le sous-processus post-installation script a retourn? une 
erreur de sortie d'?tat 1
https://bugs.launchpad.net/bugs/383087
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to