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

    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

    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

    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 Fri July 19, 2024 03:35 AM

    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
    ------------------------------



  • 11.  RE: rsync installation error

    Posted Tue July 23, 2024 12:53 AM

    We tried to install dnf getting below error

    DG139:[root]: /aixtl72/rpmpkg > ./dnf_aixtoolbox.sh -n
    Attempting download of dnf_bundle_aix_71_72.tar ...
    lwp-download: 500 Can't connect to public.dhe.ibm.com:443 (Hostname and service name not provided or found)
    Failed to download dnf_bundle_aix_71_72.tar
    DG139:[root]: /aixtl72/rpmpkg >



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



  • 12.  RE: rsync installation error

    Posted Tue July 23, 2024 02:32 AM

    can anyone pls suggest while installing dnf getting below 

    DG139:[root]: /aixtl72/rpmpkg > ./install_dnf.sh -n
     
    Installing rpm.rte at the latest version ...
    This may take several minutes depending on the number of rpms installed...
    +-----------------------------------------------------------------------------+
                        Pre-installation Verification...
    +-----------------------------------------------------------------------------+
    Verifying selections...done
    Verifying requisites...done
    Results...
     
    WARNINGS
    --------
      Problems described in this section are not likely to be the source of any
      immediate or serious failures, but further actions may be necessary or
      desired.
     
      Already Installed
      -----------------
      The number of selected filesets that are either already installed
      or effectively installed through superseding filesets is 1.  See
      the summaries at the end of this installation for details.
     
      NOTE:  Base level filesets may be reinstalled using the "Force"
      option (-F flag), or they may be removed, using the deinstall or
      "Remove Software Products" facility (-u flag), and then reinstalled.
     
      << End of Warning Section >>
     
    +-----------------------------------------------------------------------------+
                       BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
        1  Selected to be installed, of which:
            1  Already installed (directly or via superseding filesets)
      ----
        0  Total to be installed
     
     
    Pre-installation Failure/Warning Summary
    ----------------------------------------
    Name                      Level           Pre-installation Failure/Warning
    -------------------------------------------------------------------------------
    rpm.rte                   4.15.1.1011     Already installed
     
     
     
    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.
     
    Skipping ca-certificates-2016.10.7-2 as higher version ca-certificates-2017.07.17-1.ppc is installed.
    ca-certificates-2017.07.17-1.ppc will be updated to ca-certificates-2023.2.60-0
    Skipping curl-7.52.1-1 as higher version curl-7.58.0-1.ppc is installed.
    Skipping db-4.8.24-3 as higher version db-6.2.32-1.ppc is installed.
    dnf-4.2.17-32_4 will be installed
    dnf-automatic-4.2.17-32_4 will be installed
    dnf-data-4.2.17-32_4 will be installed
    Skipping gdbm-1.8.3-5 as higher version gdbm-1.12-1.ppc is installed.
    Skipping gettext-0.19.7-1 as higher version gettext-0.19.8.1-5.ppc is installed.
    gettext-0.19.8.1-5.ppc will be updated to gettext-0.21-2
    Skipping glib2-2.14.6-2 as higher version glib2-2.56.1-2.ppc is installed.
    Skipping glib2-2.48.0-1 as higher version glib2-2.56.1-2.ppc is installed.
    libcomps-0.1.15-32_1 will be installed
    libdnf-0.39.1-32_3 will be installed
    libgcc-8.3.0-2.ppc will be updated to libgcc-10-2
    Skipping libgcc-6.3.0-1 as higher version libgcc-8.3.0-2.ppc is installed.
    libgcc10-10.3.0-6 will be installed
    libgomp-10-2 will be installed
    libgomp10-10.3.0-6 will be installed
    Skipping libiconv-1.15-1 as higher version libiconv-1.16-1.ppc is installed.
    libiconv-1.16-1 is already installed
    libiconv-1.16-1.ppc will be updated to libiconv-1.17-1
    libmodulemd-1.5.2-32_2 will be installed
    librepo-1.11.0-32_2 will be installed
    libsmartcols-2.34-32_1 will be installed
    libsolv-0.7.9-32_3 will be installed
    libtextstyle-0.21-2 is already installed
    libzstd-1.4.4-32_1 will be installed
    lz4-1.9.4-1 will be installed
    p11-kit-0.23.22-0 will be installed
    p11-kit-tools-0.23.22-0 will be installed
    popt-1.14-1 is already installed
    pysqlite-1.1.7-2 is already installed
    Skipping python-2.7.10-1 as higher version python-2.7.13-1.ppc is installed.
    python-devel-2.7.10-1 will be installed
    python-iniparse-0.4-1 is already installed
    Skipping python-pycurl-7.19.3-1 as higher version python-pycurl-7.43.0-1.ppc is installed.
    Skipping python-tools-2.7.10-1 as higher version python-tools-2.7.13-1.ppc is installed.
    python-urlgrabber-3.10.1-1 is already installed
    python3-3.9.16-0 will be installed
    python3-dateutil-2.8.0-2 will be installed
    python3-dnf-4.2.17-32_4 will be installed
    python3-dnf-plugin-migrate-4.0.16-32_2 will be installed
    python3-dnf-plugins-core-4.0.16-32_2 will be installed
    python3-gpg-1.13.1-32_3 will be installed
    python3-hawkey-0.39.1-32_3 will be installed
    python3-libcomps-0.1.15-32_1 will be installed
    python3-libdnf-0.39.1-32_3 will be installed
    python3-librepo-1.11.0-32_2 will be installed
    python3-six-1.13.0-2 will be installed
    python3.9-3.9.16-0 will be installed
    python3.9-dateutil-2.8.0-2 will be installed
    python3.9-dnf-4.2.17-32_4 will be installed
    python3.9-dnf-plugin-migrate-4.0.16-32_2 will be installed
    python3.9-dnf-plugins-core-4.0.16-32_2 will be installed
    python3.9-gpg-1.13.1-32_3 will be installed
    python3.9-hawkey-0.39.1-32_3 will be installed
    python3.9-libcomps-0.1.15-32_1 will be installed
    python3.9-libdnf-0.39.1-32_3 will be installed
    python3.9-librepo-1.11.0-32_2 will be installed
    python3.9-six-1.13.0-2 will be installed
    Skipping readline-6.1-2 as higher version readline-7.0-5.ppc is installed.
    rpm-python3-4.15.1-32_2 will be installed
    rpm-python3.9-4.15.1-32_2 will be installed
    rsync-3.1.3-1 is already installed
    rsync-3.1.3-1.ppc will be updated to rsync-3.2.7-1
    rsync-3.1.3-1.ppc will be updated to rsync-3.3.0-1
    Skipping sqlite-3.15.2-1 as higher version sqlite-3.23.0-1.ppc is installed.
    zchunk-libs-1.1.4-32_2 will be installed
     
    Installing the packages...
     
    warning: package rsync-3.2.7-1.ppc was already added, replacing with rsync-3.3.0-1.ppc
    error: Failed dependencies:
            libgcc = 8.3.0-2 is needed by (installed) libstdc++-8.3.0-2.ppc
            python = 2.7.10 is needed by python-devel-2.7.10-1.ppc
     
    dnf installation failed.
    If the failure was due to a space issue, increase the size of /opt and re-run script again.
    Another reason for failure could be mixing of Toolbox packages and packages from other sources.


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



  • 13.  RE: rsync installation error

    Posted Tue July 23, 2024 05:56 AM

    Hi PriyaRanja,

    Mixing rsync dependencies with packages from bundle won't be able to install rsync without proper dependencies being taken care.

    Can you check if having ISO media as local repo is one of the option for your case ?

    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



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