From 5f22671ce3841ae91d89e8dff32a309086f10cda Mon Sep 17 00:00:00 2001 From: Simon L Date: Sun, 13 Mar 2022 11:23:52 +0100 Subject: [PATCH] fix veracrypt upgrades (#2260) Signed-off-by: szaimen --- nextcloud_update.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nextcloud_update.sh b/nextcloud_update.sh index c0166b8f..bcd7d054 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -318,6 +318,13 @@ then fi fi +if is_this_installed veracrypt +then + # Hold veracrypt if installed since unmounting all drives, updating and mounting them again is not feasible + # If you desperately need the update, you can do so manually + apt-mark hold veracrypt +fi + # Upgrade OS dependencies export DEBIAN_FRONTEND=noninteractive ; apt-get dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"