Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
Expand all | Collapse all

dnf update shows error after patch update

  • 1.  dnf update shows error after patch update

    Posted Mon July 25, 2022 10:16 AM
    Hi, dnf update failed after we did patch upgrade from 7200-05-03 to 7200-05-04-2220

    :/root # dnf update
    Last metadata expiration check: 7:11:16 ago on Sun Jul 24 23:51:51 2022.
    Error:
    Problem 1: cannot install both readline-8.1-1.ppc and readline-6.2-3.ppc
    - package gnupg-1.4.12-1.ppc requires libreadline.a(libreadline.so.5), but none of the providers can be installed
    - cannot install the best update candidate for package readline-6.2-3.ppc
    - problem with installed package gnupg-1.4.12-1.ppc
    Problem 2: package gcc-1:8-1.ppc requires gcc8, but none of the providers can be installed
    - package gcc8-8.3.0-4.ppc requires libgcc8 = 8.3.0-4, but none of the providers can be installed
    - package gcc8-8.3.0-5.ppc requires libgcc8 = 8.3.0-5, but none of the providers can be installed
    - package gcc8-8.3.0-6.ppc requires libgcc8 = 8.3.0-6, but none of the providers can be installed
    - cannot install both libgcc8-8.3.0-4.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-5.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-6.ppc and libgcc8-8.4.0-5.ppc
    - cannot install the best update candidate for package gcc-4.2.0-3.ppc
    - problem with installed package libgcc8-8.4.0-5.ppc
    Problem 3: package libstdc++-1:8-1.ppc requires libstdc++8, but none of the providers can be installed
    - package python-2.7.18-3.ppc requires libstdc++ >= 8.3.0, but none of the providers can be installed
    - package libstdc++8-8.3.0-4.ppc requires libgcc8 = 8.3.0-4, but none of the providers can be installed
    - package libstdc++8-8.3.0-5.ppc requires libgcc8 = 8.3.0-5, but none of the providers can be installed
    - package libstdc++8-8.3.0-6.ppc requires libgcc8 = 8.3.0-6, but none of the providers can be installed
    - package libstdc++-8.3.0-1.ppc requires libgcc = 8.3.0-1, but none of the providers can be installed
    - package libstdc++-8.3.0-2.ppc requires libgcc = 8.3.0-2, but none of the providers can be installed
    - package libstdc++-8.3.0-3.ppc requires libgcc = 8.3.0-3, but none of the providers can be installed
    - cannot install both libgcc8-8.3.0-4.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-5.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-6.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc-8.3.0-1.ppc and libgcc-1:8-1.ppc
    - cannot install both libgcc-8.3.0-2.ppc and libgcc-1:8-1.ppc
    - cannot install both libgcc-8.3.0-3.ppc and libgcc-1:8-1.ppc
    - cannot install the best update candidate for package python-2.7.13-1.ppc
    - cannot install the best update candidate for package libgcc8-8.4.0-5.ppc
    - cannot install the best update candidate for package libgcc-1:8-1.ppc
    (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)
    :/root #

    /root # rpm -qa | grep AIX-rpm
    AIX-rpm-7.2.5.103-14.ppc

    :/root # updtvpkg
    Please wait...rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
    warning: line 8: It's not recommended to have unversioned Obsoletes: Obsoletes: SysProvides
    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UApqea
    + umask 022
    + cd /opt/freeware/src/packages/BUILD
    + RPM_EC=0
    + jobs -p
    + exit 0
    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UIpqeb
    + umask 022
    + cd /opt/freeware/src/packages/BUILD
    + RPM_EC=0
    + jobs -p
    + exit 0
    Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UMpqec
    + umask 022
    + cd /opt/freeware/src/packages/BUILD
    + RPM_EC=0
    + jobs -p
    + exit 0
    Processing files: AIX-rpm-7.2.5.103-15.ppc
    Wrote: /opt/freeware/src/packages/SRPMS/AIX-rpm-7.2.5.103-15.src.rpm
    Wrote: /opt/freeware/src/packages/RPMS/ppc/AIX-rpm-7.2.5.103-15.aix7.2.ppc.rpm
    Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UYpqed
    + umask 022
    + cd /opt/freeware/src/packages/BUILD
    + RPM_EC=0
    + jobs -p
    + exit 0

    :/root # echo $LIBPATH

    :/root #


    Please help us to fix it.

    Thanks,
    HD Team

    ------------------------------
    Harley AIX
    ------------------------------

    #AIXOpenSource


  • 2.  RE: dnf update shows error after patch update

    Posted Tue July 26, 2022 01:56 AM
    Hi Harley,

    Do you have your local repository setup ?
    Please let us know the content of your dnf.conf file.

    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: dnf update shows error after patch update

    Posted Tue July 26, 2022 02:04 AM
    Hi, Here is dnf.conf output..
    :/root # cat /opt/freeware/etc/dnf/dnf.conf
    [main]
    cachedir=/var/cache/dnf
    keepcache=1
    debuglevel=2
    logfile=/var/log/dnf.log
    obsoletes=1
    plugins=1
    gpgcheck=1
    installonly_limit=3
    clean_requirements_on_remove=True
    best=True
    skip_if_unavailable=True

    [AIX_Toolbox]
    name=AIX generic repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    enabled=1
    gpgcheck=0

    [AIX_Toolbox_noarch]
    name=AIX noarch repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
    enabled=1
    gpgcheck=0

    [AIX_Toolbox_72]
    name=AIX 7.2 specific repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/
    enabled=1
    gpgcheck=0

    Thanks,
    HD Team

    ------------------------------
    Harley AIX
    ------------------------------



  • 4.  RE: dnf update shows error after patch update

    Posted Tue July 26, 2022 05:27 AM
    Regarding the problem 1:
    You have very old version of gnupg which is dependent on older readline which provides libreadline.a(libreadline.so.5).
    AIX toolbox readline rpm package doesn't provide libreadline.so.5.

    You can move to gnupg2 which is available from AIX Toolbox.

    ------------------------------
    SANGAMESH
    ------------------------------



  • 5.  RE: dnf update shows error after patch update

    Posted Wed July 27, 2022 12:36 AM
    Hi 
    After remove old gnupg, I tried to do dnf update, and got below error

    :/mnt/depot/gnupg2-2.2.20 # dnf update
    Last metadata expiration check: 1 day, 21:41:33 ago on Sun Jul 24 23:51:51 2022.
    Error:
    Problem 1: package gcc-1:8-1.ppc requires gcc8, but none of the providers can be installed
    - package gcc8-8.3.0-4.ppc requires libgcc8 = 8.3.0-4, but none of the providers can be installed
    - package gcc8-8.3.0-5.ppc requires libgcc8 = 8.3.0-5, but none of the providers can be installed
    - package gcc8-8.3.0-6.ppc requires libgcc8 = 8.3.0-6, but none of the providers can be installed
    - cannot install both libgcc8-8.3.0-4.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-5.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-6.ppc and libgcc8-8.4.0-5.ppc
    - cannot install the best update candidate for package gcc-4.2.0-3.ppc
    - problem with installed package libgcc8-8.4.0-5.ppc
    Problem 2: package libstdc++-1:8-1.ppc requires libstdc++8, but none of the providers can be installed
    - package python-2.7.18-3.ppc requires libstdc++ >= 8.3.0, but none of the providers can be installed
    - package libstdc++8-8.3.0-4.ppc requires libgcc8 = 8.3.0-4, but none of the providers can be installed
    - package libstdc++8-8.3.0-5.ppc requires libgcc8 = 8.3.0-5, but none of the providers can be installed
    - package libstdc++8-8.3.0-6.ppc requires libgcc8 = 8.3.0-6, but none of the providers can be installed
    - package libstdc++-8.3.0-1.ppc requires libgcc = 8.3.0-1, but none of the providers can be installed
    - package libstdc++-8.3.0-2.ppc requires libgcc = 8.3.0-2, but none of the providers can be installed
    - package libstdc++-8.3.0-3.ppc requires libgcc = 8.3.0-3, but none of the providers can be installed
    - cannot install both libgcc8-8.3.0-4.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-5.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-6.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc-8.3.0-1.ppc and libgcc-1:8-1.ppc
    - cannot install both libgcc-8.3.0-2.ppc and libgcc-1:8-1.ppc
    - cannot install both libgcc-8.3.0-3.ppc and libgcc-1:8-1.ppc
    - cannot install the best update candidate for package python-2.7.13-1.ppc
    - cannot install the best update candidate for package libgcc8-8.4.0-5.ppc
    - cannot install the best update candidate for package libgcc-1:8-1.ppc
    (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)



    :/mnt/depot/gnupg2-2.2.20 # rpm -Uvh libgcc8-8.3.0-4.aix7.2.ppc.rpm
    error: open of libgcc8-8.3.0-4.aix7.2.ppc.rpm failed: No such file or directory

    :/mnt/depot/gnupg2-2.2.20 # rpm -Uvh libgcc8-8.3.0-6.aix7.2.ppc.rpm
    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    package libgcc8-8.4.0-5.ppc (which is newer than libgcc8-8.3.0-6.ppc) is already installed

    :/mnt/depot/gnupg2-2.2.20 # rpm -Uvh libstdcplusplus8-8.3.0-6.aix7.2.ppc.rpm
    error: Failed dependencies:
    libgcc8 = 8.3.0-6 is needed by libstdc++8-8.3.0-6.ppc

    :/mnt/depot/gnupg2-2.2.20 # rpm -Uvh libgcc8-8.3.0-6.aix7.2.ppc.rpm
    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    package libgcc8-8.4.0-5.ppc (which is newer than libgcc8-8.3.0-6.ppc) is already installed

    :/mnt/depot/gnupg2-2.2.20 # rpm -Uvh libstdcplusplus8-8.3.0-6.aix7.2.ppc.rpm
    error: Failed dependencies:
    libgcc8 = 8.3.0-6 is needed by libstdc++8-8.3.0-6.ppc

    :/mnt/depot/gnupg2-2.2.20 # rpm -ivh gnupg2-2.2.20-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    gnutls >= 3.6.7-2 is needed by gnupg2-2.2.20-1.ppc
    libgnutls.a(libgnutls.so.30) is needed by gnupg2-2.2.20-1.ppc
    libnpth.a(libnpth.so.0) is needed by gnupg2-2.2.20-1.ppc
    npth >= 1.5 is needed by gnupg2-2.2.20-1.ppc



    :/mnt/depot/gnupg2-2.2.20 # rpm -qa |sort
    AIX-rpm-7.2.5.103-15.ppc
    apr-1.7.0-1.ppc
    atk-2.20.0-3.ppc
    bash-5.1.4-2.ppc
    bash-doc-5.1.4-2.ppc
    bzip2-1.0.8-2.ppc
    bzip2-devel-1.0.8-2.ppc
    ca-certificates-2021.2.52-1.ppc
    cairo-1.14.6-2waixX11.ppc
    curl-7.79.1-1.ppc
    curl-devel-7.79.1-1.ppc
    cyrus-sasl-2.1.28-1.ppc
    db-4.8.24-3.ppc
    dnf-4.2.17-32_1.noarch
    dnf-automatic-4.2.17-32_1.noarch
    dnf-data-4.2.17-32_1.noarch
    expat-2.4.6-1.ppc
    expat-devel-2.4.6-1.ppc
    fontconfig-2.11.95-4.ppc
    freetype2-2.12.1-1.ppc
    gcc-4.2.0-3.ppc
    gdbm-1.23-1.ppc
    gdk-pixbuf-2.35.1-2waixX11.ppc
    gettext-0.19.8.1-5.ppc
    gettext-devel-0.19.8.1-5.ppc
    git-2.35.1-1.ppc
    git-core-2.35.1-1.ppc
    git-core-doc-2.35.1-1.noarch
    glib2-2.56.1-3.ppc
    glib2-devel-2.56.1-3.ppc
    gtk2-2.24.30-3waixX11.ppc
    harfbuzz-1.2.7-2.ppc
    info-6.7-1.ppc
    krb5-libs-1.18.4-1.ppc
    less-598-1.ppc
    libXcursor-1.1.14-1.ppc
    libXcursor-devel-1.1.14-1.ppc
    libXft-2.3.2-4waixX11.ppc
    libXrender-0.9.8-3waixX11.ppc
    libassuan-2.5.5-1.ppc
    libcomps-0.1.11-100.ppc
    libdnf-0.39.1-32_1.ppc
    libffi-3.4.2-1.ppc
    libffi-devel-3.4.2-1.ppc
    libgcc-8-1.ppc
    libgcc8-8.4.0-5.ppc
    libgcrypt-1.9.4-1.ppc
    libgpg-error-1.42-1.ppc
    libiconv-1.16-1.ppc
    libidn-1.25-1.ppc
    libidn-devel-1.25-1.ppc
    libjpeg-9d-1.ppc
    libksba-1.4.0-1.ppc
    libmodulemd-1.5.2-32_1.ppc
    libpng-1.6.37-1.ppc
    librepo-1.11.0-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    libsodium-1.0.18-1.ppc
    libsolv-0.7.9-32_51.ppc
    libssh2-1.10.0-1.ppc
    libssh2-devel-1.10.0-1.ppc
    libssh2-docs-1.10.0-1.ppc
    libtasn1-4.16.0-1.ppc
    libtiff-3.8.2-1.ppc
    libunistring-0.9.10-1.ppc
    libxml2-2.9.14-1.ppc
    libzstd-1.4.4-100.ppc
    lpar2rrd-agent-5.05-2.ppc
    lz4-1.9.3-1.ppc
    lzo-2.10-2.ppc
    ncurses-6.2-2.ppc
    ncurses-devel-6.2-2.ppc
    openldap-2.4.58-3.ppc
    p11-kit-0.23.22-1.ppc
    p11-kit-tools-0.23.22-1.ppc
    pango-1.40.1-2waixX11.ppc
    perl-5.34.1-1.ppc
    pixman-0.34.0-1.ppc
    pkg-config-0.29.2-2.ppc
    python-2.7.13-1.ppc
    python3-3.7.12-1.ppc
    python3-dateutil-2.8.0-1.noarch
    python3-devel-3.7.12-1.ppc
    python3-dnf-4.2.17-32_1.noarch
    python3-dnf-plugin-migrate-4.0.16-32_50.ppc
    python3-dnf-plugins-core-4.0.16-32_50.ppc
    python3-docs-3.7.12-1.ppc
    python3-gpgme-1.13.1-32_1.ppc
    python3-hawkey-0.39.1-32_1.ppc
    python3-libcomps-0.1.11-100.ppc
    python3-libdnf-0.39.1-32_1.ppc
    python3-librepo-1.11.0-32_1.ppc
    python3-six-1.13.0-1.noarch
    python3-test-3.7.12-1.ppc
    python3-tools-3.7.12-1.ppc
    readline-8.1-1.ppc
    readline-devel-8.1-1.ppc
    rpm-python3-4.15.1-32_1.ppc
    rsync-3.2.3-1.ppc
    shared-mime-info-1.6-2.ppc
    sqlite-3.37.2-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    tightvnc-1.3.10-2.ppc
    vim-X11-8.2.4938-1.ppc
    vim-common-8.2.4938-1.ppc
    vim-enhanced-8.2.4938-1.ppc
    vim-minimal-8.2.4938-1.ppc
    xz-libs-5.2.5-1.ppc
    yum-4.2.17-32_1.noarch
    zchunk-1.1.4-101.ppc
    zchunk-devel-1.1.4-101.ppc
    zchunk-libs-1.1.4-101.ppc
    zlib-1.2.12-1.ppc
    zlib-devel-1.2.12-1.ppc


    Let me know how to fix it.

    Thanks,
    HD Team






    ------------------------------
    Harley AIX
    ------------------------------



  • 6.  RE: dnf update shows error after patch update

    Posted Wed July 27, 2022 01:57 PM
    Did you try to use dnf to install gnupg2?  That should handle the dependencies.

    ------------------------------
    Adam Swartz
    ------------------------------



  • 7.  RE: dnf update shows error after patch update

    Posted Wed July 27, 2022 03:27 PM
    Hi 
    With dnf, gnupg2 installed fine, but dnf update command still giving below errors..

    :/root # dnf update
    AIX generic repository 18 kB/s | 2.7 kB 00:00
    AIX generic repository 4.6 MB/s | 19 MB 00:04
    AIX noarch repository 19 kB/s | 2.6 kB 00:00
    AIX 7.2 specific repository 19 kB/s | 2.7 kB 00:00
    Error:
    Problem 1: package libstdc++-1:8-1.ppc requires libstdc++8, but none of the providers can be installed
    - package libstdc++8-8.3.0-4.ppc requires libgcc8 = 8.3.0-4, but none of the providers can be installed
    - package libstdc++8-8.3.0-5.ppc requires libgcc8 = 8.3.0-5, but none of the providers can be installed
    - package libstdc++8-8.3.0-6.ppc requires libgcc8 = 8.3.0-6, but none of the providers can be installed
    - cannot install both libgcc8-8.3.0-4.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-5.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-6.ppc and libgcc8-8.4.0-5.ppc
    - cannot install the best update candidate for package libstdc++-4.8.5-1.ppc
    - problem with installed package libgcc8-8.4.0-5.ppc
    Problem 2: package libstdc++-1:8-1.ppc requires libstdc++8, but none of the providers can be installed
    - package gmp-6.2.1-1.ppc requires libstdc++ >= 8.3.0-2, but none of the providers can be installed
    - package libstdc++8-8.3.0-4.ppc requires libgcc8 = 8.3.0-4, but none of the providers can be installed
    - package libstdc++8-8.3.0-5.ppc requires libgcc8 = 8.3.0-5, but none of the providers can be installed
    - package libstdc++8-8.3.0-6.ppc requires libgcc8 = 8.3.0-6, but none of the providers can be installed
    - package libstdc++-8.3.0-2.ppc requires libgcc = 8.3.0-2, but none of the providers can be installed
    - package libstdc++-8.3.0-3.ppc requires libgcc = 8.3.0-3, but none of the providers can be installed
    - cannot install both libgcc8-8.3.0-4.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-5.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc8-8.3.0-6.ppc and libgcc8-8.4.0-5.ppc
    - cannot install both libgcc-8.3.0-2.ppc and libgcc-1:8-1.ppc
    - cannot install both libgcc-8.3.0-3.ppc and libgcc-1:8-1.ppc
    - cannot install the best update candidate for package libgcc8-8.4.0-5.ppc
    - cannot install the best update candidate for package libgcc-1:8-1.ppc
    - cannot install the best update candidate for package gmp-6.1.2-1.ppc
    (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)


    Please help.

    Thanks,
    HD Team

    ------------------------------
    Harley AIX
    ------------------------------



  • 8.  RE: dnf update shows error after patch update

    Posted Mon August 01, 2022 02:07 AM
    Hi,
    Any update?
    Thanks,
    HD Team

    ------------------------------
    Harley AIX
    ------------------------------



  • 9.  RE: dnf update shows error after patch update

    Posted Mon August 01, 2022 03:19 AM
    Looks like you have latest gcc8(libgcc8-8.4.0-5) installed from some other source which aren't in our repository.
    You can run this command first "dnf downgrade libgcc8-8.3.0-6 libstdc++8-8.3.0-6" and then try running "dnf update"

    ------------------------------
    SANGAMESH
    ------------------------------



  • 10.  RE: dnf update shows error after patch update

    Posted Mon August 01, 2022 03:19 PM
    Hi, 
    After downgrade like below..
    #dnf downgrade libgcc8-8.3.0-6 libstdc++8-8.3.0-6

    ​:/root # dnf update
    Could not load program /opt/freeware/bin/python3_32:
    Symbol resolution failed for /opt/freeware/lib/libiconv.a(libiconv.so.2) because:
    Symbol __cxa_finalize (number 1) is not exported from dependent
    module /usr/lib/libgcc_s.a(shr.o).
    Symbol _GLOBAL__AIXI_shr_o (number 2) is not exported from dependent
    module /usr/lib/libgcc_s.a(shr.o).
    Symbol _GLOBAL__AIXD_shr_o (number 3) is not exported from dependent
    module /usr/lib/libgcc_s.a(shr.o).
    Examine .loader section symbols with the 'dump -Tv' command.

    :/root # unset LIBPATH

    :/root # dnf update
    Could not load program /opt/freeware/bin/python3_32:
    Symbol resolution failed for /opt/freeware/lib/libiconv.a(libiconv.so.2) because:
    Symbol __cxa_finalize (number 1) is not exported from dependent
    module /usr/lib/libgcc_s.a(shr.o).
    Symbol _GLOBAL__AIXI_shr_o (number 2) is not exported from dependent
    module /usr/lib/libgcc_s.a(shr.o).
    Symbol _GLOBAL__AIXD_shr_o (number 3) is not exported from dependent
    module /usr/lib/libgcc_s.a(shr.o).
    Examine .loader section symbols with the 'dump -Tv' command.
    :/root # echo $LIBPATH


    Then I reinstall below rpm again..

    :/ # rpm --reinstall libiconv-1.16-1.aix6.1.ppc.rpm
    add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
    add shr.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
    add shr4_64.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
    /
    rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.

    : # rpm --reinstall libgcc8-8.3.0-6.aix7.2.ppc.rpm
    rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.

    :/ # rpm --reinstall libgcc-8-1.aix7.2.ppc.rpm
    rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
    :/ #

    Then run, dnf update and it completed fine.

    Thanks,
    H-D Team

    ------------------------------
    Harley AIX
    ------------------------------