Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionDimitri Savineau
2022-03-07 17:50:22 UTC
Description of problem:
When both ansible and ansible-core packages are available at the same time then installing/upgrading the ansible package will result into pulling the ansible-core package.
Version-Release number of selected component (if applicable):
RHEL 8.6.0
ansible-core 2.12.2-2.el8.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Install a RHEL 8.6 system
2. Enable a repository providing the ansible package (like AAP 1.x or AnsibleEngine 2) which provides ansible 2.9
3. Try to install the ansible package
Actual results:
The ansible package isn't install but the ansible-core is instead.
--------------------------------------------
# dnf install ansible
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Installing:
ansible-core x86_64 2.12.2-2.el8 rhel-8-appstream-rpms 2.4 M
Installing dependencies:
(...)
--------------------------------------------
Expected results:
The ansible package (2.9) should be installable.
--------------------------------------------
# dnf install ansible
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Installing:
ansible noarch 2.9.27-1.el8ae ansible-2-rpms 17 M
Installing dependencies:
(...)
--------------------------------------------
Additional info:
If the ansible package is already installed then trying to install ansible-core should raise a conflict.
--------------------------------------------
# dnf install ansible-core
Error:
Problem: problem with installed package ansible-2.9.27-1.el8ae.noarch
- package ansible-core-2.12.2-3.el8.x86_64 conflicts with ansible < 2.10.0 provided by ansible-2.9.27-1.el8ae.noarch
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
--------------------------------------------
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (ansible-core bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:7456