Let's not delete the yum cached files but clean metadata instead
External reference https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=246816
Set default metadata_expire to 15 and not deleting nor complaining about the yum cache directory anymore
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=246816#c1
It seems that when we delete the metadata we loose the mechanism (metadata_cookie) that is used to calculate if the repo is updated and this causes the application to hang.
https://hosted.fedoraproject.org/projects/revisor/ticket/228
Hmm something else is wrong.
Closing this in preference to tracking progress on #228
Metadata Update from @kanarip: - Issue assigned to kanarip - Issue set to the milestone: 2.0.4 Release