The yum output is surprisingly difficult to work with... they put to much effort into trying to generate pretty output and it makes it irritating to work with. But this script should generate output ...
maybe try yum check-update first, to ensure you have the latest package data. otherwise disable fastestmirror. set "enabled=0" in /etc/yum/pluginconf.d/fastestmirror ...