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.  yum disfunction after rpm.rte upgrade to 4.15.1.1017 on AIX7.2

    Posted 6 days ago

    After updating rpm.rte to the latest version, yum is no longer functional.

    rpm.rte = 4.15.1.1017

    oslevel=7200-05-08-2420

    # yum list
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

       rtld: 0712-001 Symbol lua_newuserdata was referenced
          from module /usr/opt/rpm/lib/librpmio.so(), but a runtime definition
                of the symbol was not found.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.18 (default, Dec 15 2022, 05:12:43) 
    [GCC 8.3.0]

    If you cannot solve this problem yourself, please go to 
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq


      I suspect the problem lies in liblua from the new rpm.rte, as the linked version of the .so file liblua-5.4.so does not contain the corresponding symbol.

    When I replace the library from rpm.rte , it works.

    # mv    /usr/opt/rpm/lib/librpmio.so /usr/opt/rpm/lib/librpmio.so_orig
    # ar -p /usr/opt/rpm/lib/librpmio.a librpmio.so.9 > /usr/opt/rpm/lib/librpmio.so

    # ls -lart /usr/opt/rpm/lib/librpmio*
    -r-xr-xr-x    1 root     system       367994 Mar 14 2023  /usr/opt/rpm/lib/librpmio.so.9
    -r-xr-xr-x    1 root     system       383612 Oct 22 2024  /usr/opt/rpm/lib/librpmio.a
    lrwxrwxrwx    1 root     system           30 Oct 28 16:17 /usr/opt/rpm/lib/librpmio.so_orig -> /usr/opt/rpm/lib/librpmio.so.9
    -rw-r--r--    1 root     system       368000 Oct 28 18:07 /usr/opt/rpm/lib/librpmio.so



    ------------------------------
    thomas hauptlin
    ------------------------------


  • 2.  RE: yum disfunction after rpm.rte upgrade to 4.15.1.1017 on AIX7.2

    Posted 5 days ago

    Yum is already out of support. Please move to dnf. The librpmio.so workaround is needed even in some older dnf setups, but once you have successfully done a "dnf update" , then it is no longer required. 



    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: yum disfunction after rpm.rte upgrade to 4.15.1.1017 on AIX7.2

    Posted 5 days ago

    Please check out my answer to a (nearly) identical question (when upgrading rpm.rte to 4.15.1.1016):

    Re: yum broken after updating rpm.rte from 4.15.1.1013 to 4.15.1.1016 on AIX 7200-05-06-2320.



    ------------------------------
    Richard Westerik
    Principal specialist
    Simac IT NL bv
    Ede
    +31651575123
    ------------------------------