Bug 1243004
| Summary: | dnf upgrade polkit fails because of packaging issues | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steeve McCauley <steeve.mccauley> |
| Component: | polkit | Assignee: | Miloslav Trmač <mitr> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | csaba.ortutay, jfilak, lagarcia, luca.cavalli, mitr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | polkit-0.113-4.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-21 08:20:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Steeve McCauley
2015-07-14 14:30:15 UTC
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. |