Red Hat Bugzilla – Bug 232334
releasever macro is not reporting proper version
Last modified: 2007-11-30 17:07:28 EST
Description of problem:
Installed a custom yum repository. My YUM line in rhn/sources is
yum dw-noarch https://yum.URL.net/redhat/$releasever/noarch
yum dw-$basearch https://yum.URL.net/redhat/$releasever/$basearch
My RHEL 4 boxes (U3 & U4) are reporting their releasever as "3" and not "4"
In /usr/share/rhn/up2date_client/sourcesConfig.py a search for releasever turns up
releasever = up2dateUtils.getVersion()
releasever = "3"
It would apear you guys have elected to hard code the release version, and this
has not gotten fixed.
Version-Release number of selected component (if applicable):
Fetching Obsoletes list for channel: dw-noarch...
Fetching obsoletes list for https://yum.URL.net/redhat/3/noarch...
Fetching Obsoletes list for channel: dw-i386...
Fetching obsoletes list for https://yum.URL.net/redhat/3/i386...
Can I change that hard-coded releasever in the sourcesConfig.py to "4" without
fracking everything else up?... or is this fix more complicated then that.
google shows me that this was opened at one point in time under:
but it doesn't seem to be accessible anymore?
User firstname.lastname@example.org's account has been closed
*** This bug has been marked as a duplicate of 229847 ***