Revert "fix latest yum upgrade compatible bug"

This reverts commit 1b3b1b9a4bad0102152cccd9b66a9b66cd42e8a5.
stick to yum 2.0