Bug 227801

Summary: Yum package from fedora updates contains distroverpkg=redhat-release
Product: [Fedora] Fedora Reporter: Oded Arbel <oded>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-08 13:28:04 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 Oded Arbel 2007-02-08 09:44:09 UTC
Description of problem:
The default yum configuration for fedora is invalid

Version-Release number of selected component (if applicable):
3.0.3-1.fc6

How reproducible:
Always

Steps to Reproduce:
1. Install yum
  
Actual results:
/etc/yum.conf has distroverpkg=redhat-release

Expected results:
/etc/yum.conf has distroverpkg=fedor-arelease

Additional info:
For some reason, yum still works, but installs packages for fedora core 7, even
though I have fedora core 6 installed.

Comment 1 Seth Vidal 2007-02-08 13:28:04 UTC
when looking up distrover yum does the equivalent of:
rpm --whatprovides redhat-release

which returns fedora-release on fedora and centos-release on centos, and
redhat-release on rhel.

it is so it works everywhere.