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 post 7.3 migration and issues updating dnf.

    Posted Thu July 03, 2025 07:36 AM
    Edited by SANGAMESH MALLAYYA Thu July 03, 2025 10:39 AM

    Hello team,

    It would seem this is an ongoing issue with dnf and post 7.3 installation. I am also having something similar and I have tried a couple of different ways to correct the issue to resolve the problem.

    This came to my attention far to late after a 7.3 migration and rolling back to 7.2 at this time is not really an option. I do have the old version to test with if needed, but reverting back would cause tons of rework just to get dnf working again.

    So to start this is the error I get:

    >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 /opt/freeware/lib/libdnf.a(libdnf.so.2).
            0509-150   Dependent module librpm.so could not be loaded.
            0509-022 Cannot load module librpm.so.
            0509-026 System error: A file or directory in the path name does not exist.

    This issue led me to other forum post and guides by samgamesh:

    AIX migration with DNF

    However, this has led me to believe that I needed to purge old RPMs/dnf and start fresh. I was able to uninstall all rpms on the lpar and tried again with dnf_install. The result can be seen below. I have a backup copy that I can jump back and forth between while testing this setup.

    Any assistance or insight is greatly appreciated.

    >./dnf_aixtoolbox.sh -y
    Attempting download of dnf_bundle_aix_73.tar ...
    Saving to 'dnf_bundle_aix_73.tar'...
    291 MB received in 4 minutes (1.04 MB/sec)                                  
     
    Extracting dnf_bundle_aix_73.tar ...
    x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991206 bytes, 1936 tape blocks
    x dnf-4.2.17-64_7.aix7.1.noarch.rpm, 11496 bytes, 23 tape blocks
    x dnf-automatic-4.2.17-64_7.aix7.1.noarch.rpm, 12956 bytes, 26 tape blocks
    x dnf-data-4.2.17-64_7.aix7.1.noarch.rpm, 29804 bytes, 59 tape blocks
    x extra_list, 384 bytes, 1 tape blocks
    x gnupg2-2.2.35-0.aix7.1.ppc.rpm, 69469827 bytes, 135684 tape blocks
    x install_dnf.sh, 17017 bytes, 34 tape blocks
    x libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1312174 bytes, 2563 tape blocks
    x libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 16515586 bytes, 32258 tape blocks
    x libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm, 3562173 bytes, 6958 tape blocks
    x librepo-1.11.0-64_2.aix7.1.ppc.rpm, 4010051 bytes, 7833 tape blocks
    x libsmartcols-2.34-64_1.aix7.1.ppc.rpm, 187658 bytes, 367 tape blocks
    x libsolv-0.7.9-64_4.aix7.1.ppc.rpm, 1556772 bytes, 3041 tape blocks
    x libzstd-1.4.4-64_2.aix7.1.ppc.rpm, 473729 bytes, 926 tape blocks
    x p11-kit-0.23.22-0.aix7.1.ppc.rpm, 2148539 bytes, 4197 tape blocks
    x p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm, 274086 bytes, 536 tape blocks
    x python3-3.9.16-0.aix7.1.ppc.rpm, 8920 bytes, 18 tape blocks
    x python3-dateutil-2.8.0-2.aix7.1.noarch.rpm, 6128 bytes, 12 tape blocks
    x python3-devel-3.9.16-0.aix7.1.ppc.rpm, 7699 bytes, 16 tape blocks
    x python3-dnf-4.2.17-64_7.aix7.1.noarch.rpm, 8067 bytes, 16 tape blocks
    x python3-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 6580 bytes, 13 tape blocks
    x python3-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 6792 bytes, 14 tape blocks
    x python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 5724 bytes, 12 tape blocks
    x python3-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
    x python3-idle-3.9.16-0.aix7.1.ppc.rpm, 7283 bytes, 15 tape blocks
    x python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 13276 bytes, 26 tape blocks
    x python3-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
    x python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 12776 bytes, 25 tape blocks
    x python3-six-1.13.0-2.aix7.1.noarch.rpm, 5820 bytes, 12 tape blocks
    x python3-test-3.9.16-0.aix7.1.ppc.rpm, 6228 bytes, 13 tape blocks
    x python3-tkinter-3.9.16-0.aix7.1.ppc.rpm, 6120 bytes, 12 tape blocks
    x python3.9-3.9.16-0.aix7.1.ppc.rpm, 56782290 bytes, 110903 tape blocks
    x python3.9-dateutil-2.8.0-2.aix7.1.noarch.rpm, 310485 bytes, 607 tape blocks
    x python3.9-devel-3.9.16-0.aix7.1.ppc.rpm, 19947643 bytes, 38961 tape blocks
    x python3.9-dnf-4.2.17-64_7.aix7.1.noarch.rpm, 197268 bytes, 386 tape blocks
    x python3.9-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 8297 bytes, 17 tape blocks
    x python3.9-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 33701 bytes, 66 tape blocks
    x python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 1474348 bytes, 2880 tape blocks
    x python3.9-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 3339964 bytes, 6524 tape blocks
    x python3.9-idle-3.9.16-0.aix7.1.ppc.rpm, 2328852 bytes, 4549 tape blocks
    x python3.9-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1075760 bytes, 2102 tape blocks
    x python3.9-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 24255270 bytes, 47374 tape blocks
    x python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 2471631 bytes, 4828 tape blocks
    x python3.9-six-1.13.0-2.aix7.1.noarch.rpm, 45630 bytes, 90 tape blocks
    x python3.9-test-3.9.16-0.aix7.1.ppc.rpm, 33159212 bytes, 64765 tape blocks
    x python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm, 1162787 bytes, 2272 tape blocks
    x rpm-python3-4.15.1-64_5.aix7.1.ppc.rpm, 9800 bytes, 20 tape blocks
    x rpm-python3.9-4.15.1-64_5.aix7.1.ppc.rpm, 100699 bytes, 197 tape blocks
    x rpm.rte, 48947200 bytes, 95600 tape blocks
    x rpmlibs32-4.15.1.0-32_3.aix7.1.ppc.rpm, 3723351 bytes, 7273 tape blocks
    x rpmlibs32-4.18.1.0-32_3.aix7.1.ppc.rpm, 3723272 bytes, 7273 tape blocks
    x yum-4.2.17-64_7.aix7.1.noarch.rpm, 11446 bytes, 23 tape blocks
    x zchunk-1.1.4-64_3.aix7.1.ppc.rpm, 491789 bytes, 961 tape blocks
    x zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm, 19314 bytes, 38 tape blocks
    x zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm, 560016 bytes, 1094 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.2013     Already superseded by 4.18.1.2003
     
     
     
    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.
     
    warning: ca-certificates-2023.2.60-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: ca-certificates-2023.2.60-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: ca-certificates-2023.2.60-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-automatic-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-automatic-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-automatic-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-data-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-data-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: dnf-data-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: gnupg2-2.2.35-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: gnupg2-2.2.35-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: gnupg2-2.2.35-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libsmartcols-2.34-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libsmartcols-2.34-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libsmartcols-2.34-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libsolv-0.7.9-64_4.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libsolv-0.7.9-64_4.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libsolv-0.7.9-64_4.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libzstd-1.4.4-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libzstd-1.4.4-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: libzstd-1.4.4-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: p11-kit-0.23.22-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: p11-kit-0.23.22-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: p11-kit-0.23.22-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-devel-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-devel-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-devel-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-hawkey-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-hawkey-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-hawkey-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-idle-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-idle-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-idle-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-test-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-test-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-test-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-tkinter-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-tkinter-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3-tkinter-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-devel-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-devel-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-devel-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-dnf-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-hawkey-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-hawkey-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-hawkey-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-idle-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-idle-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-idle-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-libcomps-0.1.15-64_1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-libdnf-0.39.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-test-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-test-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-test-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: rpm-python3-4.15.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: rpm-python3-4.15.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: rpm-python3-4.15.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: rpm-python3.9-4.15.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: rpm-python3.9-4.15.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: rpm-python3.9-4.15.1-64_5.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: yum-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: yum-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: yum-4.2.17-64_7.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    ca-certificates-2023.2.60-0 will be installed
    dnf-4.2.17-64_7 will be installed
    dnf-automatic-4.2.17-64_7 will be installed
    dnf-data-4.2.17-64_7 will be installed
    gnupg2-2.2.35-0 will be installed
    libcomps-0.1.15-64_1 will be installed
    libdnf-0.39.1-64_5 will be installed
    libmodulemd-1.5.2-64_2 will be installed
    librepo-1.11.0-64_2 will be installed
    libsmartcols-2.34-64_1 will be installed
    libsolv-0.7.9-64_4 will be installed
    libzstd-1.4.4-64_2 will be installed
    p11-kit-0.23.22-0 will be installed
    p11-kit-tools-0.23.22-0 will be installed
    python3-3.9.16-0 will be installed
    python3-dnf-4.2.17-64_7 will be installed
    python3-gpg-1.13.1-64_3 will be installed
    python3-hawkey-0.39.1-64_5 will be installed
    python3-libcomps-0.1.15-64_1 will be installed
    python3-libdnf-0.39.1-64_5 will be installed
    python3-librepo-1.11.0-64_2 will be installed
    python3.9-3.9.16-0 will be installed
    warning: python3.9-devel-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    python3.9-dnf-4.2.17-64_7 will be installed
    python3.9-gpg-1.13.1-64_3 will be installed
    python3.9-hawkey-0.39.1-64_5 will be installed
    warning: python3.9-idle-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    python3.9-libcomps-0.1.15-64_1 will be installed
    python3.9-libdnf-0.39.1-64_5 will be installed
    python3.9-librepo-1.11.0-64_2 will be installed
    warning: python3.9-test-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    warning: python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    rpm-python3-4.15.1-64_5 will be installed
    rpm-python3.9-4.15.1-64_5 will be installed
    yum-4.2.17-64_7 will be installed
    zchunk-libs-1.1.4-64_3 will be installed
     
    Installing the packages...
     
    warning: ca-certificates-2023.2.60-0.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    error: Failed dependencies:
            /bin/sh is needed by ca-certificates-2023.2.60-0.ppc
            /bin/sh is needed by dnf-4.2.17-64_7.noarch
            /bin/sh is needed by dnf-automatic-4.2.17-64_7.noarch
            /bin/sh is needed by dnf-data-4.2.17-64_7.noarch
            /bin/sh is needed by gnupg2-2.2.35-0.ppc
            libc.a(shr.o) is needed by gnupg2-2.2.35-0.ppc
            libc.a(shr_64.o) is needed by gnupg2-2.2.35-0.ppc
            libcurses.a(shr42.o) is needed by gnupg2-2.2.35-0.ppc
            libcurses.a(shr42_64.o) is needed by gnupg2-2.2.35-0.ppc
            libpthread.a(shr_comm.o) is needed by gnupg2-2.2.35-0.ppc
            libpthread.a(shr_xpg5.o) is needed by gnupg2-2.2.35-0.ppc
            libpthread.a(shr_xpg5_64.o) is needed by gnupg2-2.2.35-0.ppc
            libz.a(libz.so.1) is needed by gnupg2-2.2.35-0.ppc
            libc.a(shr_64.o) is needed by libcomps-0.1.15-64_1.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by libcomps-0.1.15-64_1.ppc
            libz.a(libz.so.1) is needed by libcomps-0.1.15-64_1.ppc
            /bin/sh is needed by libdnf-0.39.1-64_5.ppc
            libc.a(shr.o) is needed by libdnf-0.39.1-64_5.ppc
            libc.a(shr_64.o) is needed by libdnf-0.39.1-64_5.ppc
            libcrypto.a(libcrypto.so.1.1) is needed by libdnf-0.39.1-64_5.ppc
            libpthread.a(shr_xpg5_64.o) is needed by libdnf-0.39.1-64_5.ppc
            librpm.a(librpm.so.9) is needed by libdnf-0.39.1-64_5.ppc
            librpmio.a(librpmio.so.9) is needed by libdnf-0.39.1-64_5.ppc
            libz.a(libz.so.1) is needed by libdnf-0.39.1-64_5.ppc
            libc.a(shr_64.o) is needed by libmodulemd-1.5.2-64_2.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by libmodulemd-1.5.2-64_2.ppc
            libc.a(shr_64.o) is needed by librepo-1.11.0-64_2.ppc
            libcrypto.a(libcrypto.so.1.1) is needed by librepo-1.11.0-64_2.ppc
            libpthread.a(shr_xpg5_64.o) is needed by librepo-1.11.0-64_2.ppc
            libssl.a(libssl.so.1.1) is needed by librepo-1.11.0-64_2.ppc
            libz.a(libz.so.1) is needed by librepo-1.11.0-64_2.ppc
            libc.a(shr_64.o) is needed by libsmartcols-2.34-64_1.ppc
            libc.a(shr_64.o) is needed by libsolv-0.7.9-64_4.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by libsolv-0.7.9-64_4.ppc
            librpm.a(librpm.so.9) is needed by libsolv-0.7.9-64_4.ppc
            librpmio.a(librpmio.so.9) is needed by libsolv-0.7.9-64_4.ppc
            libz.a(libz.so.1) is needed by libsolv-0.7.9-64_4.ppc
            libc.a(shr_64.o) is needed by libzstd-1.4.4-64_2.ppc
            /bin/sh is needed by p11-kit-0.23.22-0.ppc
            libc.a(shr.o) is needed by p11-kit-0.23.22-0.ppc
            libc.a(shr_64.o) is needed by p11-kit-0.23.22-0.ppc
            libpthread.a(shr_xpg5.o) is needed by p11-kit-0.23.22-0.ppc
            libpthread.a(shr_xpg5_64.o) is needed by p11-kit-0.23.22-0.ppc
            libc.a(shr.o) is needed by p11-kit-tools-0.23.22-0.ppc
            libc.a(shr_64.o) is needed by p11-kit-tools-0.23.22-0.ppc
            libpthread.a(shr_xpg5.o) is needed by p11-kit-tools-0.23.22-0.ppc
            libpthread.a(shr_xpg5_64.o) is needed by p11-kit-tools-0.23.22-0.ppc
            /bin/sh is needed by python3-3.9.16-0.ppc
            /bin/sh is needed by python3.9-3.9.16-0.ppc
            /usr/bin/env is needed by python3.9-3.9.16-0.ppc
            libbsd.a(shr.o) is needed by python3.9-3.9.16-0.ppc
            libbsd.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc
            libc.a(shr.o) is needed by python3.9-3.9.16-0.ppc
            libc.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc
            libcrypt.a(shr.o) is needed by python3.9-3.9.16-0.ppc
            libcrypt.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc
            libdl.a(shr.o) is needed by python3.9-3.9.16-0.ppc
            libdl.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc
            libnsl.a(shr.o) is needed by python3.9-3.9.16-0.ppc
            libnsl.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc
            libpthreads.a(shr_comm.o) is needed by python3.9-3.9.16-0.ppc
            libpthreads.a(shr_xpg5.o) is needed by python3.9-3.9.16-0.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by python3.9-3.9.16-0.ppc
            libz.a(libz.so.1) is needed by python3.9-3.9.16-0.ppc
            libc.a(shr_64.o) is needed by python3.9-gpg-1.13.1-64_3.ppc
            libpthread.a(shr_xpg5_64.o) is needed by python3.9-gpg-1.13.1-64_3.ppc
            libc.a(shr_64.o) is needed by python3.9-hawkey-0.39.1-64_5.ppc
            libpthread.a(shr_xpg5_64.o) is needed by python3.9-hawkey-0.39.1-64_5.ppc
            libc.a(shr_64.o) is needed by python3.9-libcomps-0.1.15-64_1.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by python3.9-libcomps-0.1.15-64_1.ppc
            libz.a(libz.so.1) is needed by python3.9-libcomps-0.1.15-64_1.ppc
            libc.a(shr_64.o) is needed by python3.9-libdnf-0.39.1-64_5.ppc
            libpthread.a(shr_xpg5_64.o) is needed by python3.9-libdnf-0.39.1-64_5.ppc
            libc.a(shr_64.o) is needed by python3.9-librepo-1.11.0-64_2.ppc
            libpthread.a(shr_xpg5_64.o) is needed by python3.9-librepo-1.11.0-64_2.ppc
            /bin/sh is needed by rpm-python3.9-4.15.1-64_5.ppc
            libc.a(shr_64.o) is needed by rpm-python3.9-4.15.1-64_5.ppc
            librpm.a(librpm.so.9) is needed by rpm-python3.9-4.15.1-64_5.ppc
            librpmbuild.a(librpmbuild.so.9) is needed by rpm-python3.9-4.15.1-64_5.ppc
            librpmio.a(librpmio.so.9) is needed by rpm-python3.9-4.15.1-64_5.ppc
            librpmsign.a(librpmsign.so.9) is needed by rpm-python3.9-4.15.1-64_5.ppc
            /bin/sh is needed by yum-4.2.17-64_7.noarch
            libc.a(shr_64.o) is needed by zchunk-libs-1.1.4-64_3.ppc
            libcrypto.a(libcrypto.so.1.1) is needed by zchunk-libs-1.1.4-64_3.ppc
            libpthreads.a(shr_xpg5_64.o) is needed by zchunk-libs-1.1.4-64_3.ppc
     
    dnf installation failed. 
    If the failure was due to a space issue, increase the size of /opt and re-run the script again.
    Another reason for failure could be mixing of Toolbox packages and packages from other sources.
     
    You can try installing the downloaded dnf packages from /tmp/dnf-20250702085706 manually.


    #AIXOpenSource


  • 2.  RE: dnf post 7.3 migration and issues updating dnf.

    Posted Thu July 03, 2025 10:41 AM

    Hi Ken,

    Please run "udtvpkg" and then retry. 

    We would also like to know what error caused you to decide to purge installed packages and then setup DNF freshly.



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



  • 3.  RE: dnf post 7.3 migration and issues updating dnf.

    Posted Thu July 03, 2025 10:54 AM

    So using multiple posts of advise from your prior forum posts helping to correct the same issue, that is one of the first things that I tried. I tried doing the dnf_toolbox install again. same problem. So at this point was a stabbing in the dark and try to bring the installs RPMs to nothing and install them back just to avoid inconsistencies. Ultimately, I ran into other issues and had to revert back to a snapshot of the rootvg. After cloning again I decide to just take the packages one at a time and remove the /opt/freeware/bin from my 'env' path. I noticed that now I was getting a python error. I came across this post which ultimately resolved the issue with also the removal of the 'ca-certificates --no-dep'

    DNF Errors after AIX 7.3 TL01 was updated AIX 7.3 TL02 | AIX Open Source

    As a side note, any idea why new forum posts take so long to post or are they all approved prior to posting? I was looking to make an update yesterday when this was all fresh, but it hadn't posted at that time.



    ------------------------------
    Ken Lawson
    System Engineer
    Foster Farms
    Livingston CA
    (209) 394-6351
    ------------------------------