update:
using the newer rpm.rte from the lpp_source does not work either, as the yum.sh script has no working version check and bails out with "already installed".
#Update rpm.rte to version.
# From AIX 7.1 TL5 & 7.2 TL2 rpm.rte shipped is 4.13.0.1.
# Installation will be skipped if either 4.9.1.3 or 4.13.0.1 is installed.
echo "Installing rpm.rte at the latest version ..."
echo "This may take several minutes depending on the number of rpms installed..."
installp -qacXYd rpm.rte all
#lslpp -L | grep rpm.rte | grep 4.9.1.3
lslpp -Lc rpm.rte >/dev/null 2>&1
if [[ $? -eq 0 ]]
then
rpm_ver=`lslpp -Lc rpm.rte | awk 'FNR==2' | awk -F':' '{print $3}' | cut -d'.' -f1`
#One more check to see if rpm.rte is version4 or higher.
#We mayn't come to this part at all.
if [[ $rpm_ver -lt 4 ]]
then
rpm_inst=`lslpp -Lc rpm.rte | awk 'FNR==2' | awk -F':' '{print $2, $3}'`
echo "rpm.rte version required is 4.9.1.3 or higher, but the installed version is ${rpm_inst}"
cd -
rm -rf $tmppath
exit 1
fi
else
echo "rpm.rte update to latest version failed."
echo "Please check the /smit.log file and retry the install."
cd -
rm -rf $tmppath
exit 1
fi
so still no luck on this front...
------------------------------
I regret starting this entire conversation
------------------------------
Original Message:
Sent: Thu August 20, 2020 07:49 AM
From: C- -T
Subject: AIX 7.2 TL4 (7200_04_01_1939): rpm.rte 4.13.0.10 Already superseded by 4.13.0.11
hi,
after upgrading AIX to the mentioned TL and running yum.sh the following error appears and the script stops.
Pre-installation Failure/Warning Summary Name Level Pre-installation Failure/Warning rpm.rte 4.13.0.10 Already superseded by 4.13.0.11 /usr/sbin/rpm_share[470]:
/usr/opt/freeware/bin/rpm: not found /usr/sbin/rpm_share[470]:
/usr/opt/freeware/bin/rpm: not found /usr/sbin/rpm_share[470]:
/usr/opt/freeware/bin/rpm: not found
the reason is that in the lpp_source is a newer version than what you provide on your servers, which is a little bit odd...
version on ibm server:
rw-r--r-- 1 205 staff 49034240 Jun 21 2019 rpm.rte.4.13.0.10
-rw-r--r-- 1 205 staff 12724 Apr 17 11:03 README_rpm.rte.4.13.0.10
version in lpp_source if AIX 7.2 TL4:
root@nimmsag: /export/lpp_source/aix72 # find 7200_04_01_1939 -name rpm.rte*
7200_04_01_1939/installp/ppc/rpm.rte.4.13.0.11.
I root@nimmsag: /export/lpp_source/aix72 # ls -l 7200_04_01_1939/installp/ppc/rpm.rte.4.13.0.11.I
for now i copied the newer rpm.rte fileset over to avoid furhter interruptions in our migration routine and disabled sync of "INSTALLP/ppc".
please fix up your files on the server.
------------------------------
I regret starting this entire conversation
------------------------------
#AIXOpenSource