Bug 141039 - When "enabled=0", yum will still fetch a "mirrorlist".
Summary: When "enabled=0", yum will still fetch a "mirrorlist".
Keywords:
Status: CLOSED DUPLICATE of bug 140143
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-28 18:36 UTC by Terje Bless
Modified: 2014-01-21 22:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:07:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Terje Bless 2004-11-28 18:36:05 UTC
If for a given repo you set "enabled=0" -- e.g. to force the use of
FTP cf. Bug #138535 -- and that repo has a "mirrorlist" defined, yum
will attempt to fetch the given mirrorlist if no enabled repo has one
defined (i.e. it has only "baseurl" defined).

e.g. on a default yum-2.1.11-4 install in Rawhide, if you...

1. delete the "fedora-updates" and "fedora-updates-testing" repos,
2. set the "fedora" repo to "enabled=0",
3. for "fedora-devel", remove the "mirrorlist" and set an (FTP)
   "baseurl" instead

...yum will try to fetch the "mirrorlist" URL given for "fedora"
despite the repo being disabled. In current versions this means it
will produce a traceback due to Bug #138535, but even with the
Python issue fixed this behaviour is undesireable.

Comment 1 Seth Vidal 2004-11-30 05:48:30 UTC

*** This bug has been marked as a duplicate of 140143 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:07:18 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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