yum: add update_cache feature

Yum does not always update to latest package version unless metadata cache has expired. Using makecache we ensure the metadata cache has been updated.