Description of problem: When doing a dnf upgrade in rawhide, the transaction test fails for nagios-plugins-ide_smart nagios-plugins-icmp nagios-plugins-fping nagios-plugins-dhcp with file conflicts like this: file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64 Version-Release number of selected component (if applicable): 2.2.0-6 How reproducible: Every time. Steps to Reproduce: 1. Run dnf upgrade in rawhide 2. 3. Actual results: The actual output is too large to attach, so here are some samples. file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-libs-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-devel-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-dhcp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-dhcp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-libs-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-dhcp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-dhcp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-devel-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-libs-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-devel-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-icmp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-icmp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-libs-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-icmp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-4.11.0-0.rc1.git3.1.fc27.x86_64 file /usr/lib/.build-id from install of nagios-plugins-icmp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-devel-4.11.0-0.rc1.git3.1.fc27.x86_64 Some look like this: file /usr/lib/.build-id/9c from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package qwt-6.1.3-2.fc27.x86_64 Expected results: Updates successfully. Additional info:
OK that is not a file I expect to have been packaged so something slipped into the builds. I am asking release engineering on what I could have done to add these.
OK it looks like this is a known bug in rpm that needs to be fixed. I am closing this as a duplicate of 1431296 *** This bug has been marked as a duplicate of bug 1431296 ***
Thank you for the fast response, and the information.
This is indeed a duplicate, but of a slightly different bug #1432372. It is caused by a bug in an older rawhide rpm parsing the last %attr in the nagios.spec files list (and then using that to producing a bad mode for a different directory). It should go away when rebuilding nagios against a newer rpm (>= 4.13.0.1-8.fc27). Apologies for the trouble. *** This bug has been marked as a duplicate of bug 1432372 ***
Thank you for the update.
Building -8 now that upstream rpm bug is fixed in rawhide. Should show up soon.
Yes, this seems to have solved the problem. I updated the kernel and rpm to pick up any fixes they had applied to them. Then a general dnf upgrade successfully updated the nagios plugins. Thank you.