Bug 2141351 - yum update of ansible-core blocked by ansible version dependency
Summary: yum update of ansible-core blocked by ansible version dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ansible
Version: epel8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Maxwell G
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-09 14:37 UTC by Evan Rempel
Modified: 2022-11-18 01:53 UTC (History)
6 users (show)

Fixed In Version: ansible-6.3.0-1.el8
Clone Of:
Environment:
Last Closed: 2022-11-18 01:53:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources ansible pull-request 36 0 None None None 2022-11-09 17:15:20 UTC

Description Evan Rempel 2022-11-09 14:37:08 UTC
The current ansible package ansible-5.4.0-3.el8.noarch.rpm has a requirement of

ansible-core >= 2.12.2 with ansible-core < 2.13

but redhat has just released a new ansible-core ansible-core-2.13.3-1.el8.x86_64

which breaks a full yum update


Steps to Reproduce:
1. on a RHEL8 system install ansible-5.4.0-3.el8.noarch and ansible-core-2.12.2-4.el8_6.x86_64
2. yum update


Actual results:

Depsolve Error occured: 
 Problem: package ansible-5.4.0-3.el8.noarch requires (ansible-core >= 2.12.2 with ansible-core < 2.13), but none of the providers can be installed
  - cannot install both ansible-core-2.13.3-1.el8.x86_64 and ansible-core-2.12.2-4.el8_6.x86_64
  - cannot install both ansible-core-2.13.3-1.el8.x86_64 and ansible-core-2.12.2-3.1.el8.x86_64
  - cannot install the best update candidate for package ansible-core-2.12.2-4.el8_6.x86_64
  - cannot install the best update candidate for package ansible-5.4.0-3.el8.noarch


Expected results:

updated packages get installed.

Additional info:

Comment 1 Maxwell G 2022-11-09 17:25:01 UTC
This is an unfortunate side effect of the fact that the EPEL ansible maintainers don't have control over ansible-core in RHEL, and it's to time updates across repositories. I have tried to stick to upstream's version constraints, but that's apparently not working too well. I'm planning to remove the upper version constraints from ansible in EPEL 8 and 9 so we have a grace period to properly release and test new ansible major versions after RHEL rebases ansible-core. The lower version constraints (e.g. ansible 6.5.0 requires at least ansible-core 2.13.5) can stay in place.

Comment 2 Fedora Update System 2022-11-10 00:24:35 UTC
FEDORA-EPEL-2022-5ee67963d8 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-5ee67963d8

Comment 3 Fedora Update System 2022-11-10 16:46:32 UTC
FEDORA-EPEL-2022-5ee67963d8 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-5ee67963d8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-11-18 01:53:24 UTC
FEDORA-EPEL-2022-5ee67963d8 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.