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
  • 1.  DNF installation error on AIX.

    Posted 25 days ago

    I have tried to install DNF  from both linux toolbox CDs on AIX 7200-05-11-2546 using command - sh /mnt1/ezinstall/ppc/dnf_aixtoolbox_local.sh /mnt

    ESD-Toolbox_for_Linux_Apps_Common_7.2-7.3_122025_LCD4107742.iso

    ESD-Toolbox_for_Linux_Apps_Common_7.2-7.3_062024_LCD4107739.iso

    ===========================================================

    Installing the packages...
     
    error: Failed dependencies:
            libcomps = 0.1.15-32_1 is needed by python3.9-libcomps-0.1.15-32_1.ppc
            librepo = 1.11.0-32_2 is needed by python3.9-librepo-1.11.0-32_2.ppc
            libzck.a(libzck.so.1.1.4) is needed by python3.9-librepo-1.11.0-32_2.ppc
    dnf installation failed.
    ===========================================================
     
    Need solution for DNF installation



    ------------------------------
    Allwyn Menezes
    ------------------------------


  • 2.  RE: DNF installation error on AIX.

    Posted 25 days ago

    Hi Allwyn

    Can you please paste the complete command output ?

    Please try with ESD-Toolbox_for_Linux_Apps_Common_7.2-7.3_122025_LCD4107742.iso as this one has python3.12 ecosystem. packages.



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



  • 3.  RE: DNF installation error on AIX.

    Posted 25 days ago

    root@COREUATAPP01/#sh /mnt1/ezinstall/ppc/dnf_aixtoolbox_local.sh /mnt1
     
    Copying dnf_bundle_aix_71_72.tar to /tmp/dnf-20260116144209 .....
     
    Extracting dnf_bundle_aix_71_72.tar ...
    x .
    x ./RPM-GPG-KEY-IBM-AIX-Toolbox, 3187 bytes, 7 tape blocks
    x ./ca-certificates-2024.2.66-0.aix7.1.ppc.rpm, 991029 bytes, 1936 tape blocks
    x ./dnf-4.23.0-32_1.aix7.1.noarch.rpm, 11972 bytes, 24 tape blocks
    x ./dnf-automatic-4.23.0-32_1.aix7.1.noarch.rpm, 14288 bytes, 28 tape blocks
    x ./dnf-data-4.23.0-32_1.aix7.1.noarch.rpm, 28182 bytes, 56 tape blocks
    x ./extra_list, 396 bytes, 1 tape blocks
    x ./gnupg2-2.4.8-0.aix7.1.ppc.rpm, 93087533 bytes, 181812 tape blocks
    x ./install_dnf.sh, 15997 bytes, 32 tape blocks
    x ./libcomps-0.1.22-32_1.aix7.1.ppc.rpm, 1285041 bytes, 2510 tape blocks
    x ./libdnf-0.74.0-32_1.aix7.1.ppc.rpm, 30755692 bytes, 60070 tape blocks
    x ./libmodulemd-2.15.2-32_1.aix7.1.ppc.rpm, 8223605 bytes, 16062 tape blocks
    x ./librepo-1.20.0-32_1.aix7.1.ppc.rpm, 10627184 bytes, 20757 tape blocks
    x ./libsmartcols-2.41-32_1.aix7.1.ppc.rpm, 366917 bytes, 717 tape blocks
    x ./libsolv-0.7.35-32_1.aix7.1.ppc.rpm, 1564137 bytes, 3055 tape blocks
    x ./libzstd-1.5.7-32_1.aix7.1.ppc.rpm, 1888443 bytes, 3689 tape blocks
    x ./p11-kit-0.25.10-0.aix7.1.ppc.rpm, 10547766 bytes, 20602 tape blocks
    x ./p11-kit-tools-0.25.10-0.aix7.1.ppc.rpm, 3484008 bytes, 6805 tape blocks
    x ./python3-3.12.11-0.aix7.1.ppc.rpm, 8936 bytes, 18 tape blocks
    x ./python3-dateutil-2.9.0.post0-1.aix7.1.noarch.rpm, 6180 bytes, 13 tape blocks
    x ./python3-devel-3.12.11-0.aix7.1.ppc.rpm, 7718 bytes, 16 tape blocks
    x ./python3-dnf-4.23.0-32_1.aix7.1.noarch.rpm, 7960 bytes, 16 tape blocks
    x ./python3-dnf-plugin-migrate-4.10.1-32_1.aix7.1.noarch.rpm, 6664 bytes, 14 tape blocks
    x ./python3-dnf-plugins-core-4.10.1-32_1.aix7.1.noarch.rpm, 6880 bytes, 14 tape blocks
    x ./python3-gpg-1.24.3-32_1.aix7.1.ppc.rpm, 7144 bytes, 14 tape blocks
    x ./python3-hawkey-0.74.0-32_1.aix7.1.ppc.rpm, 23392 bytes, 46 tape blocks
    x ./python3-idle-3.12.11-0.aix7.1.ppc.rpm, 7291 bytes, 15 tape blocks
    x ./python3-libcomps-0.1.22-32_1.aix7.1.ppc.rpm, 13364 bytes, 27 tape blocks
    x ./python3-libdnf-0.74.0-32_1.aix7.1.ppc.rpm, 23392 bytes, 46 tape blocks
    x ./python3-librepo-1.20.0-32_1.aix7.1.ppc.rpm, 12988 bytes, 26 tape blocks
    x ./python3-six-1.17.0-1.aix7.1.noarch.rpm, 6336 bytes, 13 tape blocks
    x ./python3-test-3.12.11-0.aix7.1.ppc.rpm, 6236 bytes, 13 tape blocks
    x ./python3-tkinter-3.12.11-0.aix7.1.ppc.rpm, 6128 bytes, 12 tape blocks
    x ./python3.12-3.12.11-0.aix7.1.ppc.rpm, 70772270 bytes, 138228 tape blocks
    x ./python3.12-dateutil-2.9.0.post0-1.aix7.1.noarch.rpm, 366420 bytes, 716 tape blocks
    x ./python3.12-devel-3.12.11-0.aix7.1.ppc.rpm, 30451444 bytes, 59476 tape blocks
    x ./python3.12-dnf-4.23.0-32_1.aix7.1.noarch.rpm, 215845 bytes, 422 tape blocks
    x ./python3.12-dnf-plugin-migrate-4.10.1-32_1.aix7.1.noarch.rpm, 8398 bytes, 17 tape blocks
    x ./python3.12-dnf-plugins-core-4.10.1-32_1.aix7.1.noarch.rpm, 36252 bytes, 71 tape blocks
    x ./python3.12-gpg-1.24.3-32_1.aix7.1.ppc.rpm, 1149335 bytes, 2245 tape blocks
    x ./python3.12-hawkey-0.74.0-32_1.aix7.1.ppc.rpm, 16807284 bytes, 32827 tape blocks
    x ./python3.12-idle-3.12.11-0.aix7.1.ppc.rpm, 3331602 bytes, 6508 tape blocks
    x ./python3.12-libcomps-0.1.22-32_1.aix7.1.ppc.rpm, 1014751 bytes, 1982 tape blocks
    x ./python3.12-libdnf-0.74.0-32_1.aix7.1.ppc.rpm, 36262466 bytes, 70826 tape blocks
    x ./python3.12-librepo-1.20.0-32_1.aix7.1.ppc.rpm, 4313036 bytes, 8424 tape blocks
    x ./python3.12-six-1.17.0-1.aix7.1.noarch.rpm, 55734 bytes, 109 tape blocks
    x ./python3.12-test-3.12.11-0.aix7.1.ppc.rpm, 64705235 bytes, 126378 tape blocks
    x ./python3.12-tkinter-3.12.11-0.aix7.1.ppc.rpm, 1583845 bytes, 3094 tape blocks
    x ./rpm-python3-4.15.1-32_3.aix7.1.ppc.rpm, 9484 bytes, 19 tape blocks
    x ./rpm-python3.12-4.15.1-32_3.aix7.1.ppc.rpm, 99644 bytes, 195 tape blocks
    x ./rpm.rte, 48304128 bytes, 94344 tape blocks
    x ./rpmlibs32-4.15.1.0-32_3.1.aix7.1.ppc.rpm, 3723581 bytes, 7273 tape blocks
    x ./yum-4.23.0-32_1.aix7.1.noarch.rpm, 8986 bytes, 18 tape blocks
    x ./zchunk-1.5.2-32_1.aix7.1.ppc.rpm, 716366 bytes, 1400 tape blocks
    x ./zchunk-devel-1.5.2-32_1.aix7.1.ppc.rpm, 20376 bytes, 40 tape blocks
    x ./zchunk-libs-1.5.2-32_1.aix7.1.ppc.rpm, 553921 bytes, 1082 tape blocks
     
    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.1018     Already installed
     
    Verifying rpm packages signature...
     
    ca-certificates-2024.2.66-0.aix7.1.ppc.rpm: digests signatures OK
    dnf-4.23.0-32_1.aix7.1.noarch.rpm: digests signatures OK
    dnf-automatic-4.23.0-32_1.aix7.1.noarch.rpm: digests signatures OK
    dnf-data-4.23.0-32_1.aix7.1.noarch.rpm: digests signatures OK
    gnupg2-2.4.8-0.aix7.1.ppc.rpm: digests signatures OK
    libcomps-0.1.22-32_1.aix7.1.ppc.rpm: digests signatures OK
    libdnf-0.74.0-32_1.aix7.1.ppc.rpm: digests signatures OK
    libmodulemd-2.15.2-32_1.aix7.1.ppc.rpm: digests signatures OK
    librepo-1.20.0-32_1.aix7.1.ppc.rpm: digests signatures OK
    libsmartcols-2.41-32_1.aix7.1.ppc.rpm: digests signatures OK
    libsolv-0.7.35-32_1.aix7.1.ppc.rpm: digests signatures OK
    libzstd-1.5.7-32_1.aix7.1.ppc.rpm: digests signatures OK
    p11-kit-0.25.10-0.aix7.1.ppc.rpm: digests signatures OK
    p11-kit-tools-0.25.10-0.aix7.1.ppc.rpm: digests signatures OK
    python3-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3-dateutil-2.9.0.post0-1.aix7.1.noarch.rpm: digests signatures OK
    python3-devel-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3-dnf-4.23.0-32_1.aix7.1.noarch.rpm: digests signatures OK
    python3-dnf-plugin-migrate-4.10.1-32_1.aix7.1.noarch.rpm: digests signatures OK
    python3-dnf-plugins-core-4.10.1-32_1.aix7.1.noarch.rpm: digests signatures OK
    python3-gpg-1.24.3-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3-hawkey-0.74.0-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3-idle-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3-libcomps-0.1.22-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3-libdnf-0.74.0-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3-librepo-1.20.0-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3-six-1.17.0-1.aix7.1.noarch.rpm: digests signatures OK
    python3-test-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3-tkinter-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3.12-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3.12-dateutil-2.9.0.post0-1.aix7.1.noarch.rpm: digests signatures OK
    python3.12-devel-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3.12-dnf-4.23.0-32_1.aix7.1.noarch.rpm: digests signatures OK
    python3.12-dnf-plugin-migrate-4.10.1-32_1.aix7.1.noarch.rpm: digests signatures OK
    python3.12-dnf-plugins-core-4.10.1-32_1.aix7.1.noarch.rpm: digests signatures OK
    python3.12-gpg-1.24.3-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3.12-hawkey-0.74.0-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3.12-idle-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3.12-libcomps-0.1.22-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3.12-libdnf-0.74.0-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3.12-librepo-1.20.0-32_1.aix7.1.ppc.rpm: digests signatures OK
    python3.12-six-1.17.0-1.aix7.1.noarch.rpm: digests signatures OK
    python3.12-test-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    python3.12-tkinter-3.12.11-0.aix7.1.ppc.rpm: digests signatures OK
    rpm-python3-4.15.1-32_3.aix7.1.ppc.rpm: digests signatures OK
    rpm-python3.12-4.15.1-32_3.aix7.1.ppc.rpm: digests signatures OK
    rpmlibs32-4.15.1.0-32_3.1.aix7.1.ppc.rpm: digests signatures OK
    yum-4.23.0-32_1.aix7.1.noarch.rpm: digests signatures OK
    zchunk-1.5.2-32_1.aix7.1.ppc.rpm: digests signatures OK
    zchunk-devel-1.5.2-32_1.aix7.1.ppc.rpm: digests signatures OK
    zchunk-libs-1.5.2-32_1.aix7.1.ppc.rpm: digests signatures OK
     
     
    All rpm packages signature verified successfully.
     
     
    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.
     
    ca-certificates-2024.2.66-0 is already installed
    dnf-4.23.0-32_1 will be installed
    dnf-automatic-4.23.0-32_1 will be installed
    dnf-data-4.23.0-32_1 will be installed
    gnupg2-2.4.8-0 is already installed
    libcomps-0.1.22-32_1 is already installed
    libdnf-0.74.0-32_1 will be installed
    libmodulemd-2.15.2-32_1 is already installed
    librepo-1.20.0-32_1 is already installed
    libsmartcols-2.41-32_1 is already installed
    libsolv-0.7.35-32_1 is already installed
    libzstd-1.5.7-32_1 is already installed
    p11-kit-0.25.10-0 is already installed
    p11-kit-tools-0.25.10-0 is already installed
    python3-3.12.11-0 will be installed
    python3-dnf-4.23.0-32_1 will be installed
    python3-gpg-1.24.3-32_1 will be installed
    python3-hawkey-0.74.0-32_1 will be installed
    python3-libcomps-0.1.22-32_1 will be installed
    python3-libdnf-0.74.0-32_1 will be installed
    python3-librepo-1.20.0-32_1 will be installed
    python3.12-3.12.11-0 will be installed
    python3.12-dnf-4.23.0-32_1 will be installed
    python3.12-gpg-1.24.3-32_1 will be installed
    python3.12-hawkey-0.74.0-32_1 will be installed
    python3.12-libcomps-0.1.22-32_1 will be installed
    python3.12-libdnf-0.74.0-32_1 will be installed
    python3.12-librepo-1.20.0-32_1 will be installed
    rpm-python3-4.15.1-32_3 will be installed
    rpm-python3.12-4.15.1-32_3 will be installed
    yum-4.23.0-32_1 is already installed
    zchunk-libs-1.5.2-32_1 is already installed
     
    Installing the packages...
     
    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:python3.12-3.12.11-0             ################################# [  5%]
       2:python3-3.12.11-0                ################################# [ 10%]
       3:rpm-python3.12-4.15.1-32_3       ################################# [ 15%]
       4:libdnf-0.74.0-32_1               ################################# [ 20%]
       5:python3.12-libdnf-0.74.0-32_1    ################################# [ 25%]
       6:python3.12-hawkey-0.74.0-32_1    ################################# [ 30%]
       7:python3.12-gpg-1.24.3-32_1       ################################# [ 35%]
       8:python3.12-libcomps-0.1.22-32_1  ################################# [ 40%]
       9:python3.12-librepo-1.20.0-32_1   ################################# [ 45%]
      10:dnf-data-4.23.0-32_1             ################################# [ 50%]
      11:python3.12-dnf-4.23.0-32_1       ################################# [ 55%]
      12:python3-dnf-4.23.0-32_1          ################################# [ 60%]
      13:dnf-4.23.0-32_1                  ################################# [ 65%]
      14:dnf-automatic-4.23.0-32_1        ################################# [ 70%]
      15:python3-librepo-1.20.0-32_1      ################################# [ 75%]
      16:python3-libcomps-0.1.22-32_1     ################################# [ 80%]
      17:python3-gpg-1.24.3-32_1          ################################# [ 85%]
      18:python3-hawkey-0.74.0-32_1       ################################# [ 90%]
      19:python3-libdnf-0.74.0-32_1       ################################# [ 95%]
      20:rpm-python3-4.15.1-32_3          ################################# [100%]
    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.
     
    dnf installation failed.



    ------------------------------
    Allwyn Menezes
    ------------------------------



  • 4.  RE: DNF installation error on AIX.

    Posted 25 days ago

    Looks like the DNF installation went fine. Please check if you are able to run the DNF.

    Check this document for whichfs() error.



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



  • 5.  RE: DNF installation error on AIX.

    Posted 25 days ago

    Getting below error:

    root@COREUATAPP01/#dnf repolist
    repo id                                                                         repo name
    AIX_Toolbox                                                                     AIX generic repository
    AIX_Toolbox_72                                                                  AIX 7.2 specific repository
    AIX_Toolbox_noarch                                                              AIX noarch repository
    root@COREUATAPP01/#which dnf
    /opt/freeware/bin/dnf
    root@COREUATAPP01/#dnf update
    AIX generic repository                                                                                                                  0.0  B/s |   0  B     00:00
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 57, in <module>
        main.user_main(sys.argv[1:], exit_code=True)
      File "/opt/freeware/lib/python3.12/site-packages/dnf/cli/main.py", line 208, in user_main
        errcode = main(args)
                  ^^^^^^^^^^
      File "/opt/freeware/lib/python3.12/site-packages/dnf/cli/main.py", line 67, in main
        return _main(base, args, cli_class, option_parser_class)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/freeware/lib/python3.12/site-packages/dnf/cli/main.py", line 106, in _main
        return cli_run(cli, base)
               ^^^^^^^^^^^^^^^^^^
      File "/opt/freeware/lib/python3.12/site-packages/dnf/cli/main.py", line 122, in cli_run
        cli.run()
      File "/opt/freeware/lib/python3.12/site-packages/dnf/cli/cli.py", line 1098, in run
        self._process_demands()
      File "/opt/freeware/lib/python3.12/site-packages/dnf/cli/cli.py", line 787, in _process_demands
        self.base.fill_sack(
      File "/opt/freeware/lib/python3.12/site-packages/dnf/base.py", line 413, in fill_sack
        self._add_repo_to_sack(r)
      File "/opt/freeware/lib/python3.12/site-packages/dnf/base.py", line 141, in _add_repo_to_sack
        repo.load()
      File "/opt/freeware/lib/python3.12/site-packages/dnf/repo.py", line 574, in load
        ret = self._repo.load()
              ^^^^^^^^^^^^^^^^^
      File "/opt/freeware/lib/python3.12/site-packages/libdnf/repo.py", line 479, in load
        return _repo.Repo_load(self)
               ^^^^^^^^^^^^^^^^^^^^^
    libdnf._error.Error: Failed to download metadata for repo 'AIX_Toolbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried



    ------------------------------
    Allwyn Menezes
    ------------------------------



  • 6.  RE: DNF installation error on AIX.

    Posted 25 days ago

    Can you please paste the content of /opt/freeware/etc/dnf/dnf.conf file ?



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



  • 7.  RE: DNF installation error on AIX.

    Posted 25 days ago

    Hi



    ------------------------------
    Allwyn Menezes
    ------------------------------



  • 8.  RE: DNF installation error on AIX.

    Posted 25 days ago
      |   view attached

    I have upload file content in zip file as I am unable to post content due to some network restriction



    ------------------------------
    Allwyn Menezes
    ------------------------------

    Attachment(s)

    zip
    dnf_conf.zip   554 B 1 version


  • 9.  RE: DNF installation error on AIX.

    Posted 25 days ago

    Okay Thanks.

    The remaining step to modify the dnf.conf to locate the local mount path didn't happen after the whichfs() error.

    You can modify the /opt/freeware/etc/dnf/dnf.conf file to point the baseurl to local mount path.

    For ppc: baseurl=file:///mnt1/RPMS/ppc/

    For ppc-7.2: baseurl=file:///mnt1/RPMS/ppc-7.2/

    For noarch: baseurl=file:///mnt1/RPMS/noarch/

    I would recommend you to resolve the whichfs() error as well.



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



  • 10.  RE: DNF installation error on AIX.

    Posted 22 days ago

    Hi Sangamesh ,

    Issue resolved after updating dnf.conf , 

    Thank you so much.



    ------------------------------
    Allwyn Menezes
    ------------------------------