fixed halting bug on yum by adding -y option