AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

Β View Only
  • 1.  trouble upgrading AIX

    Posted Fri April 25, 2025 08:50 AM

    I ran the dnf_aixtoolbox.sh script to try to update our system.  We're at os level 7.3.0.0.  After trying to update the system, I'm stuck with the following error when I try to run dnf now:

    ImportError:    0509-022 Cannot load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module libgcc_s.a(shr.o) could not be loaded.
            0509-022 Cannot load module libgcc_s.a(shr.o).
            0509-026 System error: A file or directory in the path name does not exist    

    yum isn't working either.  If I try to run sudo, I get the following error:

    exec(): 0509-036 Cannot load program sudo because of the following errors:
            0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.8).
            0509-150   Dependent module libgcc_s.a(shr.o) could not be loaded.
            0509-022 Cannot load module libgcc_s.a(shr.o).
            0509-026 System error: A file or directory in the path name does not exist.

    rpm seems to be working, but I can't use it with sudo, so may not have the rights to do much with it.  Can't move or copy files in system directories without rights or sudo access either.

    What steps do I need to take to get things working again without all the errors on this system?  Thanks.



    ------------------------------
    Laura Michaels
    ------------------------------


  • 2.  RE: trouble upgrading AIX

    Posted Mon April 28, 2025 12:49 AM

    Please check this discussion https://community.ibm.com/community/user/discussion/dnf-error-2#bmb5a9e589-83c5-409f-b9d4-019250d40b85

    Let us know if the steps mentioned in the discussion didn't work for you.



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



  • 3.  RE: trouble upgrading AIX

    Posted Mon April 28, 2025 07:15 AM

    Thanks for the information.  Was unable to fix the system.  I don't have root access and sudo was failing because the appropriate C library wasn't properly installed.  Was able to get our server team to fix the issue since they do have root access.  It's frustrating trying to install or fix anything without sudo or root.



    ------------------------------
    Laura Michaels
    ------------------------------



  • 4.  RE: trouble upgrading AIX

    Posted Mon April 28, 2025 03:41 AM

    Hi Laura,

    A few questions so I know we're talking about the same things here:

    1. Are you trying to run the dnf_aixtoolbox.sh script to update AIX on your system? The AIX Toolbox refers to a set of open-source Linux tools that can be used in AIX.  If you want to apply a patch to the AIX operating system itself, you need to do an entirely different process for that.
    2. If you are indeed trying to update the AIX OS from 7.3.0.0, to what level are you intending to update it to?
    3. Are you familiar with FixCentral?

    Once you answer these questions, we can certainly get off and running. πŸ‘



    ------------------------------
    Carlo Castillo
    Client Services Manager
    IBM Redbooks Gold Author
    ------------------------------



  • 5.  RE: trouble upgrading AIX

    Posted Mon April 28, 2025 07:18 AM

    I was trying to update AIX toolbox.  We had yum installed but since they're switching to dnf, I wanted to get dnf working so we could update some of the AIX toolbox programs and libraries we work with.



    ------------------------------
    Laura Michaels
    ------------------------------