[CentOS-devel] IPA + dependencies issue - fail to update

Mon Sep 5 19:36:29 UTC 2022
Nico Kadel-Garcia <nkadel at gmail.com>

On Mon, Sep 5, 2022 at 5:25 AM lejeczek via CentOS-devel
<centos-devel at centos.org> wrote:
>
> Hi guys.
>
> This issue is almost a month old - could @devel please look into it.
> Also a personal comment - this does not look too good as this is not the first time IPA when deployed has this very kind of problems - something there where freeIPA team & Centos team(s) co-exists/operate seems broken - it would be great if you guys(everybody involved) could look into it as well.
>
> many thanks, L

Don't use FreeIPA? Re-inventing Samba, and deliberately disabling the
domain controller features in RHEL compiled Samba, has been one of the
silliest things Red Hat has done. I suspect they could have made
considerably more money and satisfied ore customers by simply
supporting Samba, on which sssd and FreeIPA rely, and avoid these
destabilizing wrappers on top of Samba functionality. And yes, I put
my time and my money where my mouth is and publish RPM building tools
for Samba releases for RHEL use with the domain controller enabled,
over at https://github.com/nkadel/samba4repo/

If your RPM database has gotten messed up for whatever reason, use this:

       rpm --rebuilddb

That said, I'd double check you installed for accidental duplication
or partial deployments.

        rpm -qa --qf '%{name}.%{arch}\n' | sort | uniq -d

And manually re-install the latest version of anything that shows up
which isn't a kernel, or one of those yucky, icky gnarly modular
packaged components. modular packages are their own nightmare

Then I'd use:

       dnf clean all --enablerepo=*
       dnf list extras
       dnf update --no-best

The "best" operation has gotten very confusing at times, especially as
CentOS is now "streaming" beta test platform rather than a production
release based platform, and peculiarities are likely to sneak in as
individual bits and pieces get updated out of sync. This can be
especially exacerbated if you have non-standard or third party dnf
channels.

Frankly, I often turn off the "best" operation in /etc/dnf.conf
because it's problematic if you use personally built dnf channels as I
do for Samba work.

Nico Kadel-Garcia

> Last metadata expiration check: 0:00:18 ago on Mon 05 Sep 2022 10:17:13 BST.
> Error:
>  Problem 1: package ipa-server-trust-ad-4.9.8-7.module_el8.6.0+1103+a004f6a8.x86_64 requires libsmbconf.so.0(SMBCONF_0)(64bit), but none of the providers can be installed
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.16.2-1.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.13.3-3.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.14.4-4.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.14.5-0.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.14.5-2.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.3-0.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.4-0.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-0.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-3.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-4.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-5.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-8.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.16.1-0.el8.x86_64
>   - cannot install the best update candidate for package samba-client-libs-4.16.2-1.el8.x86_64
>   - cannot install the best update candidate for package ipa-server-trust-ad-4.9.8-7.module_el8.6.0+1103+a004f6a8.x86_64
>  Problem 2: problem with installed package ipa-server-trust-ad-4.9.8-7.module_el8.6.0+1103+a004f6a8.x86_64
>   - package ipa-server-trust-ad-4.9.8-7.module_el8.6.0+1103+a004f6a8.x86_64 requires libsmbconf.so.0(SMBCONF_0)(64bit), but none of the providers can be installed
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.16.2-1.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.13.3-3.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.14.4-4.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.14.5-0.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.14.5-2.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.3-0.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.4-0.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-0.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-3.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-4.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-5.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.15.5-8.el8.x86_64
>   - cannot install both samba-client-libs-4.16.4-1.el8.x86_64 and samba-client-libs-4.16.1-0.el8.x86_64
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libsamba-debug-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libsmbconf.so.0(SMBCONF_0.0.1)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libreplace-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libsamba-security-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libsamba3-util-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libsecrets3-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libcli-smb-common-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libdcerpc-samba-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libmsrpc3-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires libgse-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires liblibsmb-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - package libsmbclient-4.16.4-1.el8.x86_64 requires liblibcli-lsa3-samba4.so(SAMBA_4.16.4_SAMBA4)(64bit), but none of the providers can be installed
>   - cannot install the best update candidate for package libsmbclient-4.16.2-1.el8.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)
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel