Bug 154657
Summary: | Yum always (and only) looks for the fedora.repo file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paolo Campegiani <p.campegiani> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | agrajag, katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-14 12:09:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paolo Campegiani
2005-04-13 12:41:44 UTC
Try naming your repo file yoda.repo instead of yoda. > Try naming your repo file yoda.repo instead of yoda.
the repo file is named yoda.repo (I made a mistake in filling the bug reporting
form):
# grep enabled *
fedora-devel.repo:enabled=0
fedora.repo:enabled=0
fedora-updates.repo:enabled=0
fedora-updates-testing.repo:enabled=0
yoda.repo:enabled=1
# yum install emacs
Error: Bad repository file ///etc/yum.repos.d/yoda.repo. Skipping
Config Error: Insufficient repository configuration. No repositories
Found/Enabled. Aborting.
okay. 1. update to a newer yum 2.2.0 is in updates - get that 2. make sure you don't have two repositories named the same thing - if yoda.repo has a [base] repo - then things aren't going to work. Point 2. solves the problem. It'd be better if yum complains about duplicated sections (and missing sections names, the same problem appears if yoda.repo has not a section name). close. If you update to 2.2.0 - I'm pretty sure the error message does tell you that. |