Robot installation on AIX failing

Document ID : KB000008606
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Running the rpm package installation for the robot on AIX results in the error "package nimsoft-robot-xxx is for a different operating system " even though the AIX version is supported.   When you execute the command "getconf HARDWARE_BITMODE" the correct bit mode (64) is being returned and the command "oslevel" also returns a supported AIX version.

Environment:
Any supported AIX system
Cause:

Seeing this error for rpm-packages explicitly made for AIX and downloaded from IBM makes the error message rather unlikely to be true. Of course, you can override rpms safety measures with the --ignoreos option, but you surely want to know and understand what causes it in first place. 

This is usually because of an incorrect entry in /opt/freeware/lib/rpm/rpmrc like the following: 
[....] 
os_compat: aix7.2: aix7.1: aix6.1 aix6.0 aix5.3 aix5.2 aix5.1 aix5.0 aix4.3 
os_compat: aix6.1: aix6.0 aix5.3 aix5.2 aix5.1 aix5.0 aix4.3 
os_compat: aix6.0: aix5.3 aix5.2 aix5.1 aix5.0 aix4.3 
[...] 

Resolution:

What you need to do is to correct this to the following form: 
Code: 
[....] 
os_compat: aix7.2: aix7.1: aix6.1 aix6.0 aix5.3 aix5.2 aix5.1 aix5.0 aix4.3 
os_compat: aix7.1: aix6.1 aix6.0 aix5.3 aix5.2 aix5.1 aix5.0 aix4.3 
os_compat: aix6.1: aix6.0 aix5.3 aix5.2 aix5.1 aix5.0 aix4.3 
os_compat: aix6.0: aix5.3 aix5.2 aix5.1 aix5.0 aix4.3 
[...]