diff options
author | Daniel Hansson <github@hanssonit.se> | 2018-11-19 21:44:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-19 21:44:25 +0300 |
commit | a0ed158ba79f70c6836f9043bce8c885bc782907 (patch) | |
tree | d21e8542531cedc484f5463e5afa105164889096 /nextcloud_update.sh | |
parent | 8b7b4831f5d41f073468564e69cb7350183ee08b (diff) |
Hold `docker-ce`
Fix https://github.com/nextcloud/vm/issues/713
Diffstat (limited to 'nextcloud_update.sh')
-rw-r--r-- | nextcloud_update.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 7e8a86de..33177679 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -31,6 +31,13 @@ if which mysql > /dev/null then apt-mark hold mariadb* fi + +# Hold docker-ce since it breaks devicemapper +if which docker > /dev/null +then + apt-mark hold docker-ce +fi + apt update -q4 & spinner_loading export DEBIAN_FRONTEND=noninteractive ; apt dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" if which mysql > /dev/null |