From: Valentin Vidic Date: Thu, 7 Nov 2013 09:45:30 +0000 (+0100) Subject: Remove libc6-dev to enable mysql upgrade. X-Git-Tag: debian/7.0.7~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=5d45b0a7ad695a66c522bcd039fddfffdf2cca46;p=carnet-upgrade.git Remove libc6-dev to enable mysql upgrade. --- 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