From fd17368e9c13afe69f226b7ae2429fa2c1aa58fc Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 7 Feb 2020 22:16:29 -0600 Subject: [PATCH] qa/workunits/cephadm/test_repos: apt update Signed-off-by: Sage Weil --- qa/workunits/cephadm/test_repos.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/workunits/cephadm/test_repos.sh b/qa/workunits/cephadm/test_repos.sh index 5571f5a18001..2d82552a356f 100755 --- a/qa/workunits/cephadm/test_repos.sh +++ b/qa/workunits/cephadm/test_repos.sh @@ -8,7 +8,8 @@ CEPHADM=${CEPHADM_SRC_DIR}/cephadm # this is a pretty weak test, unfortunately, since the # package may also be in the base OS. function test_install_uninstall() { - ( sudo apt -y install cephadm && \ + ( sudo apt update && \ + sudo apt -y install cephadm && \ sudo apt -y remove cephadm ) || \ ( sudo yum -y install cephadm && \ sudo yum -y remove cephadm ) || \ -- 2.47.3