From 7443dfac4c4e596c353e8166317f5cda928d0e2a Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 9 May 2021 19:21:33 +0100 Subject: [PATCH] misc: Run apt update before installing packages Sometimes the package repo may be out of date and installing required packages can return 404 because the version in the stale database has been removed. Signed-off-by: Joe Groocock --- misc/make-deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/make-deps.sh b/misc/make-deps.sh index 96a18e67..15558f30 100755 --- a/misc/make-deps.sh +++ b/misc/make-deps.sh @@ -56,6 +56,7 @@ if [ -n "$YUM" ]; then $sudo_command $YUM install -y graphviz || true # for debugging fi if [ -n "$APT" ]; then + $sudo_command $APT update -y $sudo_command $APT install -y libvirt-dev || true $sudo_command $APT install -y libaugeas-dev || true $sudo_command $APT install -y ruby ruby-dev || true