Bug 2122845 - dnf install ansible shows comflicts
Summary: dnf install ansible shows comflicts
Keywords:
Status: CLOSED DUPLICATE of bug 2121892
Alias: None
Product: Fedora
Classification: Fedora
Component: ansible
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-31 01:32 UTC by Aaron Lu
Modified: 2022-09-06 14:52 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-31 02:25:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Aaron Lu 2022-08-31 01:32:08 UTC
Description of problem:
When install ansible, I got multiple conflicts messages

Version-Release number of selected component (if applicable):
2.9.27-3.fc35.noarch

How reproducible:
Always

Steps to Reproduce:
1. sudo dnf install ansible
2.
3.

Actual results:
$ sudo dnf install ansible
Last metadata expiration check: 0:35:37 ago on Wed 31 Aug 2022 07:32:12 AM CST.
Dependencies resolved.

 Problem: problem with installed package rpm-build-4.17.1-3.fc35.x86_64
  - package ansible-2.9.27-3.fc35.noarch requires (ansible-packaging if rpm-build), but none of the providers can be ins
talled
  - package ansible-packaging-1-7.fc35.noarch requires ansible-core, but none of the providers can be installed
  - package ansible-core-2.11.5-1.fc35.noarch conflicts with ansible <= 2.9.99 provided by ansible-2.9.27-3.fc35.noarch
  - package ansible-2.9.27-3.fc35.noarch conflicts with ansible-base > 2.10.0 provided by ansible-core-2.11.5-1.fc35.noa
rch
  - package ansible-2.9.27-3.fc35.noarch conflicts with ansible-core > 2.11.0 provided by ansible-core-2.11.5-1.fc35.noa
rch
  - package ansible-2.9.27-3.fc35.noarch conflicts with ansible-base > 2.10.0 provided by ansible-core-2.12.7-1.fc35.noarch
  - package ansible-2.9.27-3.fc35.noarch conflicts with ansible-core > 2.11.0 provided by ansible-core-2.12.7-1.fc35.noa
rch
  - package ansible-core-2.12.7-1.fc35.noarch conflicts with ansible <= 2.9.99 provided by ansible-2.9.27-3.fc35.noarch
  - cannot install the best candidate for the job
========================================================================================================================
 Package                              Architecture          Version                        Repository              Size
========================================================================================================================Installing:
 ansible                              noarch                2.9.26-1.fc35                  fedora                  15 M
Installing dependencies:
 python3-bcrypt                       x86_64                3.2.2-1.fc35                   updates                 43 k
 python3-jinja2                       noarch                3.0.1-2.fc35                   fedora                 529 k
 python3-jmespath                     noarch                0.10.0-4.fc35                  fedora                  46 k
 python3-markupsafe                   x86_64                2.0.0-2.fc35                   fedora                  27 k
 python3-ntlm-auth                    noarch                1.5.0-8.fc35                   updates                 53 k
 python3-requests_ntlm                noarch                1.1.0-16.fc35                  fedora                  18 k
 python3-xmltodict                    noarch                0.12.0-13.fc35                 fedora                  22 k
Installing weak dependencies:
 python3-paramiko                     noarch                2.11.0-1.fc35                  updates                303 k
 python3-winrm                        noarch                0.4.1-4.fc35                   fedora                  80 k
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 ansible                              noarch                2.9.27-3.fc35                  updates                 15 M
 ansible-core                         noarch                2.11.5-1.fc35                  fedora                 2.3 M
 ansible-core                         noarch                2.12.7-1.fc35                  updates                2.4 M
Skipping packages with broken dependencies:
 ansible-packaging                    noarch                1-7.fc35                       updates                 21 k

Transaction Summary
========================================================================================================================
Install  10 Packages
Skip      4 Packages

Total download size: 16 M
Installed size: 101 M
Is this ok [y/N]:


Expected results:
No conflicts messages appear

Additional info:
dnf offered to install an older version ansible-2.9.26-1.fc35.noarch.rpm and I've no problem of installing that but the conflict messages don't look right and probably needs fixed somewhere.

Comment 1 Maxwell G 2022-08-31 02:25:18 UTC
This has already been reported, and I've already fixed it :). The fixed package should be on the mirrors soon, but if this is an emergency, you can try `dnf install ansible --enablerepo=updates-testing` or just install the old version.

*** This bug has been marked as a duplicate of bug 2121892 ***

Comment 2 Aaron Lu 2022-09-06 14:52:33 UTC
Thanks, I can confirm there is no problem now.


Note You need to log in before you can comment on or make changes to this bug.