This is my output on trying to upgrade to 5.1 after uninstalling 5.0: sudo apt-get install mysql-server-5.1 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: bsd-mailx libmysqlclient16 mailx mysql-client-5.1 postfix Suggested packages: tinyca procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb The following packages will be REMOVED: mysql-client-5.0 mysql-server-5.0 mysql-server-core-5.0 The following NEW packages will be installed: bsd-mailx libmysqlclient16 mailx mysql-client-5.1 mysql-server-5.1 postfix 0 upgraded, 6 newly installed, 3 to remove and 6 not upgraded. 1 not fully installed or removed. Need to get 22.4MB of archives. After this operation, 54.4MB disk space will be freed. Do you want to continue [Y/n]? Y Get:1 http://us.archive.ubuntu.com jaunty/universe libmysqlclient16 5.1.31-1ubuntu2 [1892kB] Get:2 http://us.archive.ubuntu.com jaunty/universe mysql-client-5.1 5.1.31-1ubuntu2 [8628kB] Get:3 http://us.archive.ubuntu.com jaunty/universe mysql-server-5.1 5.1.31-1ubuntu2 [10.5MB] Get:4 http://us.archive.ubuntu.com jaunty/main postfix 2.5.5-1.1 [1219kB] Get:5 http://us.archive.ubuntu.com jaunty/main bsd-mailx 8.1.2-0.20081101cvs-2ubuntu1 [160kB] Get:6 http://us.archive.ubuntu.com jaunty/main mailx 1:20081101-2ubuntu1 [8516B] Fetched 22.4MB in 2min 24s (155kB/s) Preconfiguring packages ... (Reading database ... 138411 files and directories currently installed.) Removing mysql-server-5.0 ... * Stopping MySQL database server mysqld [ OK ] Removing mysql-client-5.0 ... Removing mysql-server-core-5.0 ... Processing triggers for man-db ... Selecting previously deselected package libmysqlclient16. (Reading database ... 135980 files and directories currently installed.) Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.31-1ubuntu2_i386.deb) ... Selecting previously deselected package mysql-client-5.1. Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.31-1ubuntu2_i386.deb) ... Selecting previously deselected package mysql-server-5.1. Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.31-1ubuntu2_i386.deb) ... Selecting previously deselected package postfix. Unpacking postfix (from .../postfix_2.5.5-1.1_i386.deb) ... Selecting previously deselected package bsd-mailx. Unpacking bsd-mailx (from .../bsd-mailx_8.1.2-0.20081101cvs-2ubuntu1_i386.deb) ... Selecting previously deselected package mailx. Unpacking mailx (from .../mailx_1%3a20081101-2ubuntu1_all.deb) ... Processing triggers for man-db ... Processing triggers for ufw ... Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Setting up libmysqlclient16 (5.1.31-1ubuntu2) ...
Setting up mysql-client-5.1 (5.1.31-1ubuntu2) ... Setting up mysql-server-5.1 (5.1.31-1ubuntu2) ... Installing new version of config file /etc/init.d/mysql ... * Stopping MySQL database server mysqld [ OK ] * Starting MySQL database server mysqld [fail] invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.1 (--configure): subprocess post-installation script returned error exit status 1 Setting up postfix (2.5.5-1.1) ... Adding group `postfix' (GID 128) ... Done. Adding system user `postfix' (UID 116) ... Adding new user `postfix' (UID 116) with group `postfix' ... Not creating home directory `/var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding tcp map entry to /etc/postfix/dynamicmaps.cf Adding group `postdrop' (GID 129) ... Done. /etc/aliases does not exist, creating it. Postfix was not set up. Start with cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf . If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. Setting up bsd-mailx (8.1.2-0.20081101cvs-2ubuntu1) ... Setting up mailx (1:20081101-2ubuntu1) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place Errors were encountered while processing: mysql-server-5.1 E: Sub-process /usr/bin/dpkg returned an error code (1) I do not see a line of "skip-dbd" in my.cnf to comment out. My MySQL is now dead. -- package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/382649 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