[debian-mysql] Bug#682232: mysql-server-5.5: Fails to upgrade squeeze -> wheezy, does not start

Moritz Schüpp moritz at schuepp.net
Thu Dec 19 19:29:09 UTC 2013


I also encountered that problem and couldn't find the issue in the
pre-/postinst or any other script so i did an ugly workaround to
complete the update. At your terminal enter:

[root at host] sleep 0.1 && chown mysql:mysql /var/lib/mysql/* -R; &
[root at host] aptitude safe-upgrade
The following partially installed packages will be configured:
  mysql-server mysql-server-5.5
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up mysql-server-5.5 (5.5.33+dfsg-0+wheezy1) ...
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Starting MySQL database server: mysqld . . . ..
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
Setting up mysql-server (5.5.33+dfsg-0+wheezy1) ...
[root at host] fg

And then enter "CTRL-C" to stop chowning.



More information about the pkg-mysql-maint mailing list