From: Sage Weil Date: Sat, 8 Feb 2020 04:16:29 +0000 (-0600) Subject: qa/workunits/cephadm/test_repos: apt update X-Git-Tag: v15.1.1~504^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fd17368e9c13afe69f226b7ae2429fa2c1aa58fc;p=ceph.git qa/workunits/cephadm/test_repos: apt update Signed-off-by: Sage Weil --- 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 ) || \