Even sudo-apt-get remove mysql-server-5.1 did not work: kay...@ubuntu:~$ sudo apt-get purge mysql-server-5.1 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: mysql-server-5.1* 0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded. After this operation, 15.0MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 175042 files and directories currently installed.) Removing mysql-server-5.1 ... mysql stop/waiting Purging configuration files for mysql-server-5.1 ... Processing triggers for man-db ... Processing triggers for ureadahead ... kay...@ubuntu:~$ mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) kay...@ubuntu:~$ sudo apt-get install mysql-server-5.1 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic Use 'apt-get autoremove' to remove them. Suggested packages: tinyca The following NEW packages will be installed: mysql-server-5.1 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 0B/7,008kB of archives. After this operation, 15.0MB of additional disk space will be used. Preconfiguring packages ... Selecting previously deselected package mysql-server-5.1. (Reading database ... 174965 files and directories currently installed.) Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.41-3ubuntu12.6_i386.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Setting up mysql-server-5.1 (5.1.41-3ubuntu12.6) ... mysql start/running, process 11500
Processing triggers for libc-bin ... ldconfig deferred processing now taking place kay...@ubuntu:~$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.1.41-3ubuntu12.6 (Ubuntu) Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show databases; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 1 Current database: *** NONE *** +---------------------------+ | Database | +---------------------------+ | information_schema | | cssc_central_4_0 | | ihris_manage | | ihris_manage_demo | | manage_northern_ghana_4_0 | | manage_togo_4_0 | | manage_togo_4_0_dev | | mysql | | qualify_NMCN_4_0 | | qualify_demo | +---------------------------+ 10 rows in set (0.36 sec) mysql> exit Bye kay...@ubuntu:~$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.1.41-3ubuntu12.6 (Ubuntu) Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show databases; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 1 Current database: *** NONE *** +---------------------------+ | Database | +---------------------------+ | information_schema | | cssc_central_4_0 | | ihris_manage | | ihris_manage_demo | | manage_northern_ghana_4_0 | | manage_togo_4_0 | | manage_togo_4_0_dev | | mysql | | qualify_NMCN_4_0 | | qualify_demo | +---------------------------+ 10 rows in set (0.00 sec) mysql> exit Bye kay...@ubuntu:~$ sudo apt-get remove mysql-server-5.1 [sudo] password for kayodu: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: mysql-server-5.1 0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded. After this operation, 15.0MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 175042 files and directories currently installed.) Removing mysql-server-5.1 ... mysql stop/waiting Processing triggers for man-db ... Processing triggers for ureadahead ... kay...@ubuntu:~$ mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) kay...@ubuntu:~$ sudo apt-get install mysql-server-5.1 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic Use 'apt-get autoremove' to remove them. Suggested packages: tinyca The following NEW packages will be installed: mysql-server-5.1 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 0B/7,008kB of archives. After this operation, 15.0MB of additional disk space will be used. Preconfiguring packages ... Selecting previously deselected package mysql-server-5.1. (Reading database ... 174975 files and directories currently installed.) Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.41-3ubuntu12.6_i386.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Setting up mysql-server-5.1 (5.1.41-3ubuntu12.6) ... mysql start/running, process 1929 Processing triggers for libc-bin ... ldconfig deferred processing now taking place kay...@ubuntu:~$ mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) kay...@ubuntu:~$ mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) kay...@ubuntu:~$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.1.41-3ubuntu12.6 (Ubuntu) Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show databases; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 1 Current database: *** NONE *** +---------------------------+ | Database | +---------------------------+ | information_schema | | cssc_central_4_0 | | ihris_manage | | ihris_manage_demo | | manage_northern_ghana_4_0 | | manage_togo_4_0 | | manage_togo_4_0_dev | | mysql | | qualify_NMCN_4_0 | | qualify_demo | +---------------------------+ 10 rows in set (0.00 sec) mysql> exit Bye kay...@ubuntu:~$ -- 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 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