From 847c48ffd86aaa3f68cced3f327a896207d93bcb Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Mon, 27 Nov 2017 21:57:56 +0100 Subject: [PATCH] avoid issues with upgrading mariadb --- nextcloud_update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 2530c8d0..10a9e4f4 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -32,8 +32,10 @@ is_process_running dpkg is_process_running apt # System Upgrade +sudo apt-mark hold mariadb* apt update -q4 & spinner_loading export DEBIAN_FRONTEND=noninteractive ; apt dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" +sudo apt-mark unhold mariadb* # Update Redis PHP extention if type pecl > /dev/null 2>&1