Comment 15 for bug 2046172

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote (last edit ):

Ok, right after I wrote an update - I was able to reproduce the issue. For that, I had to swap curl-minimal that's being installed in my image with curl, and then run a sample and easy playbook:

- hosts: localhost
  tasks:
    - package:
        name: /usr/bin/curl
        state: present

[root@server-1128-0945 openstack-ansible]# rpm -qa | grep curl
libcurl-minimal-7.76.1-26.el9_3.2.0.1.x86_64
curl-7.76.1-26.el9_3.2.0.1.x86_64
[root@server-1128-0945 openstack-ansible]#

Running dnf install directly does not result in any issues:
[root@server-1128-0945 openstack-ansible]# dnf install /usr/bin/curl
Last metadata expiration check: 2:33:20 ago on Thu Dec 28 12:18:50 2023.
Package curl-7.76.1-26.el9_3.2.0.1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@server-1128-0945 openstack-ansible]#

However running the playbook does:

TASK [package] *****************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failures": [], "msg": "Depsolve Error occurred: \n Problem: problem with installed package curl-7.76.1-26.el9_3.2.0.1.x86_64\n - package curl-minimal-7.76.1-26.el9_3.2.0.1.x86_64 conflicts with curl provided by curl-7.76.1-26.el9_3.2.0.1.x86_64\n - conflicting requests", "rc": 1, "results": []}

Running `dnf swap curl curl-minimal` does solve the issue though