Bug 141039 - When "enabled=0", yum will still fetch a "mirrorlist".
Summary: When "enabled=0", yum will still fetch a "mirrorlist".
Status: CLOSED DUPLICATE of bug 140143
Alias: None
Product: Fedora
Classification: Fedora
Component: yum   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Depends On:
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:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:07:18 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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.