I ran the following SQL-statement under the MySQL-root user:

UPDATE mysql.user SET Password=PASSWORD([The password found in
/etc/mysql/debian.cnf]) WHERE User="debian-sys-maint";

And after I flushed the privileges, the update of 5.1 was successful.

-- 
package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess 
new pre-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/509736
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

Reply via email to