Below is the code from yum.sh
typeset -i total_req=`echo "(45+54+50)" | bc`
tmp_free=`df -m /tmp | sed -e /Filesystem/d | awk '{print $3}'`
if [[ $tmp_free -le $total_req ]]
then
echo "Please make sure /tmp has 149MB of free space to download rpm.rte & yum_bundle.tar files,"
echo "and space required for extracting the rpm packages."
exit 1
fi
It could be possible that the presence of /opt/freeware/bin/df will make the above logic wrong.
You can try this
PATH=/usr/bin:$PATH ./yum.sh
------------------------------
Ayappan P
------------------------------
Original Message:
Sent: Thu July 07, 2022 02:22 PM
From: muhammad akram
Subject: Upgrade CURL on AIX 6.1
Thank you Ayappan,
I downloaded and tried to run the yum.sh, it gives error. i do have 1GB space in /tmp.
./yum.sh
Please make sure /tmp has 149MB of free space to download rpm.rte & yum_bundle.tar files,
and space required for extracting the rpm packages.
Please advise.
Thank you.
------------------------------
muhammad akram
Original Message:
Sent: Wed July 06, 2022 02:31 AM
From: Ayappan P
Subject: Upgrade CURL on AIX 6.1
You need to configure yum in your AIX 6.1 machine.
https://developer.ibm.com/articles/configure-yum-on-aix/
------------------------------
Ayappan P
Original Message:
Sent: Tue July 05, 2022 02:58 PM
From: muhammad akram
Subject: Upgrade CURL on AIX 6.1
I would like to install latest CURL on AIX 6.1 server. Tried few download from IBM ftp site, getting issue on many dependencies , tried to resolve them getting further dependencies issues. Please help provide complete instructions to resolve this issue.
current installed curl: curl 7.19.0
required at least above 7.56.
tried:also downloaded 7.72.0 manually from the URL unable install via smitty install , getting failed error
Thank you.
------------------------------
muhammad akram
------------------------------