diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index 27c934d8d..b54c5e23f 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -715,7 +715,7 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do fi if [ $hasyum -eq 1 ]; then #use yum - result=`yum list $fn 2>&1` + result=`yum --showduplicates list $fn 2>&1` if [ $? -eq 0 ]; then rc=0 array_set_element repo_path $index $path