Bug 1243004 - dnf upgrade polkit fails because of packaging issues
Summary: dnf upgrade polkit fails because of packaging issues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: polkit
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1243633 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-14 14:30 UTC by Steeve McCauley
Modified: 2015-12-26 05:45 UTC (History)
5 users (show)

Fixed In Version: polkit-0.113-4.fc21
Clone Of:
Environment:
Last Closed: 2015-07-21 08:20:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steeve McCauley 2015-07-14 14:30:15 UTC
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

Comment 1 Steeve McCauley 2015-07-14 16:44:47 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.

Comment 2 Miloslav Trmač 2015-07-14 20:26:23 UTC
Thanks for the report. So much for me wondering why noone has run against this issue during the F21->F22 upgrade…

Comment 3 Fedora Update System 2015-07-14 21:34:55 UTC
polkit-0.113-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/polkit-0.113-4.fc21

Comment 4 Fedora Update System 2015-07-14 21:35:53 UTC
polkit-0.113-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/polkit-0.113-4.fc22

Comment 5 Miloslav Trmač 2015-07-16 09:20:00 UTC
*** Bug 1243633 has been marked as a duplicate of this bug. ***

Comment 6 Leonardo Garcia 2015-07-16 13:04:20 UTC
I tested the packages from f22-updates-testing-pending and the update now runs without issues. Thanks!

Comment 7 Fedora Update System 2015-07-18 02:05:21 UTC
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).

Comment 8 Fedora Update System 2015-07-21 08:20:26 UTC
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.

Comment 9 Fedora Update System 2015-07-21 08:23:34 UTC
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.

Comment 10 Jakub Filak 2015-08-13 11:23:29 UTC
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

Comment 11 Miloslav Trmač 2015-08-13 15:06:28 UTC
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?

Comment 12 Jakub Filak 2015-08-14 06:29:15 UTC
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.

Comment 13 Csaba Ortutay 2015-12-26 05:45:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.