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

    Posted Tue December 13, 2022 04:29 AM
    Hello team,

    after a few days of successfully running dnf in AIX 7.3, now I get an error after I successfully uninstalled the patrol rpm:

    /:#dnf update -d9
    timer: config: 2 ms
    DNF version: 4.2.17
    Command: dnf update -d9
    Installroot: /
    Releasever: 7.3.1.1
    cachedir: /var/cache/dnf
    Base command: update
    Extra commands: ['update', '-d9']
    os-release file not found
    os-release: falling back to basic User-Agent: missing NAME or VERSION_ID
    Illegal instruction​

    How can I solve this? And why did it happen...?

    Thanks for your support in advance.

    Best regards,
    Joerg

    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------

    #AIXOpenSource


  • 2.  RE: dnf Illegal instruction

    Posted Tue December 13, 2022 05:20 AM

    Hi all...

    error found...
    The RPM database was corrupted and I had to fix it as described in:

    https://www.ibm.com/support/pages/how-resolve-rpm-dbrunrecovery-errors




    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------



  • 3.  RE: dnf Illegal instruction

    Posted Wed December 14, 2022 09:50 PM
    I had to do the same today. 
    There is definitely something occurring with these updates, and it seems to be related to openssl updates, but I cannot prove it yet :-)

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 4.  RE: dnf Illegal instruction

    Posted Thu December 22, 2022 06:52 AM
    Hi Joerg,

    Please have a look at this post for the illegal instruction issue.

    https://community.ibm.com/community/user/power/discussion/recent-dnf-and-yum-issues-with-newer-python3-and-curl-builds

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