AIX Open Source

 View Only
Expand all | Collapse all

dnf update issue

  • 1.  dnf update issue

    Posted Tue September 13, 2022 12:18 AM
    Hi, 
    After ran ./install_dnf.sh -y script successfully, tried to update dnf, it give below error..

    # ./install_dnf.sh -y

    Installing rpm.rte at the latest version ...
    This may take several minutes depending on the number of rpms installed...
    +-----------------------------------------------------------------------------+
    Pre-installation Verification...
    +-----------------------------------------------------------------------------+
    Verifying selections...done
    Verifying requisites...done
    Results...

    WARNINGS
    --------
    Problems described in this section are not likely to be the source of any
    immediate or serious failures, but further actions may be necessary or
    desired.

    Already Installed
    -----------------
    The number of selected filesets that are either already installed
    or effectively installed through superseding filesets is 1. See
    the summaries at the end of this installation for details.

    NOTE: Base level filesets may be reinstalled using the "Force"
    option (-F flag), or they may be removed, using the deinstall or
    "Remove Software Products" facility (-u flag), and then reinstalled.

    << End of Warning Section >>

    +-----------------------------------------------------------------------------+
    BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
    1 Selected to be installed, of which:
    1 Already installed (directly or via superseding filesets)
    ----
    0 Total to be installed


    Pre-installation Failure/Warning Summary
    ----------------------------------------
    Name Level Pre-installation Failure/Warning
    -------------------------------------------------------------------------------
    rpm.rte 4.15.1.3 Already installed



    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.

    ca-certificates-2020.06.01-0 is already installed
    dnf-4.2.17-32_2 is already installed
    dnf-automatic-4.2.17-32_2 is already installed
    dnf-data-4.2.17-32_2 is already installed
    libcomps-0.1.11-32_1 is already installed
    libdnf-0.39.1-32_2 is already installed
    libmodulemd-1.5.2-32_2 is already installed
    librepo-1.11.0-32_1 is already installed
    libsmartcols-2.34-32_1 is already installed
    libsolv-0.7.9-32_1 is already installed
    libzstd-1.4.4-32_1 is already installed
    p11-kit-0.23.16-0 is already installed
    p11-kit-tools-0.23.16-0 is already installed
    Skipping python3-3.7.9-0 as higher version python3-3.7.9-1.ppc is installed.
    python3-dnf-4.2.17-32_2 is already installed
    python3-gpgme-1.13.1-32_1 is already installed
    python3-hawkey-0.39.1-32_2 is already installed
    python3-libcomps-0.1.11-32_1 is already installed
    python3-libdnf-0.39.1-32_2 is already installed
    python3-librepo-1.11.0-32_1 is already installed
    rpm-python3-4.15.1-32_1 is already installed
    yum-4.2.17-32_2 is already installed
    zchunk-libs-1.1.4-32_1 is already installed

    dnf and all it's dependencies are already installed.


     # dnf update
    Could not load program /opt/freeware/bin/python3_32:
    Dependent module libncurses.so could not be loaded.
    Could not load module libncurses.so.
    System error: No such file or directory


     # python3 -V
    Could not load program python3:
    Dependent module libncurses.so could not be loaded.
    Could not load module libncurses.so.
    System error: No such file or directory


    # rpm -qa |sort
    AIX-rpm-7.2.5.103-16.ppc
    bash-5.0-1.ppc
    bash-doc-4.2-2.ppc
    bzip2-1.0.2-3.ppc
    ca-certificates-2020.06.01-0.ppc
    coreutils-5.2.1-2.ppc
    curl-7.71.1-1.ppc
    db-4.8.24-3.ppc
    db-devel-4.8.24-3.ppc
    dnf-4.2.17-32_2.noarch
    dnf-automatic-4.2.17-32_2.noarch
    dnf-data-4.2.17-32_2.noarch
    expat-2.0.1-1.ppc
    expat-devel-2.0.1-1.ppc
    file-5.29-1.ppc
    file-devel-5.29-1.ppc
    file-libs-5.29-1.ppc
    gcc-8.3.0-2.ppc
    gdbm-1.8.3-5.ppc
    gettext-0.19.8.1-1.ppc
    gettext-0.20.1-2.ppc
    git-2.20.4-1.ppc
    glib-1.2.10-2.ppc
    glib-devel-1.2.10-2.ppc
    glib2-2.48.0-1.ppc
    gnupg-1.4.12-1.ppc
    httpd-2.4.27-1.ppc
    info-4.13a-2.ppc
    libcomps-0.1.11-32_1.ppc
    libdnf-0.39.1-32_2.ppc
    libffi-3.0.12-1.ppc
    libgcc-6.3.0-1.ppc
    libgpg-error-1.10-1.ppc
    libiconv-1.14-1.ppc
    libiconv-1.14-2.ppc
    libmodulemd-1.5.2-32_2.ppc
    librepo-1.11.0-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    libsolv-0.7.9-32_1.ppc
    libssh2-1.4.2-1.ppc
    libzstd-1.4.4-32_1.ppc
    lpar2rrd-agent-5.05-2.ppc
    lsof-4.61-3.ppc
    lua-5.3.3-1.ppc
    lua-devel-5.3.3-1.ppc
    openldap-2.4.23-0.3.ppc
    openssl-1.0.0j-1.ppc
    openssl-doc-1.0.0j-1.ppc
    p11-kit-0.23.16-0.ppc
    p11-kit-tools-0.23.16-0.ppc
    pcre-8.33-1.ppc
    pcre-devel-8.33-1.ppc
    pkg-config-0.29.1-1.ppc
    pysqlite-2.8.3-1.ppc
    python-2.7.10-1.ppc
    python-devel-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-tools-2.7.10-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    python3-3.7.9-1.ppc
    python3-dateutil-2.8.0-1.noarch
    python3-dnf-4.2.17-32_2.noarch
    python3-dnf-plugin-migrate-4.0.16-32_1.noarch
    python3-dnf-plugins-core-4.0.16-32_1.noarch
    python3-gpgme-1.13.1-32_1.ppc
    python3-hawkey-0.39.1-32_2.ppc
    python3-libcomps-0.1.11-32_1.ppc
    python3-libdnf-0.39.1-32_2.ppc
    python3-librepo-1.11.0-32_1.ppc
    python3-six-1.13.0-1.noarch
    readline-6.2-3.ppc
    readline-devel-6.2-3.ppc
    rpm-python3-4.15.1-32_1.ppc
    sqlite-3.15.2-1.ppc
    sqlite-3.33.0-1.ppc
    sqlite-devel-3.15.2-1.ppc
    sqlite-doc-3.15.2-1.ppc
    subversion-1.9.5-1.ppc
    subversion-devel-1.9.5-1.ppc
    subversion-tools-1.9.5-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    tar-1.14-2.ppc
    unzip-6.0-3.ppc
    vim-common-8.2-1.ppc
    vim-enhanced-6.3-1.ppc
    yum-4.2.17-32_2.noarch
    yum-metadata-parser-1.1.4-2.ppc
    zchunk-libs-1.1.4-32_1.ppc
    zip-2.3-3.ppc
    zlib-1.2.7-1.ppc


     # rpm -qi openldap-2.4.23-0.3.ppc
    Name : openldap
    Version : 2.4.23
    Release : 0.3
    Architecture: ppc
    Install Date: Mon Feb 19 20:37:00 2018
    Group : System Environment/Daemons
    Size : 4405889
    License : OpenLDAP
    Signature : (none)
    Source RPM : openldap-2.4.23-0.3.src.rpm
    Build Date : Mon Feb 19 20:34:33 2018
    Build Host : losdev1jdc.hdfsi.com
    URL : http://www.openldap.org/
    Summary : LDAP support libraries
    Description :
    OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
    Protocol) applications and development tools. LDAP is a set of
    protocols for accessing directory services (usually phone book style
    information, but other information is possible) over the Internet,
    similar to the way DNS (Domain Name System) information is propagated
    over the Internet. The openldap package contains configuration files,
    libraries, and documentation for OpenLDAP.

    The library is available as 32-bit and 64-bit.

    # rpm -qi openssl-1.0.0j-1.ppc
    Name : openssl
    Version : 1.0.0j
    Release : 1
    Architecture: ppc
    Install Date: Mon Feb 19 20:37:05 2018
    Group : System Environment/Libraries
    Size : 40524411
    License : OpenSSL License
    Signature : (none)
    Source RPM : openssl-1.0.0j-1.src.rpm
    Build Date : Mon Feb 19 20:34:37 2018
    Build Host : losdev1jdc.hdfsi.com
    URL : http://www.openssl.org/
    Summary : Secure Sockets Layer and cryptography libraries and tools
    Description :
    The OpenSSL Project is a collaborative effort to develop a robust,
    commercial-grade, fully featured, and Open Source toolkit implementing the
    Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
    protocols as well as a full-strength general purpose cryptography library.
    The project is managed by a worldwide community of volunteers that use the
    Internet to communicate, plan, and develop the OpenSSL tookit and its related
    documentation.

    OpenSSL is based on the excellent SSLeay library developed from Eric A. Young
    and Tim J. Hudson. OpenSSL is licensed under the OpenSSL License, included in
    this package.

    This package contains the base OpenSSL cryptography and SSL/TLS libraries and
    tools.

    You should also install a pseudo-random number generator such as EGD or prngd
    if you do not have a /dev/urandom and /dev/random.

    The library is available as 32-bit and 64-bit.

    How to fix this issue?

    Thanks,
    HD Team.

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


  • 2.  RE: dnf update issue

    Posted Tue September 13, 2022 01:10 AM
    Now getting below error..

    # dnf update
    Could not load program /opt/freeware/bin/python3_32:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libexpat_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libexpat_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libffi_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libffi_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libsqlite3_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libsqlite3_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.

     # echo $LIBPATH
     #

    # python3 -V
    Could not load program python3.7m_64:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libexpat_so was referenced
    from module python3.7m_64(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libexpat_so was referenced
    from module python3.7m_64(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libffi_so was referenced
    from module python3.7m_64(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libffi_so was referenced
    from module python3.7m_64(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libsqlite3_so was referenced
    from module python3.7m_64(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libsqlite3_so was referenced
    from module python3.7m_64(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-002 fatal error: exiting.


    # ls -l /usr/lib/libexpat.a
    lrwxrwxrwx 1 root system 33 Feb 18 2018 /usr/lib/libexpat.a -> ../../opt/freeware/lib/libexpat.a
    losdev1jdc:/mnt/depot/gnupg2-2.2.20 # dump -Tov /usr/lib/libexpat.a | grep GLOBAL

     # echo $LIBPATH


    Thanks, 
    HD Team




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



  • 3.  RE: dnf update issue

    Posted Tue September 13, 2022 06:04 AM
    As discussed in other threads mixing RPM packages of AIX toolbox with other sources results in unexpected behavior.
    I see from your rpm -qa output openssl and openldap are from some other repo not from AIX toolbox.

    The other error regarding Symbol _GLOBAL__AIXI_libexpat_so  and Symbol _GLOBAL__AIXD_libsqlite3_so  are either you have older version of package or
    package is not from AIX toolbox.
    Please install latest sqlite and expat from AIX toolbox and try. Also remove packages those are not from AIX toolbox. 


    ------------------------------
    SANKET RATHI
    ------------------------------



  • 4.  RE: dnf update issue

    Posted Tue September 13, 2022 04:14 PM
    Hi,
    Removed openssl and openldap from diff source, but getting similar error when tried to do dnf update.

    :/root # dnf update
    Could not load program /opt/freeware/bin/python3_32:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libexpat_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libexpat_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libffi_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libffi_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libsqlite3_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libsqlite3_so was referenced
    from module python3_32(), but a runtime definition
    of the symbol was not found.

    Also when I am trying to update rpm got below errors..

    # rpm -Uvh libiconv-1.16-1.aix6.1.ppc.rpm
    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:libiconv-1.16-1 ################################# [ 33%]
    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
    /
    Cleaning up / removing...
    2:libiconv-1.14-1 ################################# [ 67%]
    3:libiconv-1.14-2 ################################# [100%]
    mkdir: cannot create /opt/RPM_inst_root/var/opt/freeware/tmp/perl-root.
    /opt/RPM_inst_root/var/opt/freeware/tmp/perl-root: File exists
    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.



    # rpm -qa |sort
    AIX-rpm-7.2.5.103-16.ppc
    bash-5.0-1.ppc
    bash-doc-4.2-2.ppc
    bzip2-1.0.2-3.ppc
    ca-certificates-2020.06.01-0.ppc
    coreutils-5.2.1-2.ppc
    curl-7.71.1-1.ppc
    db-4.8.24-3.ppc
    db-devel-4.8.24-3.ppc
    dnf-4.2.17-32_2.noarch
    dnf-automatic-4.2.17-32_2.noarch
    dnf-data-4.2.17-32_2.noarch
    expat-2.0.1-1.ppc
    expat-devel-2.0.1-1.ppc
    file-5.29-1.ppc
    file-devel-5.29-1.ppc
    file-libs-5.29-1.ppc
    gcc-8.3.0-2.ppc
    gdbm-1.8.3-5.ppc
    gettext-0.19.8.1-1.ppc
    gettext-0.20.1-2.ppc
    git-2.20.4-1.ppc
    glib-1.2.10-2.ppc
    glib-devel-1.2.10-2.ppc
    glib2-2.48.0-1.ppc
    gnupg-1.4.12-1.ppc
    httpd-2.4.27-1.ppc
    info-6.7-1.ppc
    libcomps-0.1.11-32_1.ppc
    libdnf-0.39.1-32_2.ppc
    libffi-3.0.12-1.ppc
    libgcc-8-1.ppc
    libgcc8-8.3.0-6.ppc
    libgpg-error-1.10-1.ppc
    libiconv-1.16-1.ppc
    libmodulemd-1.5.2-32_2.ppc
    librepo-1.11.0-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    libsolv-0.7.9-32_1.ppc
    libssh2-1.4.2-1.ppc
    libstdc++-8-1.ppc
    libstdc++8-8.3.0-6.ppc
    libzstd-1.4.4-32_1.ppc
    lpar2rrd-agent-5.05-2.ppc
    lsof-4.61-3.ppc
    lua-5.3.3-1.ppc
    lua-devel-5.3.3-1.ppc
    ncurses-6.2-3.ppc
    p11-kit-0.23.16-0.ppc
    p11-kit-tools-0.23.16-0.ppc
    pcre-8.33-1.ppc
    pcre-devel-8.33-1.ppc
    pkg-config-0.29.1-1.ppc
    pysqlite-2.8.3-1.ppc
    python-2.7.10-1.ppc
    python-devel-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-tools-2.7.10-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    python3-3.7.9-1.ppc
    python3-dateutil-2.8.0-1.noarch
    python3-dnf-4.2.17-32_2.noarch
    python3-dnf-plugin-migrate-4.0.16-32_1.noarch
    python3-dnf-plugins-core-4.0.16-32_1.noarch
    python3-gpgme-1.13.1-32_1.ppc
    python3-hawkey-0.39.1-32_2.ppc
    python3-libcomps-0.1.11-32_1.ppc
    python3-libdnf-0.39.1-32_2.ppc
    python3-librepo-1.11.0-32_1.ppc
    python3-six-1.13.0-1.noarch
    readline-6.2-3.ppc
    readline-devel-6.2-3.ppc
    rpm-python3-4.15.1-32_1.ppc
    sqlite-3.15.2-1.ppc
    sqlite-3.33.0-1.ppc
    sqlite-devel-3.15.2-1.ppc
    sqlite-doc-3.15.2-1.ppc
    subversion-1.9.5-1.ppc
    subversion-devel-1.9.5-1.ppc
    subversion-tools-1.9.5-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    tar-1.14-2.ppc
    unzip-6.0-3.ppc
    vim-common-8.2-1.ppc
    vim-enhanced-6.3-1.ppc
    yum-4.2.17-32_2.noarch
    yum-metadata-parser-1.1.4-2.ppc
    zchunk-libs-1.1.4-32_1.ppc
    zip-2.3-3.ppc
    zlib-1.2.7-1.ppc
    /root #

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



  • 5.  RE: dnf update issue

    Posted Wed September 14, 2022 06:39 AM
    There are older version of expat and sqlite on your system. 
    Also there are two versions of sqlite that is confusing. 
    sqlite-3.15.2-1.ppc
    sqlite-3.33.0-1.ppc

    You should have latest version of expat and sqlite from AIX toolbox.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 6.  RE: dnf update issue

    Posted Thu September 15, 2022 01:51 AM
    Hi, 
    Now getting below error..

    # dnf update
    Traceback (most recent call last):
    File "/opt/freeware/bin/dnf", line 57, in <module>
    from dnf.cli import main
    File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 32, in <module>
    import dnf.base
    File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
    import libdnf.transaction
    File "/opt/freeware/lib/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
    from . import common_types
    File "/opt/freeware/lib/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
    from . import _common_types
    ImportError: Symbol resolution failed for /opt/freeware/lib/libsolv.a(libsolv.so.1) because:
    Symbol _GLOBAL__AIXI_libbz2_so (number 62) is not exported from dependent
    module /usr/opt/rpm/lib/libbz2.a(libbz2.so.1).
    Symbol _GLOBAL__AIXD_libbz2_so (number 63) is not exported from dependent
    module /usr/opt/rpm/lib/libbz2.a(libbz2.so.1).
    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    System error: Exec format error
    Examine .loader section symbols with the 'dump -Tv' command.



    # rpm -qa |sort
    AIX-rpm-7.2.5.103-23.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
    ca-certificates-2021.2.52-1.ppc
    cairo-1.14.6-2waixX11.ppc
    check-0.13.0-1.ppc
    coreutils-9.0-1.ppc
    cups-2.2.3-3.ppc
    cups-libs-2.2.3-3.ppc
    curl-7.79.1-1.ppc
    cyrus-sasl-2.1.28-1.ppc
    db-5.3.28-1.ppc
    dbus-1.14.0-1.ppc
    dnf-4.2.17-32_50.ppc
    dnf-automatic-4.2.17-32_50.ppc
    dnf-data-4.2.17-32_50.ppc
    expat-2.4.6-1.ppc
    fontconfig-2.11.95-4.ppc
    freetype2-2.10.4-1.ppc
    gcc-8-1.ppc
    gcc-cpp-8-1.ppc
    gcc8-8.3.0-6.ppc
    gcc8-cpp-8.3.0-6.ppc
    gdbm-1.23-1.ppc
    gdk-pixbuf-2.35.1-3waixX11.ppc
    gettext-0.21-1.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
    gmp-6.2.1-1.ppc
    gnupg2-2.2.23-1.ppc
    gnutls-3.7.1-1.ppc
    gpgme-1.13.1-100.ppc
    gtk2-2.24.30-3waixX11.ppc
    harfbuzz-1.2.7-2.ppc
    info-6.7-1.ppc
    jbigkit-libs-2.1-1.ppc
    json-c-0.15-2.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.3-1.ppc
    libcomps-0.1.11-100.ppc
    libdnf-0.39.1-32_50.ppc
    libffi-3.4.2-1.ppc
    libgcc-8-1.ppc
    libgcc8-8.3.0-6.ppc
    libgcrypt-1.9.4-1.ppc
    libgomp-8-1.ppc
    libgomp8-8.3.0-6.ppc
    libgpg-error-1.42-1.ppc
    libiconv-1.17-1.ppc
    libjpeg-9d-1.ppc
    libksba-1.4.0-1.ppc
    libmodulemd-1.5.2-100.ppc
    libmpc-1.2.1-1.ppc
    libpng-1.6.37-1.ppc
    librepo-1.11.0-100.ppc
    libsmartcols-2.34-100.ppc
    libsmbclient-4.14.12-1.ppc
    libsodium-1.0.18-1.ppc
    libsolv-0.7.9-32_51.ppc
    libssh2-1.9.0-1.ppc
    libstdc++-8-1.ppc
    libstdc++8-8.3.0-6.ppc
    libtasn1-4.16.0-1.ppc
    libtextstyle-0.21-1.ppc
    libtiff-4.3.0-1.ppc
    libunistring-0.9.10-1.ppc
    libwebp-1.0.2-1.ppc
    libxml2-2.9.14-1.ppc
    libyaml-0.2.5-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
    mpfr-4.1.0-1.ppc
    ncurses-6.2-3.ppc
    nettle-3.7.3-1.ppc
    npth-1.5-1.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
    popt-1.18-1.ppc
    pysqlite-2.8.3-2.ppc
    python-2.7.18-3.ppc
    python-devel-2.7.18-3.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.43.0-1.ppc
    python-tools-2.7.18-3.ppc
    python-urlgrabber-3.10.1-1.noarch
    python3-3.7.12-1.ppc
    python3-dateutil-2.8.0-1.noarch
    python3-dnf-4.2.17-32_50.ppc
    python3-dnf-plugin-migrate-4.0.16-32_50.ppc
    python3-dnf-plugins-core-4.0.16-32_50.ppc
    python3-gpg-1.13.1-100.ppc
    python3-hawkey-0.39.1-32_50.ppc
    python3-libcomps-0.1.11-100.ppc
    python3-libdnf-0.39.1-32_50.ppc
    python3-librepo-1.11.0-100.ppc
    python3-six-1.13.0-1.noarch
    readline-8.1-1.ppc
    rpm-python3-4.15.1-32_1.ppc
    rsync-3.2.3-1.ppc
    samba-4.14.12-1.ppc
    samba-client-4.14.12-1.ppc
    samba-common-4.14.12-1.ppc
    samba-devel-4.14.12-1.ppc
    samba-libs-4.14.12-1.ppc
    samba-pidl-4.14.12-1.ppc
    samba-python3-4.14.12-1.ppc
    samba-test-4.14.12-1.ppc
    samba-test-libs-4.14.12-1.ppc
    samba-winbind-4.14.12-1.ppc
    samba-winbind-clients-4.14.12-1.ppc
    samba-winbind-devel-4.14.12-1.ppc
    samba-winbind-krb5-locator-4.14.12-1.ppc
    sed-4.8-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-common-8.2.4938-1.ppc
    vim-enhanced-8.2.4938-1.ppc
    vim-minimal-8.2.4938-1.ppc
    wget-1.21.2-1.ppc
    xz-libs-5.2.5-1.ppc
    yum-metadata-parser-1.1.4-2.ppc
    zchunk-libs-1.1.4-101.ppc
    zlib-1.2.12-1.ppc

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



  • 7.  RE: dnf update issue

    Posted Thu September 15, 2022 10:17 AM
    Do you have any LIBPATH exported ? If so, unset it and try again.

    ------------------------------
    Ayappan P
    ------------------------------



  • 8.  RE: dnf update issue

    Posted Thu September 15, 2022 10:45 AM
    Hi,

    # echo $LIBPATH

     # unset LIBPATH
     #
     # dnf update
    Traceback (most recent call last):
    File "/opt/freeware/bin/dnf", line 57, in <module>
    from dnf.cli import main
    File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 32, in <module>
    import dnf.base
    File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
    import libdnf.transaction
    File "/opt/freeware/lib/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
    from . import common_types
    File "/opt/freeware/lib/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
    from . import _common_types
    ImportError: Symbol resolution failed for /opt/freeware/lib/libsolv.a(libsolv.so.1) because:
    Symbol _GLOBAL__AIXI_libbz2_so (number 62) is not exported from dependent
    module /usr/opt/rpm/lib/libbz2.a(libbz2.so.1).
    Symbol _GLOBAL__AIXD_libbz2_so (number 63) is not exported from dependent
    module /usr/opt/rpm/lib/libbz2.a(libbz2.so.1).
    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    System error: Exec format error
    Examine .loader section symbols with the 'dump -Tv' command.
     #


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



  • 9.  RE: dnf update issue

    Posted Fri September 16, 2022 06:44 AM
    It should not be using libbz2.a from /usr/opt/rpm/lib/libbz2.a instead it should be using from /opt/freeware/lib/libbz2.a
    As you do not have LIBPATH set so it is really hard for me to tell why this is happening. 
    I think some mix of other packages from other sources or something else has caused this. 



    ------------------------------
    SANKET RATHI
    ------------------------------



  • 10.  RE: dnf update issue

    Posted Fri September 16, 2022 07:04 AM
    It is possible /opt/freeware/lib/libz2.a is corrupted try force reinstalling bzip2 rpm from AIX toolbox and see if that fixes the issue.

    ------------------------------
    SANKET RATHI
    ------------------------------