I solved the problem by giving permission to read and write in the /var/lib/ mysql to mysql user (chown-R mysql.mysql /var/lib/mysql), I suggested that this be implemented in the package, unfortunately no.
-- package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: sub-processo post-installation script retornou estado de sa?da de erro 1 https://bugs.launchpad.net/bugs/354585 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 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