Bug 1641441

Summary: package anki-2.0.52-1.fc28.noarch requires pygame, but none of the providers can be installed
Product: [Fedora] Fedora Reporter: Kees de Jong <keesdejong+dev>
Component: ankiAssignee: Thomas Drake-Brockman <thomas>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 28CC: chkr, dmach, thomas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-26 17:06:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kees de Jong 2018-10-22 05:57:25 UTC
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

Comment 1 Thomas Drake-Brockman 2018-10-22 13:45:26 UTC
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?

Comment 2 Kees de Jong 2018-10-24 07:24:48 UTC
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!

Comment 3 Fedora Update System 2018-10-24 17:52:30 UTC
pygame-1.9.4-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ddfd0985fa

Comment 4 Jason Tibbitts 2018-10-24 17:52:56 UTC
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.

Comment 5 Fedora Update System 2018-10-26 17:06:50 UTC
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.