AIX Open Source

 View Only
  • 1.  How to resolve RPM's dependency issue in AIX?

    Posted Tue July 27, 2021 09:37 AM
    We have mix of AIX7.1 and 7.2 at different levels of TL in our environment and its challenging to install an rpm because of rpm's dependency issues. We also can't configure YUM in our environment. Is there a simple way to find out  dependencies of a particular rpm recursively.

    Thanks
    Rizwan

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


  • 2.  RE: How to resolve RPM's dependency issue in AIX?

    Posted Tue July 27, 2021 02:35 PM
    I have similar issues , I guess best solution is Yum configuration . what is the reason you can't setup YUM database ?

    ------------------------------
    Nag N
    ------------------------------



  • 3.  RE: How to resolve RPM's dependency issue in AIX?

    Posted Wed July 28, 2021 09:27 AM

    We are in the same situation.  Like many commercial production facilities, our sensitive critical systems are behind a firewall (multiple actually) and are not allowed direct access to the internet for security reasons.  Have you heard about the recent cyber security events?  I recently read a survey that said something like 80% of programmers do not consider security while developing their software.  Wonder if there is a correlation?

     

    Anyway, we cannot use yum.  We are not going to create a local repository as IBM suggests because we don't want to do so for just a handful of rpms.  It would be nice if IBM would come up with a way to show what you  need to install a package.

     

    The best I can suggest is to use the rpm command to list the "requirements" and attempt to translate what it says and where to get that requirement.  The command to use is:

     

    rpm -qR program.rpm



    ------------------------------
    Bruce
    ------------------------------



  • 4.  RE: How to resolve RPM's dependency issue in AIX?

    Posted Wed July 28, 2021 12:33 PM
    We are trying to create the similar environment as on any other RPM based distro.
    If you have RPM based Linux in your environment then how are you getting updates or new packages installed ?
    I think for that you would be having local repository and same is needed for AIX.
    In fact you can also use any rpm based Linux system also to create local yum repo for AIX rpms.
    You can also use proxy with yum if that is supported in your environment. 
    If none of these options work then the option suggested by Bruce is the last resort.

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