Install of the later versions of kernel-headers packages conflicts with files from the older versions of kernel-header packages

Solution Unverified - Updated -

Issue

  • Unable to patch kernel-headers
  • While installing kernel-header package 2.6.18-194.el5.x86_64 using rpm -ivh, it errors out with conflict file error as given below

    file /usr/include/asm-generic/errno.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/asm-i386/unistd.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/asm-x86_64/cpufeature.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/asm-x86_64/msr.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/asm-x86_64/unistd.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/aio_abi.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/ethtool.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/fs.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/if_ether.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/if_tun.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/ipmi.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/ipmi_msgdefs.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/mii.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/netfilter/nfnetlink_queue.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/nfs_fs.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/nl80211.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/pci_ids.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    file /usr/include/linux/pci_regs.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-headers-2.6.18-164.el5.x86_64
    

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.