[CentOS] kernel-debuginfo

Fri May 1 16:51:07 UTC 2015
Akemi Yagi <amyagi at gmail.com>

On Fri, May 1, 2015 at 6:14 AM, Steve Clark <sclark at netwolves.com> wrote:
> Hi,
>
> Even though I am not running a centos.plus kernel yum wants to install
> the kernel-debuginfo for it.
>
>
> # yum install --disablerepo=\* --enablerepo=base-debuginfo kernel-debuginfo
> Loaded plugins: fastestmirror, refresh-packagekit
> Setting up Install Process
> Loading mirror speeds from cached hostfile
> Resolving Dependencies
> --> Running transaction check
> ---> Package kernel-debuginfo.x86_64 0:2.6.32-504.8.1.el6 will be updated
> ---> Package kernel-debuginfo.x86_64 0:2.6.32-504.16.2.el6.centos.plus will
> be an update
> --> Processing Dependency: kernel-debuginfo-common-x86_64 =
> 2.6.32-504.16.2.el6.centos.plus for package:
> kernel-debuginfo-2.6.32-504.16.2.el6.centos.plus.x86_64
> --> Running transaction check
> ---> Package kernel-debuginfo-common-x86_64.x86_64 0:2.6.32-504.8.1.el6 will
> be updated
> ---> Package kernel-debuginfo-common-x86_64.x86_64
> 0:2.6.32-504.16.2.el6.centos.plus will be an update

Because both the regular and the plus packages are in the
base-debuginfo repo and the plus ones have a higher EVR, this is yum's
expected behavior. You'd want to exclude the plus packages in yum's
configuration file.

In CentOS-7, 'kenrel' and 'kernel-plus' are separate, so this will not happen.

Akemi