从 RHEL 8.5 到 RHEL 8.6 的“yum update –security”因依赖错误而失败

环境红帽企业 Linux 8.5

问题

  • 由于依赖冲突,安全更新失败:
  • 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 …
  • Problem 2: problem with installed package dhcp-client-12:4.3.6-45.el8.x86_64 …
  • Problem 3: problem with installed package sssd-ipa-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 … Problem 5: problem with installed package sssd-ad-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 … (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)
  • 解析

    使用dnf更新RHBA-2022:5816 – Bug Fix Advisory中描述的实用程序。

    这可以通过仅更新libdnf软件包系列到可用的最新版本:

    yum update -y libdnf

    根本原因

    由于 DNF 实用程序中以前未知的限制,从 8.5 升级到 8.6 可能会在受到安全勘误表限制时导致不完整的依赖关系解决。

    此问题已通过Bugzilla 2088149 进行调查和解决——执行从 RHEL 8.5 到 RHEL 8.6 的安全更新会导致依赖性错误。

    诊断步骤

  • 跑步时dnf update使用–security选项,报依赖冲突错误:
  • # dnf update –security
  • Updating Subscription Management repositories.
  • Red Hat Enterprise Linux 8 for x86_64 – AppStream (RPMs) 2.8 MB/s | 44 MB 00:15
  • Red Hat Enterprise Linux 8 for x86_64 – BaseOS (RPMs) 2.8 MB/s | 47 MB 00:16
  • Last metadata expiration check: 0:00:10 ago on Thu 19 May 2022 01:15:26 AM IST.
  • 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-10.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-7.el8_5.x86_64 – 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 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-10.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-10.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-7.el8_5.x86_64 – 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 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 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 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 liblibcli-lsa3-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 – 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-10.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-10.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-7.el8_5.x86_64 – 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 – 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-10.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-10.el8_5.x86_64 requires samba-common = 4.14.5-10.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-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.14.5-7.el8_5.x86_64 requires samba-common = 4.14.5-7.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-10.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-9.el8_5.noarch – cannot install both samba-common-4.15.5-5.el8.noarch and samba-common-4.14.5-7.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-10.el8_5.noarch (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)
  • 来源:二大爷杂谈

    声明:本站部分文章及图片转载于互联网,内容版权归原作者所有,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

    上一篇 2022年10月9日
    下一篇 2022年10月9日

    相关推荐