fix veracrypt upgrades (#2260)

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
Simon L 2022-03-13 11:23:52 +01:00 committed by GitHub
parent 3f88e26ef3
commit 5f22671ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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