The above error message showed up during the installation of an RPM package:
# rpm -U db4-4.7.25-2.aix5.1.ppc.rpm /usr/sbin/rpm_share[440]: 36044986 Illegal instruction rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result. rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
The rpm-command no longer works, a rebuild of the RPM database is therefore not possible anymore:
# rpm --rebuilddb /usr/sbin/rpm_share[470]: 22478966 Illegal instruction
Reinstalling the fileset rpm.rte fixes the problem:
# installp -acFXYd . rpm.rte +-----------------------------------------------------------------------------+ Pre-installation Verification... +-----------------------------------------------------------------------------+ ... Installation Summary -------------------- Name Level Part Event Result ------------------------------------------------------------------------------- rpm.rte 4.13.0.3 USR APPLY SUCCESS rpm.rte 4.13.0.3 ROOT APPLY SUCCESS
Afterwards the rpm-command works again:
# rpm -qa ... db4-4.7.25-2.ppc ... AIX-rpm-7.1.5.15-7.ppc