Description of problem: When not online, and specifying -C in the command line, yum still tries to contact a repository. When online, -C works well and reads from cache, but still contacts a repository. This is applicable when someone is offline and tries to search for some package in the yum cache, doing for example: yum -C search gxine Version-Release number of selected component (if applicable): I tried with these versions of yum: * yum-2.3.2-7 * yum-2.3.4-0 (updates/fc4/testing) * yum-2.4.0-0 (updates/fc4/testing) How reproducible: Steps to Reproduce: 1. go offline or block your internet connection to the outside 2. yum -C search <package> Actual results: yum tries to contact a repository and waits for a very long time (or forever, I didn't wait it for finish). Network activity shows that yum is trying to contact some server on port 80. Expected results: yum should read only from the cache.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 150843 ***