avoid issues with upgrading mariadb

This commit is contained in:
Daniel Hansson 2017-11-27 21:57:56 +01:00 committed by GitHub
parent d403b8a26e
commit 847c48ffd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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