AIX Open Source

 View Only
  • 1.  How to install YUM Package in AIX Sever

    Posted Thu May 12, 2022 12:53 PM
    Hi Team,

    I tried to Install YUM package in AIX server, While installing yum package got below error.  Could you please suggest how to resolve the issue.

    # oslevel -s
    7100-05-05-1939
    #

    # rpm -ivh *rpm --nodeps
    Preparing... ################################# [100%]
    package readline-6.1-2.ppc is already installed
    package sqlite-3.15.2-1.ppc is already installed
    package gettext-0.19.7-1.ppc is already installed
    package glib2-2.14.6-2.ppc is already installed
    package yum-metadata-parser-1.1.4-2.ppc is already installed
    package gdbm-1.8.3-5.ppc is already installed
    package db-4.8.24-3.ppc is already installed
    package python-2.7.10-1.ppc is already installed
    package pysqlite-1.1.7-2.ppc is already installed
    package python-iniparse-0.4-1.noarch is already installed
    package ca-certificates-2016.10.7-2.ppc is already installed
    package curl-7.52.1-1.ppc is already installed
    package python-pycurl-7.19.3-1.ppc is already installed
    package python-urlgrabber-3.10.1-1.noarch is already installed
    package yum-3.4.3-8.noarch is already installed
    package python-devel-2.7.10-1.ppc is already installed
    package python-tools-2.7.10-1.ppc is already installed
    #
    #
    # yum --version
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    0509-022 Cannot load module /usr/lib/libglib-2.0.a(libglib-2.0.so.0).
    0509-150 Dependent module /usr/lib/libintl.a(libintl.so.1) could not be loaded.
    0509-152 Member libintl.so.1 is not found in archive
    0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.
    0509-150 Dependent module /usr/lib/libglib-2.0.a(libglib-2.0.so.0) could not be loaded.

    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.10 (default, Jun 22 2016, 05:57:59) [C]

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


    #

    #
    # lslpp -l | grep rpm.rte
    rpm.rte 4.13.0.3 COMMITTED RPM Package Manager
    rpm.rte 4.13.0.3 COMMITTED RPM Package Manager
    #

    #
    #

    ------------------------------
    Ramky
    ------------------------------


  • 2.  RE: How to install YUM Package in AIX Sever

    Posted Fri May 13, 2022 01:54 AM
    Can you please provide the steps you used to install yum.
    How did you get all the rpms ? 
    Why did you use "--nodeps" flag to install rpms. This can result in unexpected behavior if dependencies are not met. 



    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: How to install YUM Package in AIX Sever

    Posted Fri May 13, 2022 01:57 AM
    Instead of yum we propose to use dnf now as yum is python2 based and python2 out of support. 
    There is dnf_aixtoolbox.sh script that you can run on your AIX system (if it has internet access) and it will install everything.

    ------------------------------
    SANKET RATHI
    ------------------------------