Hello turrailes, thank you for taking the time to file this bug report and help us make Ubuntu better!
The error messages indicating the failures in stopping mysqld seem somewhat inconsistent and confusing. The first one, while trying to upgrade from 5.1.41-3ubuntu12.3 to 5.1.41-3ubuntu12.6 is here: S'està preparant per a reemplaçar mysql-server-5.1 5.1.41-3ubuntu12.3 (fent servir .../mysql-server-5.1_5.1.41-3ubuntu12.6_i386.deb) ... ^X^^Vv stop: Job has already been stopped: mysql invoke-rc.d: initscript mysql, action "stop" failed. invoke-rc.d returned 1 There is a MySQL server running, but we failed in our attempts to stop it. Stop it yourself and try again! dpkg: s'ha produït un error en processar /var/cache/apt/archives/mysql-server-5.1_5.1.41-3ubuntu12.6_i386.deb (--unpack): el subprocés seqüència pre-installation nova retornà el codi d'eixida d'error 1 I think this may happen because of an unfortunate race condition in /lib/init/upstart-job that checks status, and if it has a pid, tries to stop it, but it may die (for some other reason, such a it was already in a stopping state) between this check. So, in this way, it should be possible to repeat the upgrade attempt and have it not fail every time. S'està preparant per a reemplaçar mysql-server-5.1 5.1.41-3ubuntu12.3 (fent servir .../mysql-server-5.1_5.1.41-3ubuntu12.3_i386.deb) ... Terminated invoke-rc.d: initscript mysql, action "stop" failed. invoke-rc.d returned 143 There is a MySQL server running, but we failed in our attempts to stop it. Stop it yourself and try again! dpkg: s'ha produït un error en processar /var/cache/apt/archives/mysql-server-5.1_5.1.41-3ubuntu12.3_i386.deb (--unpack): el subprocés seqüència pre-installation nova retornà el codi d'eixida d'error 1 This actually supports the same theory, as I believe the 'kill timeout 300' was not present in 5.1.41-3ubuntu12.3, so upstart would kill mysqld after 5 seconds.. which would explain the 'Terminated' error. Can you try stopping mysql before doing your install/upgrades? stop mysql should do it. Please report back on the results of trying that, as I think this is probably reproducible if mysqld takes a long time to stop. Marking Incomplete pending response from turrailes. ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New => Incomplete -- package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: el subprocés seqüència pre-installation nova retornà el codi d'eixida d'error 1 https://bugs.launchpad.net/bugs/677181 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs