AIX

 View Only
Expand all | Collapse all

Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

  • 1.  Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Tue March 14, 2023 09:54 AM

    Hi All,

    installation of tar rpm failed with dependencies issue

    I tried to install tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in our AIX server but failed with dependencies. rpm.rte version 4.13.03 was installed in the server. Kindly refer to rpm_tar_install_issue_9Mar2023.jpeg file as attached. Kindly advise.

    Thank you and regards,

    Zaharin



    ------------------------------
    Sathishkumar Anbazhagan
    ------------------------------


  • 2.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Wed March 15, 2023 12:35 PM

    Did you try installing the dependencies? 



    ------------------------------
    Anker Lerret
    Blue Cross Blue Shield of Massachusetts
    ------------------------------



  • 3.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Fri March 17, 2023 12:50 AM

    Hi,

    Trying to install the depencies leads to more dependencies as below:

    This is my OS level and rpm.rte version.

    Should I update the rpm.rte to 4.13.0.4 first before perform the rpm installation ? Appreciate your reply.

    Regards,

    Zaharin



    ------------------------------
    Sathishkumar Anbazhagan
    ------------------------------



  • 4.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Fri March 17, 2023 09:29 AM

    I find AIX's RPM implementation to be troublesome and irritating, largely because of issues that you're encountering.  Frequently the simple upgrade of one RPM will require a bunch of dependencies, which will generate additional dependencies.  Sometimes there are conflicting dependencies: one RPM will require that another be less than a level while another RPM requires a level above that.  You're soon buried in an avalanche of dependencies.  Linux doesn't seem to have this problem.

    One thing that's worked for me is to make a list of my RPMs (rpm -qa) and then delete all of them.  I then reinstall everything I had previously using the latest versions from the AIX Toolbox for Linux.  In my experience, the current versions in the Toolbox play nicely with each other.  But mixing the current version with older stuff can turn into a pig's breakfast.

    As to upgrading rpm.rte, that's not a bad idea, but I doubt it will have any effect on your dependencies.  Those are relationships between the individual RPMs.

    I don't by any means consider myself an expert on making RPMs work on AIX.  If anyone is smarter than I am (which wouldn't take much), please educate us all.



    ------------------------------
    Anker Lerret
    Blue Cross Blue Shield of Massachusetts
    ------------------------------



  • 5.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Mon March 20, 2023 05:57 AM

    Oh Linux certainly has this same dependancy issue with RPMs, sometimes referred to as "dependancy hell"!  In the late 90s when I first started getting in to Linux (before yum) it was way worse than it is now.  Yum made it a lot easier as it's works through the dependancies for you.

    The issue that you can hit with AIX is clashes between RPMs provided by the IBM repositories clashing with the old non-IBM ones.  There are boxes that are "messy" due to history.  It's always better if you don't have any RPMs from non-IBM repositories.

    My advise here is to use yum/dnf to perform the install, it will then automaticlly sort out the dependancies for you.



    ------------------------------
    Phill Rowbottom
    ------------------------------



  • 6.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Mon March 20, 2023 08:53 AM

    AIX RPM works as design. You are using "OpenWear" – Open – free. You pay no price. Install lastest RPM.exe and then run preview install first to find all the dependencies and download all of them. Once you have everything and preview install comes back with OK and you check logs and it looks good then do the update or upgrade. Also there is document on how to create local repository of IBM AIX toolbox.

     






  • 7.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Fri March 17, 2023 09:42 AM

    One other thing: Some years back I was doing RPM surgery and managed to get libc so boogered up that the AIX host crashed and wouldn't reboot.  So I strongly recommend cloning your host to a sandbox and experimenting there.  Failing that, at least make a mksysb backup before you start mucking about with the RPMs.



    ------------------------------
    Anker Lerret
    Blue Cross Blue Shield of Massachusetts
    ------------------------------



  • 8.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Mon March 20, 2023 06:00 AM

    Hi Anker,

    Thank you very much for your input. Really appreciate it.

    Do you happen to know where can I get this libglib-2.0.a(libglib-2.0.0.so.0) ? Is it from AIX rpm.rte fileset or from RPM package. Kindly advise.

    Regards,

    Zaharin



    ------------------------------
    Sathishkumar Anbazhagan
    ------------------------------



  • 9.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Mon March 20, 2023 09:28 AM

    Try glib2 from the AIX Toolbox for Linux.  Here's how I came up with that.

    1. if you have a dependency named "libvomit", and there's no "libvomit" in the AIX Toolbox for Linux, then try just looking for "vomit" in the Toolbox.  
    2. For reasons that I don't understand, different versions of an RPM are sometimes packaged as completely different packages.  So if you have a dependency of "vomit-2.x.y", it sometimes is packaged as "vomit2".

    So that's why I suggest trying "glib2", which is in the Toolbox.  No guarantees, but it's worth a try.

    Someone smarter may correct me (and I hope they do if I'm wrong), but I don't think the "rpm.rte" file will have any effect on your dependencies.  rpm.rte provides the glue between AIX filesets and the RPMs.  But the relationships between the RPM levels are a completely different issue and aren't affected by rpm.rte.

    And Minesh's point is well taken: if the RPMs break, then you get to keep both pieces.  And there's no official support from IBM (although I have opened tickets and had IBMers help...but that isn't guaranteed).  With that said, I've had good luck (after some frustration) with them.



    ------------------------------
    Anker Lerret
    Blue Cross Blue Shield of Massachusetts
    ------------------------------



  • 10.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    IBM Champion
    Posted Tue March 21, 2023 06:17 AM

    Unlike the native installp, rpm never had the ability to resolve dependencies (be it in AIX or Linux), you either resolve the dependencies manually (which is a royal pain) or install yum/dnf to do that for you like in Linux.



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 11.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Wed March 22, 2023 04:33 AM

    Well, installp relies upon .toc file pretty much the same way as yum/dnf relies upon repo structure/files.



    ------------------------------
    Lech Szychowski
    ------------------------------



  • 12.  RE: Installation of tar-1.33-1.aix6.1.ppc.rpm failed with dependencies in AIX

    Posted Thu March 23, 2023 04:16 PM

    Thanks a lot i will try this !



    ------------------------------
    Asen Thai
    ------------------------------