``yum repolist -C`` is better.Because without "-C" option, yum command tries to download metadata and it may take long time.