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.  AIX Toolbox ISO and TAR.GZ downloads do not contain repodata?!

    Posted Thu April 15, 2021 11:15 AM
    I need to install packages from the AIX Toolbox for Linux Applications in an environment that is not connected to the Internet.

    It is permissible to download artifacts outside of the environment, subject them to security checks, and then use them within it. I've retrieved both the ISO and TAR.GZ packaging for the Toolbox from IBM PartnerWorld and discovered that neither of them contain any repodata. This is for the 112020 bundle, I have not checked any prior releases.

    I had been hoping to just loop mount the ISO image and do some initial installs directly from that, but all of the repodata directories are empty so YUM cannot use it. This seems like it would have been a reasonable and foreseeable use of the ISO file - it is literally the first thing any of my customers would do.

    So I decided, "I'll just extract the TAR.GZ and use that" - of course it also contains no repodata. But hey, we use createrepo to generate it, right?  Well createrepo is not included with the YUM ezinstall bundle, but I can use rpm or yum to instal the createrepo rpm, and that's on the media.

    The createrepo rpm has 5 dependencies. Collect that list and try again. Those dependencies have more dependencies, and this is why we have YUM in the first place.

    Is there something that I'm missing on the media? How do other people use the media to install packages without an Internet connection?

    Liberty,

    -- 
    Stephen L. Ulmer
    Enterprise Architect
    Mainline Information Systems
    (m) 352-870-8649




    This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message.


  • 2.  RE: AIX Toolbox ISO and TAR.GZ downloads do not contain repodata?!

    Posted Wed April 21, 2021 12:15 PM
    Hi Stephen,

    Sorry for delay in reply. 
    And you are correct the dependency metrics of RPM is crazy and that is why we provided YUM.
    Generally people use media to install specific package without yum. 
    Probably what you can do you can download the yum tar from AIX toolbox and push it to AIX system and install from that.
    Then you will have yum and then you can install createrepo from media and can create you local yum repo from media.

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



  • 3.  RE: AIX Toolbox ISO and TAR.GZ downloads do not contain repodata?!

    Posted Wed April 21, 2021 02:11 PM
    Thank you for looking into this, but I think you are missing my point. My original question was really if this state of the media was intentional, or if the media had been produced in error.

    Please understand that my problem is not with an individual piece of OSS here, it's with the packaging of the AIX Toolbox by IBM. If this is the wrong forum to reach the person who actually creates the Toolbox media for PartnerWorld, I'm happy to be pointed at them.

    To install createrepo takes enough dependencies that it's silly to do it by hand. Why would we download and install YUM only to be faced with the circumstance where the media packaged by IBM is still not usable? This is literally why YUM was invented... We should be able to use YUM to install directly from the ISO without copying the entire toolbox.

    Also, note that both the tarball and the ISO both have .repodata directories from an unfinished createrepo process embedded in them. This prevents just copying the entire contents to disk and running createrepo. That's clearly not intentional, so I was hoping that we could get the process adjusted to actually put the repodata on the ISO.


    -- 
    Stephen L. Ulmer
    Enterprise Architect
    Mainline Information Systems
    (m) 352-870-8649

    This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message.





  • 4.  RE: AIX Toolbox ISO and TAR.GZ downloads do not contain repodata?!

    Posted Thu April 22, 2021 04:14 AM
    Thank you Stephen for your suggestions.
    The ISO and tar was not intentional to be used this way.
    IBM is providing ISO image of toolbox for long time before yum was introduced in toolbox.
    With yum ISO image did not change but I think now we should make some changes to be it more user friendly and how can we setup yum repo using ISO/tar image.
    We will look into it and work with appropriate people who are responsible for creating toolbox media images.

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



  • 5.  RE: AIX Toolbox ISO and TAR.GZ downloads do not contain repodata?!

    Posted Thu April 22, 2021 09:26 AM
    Thank you very much! If there's anything I can do to help with the internal case, please don't hesitate to reach out. :)

    Liberty,

    -- 
    Stephen L. Ulmer
    Enterprise Architect
    Mainline Information Systems
    (m) 352-870-8649




    This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message.





  • 6.  RE: AIX Toolbox ISO and TAR.GZ downloads do not contain repodata?!

    Posted Thu February 10, 2022 11:45 AM
    Hi Stephen,
    Not sure if you noticed we have made some changes in the AIX toolbox iso/tar images so that you can create local repo with that and install packages.
    With that no additional packages needs to be installed from outside all are contained in the iso/tar image.
    Right now it is for AIX 7.3 and in future release of iso/tar we will make it available for AIX 7.1/7.2 as well. 
    Here is an article we published for same 
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/02/09/creating-local-repo-with-dnf-and-aix-toolbox-media?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=recentcommunityblogsdashboard

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