Description of problem: Attempting to upgrade polkit with dnf fails. Version-Release number of selected component (if applicable): How reproducible: dnf upgrade polkit Steps to Reproduce: 1. 2. 3. Actual results: Transaction check error because of "conflicts" between two text files (NEWS, README) and a man page. Expected results: Should overwrite these files as part of upgrade. Additional info: Running transaction test Error: Transaction check error: file /usr/share/doc/polkit/NEWS from install of polkit-0.113-1.fc22.x86_64 conflicts with file from package polkit-0.112-7.fc21.1.i686 file /usr/share/doc/polkit/README from install of polkit-0.113-1.fc22.x86_64 conflicts with file from package polkit-0.112-7.fc21.1.i686 file /usr/share/man/man1/pkexec.1.gz from install of polkit-0.113-1.fc22.x86_64 conflicts with file from package polkit-0.112-7.fc21.1.i686
I just discovered the reason for this. For some reason, an i686 version of polkit remained from an fc21 install that wasn't removed after upgrading with fedup. After removing the i686 version of this package, rpm -e polkit-0.112-7.fc21.1.i686 the dnf upgrade proceeded as expected.
Thanks for the report. So much for me wondering why noone has run against this issue during the F21->F22 upgrade…
polkit-0.113-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/polkit-0.113-4.fc21
polkit-0.113-4.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/polkit-0.113-4.fc22
*** Bug 1243633 has been marked as a duplicate of this bug. ***
I tested the packages from f22-updates-testing-pending and the update now runs without issues. Thanks!
Package polkit-0.113-4.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing polkit-0.113-4.fc21' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-11743/polkit-0.113-4.fc21 then log in and leave karma (feedback).
polkit-0.113-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
polkit-0.113-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
I am still getting these error messages when preparing an F21 build root: DEBUG: Transaction Check Error: DEBUG: file /usr/lib64/girepository-1.0/Polkit-1.0.typelib from install of polkit-libs-0.113-4.fc21.x86_64 conflicts with file from package polkit-0.112-7.fc21.1.x86_64 DEBUG: file /usr/lib64/libpolkit-agent-1.so.0.0.0 from install of polkit-libs-0.113-4.fc21.x86_64 conflicts with file from package polkit-0.112-7.fc21.1.x86_64 DEBUG: file /usr/lib64/libpolkit-gobject-1.so.0.0.0 from install of polkit-libs-0.113-4.fc21.x86_64 conflicts with file from package polkit-0.112-7.fc21.1.x86_64
Thanks for you report. What exactly are you doing / are the steps to reproduce? I would expect mock build root creation to always use a single repository / set of package versions; if 0.113 is available, why, and where from, is 0.112 getting pulled in at all?
Our build engine initializes mock build root and then runs "mock -r fedora-21-i386 --install polkit-devel ...". It looks like that old mock build roots are reused in our work-flow and that's the reason why the update takes place. If I re-initialize the F21 mock build root from scratch, everything works fine.
I have the same issue: F21->F22 upgrade by Fedup left polkit.i686 installed from F21 (I am not sure why it was installed as this is a 64 bit system). I was able to remove the package: dnf erase polkit.i686 The only other thing it has erased was gnome-settings-daemon-3.16.3-1.fc22.i686. After this step, upgrading polkit runs without any issue.