From 341a32581cb902c49cb557c956d754c912a31d6e Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Fri, 28 May 2021 10:15:52 +0100 Subject: [PATCH] CI: Update package lists before adding packages --- scripts/install_astyle_dependencies_with_apt.sh | 3 ++- scripts/install_cppcheck_dependencies_with_apt.sh | 1 + scripts/install_xrdp_build_dependencies_with_apt.sh | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install_astyle_dependencies_with_apt.sh b/scripts/install_astyle_dependencies_with_apt.sh index 4aa40ff1..08533a02 100755 --- a/scripts/install_astyle_dependencies_with_apt.sh +++ b/scripts/install_astyle_dependencies_with_apt.sh @@ -3,4 +3,5 @@ set -eufx PACKAGES="subversion cmake" -apt-get -yq --no-install-suggests --no-install-recommends install $PACKAGES \ No newline at end of file +apt-get update +apt-get -yq --no-install-suggests --no-install-recommends install $PACKAGES diff --git a/scripts/install_cppcheck_dependencies_with_apt.sh b/scripts/install_cppcheck_dependencies_with_apt.sh index 4d91b5e9..f3f66764 100755 --- a/scripts/install_cppcheck_dependencies_with_apt.sh +++ b/scripts/install_cppcheck_dependencies_with_apt.sh @@ -3,4 +3,5 @@ set -eufx PACKAGES="libz3-dev z3" +apt-get update apt-get -yq --no-install-suggests --no-install-recommends install $PACKAGES diff --git a/scripts/install_xrdp_build_dependencies_with_apt.sh b/scripts/install_xrdp_build_dependencies_with_apt.sh index 563d942b..3d481724 100755 --- a/scripts/install_xrdp_build_dependencies_with_apt.sh +++ b/scripts/install_xrdp_build_dependencies_with_apt.sh @@ -89,6 +89,7 @@ in ;; esac +apt-get update apt-get -yq \ --no-install-suggests \ --no-install-recommends \