Power

 View Only
  • 1.  DNF error

    Posted 30 days ago

    Hi Team,

    I am getting the below error while installing dnf in AIX 7.2 server.

    # ls
    RPM-GPG-KEY-IBM-AIX-Toolbox                                  python3-libdnf-0.74.0-32_3.aix7.1.ppc.rpm
    ca-certificates-2024.2.66-0.aix7.1.ppc.rpm                   python3-librepo-1.20.0-32_1.aix7.1.ppc.rpm
    dnf-4.23.0-32_2.aix7.1.noarch.rpm                            python3-six-1.17.0-1.aix7.1.noarch.rpm
    dnf-automatic-4.23.0-32_2.aix7.1.noarch.rpm                  python3-test-3.12.11-0.aix7.1.ppc.rpm
    dnf-data-4.23.0-32_2.aix7.1.noarch.rpm                       python3-tkinter-3.12.11-0.aix7.1.ppc.rpm
    dnf_bundle_aix_71_72_v12.tar                                 python3.12-3.12.11-0.aix7.1.ppc.rpm
    extra_list                                                   python3.12-dateutil-2.9.0.post0-1.aix7.1.noarch.rpm
    gnupg2-2.4.8-0.aix7.1.ppc.rpm                                python3.12-devel-3.12.11-0.aix7.1.ppc.rpm
    install_dnf.sh                                               python3.12-dnf-4.23.0-32_2.aix7.1.noarch.rpm
    libcomps-0.1.22-32_1.aix7.1.ppc.rpm                          python3.12-dnf-plugin-migrate-4.10.1-32_1.aix7.1.noarch.rpm
    libdnf-0.74.0-32_3.aix7.1.ppc.rpm                            python3.12-dnf-plugins-core-4.10.1-32_1.aix7.1.noarch.rpm
    libmodulemd-2.15.2-32_1.aix7.1.ppc.rpm                       python3.12-gpg-1.24.3-32_1.aix7.1.ppc.rpm
    librepo-1.20.0-32_1.aix7.1.ppc.rpm                           python3.12-hawkey-0.74.0-32_3.aix7.1.ppc.rpm
    libsmartcols-2.41-32_1.aix7.1.ppc.rpm                        python3.12-idle-3.12.11-0.aix7.1.ppc.rpm
    libsolv-0.7.35-32_1.aix7.1.ppc.rpm                           python3.12-libcomps-0.1.22-32_1.aix7.1.ppc.rpm
    libzstd-1.5.7-32_1.aix7.1.ppc.rpm                            python3.12-libdnf-0.74.0-32_3.aix7.1.ppc.rpm
    p11-kit-0.25.10-0.aix7.1.ppc.rpm                             python3.12-librepo-1.20.0-32_1.aix7.1.ppc.rpm
    p11-kit-tools-0.25.10-0.aix7.1.ppc.rpm                       python3.12-six-1.17.0-1.aix7.1.noarch.rpm
    python3-3.12.11-0.aix7.1.ppc.rpm                             python3.12-test-3.12.11-0.aix7.1.ppc.rpm
    python3-dateutil-2.9.0.post0-1.aix7.1.noarch.rpm             python3.12-tkinter-3.12.11-0.aix7.1.ppc.rpm
    python3-devel-3.12.11-0.aix7.1.ppc.rpm                       rpm-python3-4.15.1-32_3.aix7.1.ppc.rpm
    python3-dnf-4.23.0-32_2.aix7.1.noarch.rpm                    rpm-python3.12-4.15.1-32_3.aix7.1.ppc.rpm
    python3-dnf-plugin-migrate-4.10.1-32_1.aix7.1.noarch.rpm     rpm.rte
    python3-dnf-plugins-core-4.10.1-32_1.aix7.1.noarch.rpm       rpmlibs32-4.15.1.0-32_3.1.aix7.1.ppc.rpm
    python3-gpg-1.24.3-32_1.aix7.1.ppc.rpm                       yum-4.23.0-32_2.aix7.1.noarch.rpm
    python3-hawkey-0.74.0-32_3.aix7.1.ppc.rpm                    zchunk-1.5.2-32_1.aix7.1.ppc.rpm
    python3-idle-3.12.11-0.aix7.1.ppc.rpm                        zchunk-devel-1.5.2-32_1.aix7.1.ppc.rpm
    python3-libcomps-0.1.22-32_1.aix7.1.ppc.rpm                  zchunk-libs-1.5.2-32_1.aix7.1.ppc.rpm
    # ./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.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_2.aix7.1.noarch.rpm: digests signatures OK
    dnf-automatic-4.23.0-32_2.aix7.1.noarch.rpm: digests signatures OK
    dnf-data-4.23.0-32_2.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_3.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_2.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_3.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_3.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_2.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_3.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_3.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_2.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 will be installed
    dnf-4.23.0-32_2 will be installed
    dnf-automatic-4.23.0-32_2 will be installed
    dnf-data-4.23.0-32_2 will be installed
    gnupg2-2.4.8-0 will be installed
    libcomps-0.1.22-32_1 will be installed
    libdnf-0.74.0-32_3 will be installed
    libmodulemd-2.15.2-32_1 will be installed
    librepo-1.20.0-32_1 will be installed
    libsmartcols-2.41-32_1 will be installed
    libsolv-0.7.35-32_1 will be installed
    libzstd-1.5.7-32_1 will be installed
    p11-kit-0.25.10-0 will be installed
    p11-kit-tools-0.25.10-0 will be installed
    python3-3.12.11-0 will be installed
    python3-dnf-4.23.0-32_2 will be installed
    python3-gpg-1.24.3-32_1 will be installed
    python3-hawkey-0.74.0-32_3 will be installed
    python3-libcomps-0.1.22-32_1 will be installed
    python3-libdnf-0.74.0-32_3 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_2 will be installed
    python3.12-gpg-1.24.3-32_1 will be installed
    python3.12-hawkey-0.74.0-32_3 will be installed
    python3.12-libcomps-0.1.22-32_1 will be installed
    python3.12-libdnf-0.74.0-32_3 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_2 will be installed
    zchunk-libs-1.5.2-32_1 will be installed
     
    Installing the packages...
     
    error: Failed dependencies:
            /bin/sh is needed by ca-certificates-2024.2.66-0.ppc
            /bin/sh is needed by dnf-4.23.0-32_2.noarch
            /bin/sh is needed by dnf-automatic-4.23.0-32_2.noarch
            /bin/sh is needed by dnf-data-4.23.0-32_2.noarch
            /bin/sh is needed by gnupg2-2.4.8-0.ppc
            libc.a(shr.o) is needed by gnupg2-2.4.8-0.ppc
            libc.a(shr_64.o) is needed by gnupg2-2.4.8-0.ppc
            libcurses.a(shr42.o) is needed by gnupg2-2.4.8-0.ppc
            libpthread.a(shr_comm.o) is needed by gnupg2-2.4.8-0.ppc
            libpthread.a(shr_xpg5.o) is needed by gnupg2-2.4.8-0.ppc
            libpthread.a(shr_xpg5_64.o) is needed by gnupg2-2.4.8-0.ppc
            libpthreads.a(shr_xpg5.o) is needed by gnupg2-2.4.8-0.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by gnupg2-2.4.8-0.ppc
            libz.a(libz.so.1) is needed by gnupg2-2.4.8-0.ppc
            libc.a(shr.o) is needed by libcomps-0.1.22-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by libcomps-0.1.22-32_1.ppc
            libz.a(libz.so.1) is needed by libcomps-0.1.22-32_1.ppc
            /bin/sh is needed by libdnf-0.74.0-32_3.ppc
            libc.a(shr.o) is needed by libdnf-0.74.0-32_3.ppc
            libc.a(shr_64.o) is needed by libdnf-0.74.0-32_3.ppc
            libpthreads.a(shr_comm.o) is needed by libdnf-0.74.0-32_3.ppc
            libpthreads.a(shr_xpg5.o) is needed by libdnf-0.74.0-32_3.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by libdnf-0.74.0-32_3.ppc
            librpm.a(librpm.so.9) is needed by libdnf-0.74.0-32_3.ppc
            librpmio.a(librpmio.so.9) is needed by libdnf-0.74.0-32_3.ppc
            libz.a(libz.so.1) is needed by libdnf-0.74.0-32_3.ppc
            libc.a(shr.o) is needed by libmodulemd-2.15.2-32_1.ppc
            libpthread.a(shr_xpg5.o) is needed by libmodulemd-2.15.2-32_1.ppc
            libpthreads.a(shr_comm.o) is needed by libmodulemd-2.15.2-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by libmodulemd-2.15.2-32_1.ppc
            librpmio.a(librpmio.so.9) is needed by libmodulemd-2.15.2-32_1.ppc
            librtl.a(shr.o) is needed by libmodulemd-2.15.2-32_1.ppc
            libc.a(shr.o) is needed by librepo-1.20.0-32_1.ppc
            libcrypto.a(libcrypto.so.3) is needed by librepo-1.20.0-32_1.ppc
            libpthreads.a(shr_comm.o) is needed by librepo-1.20.0-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by librepo-1.20.0-32_1.ppc
            libssl.a(libssl.so.3) is needed by librepo-1.20.0-32_1.ppc
            libz.a(libz.so.1) is needed by librepo-1.20.0-32_1.ppc
            libc.a(shr.o) is needed by libsmartcols-2.41-32_1.ppc
            librtl.a(shr.o) is needed by libsmartcols-2.41-32_1.ppc
            /bin/sh is needed by libsolv-0.7.35-32_1.ppc
            libc.a(shr.o) is needed by libsolv-0.7.35-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by libsolv-0.7.35-32_1.ppc
            librpm.a(librpm.so.9) is needed by libsolv-0.7.35-32_1.ppc
            librpmio.a(librpmio.so.9) is needed by libsolv-0.7.35-32_1.ppc
            libz.a(libz.so.1) is needed by libsolv-0.7.35-32_1.ppc
            /bin/sh is needed by libzstd-1.5.7-32_1.ppc
            AIX-rpm >= 7.1.3.0 is needed by libzstd-1.5.7-32_1.ppc
            AIX-rpm < 7.3.0.0 is needed by libzstd-1.5.7-32_1.ppc
            libc.a(shr.o) is needed by libzstd-1.5.7-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by libzstd-1.5.7-32_1.ppc
            librtl.a(shr.o) is needed by libzstd-1.5.7-32_1.ppc
            /bin/sh is needed by p11-kit-0.25.10-0.ppc
            libc.a(shr.o) is needed by p11-kit-0.25.10-0.ppc
            libc.a(shr_64.o) is needed by p11-kit-0.25.10-0.ppc
            libpthread.a(shr_xpg5.o) is needed by p11-kit-0.25.10-0.ppc
            libpthread.a(shr_xpg5_64.o) is needed by p11-kit-0.25.10-0.ppc
            libc.a(shr.o) is needed by p11-kit-tools-0.25.10-0.ppc
            libc.a(shr_64.o) is needed by p11-kit-tools-0.25.10-0.ppc
            libpthread.a(shr_xpg5.o) is needed by p11-kit-tools-0.25.10-0.ppc
            libpthread.a(shr_xpg5_64.o) is needed by p11-kit-tools-0.25.10-0.ppc
            /bin/sh is needed by python3-3.12.11-0.ppc
            /bin/sh is needed by python3.12-3.12.11-0.ppc
            /usr/bin/env is needed by python3.12-3.12.11-0.ppc
            libbsd.a(shr.o) is needed by python3.12-3.12.11-0.ppc
            libbsd.a(shr_64.o) is needed by python3.12-3.12.11-0.ppc
            libc.a(shr.o) is needed by python3.12-3.12.11-0.ppc
            libc.a(shr_64.o) is needed by python3.12-3.12.11-0.ppc
            libcrypto.a(libcrypto.so.3) is needed by python3.12-3.12.11-0.ppc
            libdl.a(shr.o) is needed by python3.12-3.12.11-0.ppc
            libdl.a(shr_64.o) is needed by python3.12-3.12.11-0.ppc
            libpthreads.a(shr_comm.o) is needed by python3.12-3.12.11-0.ppc
            libpthreads.a(shr_xpg5.o) is needed by python3.12-3.12.11-0.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by python3.12-3.12.11-0.ppc
            libssl.a(libssl.so.3) is needed by python3.12-3.12.11-0.ppc
            libz.a(libz.so.1) is needed by python3.12-3.12.11-0.ppc
            libc.a(shr.o) is needed by python3.12-gpg-1.24.3-32_1.ppc
            libpthreads.a(shr_comm.o) is needed by python3.12-gpg-1.24.3-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by python3.12-gpg-1.24.3-32_1.ppc
            libc.a(shr.o) is needed by python3.12-hawkey-0.74.0-32_3.ppc
            libpthreads.a(shr_comm.o) is needed by python3.12-hawkey-0.74.0-32_3.ppc
            libpthreads.a(shr_xpg5.o) is needed by python3.12-hawkey-0.74.0-32_3.ppc
            libc.a(shr.o) is needed by python3.12-libcomps-0.1.22-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by python3.12-libcomps-0.1.22-32_1.ppc
            libz.a(libz.so.1) is needed by python3.12-libcomps-0.1.22-32_1.ppc
            libc.a(shr.o) is needed by python3.12-libdnf-0.74.0-32_3.ppc
            libpthreads.a(shr_comm.o) is needed by python3.12-libdnf-0.74.0-32_3.ppc
            libpthreads.a(shr_xpg5.o) is needed by python3.12-libdnf-0.74.0-32_3.ppc
            libc.a(shr.o) is needed by python3.12-librepo-1.20.0-32_1.ppc
            libpthreads.a(shr_comm.o) is needed by python3.12-librepo-1.20.0-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by python3.12-librepo-1.20.0-32_1.ppc
            /bin/sh is needed by rpm-python3.12-4.15.1-32_3.ppc
            libc.a(shr.o) is needed by rpm-python3.12-4.15.1-32_3.ppc
            librpm.a(librpm.so.9) is needed by rpm-python3.12-4.15.1-32_3.ppc
            librpmbuild.a(librpmbuild.so.9) is needed by rpm-python3.12-4.15.1-32_3.ppc
            librpmio.a(librpmio.so.9) is needed by rpm-python3.12-4.15.1-32_3.ppc
            librpmsign.a(librpmsign.so.9) is needed by rpm-python3.12-4.15.1-32_3.ppc
            /bin/sh is needed by yum-4.23.0-32_2.noarch
            libc.a(shr.o) is needed by zchunk-libs-1.5.2-32_1.ppc
            libcrypto.a(libcrypto.so.3) is needed by zchunk-libs-1.5.2-32_1.ppc
            libpthreads.a(shr_comm.o) is needed by zchunk-libs-1.5.2-32_1.ppc
            libpthreads.a(shr_xpg5.o) is needed by zchunk-libs-1.5.2-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.



    can anyone please help me to resolve the issue




    ------------------------------
    Subba Reddy Reddem
    ------------------------------


  • 2.  RE: DNF error

    Posted 17 days ago

    Hi Team,

    Can anyone help here?



    ------------------------------
    Subba Reddy Reddem
    ------------------------------



  • 3.  RE: DNF error

    Posted 15 days ago

    Please use Power open source forum for better attention for AIX open source and AIX toolbox related issues https://community.ibm.com/community/user/groups/community-home?CommunityKey=329e8662-cb5a-4e9e-80ee-47b1c3b5848c
    For this issue I think your virtual RPM package is not updated correctly. Please run /usr/sbin/updtvpkg command and see if that resolve the issue if not then please open a thread in the above forum. 



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



  • 4.  RE: DNF error

    Posted 15 days ago

    Hi Sanket,

     

    Thanks for your help and I have raised under given link, after running the command given by you I am getting the below error.

     

    Installing the packages...

     

    error: Failed dependencies:

            libgcc >= 10.3.0 is needed by ncurses-6.6-1.ppc

            libstdc++ >= 10.3.0 is needed by ncurses-6.6-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.

     

    Regards,

    Subba Reddy






  • 5.  RE: DNF error

    Posted 12 days ago
    Hi Subba, 

    As mentioned in the other forum, please verify if you are using the latest dnf package? 
    Please verify and download the latest dnf bundle from AIX toolbox.