RHEL No debuginfo packages available to install

For core file analysis, you need to install some dependent packages. crash and debug info. If you get an error while runningĀ debuginfo-install kernel. Try yum install kernel-debuginfo --enablerepo="*debuginfo*"

Example:

[root@rhel5-server ~]# debuginfo-install kernel
Loaded plugins: rhnplugin
Could not find debuginfo for main pkg: kernel-2.6.18-155.el5.x86_64
Could not find debuginfo for main pkg: kernel-2.6.18-274.el5.x86_64
Could not find debuginfo for main pkg: kernel-2.6.18-308.el5.x86_64
No debuginfo packages available to install
[root@rhel5-server ~]# yum install kernel-debuginfo --enablerepo="*debuginfo*"
Loaded plugins: rhnplugin, security
rhel-debuginfo | 2.6 kB 00:00
rhel-debuginfo/primary_db | 3.4 MB 00:02
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-debuginfo.x86_64 0:2.6.18-410.el5 set to be updated
--> Processing Dependency: kernel-debuginfo-common-x86_64 = 2.6.18-410.el5 for package: kernel-debuginfo
--> Running transaction check
---> Package kernel-debuginfo-common.x86_64 0:2.6.18-410.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================
Installing:
kernel-debuginfo x86_64 2.6.18-410.el5 rhel-debuginfo 185 M
Installing for dependencies:
kernel-debuginfo-common x86_64 2.6.18-410.el5 rhel-debuginfo 36 M

Transaction Summary
==================================================================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)

Total download size: 221 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): kernel-debuginfo-common-2.6.18-410.el5.x86_64.rpm | 36 MB 00:06
(2/2): kernel-debuginfo-2.6.18-410.el5.x86_64.rpm | 185 MB 00:28
———————————————————————————————————————————-
Total 5.4 MB/s | 221 MB 00:40
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-debuginfo-common 1/2
Installing : kernel-debuginfo 2/2

Installed:
kernel-debuginfo.x86_64 0:2.6.18-410.el5

Dependency Installed:
kernel-debuginfo-common.x86_64 0:2.6.18-410.el5

Complete!