-
Bug
-
Resolution: Unresolved
-
Undefined
-
CentOS Stream 9
-
No
-
Important
-
rhel-sst-idm-ipa
-
ssg_idm
-
None
-
False
-
-
No
-
None
-
None
-
None
-
Unspecified Release Note Type - Unknown
-
-
All
-
None
What were you trying to do that didn't work?
Installing the ansible-freeipa package version 1.13.2 did not conflict in the defined required dependency of ansible-core 2.15.
What is the impact of this issue to you?
Wrong version of ansible-core can be installed and therefore might cause issues.
Please provide the package NVR for which the bug is seen:
ansible-freeipa-1.13.2-1.el9.src.rpm
How reproducible is this bug?:
always
Steps to reproduce
- install lated RHEL 9.5
- sudo dnf install ansible-freeipa
Expected results
the installation shall fail as ansible-core 2.15 is not provided and the dependency is resolved by using the 2.14 ansible-core rpm
$ dnf deplist ansible-freeipa
package: ansible-freeipa-1.13.2-1.el9.noarch
dependency: /usr/bin/bash
provider: bash-5.1.8-9.el9.x86_64
dependency: /usr/bin/python3
provider: python3-3.9.19-8.el9_5.1.x86_64
provider: python3-3.9.19-8.el9_5.1.i686
dependency: ansible-core >= 2.15.0
provider: ansible-core-1:2.14.17-1.el9.x86_64
reason for the ignoring version is that the RPM spec file does not specify the epoch.
A possible mitigation could be to change the lines from
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
Requires: ansible-core >= 2.15.0
%endif
to (adding the epoch into the notation as described in (https://rpm-software-management.github.io/rpm/manual/dependencies.html#:~:text=the%20package%20name.-,Versioning,-The%20full%20syntax)
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
Requires: ansible-core >= 1:2.15.0
%endif
Actual results
the ansible-freeipa module get's installed and might cause hidden issues.