Description of problem: dnf does not notice a file conflict and proceeds with rpm installation, overwriting the conflicting file. Version-Release number of selected component (if applicable): dnf-0.4.3-2.fc20.noarch hawkey-0.4.2-1.git4c51f65.fc20.x86_64 librepo-1.2.1-1.fc20.x86_64 rpm-4.11.1-7.fc20.x86_64 How reproducible: always Steps to Reproduce: 1. dnf install libgudev1-devel-208-2.fc20.i686 libgudev1-devel-208-2.fc20.x86_64 2. 3. Actual results: Installation succeeds even though the two RPMs have a file conflict (reported in bug 1016834). Afterwards, "rpm -V libgudev1-devel" reports: ..5...... d /usr/share/gtk-doc/html/gudev/annotation-glossary.html ..5...... d /usr/share/gtk-doc/html/gudev/index.sgml Expected results: The transaction check should detect the file conflict and not proceed with the installation. Additional info: yum detects the conflict like this: Running transaction check Running transaction test Transaction check error: file /usr/share/gtk-doc/html/gudev/annotation-glossary.html conflicts between attempted installs of libgudev1-devel-208-2.fc20.x86_64 and libgudev1-devel-208-2.fc20.i686 file /usr/share/gtk-doc/html/gudev/index.sgml conflicts between attempted installs of libgudev1-devel-208-2.fc20.x86_64 and libgudev1-devel-208-2.fc20.i686
Hello, thanks for the report. It's odd, will take a look.
Fixed by fa2c5cf, will be included in dnf-0.4.4.
I applied the one-liner from https://github.com/akozumpl/dnf/commit/fa2c5cfe3a4c98a6a0f3cbf9909058d52332c505 manually to: /usr/lib/python2.7/site-packages/dnf/yum/base.py I confirm it fixes the bug for me. dnf now says: Running transaction check Transaction check succeeded. Running transaction test Transaction check error: file /usr/share/gtk-doc/html/gudev/annotation-glossary.html conflicts between attempted installs of libgudev1-devel-208-2.fc20.i686 and libgudev1-devel-208-2.fc20.x86_64 file /usr/share/gtk-doc/html/gudev/index.sgml conflicts between attempted installs of libgudev1-devel-208-2.fc20.i686 and libgudev1-devel-208-2.fc20.x86_64 I am amazed at how quickly the dnf/librepo bugs I report are getting fixed. Keep up the good work!
dnf-0.4.4-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.4-1.fc20
Package dnf-0.4.4-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.4.4-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-19064/dnf-0.4.4-1.fc20 then log in and leave karma (feedback).
dnf-0.4.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.