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 Illegal Instruction core and core dump

    Posted Sun December 11, 2022 11:01 PM
      |   view attached
    Posted this incorrectly to Power group. Posting to Open Source.
    AIX 7.2. TL 5. Installed dnf with no issues (dnf -y). dnf update also executed with no errors. However, when using dnf to install sudo error message below is displayed.
    Last metadata expiration check: 0:41:39 ago on Sun Dec 11 13:42:46 PST 2022.
    Dependencies resolved.
    ================================================================================
    Package Architecture Version Repository Size
    ================================================================================
    Installing:
    sudo ppc 1.9.5p2-1 AIX_Toolbox 4.2 M

    Transaction Summary
    ================================================================================
    Install 1 Package

    Total download size: 4.2 M
    Installed size: 4.2 M
    Is this ok [y/N]: y
    Downloading Packages:
    sudo-1.9.5p2-1.aix6.1.ppc.rpm 1.3 MB/s | 4.2 MB 00:03
    --------------------------------------------------------------------------------
    Total 1.3 MB/s | 4.2 MB 00:03
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
    Preparing : 1/1
    Installing : sudo-1.9.5p2-1.ppc [ ] 1/1Illegal instruction(coredump)

    Logs from dnf update attached.

    ------------------------------
    Gary Kortz
    ------------------------------

    #AIXOpenSource

    Attachment(s)

    txt
    dnf_update_log.txt   35 KB 1 version


  • 2.  RE: DNF Illegal Instruction core and core dump

    Posted Sun December 11, 2022 11:22 PM
    Update on status. Tried to move forward using the removeallrpms.sh script since the was new machine. This run as expected, however, attempting to install_dnf.sh returned errors that /usr/opt/freeware/bin/rpm: was missing. Attempted manual install from the dnf file location in /tmp this also failed.

    Reloading OS to see if new dnf install will work as expected.

    ------------------------------
    Gary Kortz
    ------------------------------



  • 3.  RE: DNF Illegal Instruction core and core dump

    Posted Tue December 20, 2022 12:24 PM
    There is an issue and we are working on a solution. If in future you see this issue again then try to rebuild rpmdb and see if that resolves you issue.
    # rpmdb --rebuilddb​

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



  • 4.  RE: DNF Illegal Instruction core and core dump

    Posted Thu December 22, 2022 06:48 AM
    Hi Gary,

    Please have look at the post for the issue related to illegal instruction.
    https://community.ibm.com/community/user/power/discussion/recent-dnf-and-yum-issues-with-newer-python3-and-curl-builds

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