Bug 570352

Summary: debuginfo-install unable to find the debuginfo rpm on RHEL5
Product: Red Hat Enterprise Linux 5 Reporter: John Call <johncall>
Component: yum-utilsAssignee: James Antill <james.antill>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: low    
Version: 5.4CC: fche, mjw, wcohen
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-14 19:15:20 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 John Call 2010-03-03 23:47:42 UTC
Description of problem:
Lack of documentation regarding yum repository enablement prior to downloading kernel-debuginfo.  Please consider including additional documentation which will instruct beginners to enable the rhel-debuginfo repository as a prerequisite to installing the required RPMs.

Version-Release number of selected component (if applicable):
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/pdf/SystemTap_Beginners_Guide.pdf

How reproducible:
Always

Steps to Reproduce:
1.  Follow the instructions in section 2.1.2. Installing Required Kernel Information RPMs
2.
3.
  
Actual results:
[root@pprddb ~]# debuginfo-install kernel-2.6.18-164.2.1.el5
Loaded plugins: rhnplugin
Could not find debuginfo for main pkg: kernel-2.6.18-164.2.1.el5.x86_64
No debuginfo packages available to install


Expected results:
Installation of kernel-debuginfo RPM and any dependencies

Additional info:
Information on an IBM website (http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaai/systemTap/liaaisystapinstallrhel.htm) directed me to enable the rhel-debuginfo repository via:
[root@pprddb ~]# yum --enablerepo=rhel-debuginfo install kernel-debuginfo-2.6.18-164.2.1.el5

Comment 1 William Cohen 2012-08-10 21:25:19 UTC
I am able to replicate this problem on RHEL5.8. However, there shouldn't be a need to explicitly enable the rhel-debuginfo repo according to the man pages.
Other systems are able to install the debuginfo without explicit enabling of the *-debuginfo repos.

Comment 2 Frank Ch. Eigler 2012-08-15 15:41:35 UTC
Does this suggest a RHN or rel-eng problem rather than a stap documentation one?

Comment 3 William Cohen 2012-08-21 18:01:53 UTC
The debuginfo can be downloaded fine with the following, so it looks like the yum repo information is available (that would be a RHN/rel-eng problem if it didn't work):

 yum install kernel-debuginfo --enablerepo="*debuginfo*"

Suspect the problem is in debuginfo-install.  Moving this bug to yum-utils that contains debuginfo-install

Comment 4 James Antill 2013-03-14 19:15:20 UTC
debuginfo-install works be finding out the repo. "kernel" comes from (Eg. foo) and looking to enable "foo-debuginfo". Fixing it to enable repo. for specific packages would be an RFE that...

This request was evaluated by Red Hat Engineering for inclusion in a Red 
Hat Enterprise Linux maintenance release.

Red Hat does not currently plan to provide this change in a Red Hat 
Enterprise Linux update release for currently deployed products.

With the goal of minimizing risk of change for deployed systems, and in 
response to customer and partner requirements, Red Hat takes a 
conservative approach when evaluating enhancements for inclusion in 
maintenance updates for currently deployed products. The primary 
objectives of update releases are to enable new hardware platform 
support and to resolve critical defects.