Red Hat Bugzilla – Bug 1308631
Install of python-polib fails if system has renamed python2-polib
Last modified: 2016-02-22 07:27:19 EST
Description of problem:
When trying to install a package depending on python-polib on a system that has newer version installed (python2-polib 1.0.7-2) DNF does not recognize the package and creates conflict.
Error: installed package python2-polib-1.0.7-2.fc23.noarch obsoletes python-polib < 1.0.7-2.fc23 provided by python-polib-1.0.3-6.fc23.noarch
(try to add '--allowerasing' to command line to replace conflicting packages)
dnf doesn't try to erase the newer package
$ rpm -q --provides python2-polib
python-polib = 1.0.7-3.fc24
python2-polib = 1.0.7-3.fc24
So this is either a problem in dnf or something wrong with the %python_provide macro.
It seems I ran into this again. https://bugzilla.redhat.com/show_bug.cgi?id=1096506
Thanks for looking into it.
*** This bug has been marked as a duplicate of bug 1096506 ***