Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2090785

Summary: Yum update on RHEL 8 client fails with error "cannot install both json-c-0.13.1-3.el8.x86_64 and json-c-0.13.1-2.el8.x86_64" if --security flag is used.
Product: Red Hat Enterprise Linux 8 Reporter: Manu Sunil <msunil>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: swm-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: amatej, james.antill
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-30 13:15:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Manu Sunil 2022-05-26 14:27:11 UTC
Description of problem:

- Yum update on RHEL 8 client fails with the following error if --security flag is used.

  ~~~
  Problem 1: cannot install both json-c-0.13.1-3.el8.x86_64 and json-c-0.13.1-2.el8.x86_64
  ~~~
Version-Release number of selected component (if applicable):

- RHEL 8

How reproducible:

- Every time

Steps to Reproduce:

1. Execute yum update on a system connected to the CDN or to a Satellite with recently synced repositories.

   
2. The following can be executed on the client.

   ~~~
   # yum update --security
   ~~~

Actual results:

   ~~~
   Error: 
    Problem 1: cannot install both json-c-0.13.1-3.el8.x86_64 and json-c-0.13.1-2.el8.x86_64
     - package bind-libs-lite-32:9.11.36-3.el8.x86_64 requires libjson-c.so.4(JSONC_0.14)(64bit), but none of the providers can be installed
     - cannot install the best update candidate for package json-c-0.13.1-2.el8.x86_64
     - cannot install the best update candidate for package bind-libs-lite-32:9.11.26-6.el8.x86_64
    Problem 2: problem with installed package dhcp-client-12:4.3.6-45.el8.x86_64
     - package dhcp-client-12:4.3.6-47.el8.x86_64 requires dhcp-libs(x86-64) = 12:4.3.6-47.el8, but none of the providers can be installed
     - package dhcp-client-12:4.3.6-45.el8.x86_64 requires libdns-export.so.1112()(64bit), but none of the providers can be installed
     - cannot install both dhcp-libs-12:4.3.6-47.el8.x86_64 and dhcp-libs-12:4.3.6-45.el8.x86_64
     - cannot install both bind-export-libs-32:9.11.36-3.el8.x86_64 and bind-export-libs-32:9.11.26-6.el8.x86_64
     - cannot install both bind-export-libs-32:9.11.36-3.el8.x86_64 and bind-export-libs-32:9.11.26-4.el8_4.x86_64
     - cannot install both bind-export-libs-32:9.11.36-3.el8.x86_64 and bind-export-libs-32:9.11.26-3.el8.x86_64
     - cannot install the best update candidate for package dhcp-libs-12:4.3.6-45.el8.x86_64
     - cannot install the best update candidate for package bind-export-libs-32:9.11.26-6.el8.x86_64
    Problem 3: problem with installed package sssd-ipa-2.5.2-2.el8_5.4.x86_64
     - package sssd-ipa-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1()(64bit), but none of the providers can be installed
     - package sssd-ipa-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1(NDR_0.0.1)(64bit), but none of the providers can be installed
     - package sssd-ipa-2.6.2-3.el8.x86_64 requires libipa_hbac(x86-64) = 2.6.2-3.el8, but none of the providers can be installed
     - package sssd-ipa-2.6.2-4.el8_6.x86_64 requires libipa_hbac(x86-64) = 2.6.2-4.el8_6, but none of the providers can be installed
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-9.el8_5.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.12.3-12.el8.3.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-3.el8.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.12.3-14.el8_3.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-4.el8_4.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-5.el8_4.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-2.el8.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-10.el8_5.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-7.el8_5.x86_64
     - cannot install both libipa_hbac-2.6.2-3.el8.x86_64 and libipa_hbac-2.5.2-2.el8_5.4.x86_64
     - cannot install both libipa_hbac-2.6.2-4.el8_6.x86_64 and libipa_hbac-2.5.2-2.el8_5.4.x86_64
     - cannot install the best update candidate for package samba-client-libs-4.14.5-9.el8_5.x86_64
     - cannot install the best update candidate for package libipa_hbac-2.5.2-2.el8_5.4.x86_64
    Problem 4: problem with installed package sssd-common-pac-2.5.2-2.el8_5.4.x86_64
     - package sssd-common-pac-2.6.2-3.el8.x86_64 requires libsss_idmap = 2.6.2-3.el8, but none of the providers can be installed
     - package sssd-common-pac-2.6.2-4.el8_6.x86_64 requires libsss_idmap = 2.6.2-4.el8_6, but none of the providers can be installed
     - package sssd-common-pac-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1()(64bit), but none of the providers can be installed
     - package sssd-common-pac-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1(NDR_0.0.1)(64bit), but none of the providers can be installed
     - libsss_idmap-2.6.2-3.el8.i686 has inferior architecture
     - libsss_idmap-2.6.2-4.el8_6.i686 has inferior architecture
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-9.el8_5.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.12.3-12.el8.3.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-3.el8.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.12.3-14.el8_3.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-4.el8_4.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-5.el8_4.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-2.el8.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-10.el8_5.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-7.el8_5.x86_64
     - cannot install both libsss_idmap-2.6.2-3.el8.x86_64 and libsss_idmap-2.5.2-2.el8_5.4.x86_64
     - cannot install both libsss_idmap-2.6.2-4.el8_6.x86_64 and libsss_idmap-2.5.2-2.el8_5.4.x86_64
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libndr.so.2()(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libndr.so.2(NDR_0.0.1)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libsamba-debug-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libreplace-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libsamba-security-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libsamba3-util-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libsecrets3-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libcli-smb-common-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libdcerpc-samba-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libgse-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires liblibsmb-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires libmsrpc3-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - package libsmbclient-4.15.5-5.el8.x86_64 requires liblibcli-lsa3-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - cannot install the best update candidate for package libsss_idmap-2.5.2-2.el8_5.4.x86_64
     - cannot install the best update candidate for package libsmbclient-4.14.5-9.el8_5.x86_64
    Problem 5: problem with installed package sssd-ad-2.5.2-2.el8_5.4.x86_64
     - package sssd-ad-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1()(64bit), but none of the providers can be installed
     - package sssd-ad-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1(NDR_0.0.1)(64bit), but none of the providers can be installed
     - package sssd-ad-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1(NDR_0.0.6)(64bit), but none of the providers can be installed
     - package sssd-ad-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1(NDR_1.0.0)(64bit), but none of the providers can be installed
     - package sssd-ad-2.6.2-3.el8.x86_64 requires libsss_certmap = 2.6.2-3.el8, but none of the providers can be installed
     - package sssd-ad-2.6.2-4.el8_6.x86_64 requires libsss_certmap = 2.6.2-4.el8_6, but none of the providers can be installed
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-9.el8_5.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.12.3-12.el8.3.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-3.el8.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.12.3-14.el8_3.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-4.el8_4.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.13.3-5.el8_4.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-2.el8.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-10.el8_5.x86_64
     - cannot install both samba-client-libs-4.15.5-5.el8.x86_64 and samba-client-libs-4.14.5-7.el8_5.x86_64
     - libsss_certmap-2.6.2-3.el8.i686 has inferior architecture
     - libsss_certmap-2.6.2-4.el8_6.i686 has inferior architecture
     - package libwbclient-4.15.5-5.el8.x86_64 requires libreplace-samba4.so(SAMBA_4.15.5)(64bit), but none of the providers can be installed
     - cannot install both libsss_certmap-2.6.2-3.el8.x86_64 and libsss_certmap-2.5.2-2.el8_5.4.x86_64
     - cannot install both libsss_certmap-2.6.2-4.el8_6.x86_64 and libsss_certmap-2.5.2-2.el8_5.4.x86_64
     - cannot install the best update candidate for package libwbclient-4.14.5-9.el8_5.x86_64
     - cannot install the best update candidate for package libsss_certmap-2.5.2-2.el8_5.4.x86_64
    Problem 6: problem with installed package sssd-2.5.2-2.el8_5.4.x86_64
     - package sssd-2.5.2-2.el8_5.4.x86_64 requires sssd-ipa = 2.5.2-2.el8_5.4, but none of the providers can be installed
     - package sssd-2.6.2-3.el8.x86_64 requires sssd-common = 2.6.2-3.el8, but none of the providers can be installed
     - package sssd-2.6.2-4.el8_6.x86_64 requires sssd-common = 2.6.2-4.el8_6, but none of the providers can be installed
     - package sssd-ipa-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1()(64bit), but none of the providers can be installed
     - package sssd-ipa-2.5.2-2.el8_5.4.x86_64 requires libndr.so.1(NDR_0.0.1)(64bit), but none of the providers can be installed
     - package sssd-common-2.6.2-3.el8.x86_64 requires sssd-client(x86-64) = 2.6.2-3.el8, but none of the providers can be installed
     - package sssd-common-2.6.2-4.el8_6.x86_64 requires sssd-client(x86-64) = 2.6.2-4.el8_6, but none of the providers can be installed
     - package samba-client-libs-4.14.5-9.el8_5.x86_64 requires samba-common = 4.14.5-9.el8_5, but none of the providers can be installed
     - package samba-client-libs-4.12.3-12.el8.3.x86_64 requires samba-common = 4.12.3-12.el8.3, but none of the providers can be installed
     - package samba-client-libs-4.12.3-14.el8_3.x86_64 requires samba-common = 4.12.3-14.el8_3, but none of the providers can be installed
     - package samba-client-libs-4.13.3-4.el8_4.x86_64 requires samba-common = 4.13.3-4.el8_4, but none of the providers can be installed
     - package samba-client-libs-4.13.3-3.el8.x86_64 requires samba-common = 4.13.3-3.el8, but none of the providers can be installed
     - package samba-client-libs-4.13.3-5.el8_4.x86_64 requires samba-common = 4.13.3-5.el8_4, but none of the providers can be installed
     - package samba-client-libs-4.14.5-2.el8.x86_64 requires samba-common = 4.14.5-2.el8, but none of the providers can be installed
     - package samba-client-libs-4.14.5-7.el8_5.x86_64 requires samba-common = 4.14.5-7.el8_5, but none of the providers can be installed
     - package samba-client-libs-4.14.5-10.el8_5.x86_64 requires samba-common = 4.14.5-10.el8_5, but none of the providers can be installed
     - cannot install both sssd-client-2.6.2-3.el8.x86_64 and sssd-client-2.5.2-2.el8_5.4.x86_64
     - cannot install both sssd-client-2.6.2-4.el8_6.x86_64 and sssd-client-2.5.2-2.el8_5.4.x86_64
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.14.5-9.el8_5.noarch
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.12.3-12.el8.3.noarch
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.12.3-14.el8_3.noarch
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.13.3-4.el8_4.noarch
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.13.3-3.el8.noarch
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.13.3-5.el8_4.noarch
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.14.5-2.el8.noarch
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.14.5-7.el8_5.noarch
     - cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.14.5-10.el8_5.noarch
     - cannot install the best update candidate for package sssd-client-2.5.2-2.el8_5.4.x86_64
     - cannot install the best update candidate for package samba-common-4.14.5-9.el8_5.noarch
~~~ 
  
Additional info:

- This happens after the release of RHEL 8.6 

- This can be worked around if the packages are updated separately.

  ~~~
  # yum update dhcp-client sssd\* samba\*
  ~~~

Comment 1 amatej 2022-05-30 13:15:29 UTC

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