From 63eeb8d7342065098eb701659493eea87b303b84 Mon Sep 17 00:00:00 2001 From: James Fryman Date: Mon, 29 Apr 2019 16:20:27 -0500 Subject: [PATCH] Use recursive remove and clean for apt (OPS-508) --- Builds/containers/gitlab-ci/smoketest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Builds/containers/gitlab-ci/smoketest.sh b/Builds/containers/gitlab-ci/smoketest.sh index 50cb2ca40d..ff09f86e06 100644 --- a/Builds/containers/gitlab-ci/smoketest.sh +++ b/Builds/containers/gitlab-ci/smoketest.sh @@ -34,7 +34,8 @@ if [ "${pkgtype}" = "dpkg" ] ; then echo "deb ${REPO_ROOT}/${DEB_REPO} ${DISTRO} ${COMPONENT}" >> /etc/apt/sources.list # sometimes update fails and requires a cleanup if ! apt -y update ; then - rm -vf /var/lib/apt/lists/* + rm -rvf /var/lib/apt/lists/* + apt-get clean apt -y update fi apt-get -y install rippled