From 584946c3d06b0234573f14a9904b6ddcd469993a Mon Sep 17 00:00:00 2001 From: Saverio Miroddi Date: Thu, 29 Apr 2021 00:00:26 +0200 Subject: [PATCH] Add `--no-update` to all `add-apt-repository` invocations --- install-zfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-zfs.sh b/install-zfs.sh index 47dfda5..280bbb9 100755 --- a/install-zfs.sh +++ b/install-zfs.sh @@ -834,7 +834,7 @@ function ask_dataset_create_options { function install_host_zfs_packages { if [[ $v_use_ppa == "1" ]]; then if [[ ${ZFS_SKIP_LIVE_ZFS_MODULE_INSTALL:-} != "1" ]]; then - add-apt-repository --yes "$c_ppa" + add-apt-repository --yes --no-update "$c_ppa" apt update # Libelf-dev allows `CONFIG_STACK_VALIDATION` to be set - it's optional, but good to have. @@ -1276,7 +1276,7 @@ function install_jail_base_packages { # function install_jail_zfs_packages { if [[ $v_use_ppa == "1" ]]; then - chroot_execute "add-apt-repository --yes $c_ppa" + chroot_execute "add-apt-repository --yes --no-update $c_ppa" chroot_execute "apt update"