Looks like the system has lot of rpms at different level. Manually updating them will be a huge effort. So I would suggest to fix yum first. You can try forcefully installing glib2-2.14.6-2.aix5.2.ppc.rpm and then check whether yum is working or not. rpm -Uvh --force glib2-2.14.6-2.aix5.2.ppc.rpm
And also openssl rpm is installed which might create problem. If possible , you can remove it and have only openssl lpp fileset installed.