[root@bobby:/mnt/redhat/comps/dist/6.0/i386 ]# rpm -i kernel-2.2.1-6.i386.rpm error: file /usr/doc/kernel-2.2.1/00-INDEX from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 error: file /usr/doc/kernel-2.2.1/Changes from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 error: file /usr/doc/kernel-2.2.1/Configure.help from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 error: file /usr/doc/kernel-2.2.1/fb/vesafb.txt from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 error: file /usr/doc/kernel-2.2.1/proc.txt from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 [root@bobby:/mnt/redhat/comps/dist/6.0/i386 ]# rpm -i --excludedocs kernel-2.2.1-6.i386.rpm error: file /usr/doc/kernel-2.2.1/00-INDEX from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 error: file /usr/doc/kernel-2.2.1/Changes from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 error: file /usr/doc/kernel-2.2.1/Configure.help from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 error: file /usr/doc/kernel-2.2.1/fb/vesafb.txt from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2 error: file /usr/doc/kernel-2.2.1/proc.txt from install of kernel-2.2.1-6 conflicts with file from package kernel-2.2.1-2
The excluded files will not be installed but will still conflict with an already installed package.