From 0a1a80fa138dbc4bfa06209e9563afcef99bf0ea Mon Sep 17 00:00:00 2001 From: Saverio Miroddi Date: Sun, 6 Jun 2021 01:39:19 +0200 Subject: [PATCH] Disable PPA on Ubuntu Server See #200. --- install-zfs.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-zfs.sh b/install-zfs.sh index f99ab34..24ca08e 100755 --- a/install-zfs.sh +++ b/install-zfs.sh @@ -395,6 +395,11 @@ function check_prerequisites { elif [[ ! ${c_supported_linux_distributions["$v_linux_distribution"]} =~ $distro_version_regex ]]; then echo "This Linux distribution version ($v_linux_version) is not supported; supported versions: ${c_supported_linux_distributions["$v_linux_distribution"]}" exit 1 + elif [[ ${ZFS_USE_PPA:-} == "1" && $v_linux_distribution == "UbuntuServer" ]]; then + # As of Jun/2021, it breaks the installation. + # + echo "The PPA is not (currently) supported on Ubuntu Server!" + exit 1 fi set +x