AIX Open Source

 View Only
Expand all | Collapse all

rsync installation error

  • 1.  rsync installation error

    Posted Tue November 29, 2022 03:29 AM
    Edited by SANGAMESH MALLAYYA Wed November 30, 2022 04:19 AM
    I'm trying to install rsync on AIX7.2.
    i proceeded with the installation as follows(with test option).

    1. Install rsync
    # rpm -ivh --test rsync-3.2.3-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    liblz4.a(liblz4.so.1) is needed by rsync-3.2.3-1.ppc
    lz4 >= 1.9.2 is needed by rsync-3.2.3-1.ppc

    2. Install rsync and lz4
    # rpm -ivh --test rsync-3.2.3-1.aix6.1.ppc.rpm lz4-1.9.3-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    libgcc >= 8.3.0 is needed by lz4-1.9.3-1.ppc

    3.Install rsync,lz4 and libgcc8-8
    # rpm -ivh --test rsync-3.2.3-1.aix6.1.ppc.rpm lz4-1.9.3-1.aix6.1.ppc.rpm libgcc8-8.3.0-6.aix7.2.ppc.rpm <
    error: Failed dependencies:
    libgcc >= 8.3.0 is needed by lz4-1.9.3-1.ppc
    libgcc <= 9.1.0 conflicts with libgcc8-8.3.0-6.ppc

    4.Install rsync,lz4,libgcc8-8 and libgcc8-1
    # rpm -ivh --test rsync-3.2.3-1.aix6.1.ppc.rpm lz4-1.9.3-1.aix6.1.ppc.rpm libgcc8-8.3.0-6.aix7.2.ppc.rpm libgcc-8-1.a>
    error: Failed dependencies:
    libgcc <= 9.1.0 conflicts with libgcc8-8.3.0-6.ppc

    Now I don't know what I should to do.
    Could you give me a hint to install rsync.





    ------------------------------
    Miho
    ------------------------------


  • 2.  RE: rsync installation error

    Posted Wed November 30, 2022 06:46 AM
    Use dnf to install AIX Toolbox packages. 
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: rsync installation error

    Posted Mon December 05, 2022 01:36 AM

    Thank you for your reply.

    But, It is an environment that cannot connect to the Internet...



    ------------------------------
    Miho
    ------------------------------



  • 4.  RE: rsync installation error

    IBM Champion
    Posted Mon December 05, 2022 11:46 AM
    The aixtoolbox has an ezinstall directory. You'll find an installer in there for dnf and its dependencies to get you going. The one for AIX 7.2 is here:

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_bundle_aix_71_72.tar

    Once that's installed, put the aixtoolbox somewhere convienient, like on a web server or NFS server and adjust the dnf.conf accordingly.

    ------------------------------
    Mario Stargard
    ------------------------------



  • 5.  RE: rsync installation error

    IBM Champion
    Posted Mon December 05, 2022 11:48 AM
    Oh, and you can get an ISO of the aixtoolbox from ESS (Entitled Software Support). You'll find it with the AIX ISO's.

    ------------------------------
    Mario Stargard
    ------------------------------



  • 6.  RE: rsync installation error

    Posted Mon December 05, 2022 08:17 PM
    Thank you for your reply.
    I tried using dnf and aixtoolbox.
    However, I had to install createrepo RPM to use the local repository.
    So a more complex dependency arose and I gave up.

    ------------------------------
    Miho
    ------------------------------



  • 7.  RE: rsync installation error

    IBM Champion
    Posted Tue December 06, 2022 08:02 AM
    If you grab the metadata from the repo, you won't need to use createrepo. The easiest thing to do is to grab the ISO from ESS and just host it via apache. It's a cleaned up version of what's on the web so it's much smaller.

    ------------------------------
    Mario Stargard
    ------------------------------



  • 8.  RE: rsync installation error

    Posted Tue December 06, 2022 08:44 AM
    Here is the article that describes how can you use AIX toolbox ISO to create local repo or install packages 
    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

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



  • 9.  RE: rsync installation error

    Posted Mon December 19, 2022 03:01 AM
    Edited by Miho Mon December 19, 2022 03:03 AM
    I appreciate.
    I was able to successfully install rsync by referring to the article "Creating local repo with DNF and AIX Toolbox Media Image".
    Thank you for helping me very much. Thank you.

    memo:
        For Japanese (IBM-943), set LANG to C. Otherwise, dnf_aixtoolbox_local.sh will error.


    ------------------------------
    Miho
    ------------------------------



  • 10.  RE: rsync installation error

    Posted 3 days ago

    We are also facing similar issues unable to install rsync 3.3 version 

    error: Failed dependencies:
            libiconv >= 1.17 is needed by rsync-3.3.0-1.ppc
            liblz4.a(liblz4.so.1) is needed by rsync-3.3.0-1.ppc
            lz4 >= 1.9.4 is needed by rsync-3.3.0-1.ppc
    DG139:[root]: /aixtl72/rpmpkg > rpm -ivh libiconv-1.16-1.aix6.1.ppc.rpm
    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
            package libiconv-1.16-1.ppc is already installed
    DG139:[root]: /aixtl72/rpmpkg > rpm -Uvh libiconv-1.17-1.aix7.1.ppc.rpm
    error: Failed dependencies:
            gettext >= 0.21-1 is needed by libiconv-1.17-1.ppc
    DG139:[root]: /aixtl72/rpmpkg > rpm -ivh gettext-0.21-2.aix7.1.ppc.rpm
    error: Failed dependencies:
            libgomp >= 8.3.0 is needed by gettext-0.21-2.ppc
            libgomp.a(libgomp.so.1) is needed by gettext-0.21-2.ppc
    DG139:[root]: /aixtl72/rpmpkg > rpm -ivh libgomp-10-2.aix7.2.ppc.rpm
    error: Failed dependencies:
            libgcc = 1:10-2 is needed by libgomp-1:10-2.ppc
            libgomp10 is needed by libgomp-1:10-2.ppc
    DG139:[root]: /aixtl72/rpmpkg > rpm -ivh libgcc-10-2.aix7.2.ppc.rpm
    error: Failed dependencies:
            libgcc10 is needed by libgcc-1:10-2.ppc
    DG139:[root]: /aixtl72/rpmpkg > rpm -ivh libgcc10-10.3.0-6.aix7.2.ppc.rpm
    error: Failed dependencies:
            libgcc <= 9.1.0 conflicts with libgcc10-10.3.0-6.ppc
    DG139:[root]: /aixtl72/rpmpkg > rpm -qa|grep -i libgcc
    libgcc-8.3.0-2.ppc
    DG139:[root]: /aixtl72/rpmpkg > rpm -Uvh libgcc-10-2.aix7.2.ppc.rpm
    error: Failed dependencies:
            libgcc10 is needed by libgcc-1:10-2.ppc
            libgcc = 8.3.0-2 is needed by (installed) libstdc++-8.3.0-2.ppc
    DG139:[root]: /aixtl72/rpmpkg > rpm -ivh libgcc10-10.3.0-6.aix7.2.ppc.rpm
    error: Failed dependencies:
            libgcc <= 9.1.0 conflicts with libgcc10-10.3.0-6.ppc



    ------------------------------
    PriyaRanjan Kumar
    ------------------------------