So this is a bit odd and I haven't really dug into the root cause, _and_ there's a fairly simple work around, but I thought I'd report it anyway. If you have the latest version of python-pkgwat-api installed, python2-pkgwat-api-0.12-11.fc24.noarch, and try to run ``dnf install python-pkgwat-api``, this is what happens: [vagrant@hubs-dev ~]$ sudo dnf install python-pkgwat-api Last metadata expiration check: 0:42:13 ago on Tue Oct 25 14:15:30 2016. Error: installed package python2-pkgwat-api-0.12-11.fc24.noarch obsoletes python-pkgwat-api < 0.12-11.fc24 provided by python-pkgwat-api-0.12-8.fc24.noarch (try to add '--allowerasing' to command line to replace conflicting packages) [vagrant@hubs-dev ~]$ sudo dnf install python-pkgwat-api --allowerasing Last metadata expiration check: 0:37:00 ago on Tue Oct 25 14:15:30 2016. Dependencies resolved. ====================================================================== Installing: python-pkgwat-api noarch 0.12-8.fc24 fedora 32 k Removing: python2-pkgwat-api noarch 0.12-11.fc24 @updates 86 k Transaction Summary ====================================================================== Install 1 Package Remove 1 Package Total size: 32 k Is this ok [y/N]: N However, the latest version is already installed if I explicitly say ``python2-pkgwat-api`` and that package seems to provide ``python-pkgwat-api``: [vagrant@hubs-dev ~]$ sudo dnf install python2-pkgwat-api Last metadata expiration check: 0:48:08 ago on Tue Oct 25 14:15:30 2016. Package python2-pkgwat-api-0.12-11.fc24.noarch is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [vagrant@hubs-dev ~]$ sudo dnf provides python-pkgwat-api Last metadata expiration check: 0:36:53 ago on Tue Oct 25 14:15:30 2016. python2-pkgwat-api-0.12-11.fc24.noarch : Python API for querying the fedora packages webapp Repo : @System python-pkgwat-api-0.12-8.fc24.noarch : Python API for querying the fedora packages webapp Repo : fedora python2-pkgwat-api-0.12-11.fc24.noarch : Python API for querying the fedora packages webapp Repo : updates
This is a long standing dnf bug. ;) https://bugzilla.redhat.com/show_bug.cgi?id=1096506
I think this works fine on F25 at least I checked by asking dnf to install python-pkgwat-api and python2-pkgwat-api and both times result was already installed. Tested dnf version was dnf-1.1.10-2.fc25
(In reply to Kevin Fenzi from comment #1) > This is a long standing dnf bug. ;) > > https://bugzilla.redhat.com/show_bug.cgi?id=1096506 Ahhh, I'm surprised I've never run into this before. Thanks! *** This bug has been marked as a duplicate of bug 1096506 ***