diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index df609bdb0..21f16d010 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -682,7 +682,9 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do if ( pmatch "$OSVER" "sles11*" ); then result=`zypper ar -c $REPOFILE` else - result=`zypper sa -c $REPOFILE` + result=`zypper sa -r $REPOFILE << EOF +y +EOF` fi result=`zypper --non-interactive refresh xcat-otherpkgs$index 2>&1`