If kernel-debuginfo is already installed and kernel-rt-{debug,trace}-debuginfo packages are attempted to be installed, it will fail with messages like this: file /usr/lib/debug/.build-id/02/ab97e575bc185ed650edaca072f9df144fc200 from install of kernel-rt-trace-debuginfo-3.0.9-rt26.45.el6rt.x86_64 conflicts with file from package kernel-debug-debuginfo-2.6.32-220.2.1.el6.x86_64 file /usr/lib/debug/.build-id/02/ab97e575bc185ed650edaca072f9df144fc200.debug from install of kernel-rt-trace-debuginfo-3.0.9-rt26.45.el6rt.x86_64 conflicts with file from package kernel-debug-debuginfo-2.6.32-220.2.1.el6.x86_64 file /usr/lib/debug/.build-id/98/bf6d34ce45d92547d67425abd1d631960ea71d from install of kernel-rt-trace-debuginfo-3.0.9-rt26.45.el6rt.x86_64 conflicts with file from package kernel-debug-debuginfo-2.6.32-220.2.1.el6.x86_64 file /usr/lib/debug/.build-id/98/bf6d34ce45d92547d67425abd1d631960ea71d.debug from install of kernel-rt-trace-debuginfo-3.0.9-rt26.45.el6rt.x86_64 conflicts with file from package kernel-debug-debuginfo-2.6.32-220.2.1.el6.x86_64 This is found in kernel-rt-3.0.9-rt26.45
Just clarifying, the conflict happens between these two packages: kernel-rt-trace-debuginfo kernel-debug-debuginfo
Ok, can we please come up with a list of steps to reproduce this? It looks like you have to install the kernel-debuginfo stuff from a lookaside repo?
There seem to be two files that cause conflicts: scripts/conmakehash scripts/pnmtologo Both are executables that are compiled when the BuildKernel macro is invoked. We Since the first comment from David, I've seen the conflict shift from the trace kernel to the vanilla kernel. I suspect we're hitting some corner-case in the debuginfo generation script. My solution so far is to go into the kernel-rt script, in the definition of the BuildKernel macro and add the following change: diff --git a/MRG/kernel-rt.spec b/MRG/kernel-rt.spec index de6b22a..8b7e88d 100644 --- a/MRG/kernel-rt.spec +++ b/MRG/kernel-rt.spec @@ -963,6 +963,11 @@ BuildKernel() { fi rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o + + # hack to remove .build-id conflict with RHEL kernel debuginfo + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/conmakehash + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/pnmtologo + if [ -d arch/%{asmarch}/include ]; then cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ fi Just build the kernel-rt-3.2.23-rt37.55.el6rt package and it seems to avoid the conflict issue.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0566.html