I will follow up on this and let you know what is going on.
But, by the looks of it, there is no such file as "/tmp/primary.xml.gz"
Execute that script again and than look at the contents of /tmp/primary.xml.gz
Most likely, the RHEL 6 is not supported by EMS yum installers. If that is the case, we will make sure it will on the next release (1.6.3)
primary.xml.gz is took from one of this folder hierarchy from the corresponding OS/arch/ver:
I don’t see rhel6 in there