AIX Open Source

 View Only
Expand all | Collapse all

dnf on AIX 7.2 TL5 SP2 with yum installed

  • 1.  dnf on AIX 7.2 TL5 SP2 with yum installed

    Posted Thu August 12, 2021 02:23 AM
    I try to get dnf running but it ends at the following point:


    Installation Summary
    --------------------
    Name Level Part Event Result
    -------------------------------------------------------------------------------
    rpm.rte 4.15.1.3 USR APPLY SUCCESS
    rpm.rte 4.15.1.3 ROOT APPLY SUCCESS


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

    Skipping ca-certificates-2020.06.01-0 as higher version ca-certificates-2020.06.01-1.ppc is 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-dateutil-2.8.0-1 will be installed
    python3-dnf-4.2.17-32_1 will be installed
    python3-dnf-plugin-migrate-4.0.16-32_1 will be installed
    python3-dnf-plugins-core-4.0.16-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
    python3-six-1.13.0-1 will be installed

    Installing the packages...

    error: Failed dependencies:
    rpm-python3 >= 4.15.1 is needed by libdnf-0.39.1-32_1.ppc
    libzck.a(libzck.so.1.1.4) is needed by librepo-1.11.0-32_1.ppc
    zchunk-libs >= 1.1.4 is needed by librepo-1.11.0-32_1.ppc
    rpm-python3 >= 4.15.1 is needed by python3-dnf-4.2.17-32_1.noarch
    libzck.a(libzck.so.1.1.4) is needed by python3-librepo-1.11.0-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.

    When I check the content of the tar file, the package rpm-python3 is not contained in there. Am I missing something?

    ------------------------------
    Frank Schalude
    ------------------------------


  • 2.  RE: dnf on AIX 7.2 TL5 SP2 with yum installed

    Posted Thu August 12, 2021 09:41 AM
    Hi Frank,

    Please verify if the tar is downloaded correctly.
    We do have the required rpm-python3 and chunk-libs in the tar file.

    # sum dnf_bundle_aix_71_72.tar
    31827 171770 dnf_bundle_aix_71_72.tar

    # tar -tvf dnf_bundle_aix_71_72.tar | egrep "zchunk-libs|rpm-python3"
    -rw------- 0 0 100168 Jul 11 02:51:42 2021 rpm-python3-4.15.1-32_1.aix7.1.ppc.rpm
    -rw------- 0 0 534328 Jul 11 04:29:04 2021 zchunk-libs-1.1.4-32_1.aix7.1.ppc.rpm

    Please verify if tar extraction output is something like this.

    # ./dnf_aixtoolbox.sh -y
    Attempting download of dnf_bundle_aix_71_72.tar ...
    Saving to 'dnf_bundle_aix_71_72.tar'...
    168 MB received in 43 seconds (3.9 MB/sec)

    Extracting dnf_bundle_aix_71_72.tar ...
    x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 media blocks.
    x dnf-4.2.17-32_1.aix7.1.noarch.rpm, 11676 bytes, 23 media blocks.
    x dnf-automatic-4.2.17-32_1.aix7.1.noarch.rpm, 13016 bytes, 26 media blocks.
    x dnf-data-4.2.17-32_1.aix7.1.noarch.rpm, 24151 bytes, 48 media blocks.
    x extra_list, 218 bytes, 1 media blocks.
    x install_dnf.sh, 10727 bytes, 21 media blocks.
    x libcomps-0.1.11-32_1.aix7.1.ppc.rpm, 1273338 bytes, 2487 media blocks.
    x libdnf-0.39.1-32_1.aix7.1.ppc.rpm, 15810379 bytes, 30880 media blocks.
    x libmodulemd-1.5.2-32_1.aix7.1.ppc.rpm, 3419904 bytes, 6680 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_1.aix7.1.noarch.rpm, 197935 bytes, 387 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_1.aix7.1.ppc.rpm, 3113691 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_1.aix7.1.ppc.rpm, 22549730 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_1.aix7.1.noarch.rpm, 9188 bytes, 18 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.

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