Power

 View Only
Expand all | Collapse all

IBM Team - can you pls confirm there is no GIT Client software available for AIX 7.2? As we can't find it.

  • 1.  IBM Team - can you pls confirm there is no GIT Client software available for AIX 7.2? As we can't find it.

    Posted Mon March 25, 2024 10:47 AM

     my understating is there is no GIT Client software package available for AIX 7.2, And if we go with 7.1 paxkage, that may not work or introduce risk/new issues in the environment. so I don't wanna do that...still wanted to confirm with IBM that no GIT package available for AIX 7.2.



    ------------------------------
    Rajat Rao (RAJ)
    ------------------------------


  • 2.  RE: IBM Team - can you pls confirm there is no GIT Client software available for AIX 7.2? As we can't find it.

    Posted Mon March 25, 2024 11:00 AM
    The differences between 7.1 and 7.2 don't affect git.
    We're on 7.2, run git just fine.     it's not the most recent git (ver 2.38.3), but don't stress over AIX changes..  IBM has been great (thus far) to permit older software to keep working..  at least within the same Version of the OS.





  • 3.  RE: IBM Team - can you pls confirm there is no GIT Client software available for AIX 7.2? As we can't find it.

    Posted Mon March 25, 2024 11:12 AM

    Hi whenever we trying to install dnf...it is asking for dependency. and install keep fialing, we are running aix 7.2..

    please help!



    ------------------------------
    Rajat Rao (RAJ)
    ------------------------------



  • 4.  RE: IBM Team - can you pls confirm there is no GIT Client software available for AIX 7.2? As we can't find it.

    Posted Mon March 25, 2024 11:49 AM

    installing dnf can be a pain.... we have a brute force method that works..

    1) make sure you have the latest dnf_bundle_aix_71_72 file from the toolbox website

    2) grab the latest ssh/ssl  patches...  (named something like OpenSSH_8.1.102.2106.tar.Z and openssl-1.1.2.1202.tar.Z)  (this is fairly old, so, grab the latest)

    3) We rip out ALL installed RPMs..  It may be possible to reduce this list, but for us, this works the easiest.

    This clears the slate and cleans up any dependency hell that awaits you.

    first, save a list of what you have installed, just CYA, if you miss reinstalling someting, at least you know what's was there.

    $$  rpm -qa > /tmp/tom.rpmlist-preinstall.txt

    $$ rpm -e $(rpm -qa)   # nuke it all

    4) uncompress / install the ssh/ssl packages

    5) untar the dnf package you've downloaded

    6) run ./install_dnf.sh -d     (-d says you don't have YUM installed)

    7)  then, update your virtual package associations,   update all of the dnf stuff you just installed  

    /usr/sbin/updtvpkg

    /opt/freeware/bin/dnf update

    8) lastly, go through the rpm -qa output you saved above, compare to what's now installed, and determine what you may be missing, and still want.

    This is what our list boiled down to:

    /opt/freeware/bin/dnf install sudo zip wget curl rsync less unzip python3.9 grep p7zip coreutils gpgme dos2unix

    Now, sudo requires an additional step, as pam.conf may not have a required entry:

    H=$(cat /etc/pam.conf|grep -n account|grep required|grep ':su'|grep -v sudo|cut -f1 -d:)

    (sed -n "1,${H}p" /etc/pam.conf;echo "sudo\taccount\trequired\tpam_aix";((T = $H + 1 ));sed -n "$T,\$p" /etc/pam.conf)  > /etc/pam.conf.72upg

    mv /etc/pam.conf /etc/pam.conf.$(date +%y%m%d).$$

    mv /etc/pam.conf.72upg /etc/pam.conf

    Hope this helps.

    Tom



    ------------------------------
    Tom McGivern
    ------------------------------