From: Victor Morales Date: Sat, 28 Oct 2017 02:47:44 +0000 (-0700) Subject: Fix yum update repos X-Git-Tag: 6.0.0~249 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=e5d66b5058188422bcb63f7860593278fcb39ba3;p=releng-xci.git Fix yum update repos The *yum update* fails during the installation of ansible in centos because it tries to update openssh-server among other packages. This commit change fixes the command to only update the repository information. The --assumeno argument is not required. Change-Id: I26870462888742b3200097322d5316ac00febfc5 --- diff --git a/xci/file/install-ansible.sh b/xci/file/install-ansible.sh index bc7bd1e4..2661eea1 100644 --- a/xci/file/install-ansible.sh +++ b/xci/file/install-ansible.sh @@ -79,7 +79,7 @@ case ${ID,,} in [wget]=wget [openssl]=openssl ) - sudo yum update --assumeno + sudo yum updateinfo EXTRA_PKG_DEPS=() ;;