Bug 166367 - yum tries to contact repository even if -C (cache) is specified
Summary: yum tries to contact repository even if -C (cache) is specified
Keywords:
Status: CLOSED DUPLICATE of bug 150843
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-19 19:57 UTC by Hugo Cisneiros
Modified: 2014-01-21 22:52 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-08-27 20:02:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hugo Cisneiros 2005-08-19 19:57:43 UTC
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.

Comment 1 Rahul Sundaram 2005-08-27 20:02:29 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.