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 failed on AIX 7.2 TL05 SP3

  • 1.  DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 12:44 AM

    root@iam1dmz8:/localhome/n0173/dnf # ls -lrt

    total 343560

    -rw-r--r-- 1 n0173 audit 175902720 Nov 17 19:44 dnf_bundle_aix_71_72_v3.tar

    root@iam1dmz8:/localhome/n0173/dnf # tar -xvf dnf_bundle_aix_71_72_v3.tar

    x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 media blocks.

    x dnf-4.2.17-32_2.aix7.1.noarch.rpm, 10981 bytes, 22 media blocks.

    x dnf-automatic-4.2.17-32_2.aix7.1.noarch.rpm, 12288 bytes, 24 media blocks.

    x dnf-data-4.2.17-32_2.aix7.1.noarch.rpm, 23516 bytes, 46 media blocks.

    x extra_list, 218 bytes, 1 media blocks.

    x install_dnf.sh, 11878 bytes, 24 media blocks.

    x libcomps-0.1.11-32_1.aix7.1.ppc.rpm, 1273338 bytes, 2487 media blocks.

    x libdnf-0.39.1-32_2.aix7.1.ppc.rpm, 15810655 bytes, 30881 media blocks.

    x libmodulemd-1.5.2-32_2.aix7.1.ppc.rpm, 3433754 bytes, 6707 media blocks.

    x librepo-1.11.0-32_1.aix7.1.ppc.rpm, 3650338 bytes, 7130 media blocks.

    x libsmartcols-2.34-32_1.aix7.1.ppc.rpm, 183412 bytes, 359 media blocks.

    x libsolv-0.7.9-32_1.aix7.1.ppc.rpm, 1533403 bytes, 2995 media blocks.

    x libzstd-1.4.4-32_1.aix7.1.ppc.rpm, 469194 bytes, 917 media blocks.

    x p11-kit-0.23.16-0.aix7.1.ppc.rpm, 1047702 bytes, 2047 media blocks.

    x p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm, 39777 bytes, 78 media blocks.

    x python3-3.7.9-0.aix7.1.ppc.rpm, 43168080 bytes, 84313 media blocks.

    x python3-dateutil-2.8.0-1.aix6.1.noarch.rpm, 363137 bytes, 710 media blocks.

    x python3-devel-3.7.9-0.aix7.1.ppc.rpm, 237244 bytes, 464 media blocks.

    x python3-dnf-4.2.17-32_2.aix7.1.noarch.rpm, 197205 bytes, 386 media blocks.

    x python3-dnf-plugin-migrate-4.0.16-32_1.aix7.1.noarch.rpm, 8546 bytes, 17 media blocks.

    x python3-dnf-plugins-core-4.0.16-32_1.aix7.1.noarch.rpm, 49763 bytes, 98 media blocks.

    x python3-docs-3.7.9-0.aix7.1.ppc.rpm, 2993180 bytes, 5847 media blocks.

    x python3-gpgme-1.13.1-32_1.aix7.1.ppc.rpm, 682308 bytes, 1333 media blocks.

    x python3-hawkey-0.39.1-32_2.aix7.1.ppc.rpm, 3113865 bytes, 6082 media blocks.

    x python3-libcomps-0.1.11-32_1.aix7.1.ppc.rpm, 1020925 bytes, 1994 media blocks.

    x python3-libdnf-0.39.1-32_2.aix7.1.ppc.rpm, 22549836 bytes, 44043 media blocks.

    x python3-librepo-1.11.0-32_1.aix7.1.ppc.rpm, 2292962 bytes, 4479 media blocks.

    x python3-six-1.13.0-1.aix6.1.noarch.rpm, 514483 bytes, 1005 media blocks.

    x python3-test-3.7.9-0.aix7.1.ppc.rpm, 28383122 bytes, 55436 media blocks.

    x python3-tools-3.7.9-0.aix7.1.ppc.rpm, 12734 bytes, 25 media blocks.

    x rpm-python3-4.15.1-32_1.aix7.1.ppc.rpm, 100168 bytes, 196 media blocks.

    x rpm.rte, 40620032 bytes, 79336 media blocks.

    x yum-4.2.17-32_2.aix7.1.noarch.rpm, 8466 bytes, 17 media blocks.

    x zchunk-1.1.4-32_1.aix7.1.ppc.rpm, 552363 bytes, 1079 media blocks.

    x zchunk-devel-1.1.4-32_1.aix7.1.ppc.rpm, 19487 bytes, 39 media blocks.

    x zchunk-libs-1.1.4-32_1.aix7.1.ppc.rpm, 534328 bytes, 1044 media blocks.

    root@iam1dmz8:/localhome/n0173/dnf #

    root@iam1dmz8:/localhome/n0173/dnf # ls -lrt

    total 687336

    -rw-r----- 1 root system 12734 Jul 11 2021 python3-tools-3.7.9-0.aix7.1.ppc.rpm

    -rw-r----- 1 root system 28383122 Jul 11 2021 python3-test-3.7.9-0.aix7.1.ppc.rpm

    -rw-r----- 1 root system 2993180 Jul 11 2021 python3-docs-3.7.9-0.aix7.1.ppc.rpm

    -rw-r----- 1 root system 237244 Jul 11 2021 python3-devel-3.7.9-0.aix7.1.ppc.rpm

    -rw-r--r-- 1 root system 363137 Jul 11 2021 python3-dateutil-2.8.0-1.aix6.1.noarch.rpm

    -rw-r----- 1 root system 43168080 Jul 11 2021 python3-3.7.9-0.aix7.1.ppc.rpm

    -rw-r----- 1 root system 39777 Jul 11 2021 p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm

    -rw-r----- 1 root system 1047702 Jul 11 2021 p11-kit-0.23.16-0.aix7.1.ppc.rpm

    -rw-r----- 1 root system 952182 Jul 11 2021 ca-certificates-2020.06.01-0.aix7.1.ppc.rpm

    -rw-r--r-- 1 root system 218 Jul 11 2021 extra_list

    -rw-r--r-- 1 root system 40620032 Jul 11 2021 rpm.rte

    -rw------- 1 root system 100168 Jul 11 2021 rpm-python3-4.15.1-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 682308 Jul 11 2021 python3-gpgme-1.13.1-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 469194 Jul 11 2021 libzstd-1.4.4-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 1533403 Jul 11 2021 libsolv-0.7.9-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 183412 Jul 11 2021 libsmartcols-2.34-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 3650338 Jul 11 2021 librepo-1.11.0-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 2292962 Jul 11 2021 python3-librepo-1.11.0-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 1273338 Jul 11 2021 libcomps-0.1.11-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 1020925 Jul 11 2021 python3-libcomps-0.1.11-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 552363 Jul 11 2021 zchunk-1.1.4-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 534328 Jul 11 2021 zchunk-libs-1.1.4-32_1.aix7.1.ppc.rpm

    -rw------- 1 root system 19487 Jul 11 2021 zchunk-devel-1.1.4-32_1.aix7.1.ppc.rpm

    -rw-r--r-- 1 root system 514483 Jul 11 2021 python3-six-1.13.0-1.aix6.1.noarch.rpm

    -rw------- 1 root system 8546 Jul 21 2021 python3-dnf-plugin-migrate-4.0.16-32_1.aix7.1.noarch.rpm

    -rw------- 1 root system 49763 Jul 21 2021 python3-dnf-plugins-core-4.0.16-32_1.aix7.1.noarch.rpm

    -rw------- 1 root system 3433754 Apr 14 2022 libmodulemd-1.5.2-32_2.aix7.1.ppc.rpm

    -rw------- 1 root system 15810655 Apr 14 2022 libdnf-0.39.1-32_2.aix7.1.ppc.rpm

    -rw------- 1 root system 22549836 Apr 14 2022 python3-libdnf-0.39.1-32_2.aix7.1.ppc.rpm

    -rw------- 1 root system 3113865 Apr 14 2022 python3-hawkey-0.39.1-32_2.aix7.1.ppc.rpm

    -rw------- 1 root system 8466 Apr 18 2022 yum-4.2.17-32_2.aix7.1.noarch.rpm

    -rw------- 1 root system 23516 Apr 18 2022 dnf-data-4.2.17-32_2.aix7.1.noarch.rpm

    -rw------- 1 root system 10981 Apr 18 2022 dnf-4.2.17-32_2.aix7.1.noarch.rpm

    -rw------- 1 root system 197205 Apr 18 2022 python3-dnf-4.2.17-32_2.aix7.1.noarch.rpm

    -rw------- 1 root system 12288 Apr 18 2022 dnf-automatic-4.2.17-32_2.aix7.1.noarch.rpm

    -rwx------ 1 root system 11878 Apr 18 2022 install_dnf.sh

    -rw-r--r-- 1 n0173 audit 175902720 Nov 17 19:44 dnf_bundle_aix_71_72_v3.tar

    root@iam1dmz8:/localhome/n0173/dnf #


    root@iam1dmz8:/localhome/n0173/dnf # ./install_dnf.sh -d

    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 will be installed
    dnf-4.2.17-32_2 will be installed
    dnf-automatic-4.2.17-32_2 will be installed
    dnf-data-4.2.17-32_2 will be installed
    libcomps-0.1.11-32_1 will be installed
    libdnf-0.39.1-32_2 will be installed
    libmodulemd-1.5.2-32_2 will be installed
    librepo-1.11.0-32_1 will be installed
    libsmartcols-2.34-32_1 will be installed
    libsolv-0.7.9-32_1 will be installed
    libzstd-1.4.4-32_1 will be installed
    p11-kit-0.23.16-0 will be installed
    p11-kit-tools-0.23.16-0 will be installed
    python3-3.7.9-0 will be installed
    python3-dnf-4.2.17-32_2 will be installed
    python3-gpgme-1.13.1-32_1 will be installed
    python3-hawkey-0.39.1-32_2 will be installed
    python3-libcomps-0.1.11-32_1 will be installed
    python3-libdnf-0.39.1-32_2 will be installed
    python3-librepo-1.11.0-32_1 will be installed
    rpm-python3-4.15.1-32_1 will be installed
    zchunk-libs-1.1.4-32_1 will be installed

    Installing the packages...

    error: Failed dependencies:
    librpmio.so is needed by libdnf-0.39.1-32_2.ppc
    librpmio.so is needed by libsolv-0.7.9-32_1.ppc
    libnsl.a(shr.o) is needed by python3-3.7.9-0.ppc
    libnsl.a(shr_64.o) is needed by python3-3.7.9-0.ppc
    librpmio.so is needed by python3-hawkey-0.39.1-32_2.ppc
    librpmio.so is needed by python3-libdnf-0.39.1-32_2.ppc
    librpmio.so is needed by rpm-python3-4.15.1-32_1.ppc
    librpmsign.so is needed by rpm-python3-4.15.1-32_1.ppc

    dnf installation failed.
    If the failure was due to a space issue, increase the size of /opt and re-run script again.
    Another reason for failure could be mixing of Toolbox packages and packages from other sources.

    root@iam1dmz8:/localhome/n0173/dnf #
    root@iam1dmz8:/localhome/n0173/dnf #

    ------------------------------
    Soosai Jeyson
    ------------------------------

    #AIXOpenSource


  • 2.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 12:45 AM
    Hi Soosai,

    Can you try the DNF install after running the "updtvpkg" command.


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



  • 3.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 12:52 AM

    i installed latest version of openssl ,now able to install dnf but still give this error .

    root@iam1dmz8:/localhome/n0173/dnf # lslpp -l |grep openssl
    openssl.base 1.0.2.2105 COMMITTED Open Secure Socket Layer
    openssl.license 1.0.2.2105 COMMITTED Open Secure Socket License
    openssl.man.en_US 1.0.2.2105 COMMITTED Open Secure Socket Layer
    openssl.base 1.0.2.2105 COMMITTED Open Secure Socket Layer
    root@iam1dmz8:/localhome/n0173/dnf #


    root@iam1dmz8:/localhome/n0173/dnf # ./install_dnf.sh -d

    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 will be installed
    dnf-4.2.17-32_1 will be installed
    dnf-automatic-4.2.17-32_1 will be installed
    dnf-data-4.2.17-32_1 will be installed
    libcomps-0.1.11-32_1 will be installed
    libdnf-0.39.1-32_1 will be installed
    libmodulemd-1.5.2-32_1 will be installed
    librepo-1.11.0-32_1 will be installed
    libsmartcols-2.34-32_1 will be installed
    libsolv-0.7.9-32_1 will be installed
    libzstd-1.4.4-32_1 will be installed
    p11-kit-0.23.16-0 will be installed
    p11-kit-tools-0.23.16-0 will be installed
    python3-3.7.9-0 will be installed
    python3-dnf-4.2.17-32_1 will be installed
    python3-gpgme-1.13.1-32_1 will be installed
    python3-hawkey-0.39.1-32_1 will be installed
    python3-libcomps-0.1.11-32_1 will be installed
    python3-libdnf-0.39.1-32_1 will be installed
    python3-librepo-1.11.0-32_1 will be installed
    rpm-python3-4.15.1-32_1 will be installed
    zchunk-libs-1.1.4-32_1 will be installed

    Installing the packages...

    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:python3-3.7.9-0 ################################# [ 5%]
    2:libzstd-1.4.4-32_1 ################################# [ 9%]
    3:libmodulemd-1.5.2-32_1 ################################# [ 14%]
    4:libsolv-0.7.9-32_1 ################################# [ 18%]
    5:libsmartcols-2.34-32_1 ################################# [ 23%]
    6:zchunk-libs-1.1.4-32_1 ################################# [ 27%]
    7:librepo-1.11.0-32_1 ################################# [ 32%]
    8:rpm-python3-4.15.1-32_1 ################################# [ 36%]
    9:libdnf-0.39.1-32_1 ################################# [ 41%]
    10:python3-libdnf-0.39.1-32_1 ################################# [ 45%]
    11:python3-hawkey-0.39.1-32_1 ################################# [ 50%]
    12:libcomps-0.1.11-32_1 ################################# [ 55%]
    13:python3-libcomps-0.1.11-32_1 ################################# [ 59%]
    14:python3-gpgme-1.13.1-32_1 ################################# [ 64%]
    15:p11-kit-0.23.16-0 ################################# [ 68%]
    16:p11-kit-tools-0.23.16-0 ################################# [ 73%]
    17:dnf-data-4.2.17-32_1 ################################# [ 77%]
    18:python3-dnf-4.2.17-32_1 ################################# [ 82%]
    19:dnf-4.2.17-32_1 ################################# [ 86%]
    20:dnf-automatic-4.2.17-32_1 ################################# [ 91%]
    21:ca-certificates-2020.06.01-0 ################################# [ 95%]
    22:python3-librepo-1.11.0-32_1 ################################# [100%]

    dnf installed successfully.
    Please run 'dnf update' to update packages to the latest level.

    Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
    RPM packages install files go under the path /opt.
    Hence it is recommended to always keep at least 512MB of free space in /var & /opt
    to avoid any download and installation/update failures.

    root@iam1dmz8:/localhome/n0173/dnf #

    root@iam1dmz8:/localhome/n0173/dnf # /opt/freeware/bin/dnf
    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: 0509-022 Cannot load module /usr/opt/rpm/lib/libpopt.a(libpopt.so.0).
    0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.
    0509-152 Member libintl.so.8 is not found in archive
    0509-022 Cannot load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    0509-150 Dependent module /usr/opt/rpm/lib/libpopt.a(libpopt.so.0) could not be loaded.
    root@iam1dmz8:/localhome/n0173/dnf #



    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 4.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 12:52 AM
    root@iam1dmz8:/localhome/n0173/dnf # rpm -qa
    tar-1.14-2.ppc
    ganglia-p6-mod_ibmpower-3.4.0-1.ppc
    gettext-0.10.40-8.ppc
    zlib-1.2.6-2.ppc
    apr-1.5.2-2.ppc
    tcsh-6.11-3.ppc
    apr-util-1.5.4-3.ppc
    ganglia-mod_ibmnet-3.4.0-1.ppc
    db4-4.8.30-1.ppc
    libgcc-4.8.3-1.ppc
    pcre-8.42-1.ppc
    mod_ssl_64-2.4.39-1.ppc
    unzip-5.51-1.ppc
    wget-1.9.1-1.ppc
    info-5.0-1.ppc
    libssh2-1.4.3-1.ppc
    gnupg-1.4.13-1.ppc
    gdb-7.3-2.ppc
    ganglia-lib-3.4.0-1.ppc
    ganglia-mod_aixdisk-3.4.0-1.ppc
    libiconv-1.14-3.ppc
    libffi-3.2.1-1.ppc
    httpd_64-2.4.39-1.ppc
    python3-3.7.9-0.ppc
    libmodulemd-1.5.2-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    librepo-1.11.0-32_1.ppc
    libdnf-0.39.1-32_1.ppc
    python3-hawkey-0.39.1-32_1.ppc
    python3-libcomps-0.1.11-32_1.ppc
    p11-kit-0.23.16-0.ppc
    dnf-data-4.2.17-32_1.noarch
    dnf-4.2.17-32_1.noarch
    ca-certificates-2020.06.01-0.ppc
    AIX-rpm-7.2.5.100-6.ppc
    lynx-2.8.4-2.ppc
    vnc-3.3.3r2-6.ppc
    ncftp-3.1.1-3.ppc
    libidn-1.26-1.ppc
    openldap-2.4.23-0.3.ppc
    coreutils-5.2.1-2.ppc
    apr-util-ldap-1.5.4-3.ppc
    ganglia-gmond-3.4.0-1.ppc
    readline-8.0-1.ppc
    bash-4.2-3.ppc
    glib2-2.34.3-1.ppc
    openssl-1.0.2q-1.ppc
    sudo-1.6.9p15-2noldap.ppc
    zip-2.3-3.ppc
    bzip2-1.0.6-1.ppc
    pkg-config-0.28-1.ppc
    curl-7.27.0-1.ppc
    grep-2.5.1-1.ppc
    libconfuse-2.7-1.ppc
    ganglia-mod_ibmfc-3.4.0-1.ppc
    libffi-devel-3.2.1-1.ppc
    expat-2.2.6-1.ppc
    libzstd-1.4.4-32_1.ppc
    libsolv-0.7.9-32_1.ppc
    zchunk-libs-1.1.4-32_1.ppc
    rpm-python3-4.15.1-32_1.ppc
    python3-libdnf-0.39.1-32_1.ppc
    libcomps-0.1.11-32_1.ppc
    python3-gpgme-1.13.1-32_1.ppc
    p11-kit-tools-0.23.16-0.ppc
    python3-dnf-4.2.17-32_1.noarch
    dnf-automatic-4.2.17-32_1.noarch
    python3-librepo-1.11.0-32_1.ppc
    root@iam1dmz8:/localhome/n0173/dnf #

    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 5.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 11:03 AM
    Team ,

    can someone help to fix this problem ? 

    root@iam1dmz8:/localhome/n0173/dnf # /opt/freeware/bin/dnf
    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: 0509-022 Cannot load module /usr/opt/rpm/lib/libpopt.a(libpopt.so.0).
    0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.
    0509-152 Member libintl.so.8 is not found in archive
    0509-022 Cannot load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    0509-150 Dependent module /usr/opt/rpm/lib/libpopt.a(libpopt.so.0) could not be loaded.
    root@iam1dmz8:/localhome/n0173/dnf #

    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 6.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 12:18 PM
    Please check this
    https://community.ibm.com/community/user/power/discussion/dnf-update-failed-with-libpopta-error#bm069c31c1-a213-4b49-aa4b-44ada33f553b

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



  • 7.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 01:00 PM
    i already have latest version of gettext 

    root@iam1dmz8:/localhome/n0173/dnf # rpm -qa |grep get
    gettext-0.10.40-8.ppc

    root@iam1dmz8:/localhome/n0173/dnf # rpm -qi gettext-0.10.40-8.ppc
    Name : gettext
    Version : 0.10.40
    Release : 8
    Architecture: ppc
    Install Date: Tue Apr 2 14:17:03 GMT 2013
    Group : Gnome2/Tools
    Size : 3693148
    License : GPL/LGPL
    Signature : (none)
    Source RPM : gettext-0.10.40-8.src.rpm
    Build Date : Fri Jan 4 20:41:20 GMT 2008
    Build Host : delrio.austin.ibm.com
    URL : http://www.gnu.org/software/gettext/
    Summary : GNU libraries and utilities for producing multi-lingual messages.
    Description :
    The GNU gettext package provides a set of tools and documentation for
    producing multi-lingual messages in programs. Tools include a set of
    conventions about how programs should be written to support message
    catalogs, a directory and file naming organization for the message
    catalogs, a runtime library which supports the retrieval of translated
    messages, and stand-alone programs for handling the translatable and
    the already translated strings. Gettext provides an easy to use
    library and tools for creating, using, and modifying natural language
    catalogs and is a powerful and simple method for internationalizing
    programs.
    root@iam1dmz8:/localhome/n0173/dnf #

    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 8.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 01:23 PM
    i did following things .

    this time got different error .
    root@iam1dmz8:/localhome/n0173/dnf # ls -lrt /usr/lib/libintl.a
    lrwxrwxrwx 1 root system 32 Nov 20 23:05 /usr/lib/libintl.a -> ../../opt/freeware/lib/libintl.a
    root@iam1dmz8:/localhome/n0173/dnf #
    root@iam1dmz8:/localhome/n0173/dnf # ls -lrt /usr/lib/libpopt.a
    lrwxrwxrwx 1 root system 26 Nov 21 00:22 /usr/lib/libpopt.a -> /usr/opt/rpm/lib/libpopt.a
    root@iam1dmz8:/localhome/n0173/dnf # unlink /usr/lib/libintl.a
    root@iam1dmz8:/localhome/n0173/dnf # mv /opt/freeware/lib/libintl.a /opt/freeware/lib/libintl.a.save
    root@iam1dmz8:/localhome/n0173/dnf # export LIBPATH=/usr/lib:$LIBPATH
    root@iam1dmz8:/localhome/n0173/dnf #
    root@iam1dmz8:/localhome/n0173/dnf # /opt/freeware/bin/dnf
    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: 0509-130 Symbol resolution failed for /opt/freeware/libdnfdeps/libstdc++.a(libstdc++.so.6) because:
    0509-136 Symbol _GLOBAL__AIXI_shr_o (number 4) is not exported from
    dependent module /opt/freeware/lib/libgcc_s.a(shr.o).
    0509-136 Symbol _GLOBAL__AIXD_shr_o (number 5) is not exported from
    dependent module /opt/freeware/lib/libgcc_s.a(shr.o).
    0509-022 Cannot load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    0509-026 System error: Cannot run a file that does not have a valid format.
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.
    root@iam1dmz8:/localhome/n0173/dnf #

    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 9.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 01:34 PM
    upgraded libgcc to latest version , now it is fixed .

    but get different error now .

    AIX generic repository 0.0 B/s | 0 B 00:00
    Errors during downloading metadata for repository 'AIX_Toolbox':
    - Curl error (7): Couldn't connect to server for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml [Failed to connect to public.dhe.ibm.com port 443: A remote host refused an attempted connect operation.]
    Error: Failed to download metadata for repo 'AIX_Toolbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX noarch repository 0.0 B/s | 0 B 00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_noarch':
    - Curl error (7): Couldn't connect to server for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/repodata/repomd.xml [Failed to connect to public.dhe.ibm.com port 443: A remote host refused an attempted connect operation.]
    Error: Failed to download metadata for repo 'AIX_Toolbox_noarch': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX 7.2 specific repository 0.0 B/s | 0 B 00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_72':
    - Curl error (7): Couldn't connect to server for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/repodata/repomd.xml [Failed to connect to public.dhe.ibm.com port 443: A remote host refused an attempted connect operation.]
    Error: Failed to download metadata for repo 'AIX_Toolbox_72': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: AIX_Toolbox, AIX_Toolbox_noarch, AIX_Toolbox_72
    Dependencies resolved.
    Nothing to do.
    Complete!
    root@iam1dmz8:/ #

    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 10.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 01:34 PM
    root@iam1dmz8:/ # /opt/freeware/bin/dnf update
    AIX generic repository 0.0 B/s | 0 B 00:00
    Errors during downloading metadata for repository 'AIX_Toolbox':
    - Curl error (7): Couldn't connect to server for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml [Failed to connect to public.dhe.ibm.com port 443: A remote host refused an attempted connect operation.]
    Error: Failed to download metadata for repo 'AIX_Toolbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX noarch repository 0.0 B/s | 0 B 00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_noarch':
    - Curl error (7): Couldn't connect to server for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/repodata/repomd.xml [Failed to connect to public.dhe.ibm.com port 443: A remote host refused an attempted connect operation.]
    Error: Failed to download metadata for repo 'AIX_Toolbox_noarch': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX 7.2 specific repository 0.0 B/s | 0 B 00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_72':
    - Curl error (7): Couldn't connect to server for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/repodata/repomd.xml [Failed to connect to public.dhe.ibm.com port 443: A remote host refused an attempted connect operation.]
    Error: Failed to download metadata for repo 'AIX_Toolbox_72': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: AIX_Toolbox, AIX_Toolbox_noarch, AIX_Toolbox_72
    Dependencies resolved.
    Nothing to do.
    Complete!
    root@iam1dmz8:/ #

    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 11.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Mon November 21, 2022 02:17 PM
    i relogged into the host , get this error eveytime run bash command .

    oot@iam1dmz8:/ # bash
    exec(): 0509-036 Cannot load program bash because of the following errors:
    0509-150 Dependent module libintl.a(libintl.so.1) could not be loaded.
    0509-022 Cannot load module libintl.a(libintl.so.1).
    0509-026 System error: A file or directory in the path name does not exist.
    root@iam1dmz8:/ #
    root@iam1dmz8:/ #

    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 12.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Tue November 22, 2022 08:19 AM
    You need to install the latest gettext rpm. 0.10.40 is not the latest gettext version

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



  • 13.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Tue November 22, 2022 02:19 PM
    Ayyappan ,

    it has latest version of gettext  , still get the same error

    root@daw914:/home/sjeyson/dnf # /opt/freeware/bin/dnf
    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: Could not load module /usr/opt/rpm/lib/libpopt.a(libpopt.so.0).
    Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.
    Member libintl.so.8 is not found in archive
    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    Dependent module /usr/opt/rpm/lib/libpopt.a(libpopt.so.0) could not be loaded.
    root@daw914:/home/sjeyson/dnf #
    root@daw914:/home/sjeyson/dnf #
    root@daw914:/home/sjeyson/dnf #
    root@daw914:/home/sjeyson/dnf #
    root@daw914:/home/sjeyson/dnf # rpm -qa |grep get
    gettext-0.10.40-8.ppc
    root@daw914:/home/sjeyson/dnf #

    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 14.  RE: DNF failed on AIX 7.2 TL05 SP3

    Posted Thu December 01, 2022 05:00 AM
    The current gettext version on AIX toolbox gettext-0.21-1.ppc and you are running very old version.
    Please update to latest gettext (gettext-0.21-1.ppc) and verify.

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