From ca33614cbffd792d4d928d9beebe5370e2f0ae12 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Tue, 9 Jun 2020 21:51:01 -0400 Subject: [PATCH] Run apt-get update before installing anything --- tests/assets/system-setup/remote-nextcloud-docker.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/assets/system-setup/remote-nextcloud-docker.sh b/tests/assets/system-setup/remote-nextcloud-docker.sh index 39ee400a..96117767 100755 --- a/tests/assets/system-setup/remote-nextcloud-docker.sh +++ b/tests/assets/system-setup/remote-nextcloud-docker.sh @@ -59,6 +59,9 @@ before_miab_install() { H2 "Update /etc/hosts" update_hosts_for_private_ip || die "Could not update /etc/hosts" + # update package lists before installing anything + apt-get update || die "apt-get update failed!" + # install prerequisites H2 "QA prerequisites" install_qa_prerequisites || die "Error installing QA prerequisites"