Bug 430096
Summary: | distroverpkg option taking on wrong default value: fedora-release, should be redhat-release | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Mansfield <bugzilla> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | ffesti, james.antill, katzj, pmatilai, tim.lauridsen |
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: | 2008-01-24 15:07:58 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
David Mansfield
2008-01-24 14:50:45 UTC
*** This bug has been marked as a duplicate of 123888 *** my bug is not the same as that one, as yum.conf no longer mentions any distroverpkg, and therefore needs to inherit the default value specified in the documentation, 'redhat-release'. Note: redhat-release does NOT refer to a file, but to a package, and there is NO redhat-release package, there is a fedora-release. c/f centos yum.conf where distroverpkg is specified as centos-release. either yum.conf or the docs need to change. would you accept a patch for either? nevermind. I understand the response to 123888 and agree that response explains the reason. however, I still think the docs should be fixed. would you accept a doc patch? Doc fix to what? the docs say: distroverpkg The package used by yum to determine the "version" of the dis- tribution. This can be any installed package. Default is ‘red- hat-release’ that is entirely accurate. What is it you want them to say? Yes, it is identical. Read more closely. redhat-release is the package that yum looks for a provides for to determine which distrover to use in place of $releasever fedora-release centos-release whitebox-release all of these provide redhat-release. The docs are correct. What centos wants to do in their conf file is up to them. I have to disagree. Here is from the manpage: distroverpkg The package used by yum to determine the "version" of the dis- tribution. This can be any installed package. Default is ‘red- hat-release’. It says 'this can be any installed package'. In this case redhat-release is not an installed package. Could we change the man page to this to remove confusion (I was confused enough to file this bug report): distroverpkg The name of a CAPABILITY provided by an installed package that is used by yum to find the package which determines the "version" of the distribution. This can be any installed package or CAPABILITY. Default is 'redhat-release'. Or something that mentions this is a CAPABILITY and not per-se a package? Even butter, just a sentence at the end like: 'Note: the value may specify a CAPABILITY provided by an installed package and not necessarily a package name.' capability isn't something that has any meaning in the rpm world. Do you mean 'provides'? I've changed the man page entry to: distroverpkg The package used by yum to determine the "version" of the dis- tribution. This can be any installed package. Default is ‘red- hat-release’. You can see what provides this manually by using: "yum whatprovides redhat-release". cool. I came up with CAPABILITY by doing 'man rpm', it says the thing you are querying when you ask rpm --whatprovides is a CAPABILITY. Hence my terminology. The change is great, thanks. |