Description of problem: package anki-2.0.52-1.fc28.noarch requires pygame, but none of the providers can be installed Version-Release number of selected component (if applicable): anki-2.0.52-1.fc28.noarch How reproducible: # dnf up --ref Last metadata expiration check: 0:00:00 ago on ma 22 okt 2018 07:56:11 CEST. Dependencies resolved. Problem: package anki-2.0.52-1.fc28.noarch requires pygame, but none of the providers can be installed - cannot install both python2-pygame-1.9.4-3.fc28.x86_64 and python2-pygame-1.9.4-1.fc28.x86_64 - cannot install both python2-pygame-1.9.3-6.fc28.x86_64 and python2-pygame-1.9.4-3.fc28.x86_64 - cannot install the best update candidate for package python2-pygame-1.9.4-1.fc28.x86_64 - cannot install the best update candidate for package anki-2.0.52-1.fc28.noarch ================================================================================ Package Arch Version Repository Size ================================================================================ Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): python2-pygame x86_64 1.9.3-6.fc28 fedora 3.1 M python2-pygame x86_64 1.9.4-3.fc28 updates 3.1 M Transaction Summary ================================================================================ Skip 2 Packages Nothing to do. Complete! Actual results: A package version conflict emerges with python2-pygame Expected results: No conflicts Additional info: None
Thanks @keesdejong, not sure this is an issues with the anki package, rather an issue with either the python2-pygame package or with dnf itself. @dmach, can you provide any insight? @keesdejong, could you test what happens if you try to update python2-pygame first?
You're right, I just checked the spec file, there are no specific version evaluations done for pygame. So there shouldn't be a conflict there. No luck updating pygame separately: # dnf update python2-pygame-1.9.4-3.fc28.x86_64 Last metadata expiration check: 2:43:01 ago on wo 24 okt 2018 06:29:39 CEST. Dependencies resolved. Problem: problem with installed package anki-2.0.52-1.fc28.noarch - package anki-2.0.52-1.fc28.noarch requires pygame, but none of the providers can be installed - cannot install both python2-pygame-1.9.4-3.fc28.x86_64 and python2-pygame-1.9.4-1.fc28.x86_64 - cannot install both python2-pygame-1.9.3-6.fc28.x86_64 and python2-pygame-1.9.4-3.fc28.x86_64 - cannot install the best update candidate for package python2-pygame-1.9.4-1.fc28.x86_64 ================================================================================ Package Arch Version Repository Size ================================================================================ Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): python2-pygame x86_64 1.9.3-6.fc28 fedora 3.1 M python2-pygame x86_64 1.9.4-3.fc28 updates 3.1 M Transaction Summary ================================================================================ Skip 2 Packages Nothing to do. Complete!
pygame-1.9.4-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ddfd0985fa
Same problem here. The issue is that anki has a direct dependency on "pygame". There's no package with that name, but it has generally been provided by the python2-pygame package. 1.9.3-6 provides it, and 1.9.4-4 (in updates-testing) provides it. The update is https://bodhi.fedoraproject.org/updates/FEDORA-2018-ddfd0985fa; it will go out quicker if you could provide some karma. So the bug isn't really in anki, but it would probably be better if anki would depend directly on python2-pygame. Though of course it will very soon have to be moved to python3 (or be removed from Fedora) which will force the issue. Fortunately anki 2.1 has python3 support.
pygame-1.9.4-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.