AIX Open Source

 View Only

offline downloading aix toolbox packages and all dependencies from a Linux system.

  • 1.  offline downloading aix toolbox packages and all dependencies from a Linux system.

    Posted 2 days ago

    Hello All, 
    all the aix systems we have are cut off from the internet. due to some migration i need to download a couple of packages like curl. etc but I am not able to download them. 
    I downloaded dnf on the aix server but without internet there is no use. 

    i can use a laptop which runs rhel which can have internet access. 

    I tried adding the repos to yum.repos.d/aixtoolbox. and i try to downoad only with dnf 

    dnf download --disablerepo='*' --repo='aix_toolbox' --resolve curl  or yumdownloader --arch ppc --resolve curl 

     

    it find the correct curl ppc version 

    curl-8.0.1-1.ppc 

    but had errors like 
    package curl... does not have compatible architecture 
    nothing provides libc.a(shr.o) needed by curl....
    ... 
    etc 

    i can download the packages individually if i don't use --resolve.. but then how can i get the rpm package names of all the dependencies and i will do a loop or something.





    ------------------------------
    Mario Garcia
    ------------------------------