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
Expand all | Collapse all

Error occur when install for some of AIX toolbox

  • 1.  Error occur when install for some of AIX toolbox

    Posted Tue December 10, 2024 09:47 AM

    Hello.

    I would like to install AIX toolbox to AIX7.3.  I did installed a few toolbox at ptesent.

    # env LANG=C rpm -Uvh /tmp/zlib*.rpm
    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:zlib-1.2.13-1                    ################################# [ 50%]
       2:zlib-devel-1.2.13-1              ################################# [100%]

    However some toolbox not able to install as foolwing.

    How I can fix any error ? Please tell me how to fix it if you can do that.

    PS.

    Our environment not able to connect to internet directrory. Also we do not have iso file of AIX toolbox.  Because our system IBM OEM server and ESS do not not authenticated by OEM hardware serial number. So we can not build local repo in AIX7.3.


    # env LANG=C rpm -Uvh /tmp/screen*.rpm
            error: Failed dependencies:
            info is needed by screen-4.7.0-1.ppc

    # env LANG=C rpm -Uvh /tmp/vim-[a-z]*.rpm
            error: Failed dependencies:
            gettext >= 0.21 is needed by vim-enhanced-9.1.0698-1.ppc
            libiconv >= 1.17 is needed by vim-enhanced-9.1.0698-1.ppc
            libiconv.a(libiconv.so.2) is needed by vim-enhanced-9.1.0698-1.ppc
            libncurses.a(libncurses.so.6) is needed by vim-enhanced-9.1.0698-1.ppc
            libsodium >= 1.0.19 is needed by vim-enhanced-9.1.0698-1.ppc
            libsodium.a(libsodium.so.26) is needed by vim-enhanced-9.1.0698-1.ppc
            ncurses >= 6.4 is needed by vim-enhanced-9.1.0698-1.ppc
            gettext >= 0.21 is needed by vim-minimal-9.1.0698-1.ppc
            libiconv >= 1.17 is needed by vim-minimal-9.1.0698-1.ppc
            libiconv.a(libiconv.so.2) is needed by vim-minimal-9.1.0698-1.ppc
            libncurses.a(libncurses.so.6) is needed by vim-minimal-9.1.0698-1.ppc
            libsodium >= 1.0.19 is needed by vim-minimal-9.1.0698-1.ppc
            libsodium.a(libsodium.so.26) is needed by vim-minimal-9.1.0698-1.ppc
            ncurses >= 6.4 is needed by vim-minimal-9.1.0698-1.ppc

    # env LANG=C rpm -Uvh /tmp/screen*.rpm
            error: Failed dependencies:
            info is needed by screen-4.7.0-1.ppc

    # env LANG=C rpm -Uvh /tmp/bash*.rpm
            error: Failed dependencies:
            libiconv >= 1.17 is needed by bash-5.2.21-1.ppc
            libiconv.a(libiconv.so.2) is needed by bash-5.2.21-1.ppc

    Best regards,

    Katsumi



    ------------------------------
    勝已 小副川
    ------------------------------

    Attachment(s)

    txt
    lslpp_output.txt   32 KB 1 version
    txt
    AIXToolBox.txt   4 KB 1 version


  • 2.  RE: Error occur when install for some of AIX toolbox

    Posted Tue December 10, 2024 12:45 PM

    Please install dnf and then install packages from AIX toolbox using dnf.

     

     

    Thanks,

     

    Sanket Rathi

     






  • 3.  RE: Error occur when install for some of AIX toolbox

    Posted Tue December 10, 2024 11:37 PM

    Hi Sanket,

    Thank you for your message. Our environment not able to connect to internet directory. So the dnf command can not execute as following.

    Thank you

    best regards

    #/opt/freeware/bin/dnf install libxml2
    AIX generic repository                        0.0  B/s |   0 B    00:00
    Errors during downloading metadata for repository 'AIX_Toolbox':
      - Curl error (7): Couldn't connect to server for https://10.9.1.102:81/aixyumrepo/RPMS/ppc/repodata/repomd.xml[]
    Error: Failed to download metadata for repo 'AIX_Toolbox': Cannnot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX noarch repository                         0.0  B/s |   0 B    00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_noarch':
      - Curl error (7): Couldn't connect to server for https://10.9.1.102:81/aixyumrepo/RPMS/noarch/repodata/repomd.xml[]
    Error: Failed to download metadata for repo 'AIX_Toolbox_noarch': Cannnot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX specific repository                       0.0  B/s |   0 B    00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_73':
      - Curl error (7): Couldn't connect to server for https://10.9.1.102:81/aixyumrepo/RPMS/ppc-7.3/repodata/repomd.xml[]
    Error: Failed to download metadata for repo 'AIX_Toolbox_73': Cannnot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: AIX_Toolbox, AIX_Toolbox_noarch, AIX_Toolbox_73
    No match for argument: libxml2
    Error: Unable to find a match: libxml2



    ------------------------------
    勝已 小副川
    勝已勝已小副川
    ------------------------------



  • 4.  RE: Error occur when install for some of AIX toolbox

    Posted Tue December 10, 2024 11:50 PM

    Kindly refer to following document to setup local dnf repo.

    https://developer.ibm.com/tutorials/awb-configuring-dnf-create-local-repos-ibm-aix/

     

    Thanks,

     

    Sanket Rathi

     






  • 5.  RE: Error occur when install for some of AIX toolbox

    Posted Wed December 11, 2024 02:40 AM

    Hi Sanket,

    Thank you for your addtional information. I read content article. However our system not able to connect to internet directory. This system needs to be highly secure and has not yet been fully configured.

    Thank you

    best regards,



    ------------------------------
    勝已 小副川
    勝已勝已小副川
    ------------------------------



  • 6.  RE: Error occur when install for some of AIX toolbox

    Posted Thu December 12, 2024 01:28 PM

    The article also talk about how to setup a local dnf repo.

    Please use that method, otherwise it is not easy to install RPMs because of their dependencies.

    Then you have to resolve dependencies on your own and get all the dependent packages and install them.

     

    Thanks,

     

    Sanket Rathi

     






  • 7.  RE: Error occur when install for some of AIX toolbox

    Posted Sun December 22, 2024 08:56 PM

    Hi Sanket,

    Thank you for your some messages. I would like to build local repo in AIX. Because we environment not able to connect to internet directry. 

    The dnf.conf file define as following and I tried connect to it.

    https://10.9.1.102:81/aixyumrepo/RPMS/ppc-7.3/repodata/repomd.xml

    However url was timeout when I connect to it by my PC.

    Is there other remote repo ?

    Thank you 

    best regards, 



    ------------------------------
    Katsumi Osoegawa
    KatsumiKatsumiOsoegawa
    ------------------------------



  • 8.  RE: Error occur when install for some of AIX toolbox

    Posted Mon December 23, 2024 03:02 AM

    Hi 

    is 10.9.1.102:81 the https server IP  and port  where  local repo is configured ?
    Try to run below command and check if client is able to connect to repo server .

    openssl s_client -connect 10.9.1.102:81 --brief

    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------



  • 9.  RE: Error occur when install for some of AIX toolbox

    Posted Tue December 24, 2024 01:00 AM

    Hi Ranjit,

    I heard as correct URL as following. And we able to connect to URL. I will try download for each RPM file by wget command . And I use it for build to local Repo.

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/

    Thank you

    Best regards,



    ------------------------------
    Katsumi Osoegawa
    KatsumiKatsumiOsoegawa
    ------------------------------



  • 10.  RE: Error occur when install for some of AIX toolbox

    Posted Wed December 25, 2024 03:04 AM

    There is no other remote repo than one of AIX toolbox.

    I am not sure if you have right connectivity to your local repo and have setup properly.

    You can verify it using curl command.

     

    Thanks,

     

    Sanket Rathi

     






  • 11.  RE: Error occur when install for some of AIX toolbox

    Posted Wed December 25, 2024 03:37 AM

    Hi Sanket,

    Thank you for your response. Please check out the one previous thread I posted. I can connect to these URLs from my PC and see the internal structure. Attach a screen capture. From each URL site, I downloaded a chunk of rpm files with the wget command. We will try to build a local repository in our AIX environment.

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/

    Thank you

    Best regards,



    ------------------------------
    Katsumi Osoegawa
    KatsumiKatsumiOsoegawa
    ------------------------------



  • 12.  RE: Error occur when install for some of AIX toolbox

    Posted Mon January 06, 2025 03:08 AM

    Hi ,

    I got chank of rpm file from AIX toolbox site by wget command. But I not able to find file as dnf_aixtoolbox_local.sh. It seem that diffrent from dnf_aixtoolbox.sh on IBM Toolbox web site.  How we can get file as dnf_aixtoolbox_local.sh.

    ・IBM Toolbox web site
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/

    Thank you

    Best regards



    ------------------------------
    Katsumi Osoegawa
    KatsumiKatsumiOsoegawa
    ------------------------------



  • 13.  RE: Error occur when install for some of AIX toolbox

    Posted Mon January 06, 2025 09:14 AM

    Hi 
    For my learning, can you let me know what idea/steps you are trying to implement for making local repo without internet/ISO  ?
    And at which step you are blocked ?
    We will review the steps and let you know how to proceed further if building local repo using your steps  is feasible ?


    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------



  • 14.  RE: Error occur when install for some of AIX toolbox
    Best Answer

    Posted Tue January 07, 2025 01:15 AM
    Edited by Katsumi Osoegawa Wed January 08, 2025 03:10 AM
    Hi Ranjit,
     
    I heard that the dnf_aixtoolbox_local.sh is not include in IBM site files. It only include in ISO. Also I heard that we can use the install_dnf.sh in dnf_bundle_aix_73.tar.
     
    I will try to build to local repo for AIX toolbox as following steps.
     
    1, Download chunk file of rpm from IBM site. I used wget command on Windows10 for download. In this case you have to install wget. However its file size is too big. (about 25GB) Our environmet use AIX7.3. So, I heve to download as noarch, ppc, and ppc-7.3 . Each chunk file of rpm put on AIX7.3 disks.
     
    2, Download file as dnf_bundle_aix_73.tar. 
     
    3, Extracting dnf_bundle_aix_73.tar
     
    4, Execute "install_dnf.sh -d" in dnf_bundle_aix_73.tar.
         If you did not set path to aix toolbox then you have to set path as following
                PATH=/opt/freeware/bin:$PATH
                export PATH
    5, Edit /opt/freeware/etc/dnf/dnf.conf as foolowing
     
       baseurl=file:///mnt/RPMS/ppc
       baseurl=file:///mnt/RPMS/ppc-7.3
       baseurl=file:///mnt/PRMS/noarch
     
    6, Execute "dnf repolist"
     
       It will output 3 repo list as ppc, ppc-7.3 and noarch.
     
    7, Execute "dnf update" 
    However I do not work yet and result is not know.

    Thank you
    Best regards



    ------------------------------
    Katsumi Osoegawa
    ------------------------------



  • 15.  RE: Error occur when install for some of AIX toolbox

    Posted Tue January 07, 2025 02:31 AM

    Hi Katsumi,

    If you download the toolbox iso then you will have dnf_aixtoolbox_local.sh.

    Here is the detailed blog on this one

    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

    Along with the script from the media we  will also have a repodata files required for dnf.

    In your case in which step you are running the createrepo command ?

    You need to have RPM based Linux system or AIX system to run createrepo.

    Here is the detailed article https://developer.ibm.com/tutorials/awb-configuring-dnf-create-local-repos-ibm-aix/ 



    ------------------------------
    SANGAMESH
    ------------------------------



  • 16.  RE: Error occur when install for some of AIX toolbox

    Posted Tue January 07, 2025 03:52 AM
    Edited by Katsumi Osoegawa Tue January 07, 2025 04:15 AM

    Hi SANGAMESH,

    Thank you for your infomation. First of all , I sucess build local repo and already install any toolbox to AIX7.3.
    Already I read this URL ariticle and I sucess build local repo without createrepo command. Also I do not need to dnf_aixtoolbox_local.sh.
    I received a few error message when I execute "dnf update" command. However this command was completed. I am able to install any toolbox by "/opt/freeware/bin/dnf install xxxx(toolbox name)" command.

    Thank you
    Best regards,



    ------------------------------
    Katsumi Osoegawa
    ------------------------------



  • 17.  RE: Error occur when install for some of AIX toolbox

    Posted Tue January 07, 2025 08:47 AM

    Glad, it's working for you.
    BTW, did you download repodata folder also from IBM website ? 

    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------



  • 18.  RE: Error occur when install for some of AIX toolbox

    Posted Tue January 07, 2025 07:40 PM

    Hi Ranjit,

    I did download whole repodata (chunk file of rpm) from IBM web site by wget command. The wget command is able to download whole repodata that keep file structure. So I think that it include repodata folder.

    Thank you

    Best regards



    ------------------------------
    Katsumi Osoegawa
    ------------------------------