diff options
author | Daniel Hansson <github@techandme.se> | 2018-04-06 14:33:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-06 14:33:26 +0300 |
commit | 5864dabf27528a2954b6de11fb0022ad9cde6764 (patch) | |
tree | 6c96cb09f439a791f3714a122bf53bd0294dd5c6 /nextcloud_update.sh | |
parent | e059bee6d8afea57bad49f8d9f53aba92dc69a4b (diff) |
fix https://github.com/nextcloud/vm/issues/509 (#510)
Fixes https://github.com/nextcloud/vm/issues/509
Diffstat (limited to 'nextcloud_update.sh')
-rw-r--r-- | nextcloud_update.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 379d42da..b3409c3d 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -29,9 +29,14 @@ is_process_running dpkg # System Upgrade apt-mark hold mariadb* +apt-mark hold mariadb-server-10.2* apt update -q4 & spinner_loading export DEBIAN_FRONTEND=noninteractive ; apt dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" apt-mark unhold mariadb* +apt-mark unhold mariadb-server-10.2* +echo +echo "If you want to upgrade MariaDB, please run 'sudo apt update && sudo apt dist-upgrade -y'" +sleep 2 # Update Redis PHP extention if type pecl > /dev/null 2>&1 |