Created attachment 1231945 [details] dnf session log Description of problem: update transaction is blocked by a file conflict between the same file from old and new package being updated, even though replacing such files is the whole point of the update! THis only happens in rare circumstances: during entire F24->F25 upgrade I ran into maybe four such cases, but they actually block the entire upgrade, so I'd say it's an important issue. It could very well be a tricky packaging issue with few isolated packages, but still DNF should deal with it more gracefully. The usual workaround is to manually remove the old version of the package, and then manually reinstall the new one---it worked for me in all cases. Version-Release number of selected component (if applicable): dnf-1.1.10-4.fc25.noarch How reproducible: only happens in rare circumstances Steps to Reproduce: 1. dnf update --enablerepo=updates-debuginfo Actual results: Error: Transaction check error: file /usr/lib/debug/.build-id/18/496992b74e10303057d6cc33a77d74e84197e2.1 from install of kernel-debuginfo-4.8.13-300.fc25.x86_64 conflicts with file from package kernel-debuginfo-4.8.12-300.fc25.x86_64 Expected results: successful update
another bug 1396848 shows the same symptoms of a file conflict. Also, bug 1396319 and bug 1396849 show similar behavior, but in those the file moved between packages.
Unfortunately DNF can't do much about this, but RPM can: see https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo
Note that file conflicts are generally packaging errors, rpm is only doing its job by preventing install of conflicting files into the same space. Debuginfo packages are indeed a bit special because they're rpm-created, but then unlike other packages they're also trivial to work around because you can just remove them since nothing actually depends on them.
(In reply to Igor Gnatenko from comment #2) > Unfortunately DNF can't do much about this, but RPM can: see > https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo I believe that this problem also arises for regular, non-debuginfo packages mentioned in comment 1.
Well yes, file conflicts can and do happen, but those are *packaging* bugs. And yes, a package can even conflict with newer version of itself via symlinks to directories and such.
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.