clear yum cache and metadata and try again if installation fails