Thanks but the purging and installing the mysql-server-5.1 did not help. My databases were not dropped. I tried dropping one of them after I login to mysql, then the server was gone as the error recurred.
I would be glad to send my databases to you guys to help find the bug and help others in future as I intend to uninstall Ubuntu and reinstall everything all over again. I am not a geek so how do I copy and send you the databases as I am sure mysqldump would not work. I use phpMyAdmin to manage mysql server but it is unable to connect once the server "has gone away", -- package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/617678 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