Red Hat Bugzilla – Bug 1315025
Packaging conflict between python-qt5 and python3-qt5
Last modified: 2016-03-07 14:30:02 EST
Description of problem:
When upgrading python-qt5, I get a file conflict error from dnf.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have python3-qt5 installed.
2. Try to upgrade python-qt5
file /usr/lib/rpm/macros.d/macros.pyqt5 from install of python-qt5-5.5.1-13.fc25.x86_64 conflicts with file from package python3-qt5-5.5.1-11.fc25.x86_64
---> Package python-qt5.x86_64 5.5.1-11.fc25 will be upgraded
---> Package python-qt5.x86_64 5.5.1-13.fc25 will be an upgrade
you have to upgrade both python-qt5 and python3-qt5 at the same time.
Yeah, I was going to post information about that this morning after I noticed that the python3 packages aren't updating because of dependency errors. Not sure what those errors are, though.
Here is the output from dnf.
Upgrading: python-qt5 x86_64 5.5.1-14.fc25 rawhide 3.9 M
Skipping packages with broken dependencies:
python3-qt5 x86_64 5.5.1-14.fc25 rawhide 3.9 M
python3-qt5-devel x86_64 5.5.1-14.fc25 rawhide 502 k
And if I accept this, then it gives me the error I reported.
What does this say:
dnf update --best
and, if you happen to have an oddly named python3-webkit pkg installed, try removing it.
Thanks for that command. That's really useful.
Here are the relevant entries from the output:
package python3-webengine-5.5.1-11.fc25.x86_64 requires python3-qt5(x86-64) = 5.5.1-11.fc25, but none of the providers can be installed.
package python3-webkit-5.5.1-11.fc25.x86_64 requires python3-qt5(x86-64) = 5.5.1-11.fc25, but none of the providers can be installed.
So, you're saying I should remove these? They're obsolete? Or do they just need their dependencies updated to the latest python3-qt5 version?
Yes, remove those
* Mon Mar 07 2016 Rex Dieter <firstname.lastname@example.org> 5.5.1-15
- add Obsoletes for misnamed -webengine/-webkit pkgs (#1315025)
That did the trick!
Thanks for your help.