From 5d45b0a7ad695a66c522bcd039fddfffdf2cca46 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Thu, 7 Nov 2013 10:45:30 +0100 Subject: [PATCH] Remove libc6-dev to enable mysql upgrade. --- src/functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/functions.sh b/src/functions.sh index 76e1eff..d783133 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -888,6 +888,11 @@ upgrade_amavis () { # handle mysql 5.0 to 5.1 upgrade upgrade_mysql () { + # libc6-dev prevents mysql upgrade + if pkg libc6-dev; then + pkgrm libc6-dev + fi + if pkg mysql-server || pkg mysql-server-5.1; then pkgadd mysql-server dpkg -P mysql-server-5.1 -- 1.7.10.4