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
Expand all | Collapse all

yum-3.4.3-8.noarch reports Python module problem after install

  • 1.  yum-3.4.3-8.noarch reports Python module problem after install

    Posted Thu December 16, 2021 05:27 AM
    Hi All,

    I  have installed yum on AIX - 7100-05-08-2114 but while trying to check yum getting below error, please help me to resolve this issue. 

    root@jtydatastagesr1_test:/home/root # yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    No module named _rpm

    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.12 (default, Feb 20 2017, 03:58:51) [C]

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


    root@jtydatastagesr1_test:/home/root # rpm -qa yum
    yum-3.4.3-8.noarch
    root@jtydatastagesr1_test:/home/root # oslevel -s
    sh: /usr/bin/rpm: cannot execute
    7100-05-08-2114
    root@jtydatastagesr1_test:/home/root #

    ------------------------------
    Milind Sarkate
    ------------------------------


  • 2.  RE: yum-3.4.3-8.noarch reports Python module problem after install

    Posted Thu December 16, 2021 08:13 AM
    Hi Milind,

    Looks like your rpm.rte is broken.
    could you let me know the output of "lslpp -L | grep rpm.rte"
    Have you installed YUM using yum.sh script or manually ?

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