Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible request for curl on CentOS Stream9 #3871

Open
sxa opened this issue Feb 6, 2025 · 2 comments
Open

Ansible request for curl on CentOS Stream9 #3871

sxa opened this issue Feb 6, 2025 · 2 comments

Comments

@sxa
Copy link
Member

sxa commented Feb 6, 2025

Please put the name of the software product (and affected platforms if relevant) in the title of this issue

Delete as appropriate from this list:

  • Bug in ansible playbook

Details:
Running the playbooks against a CentOS Stream 9 docker containers gives the following error:
258.4 failed: [localhost] (item=curl) => {"ansible_loop_var": "item", "changed": false, "failures": [], "item": "curl", "msg": "Depsolve Error occurred: \n Problem: problem with installed package curl-minimal-7.76.1-31.el9.aarch64\n - package curl-minimal-7.76.1-31.el9.aarch64 from @System conflicts with curl provided by curl-7.76.1-31.el9.aarch64 from baseos\n - package curl-minimal-7.76.1-23.el9.aarch64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.aarch64 from baseos\n - package curl-minimal-7.76.1-26.el9.aarch64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.aarch64 from baseos\n - package curl-minimal-7.76.1-28.el9.aarch64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.aarch64 from baseos\n - package curl-minimal-7.76.1-29.el9.aarch64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.aarch64 from baseos\n - package curl-minimal-7.76.1-31.el9.aarch64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.aarch64 from baseos\n - cannot install the best candidate for the job", "rc": 1, "results": []}

Noting that curl is already in the base image so skipping this may be the simplest solution, although we should understand the underlying reason why this is happening - potentially a repository issue

@sxa sxa added the ansible label Feb 6, 2025
@sxa
Copy link
Member Author

sxa commented Feb 6, 2025

This is more fundamental - dnf install curl doesn't work out of the box ... Happens on x64 and aarch64

sxa@fedora:~$ podman run -it quay.io/centos/centos:stream9 dnf install curl
CentOS Stream 9 - BaseOS                                                                                6.5 MB/s | 8.4 MB     00:01    
CentOS Stream 9 - AppStream                                                                             8.3 MB/s |  22 MB     00:02    
CentOS Stream 9 - Extras packages                                                                        62 kB/s |  20 kB     00:00    
Error: 
 Problem: problem with installed package curl-minimal-7.76.1-29.el9.x86_64
  - package curl-minimal-7.76.1-29.el9.x86_64 from @System conflicts with curl provided by curl-7.76.1-31.el9.x86_64 from baseos
  - package curl-minimal-7.76.1-23.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.x86_64 from baseos
  - package curl-minimal-7.76.1-26.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.x86_64 from baseos
  - package curl-minimal-7.76.1-28.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.x86_64 from baseos
  - package curl-minimal-7.76.1-29.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.x86_64 from baseos
  - package curl-minimal-7.76.1-31.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-31.el9.x86_64 from baseos
  - cannot install the best candidate for the job
(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)
sxa@fedora:~$

@sxa sxa added this to the 2025-02 (February) milestone Feb 20, 2025
@sxa
Copy link
Member Author

sxa commented Feb 20, 2025

Ref: #3802 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant