# Rocky 9.2 - Ansible from epel failing

**URL:** <https://forums.rockylinux.org/t/rocky-9-2-ansible-from-epel-failing/11920>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [November 20, 2023, 5:32pm UTC](https://forums.rockylinux.org/t/rocky-9-2-ansible-from-epel-failing/11920 "2023-11-20T17:32:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alchemy24](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@alchemy24](https://forums.rockylinux.org/u/alchemy24)\
**Post date:** [November 20, 2023, 5:32pm UTC](https://forums.rockylinux.org/t/rocky-9-2-ansible-from-epel-failing/11920/1 "2023-11-20T17:32:52Z")

</div>

Hi,

Ansible used to install correctly using epel but not anymore.

```auto
[root@localhost ~]# dnf upgrade
Last metadata expiration check: 0:00:42 ago on Mon 20 Nov 2023 12:30:05 PM.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost ~]# cat /etc/redhat-release
Rocky Linux release 9.2 (Blue Onyx)

[root@localhost ~]# dnf install epel-release
Last metadata expiration check: 0:01:01 ago on Mon 20 Nov 2023 12:30:05 PM.
Package epel-release-9-7.el9.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

[root@localhost ~]# dnf install ansible
Last metadata expiration check: 0:01:09 ago on Mon 20 Nov 2023 12:30:05 PM.
Error:
 Problem: conflicting requests
  - nothing provides python3.9dist(ansible-core) >= 2.14.7 needed by ansible-1:7.7.0-1.el9.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

```

I have ansible-7.2.0-1.el9.noarch isntalled on other 9.2 workstation, but now it seems ansible 7.7.0 need an unavailable python package ?

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [November 20, 2023, 6:14pm UTC](https://forums.rockylinux.org/t/rocky-9-2-ansible-from-epel-failing/11920/2 "2023-11-20T18:14:38Z")

</div>

What does the EPEL package ‘ansible’ have? Collections, i.e. optional roles?  
AFAIK, the program itself is in Rocky, in package `ansible-core`.

(Some) EPEL packages are already built for ‘el9\_3’. (Your) Rocky is still a ‘el9\_2’.

Rocky 9.3 is GA: [Rocky Linux 9.3 Available Now | Rocky Linux](https://rockylinux.org/news/rocky-linux-9-3-ga-release/)  
Should show up in mirrors. I’d see what one gets with:

```plaintext
dnf --enablerepo=* clean all
dnf remove ansible
dnf up
dnf install ansible

```

---

<div class="post-metadata">

**Author:** ![alchemy24](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@alchemy24](https://forums.rockylinux.org/u/alchemy24)\
**Post date:** [November 20, 2023, 7:11pm UTC](https://forums.rockylinux.org/t/rocky-9-2-ansible-from-epel-failing/11920/3 "2023-11-20T19:11:14Z")

</div>

Hi,

I did exactly that this morning, but it did not work !  
I guess 9.3 was released in the meantime ?!?!

Anyhow, IT WORKS !

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [January 19, 2024, 7:11pm UTC](https://forums.rockylinux.org/t/rocky-9-2-ansible-from-epel-failing/11920/4 "2024-01-19T19:11:46Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
