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.  Yum broken after updating rpm.rte

    Posted 8 days ago

    Hi 
    We updated rpm.rte from 4.15.1.1013 to 4.15.1.1016 on AIX 7200-05-06-2320. Yum is giving below error.

    yum update
    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.

    Can some one help to fix it?

    Thanks



    ------------------------------
    Rizwan Khaliq
    ------------------------------


  • 2.  RE: Yum broken after updating rpm.rte

    Posted 7 days ago

    Hi, dnf is also broken after updating AIX to Fixpack_7200-05-10-2520

    Error see here:

    !:/> 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: 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.
    !:/> lslpp -l |grep rpm
      rpm.rte                4.15.1.1015  COMMITTED  RPM Package Manager
      rpm.rte                4.15.1.1015  COMMITTED  RPM Package Manager



    ------------------------------
    Marc Pentenrieder
    ------------------------------