[Bug 522185] Re: package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
I don't know if I had the same bug as the message I had when I updated was that dpkg couldn't stop mysql. I tried "sudo /etc/init.d/mysql stop" but it failed. Then I did "sudo killall mysqld" which worked, I re-launched "sudo /etc/init.d/mysql stop" : it worked. Then "apt-get upgrade" did his work fineā¦ Mysql seems to work fine now. -- package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/522185 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
[Bug 585067] Re: package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
I think the problem is the same as https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/522185 I had the same and I fixed it with : sudo killall mysqld sudo /etc/init.d/mysql stop sudo apt-get upgrade -- package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/585067 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
[Bug 522185] Re: package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New => Incomplete -- package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/522185 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
[Bug 522185] Re: package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
When you try to upgrade, do you have an error message like that : "Setting up mysql-server-5.1 (5.1.37-1ubuntu5.1) ... * Stopping MySQL database server mysqld ...done. * Starting MySQL database server mysqld ...fail! invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.1 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.1; however: Package mysql-server-5.1 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Setting up apache2.2-bin (2.2.12-1ubuntu2.2) ... No apport report written because the error message indicates its a followup error from a previous failure. Setting up apache2-utils (2.2.12-1ubuntu2.2) ... Setting up apache2.2-common (2.2.12-1ubuntu2.2) ... Setting up apache2-mpm-prefork (2.2.12-1ubuntu2.2) ... * Starting web server apache2 ...done. Setting up apache2 (2.2.12-1ubuntu2.2) ... Setting up dpkg-dev (1.15.4ubuntu2.1) ... Errors were encountered while processing: mysql-server-5.1 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)" Do you really need mysql on this computer (to know if it is possible to test to remove and reinstall mysql package) ? You should save your databases before removing mysql) -- package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/522185 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
[Bug 522185] Re: package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
What error do tou have when you launch "sudo apt-get update && sudo apt- get dist-upgrade" ? -- package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/522185 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
[Bug 522185] Re: package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: Invalid => New -- package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/522185 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
[Bug 522185] Re: package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Can you send the result of "sudo /etc/init.d/mysql start" ? You should maybe open a new bug and close this one as the problem doesn't seem to be exactly the same : mine was that mysql was not able to stop, yours is that mysql cannot start. ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New => Invalid ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: Invalid => New -- package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/522185 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