To remove a RUEI system, please follow the steps outlined in Appendix H Removing RUEI From Systems of the RUEI Installation guide.
http://docs.oracle.com/cd/E26370_01/doc.121/e26358/removeruei.htm#BCIECBIB
Usually it boils down to run step number 3.)
Remove the installed RUEI RPMs by issuing the following command as the root user:
rpm -qa | grep ^ux- | xargs rpm -e
If parts of the installed RPMs were removed manually or corrupted, errors might be encountered in the above step.
In this case, you should issue the following command:
rpm -qa | grep ^ux- | xargs rpm -e --noscripts
Note that part of the installation may remain after issuing the above command.
In case you want to troubleshoot the pre/post-scripts the following two commands might be useful, where ux-core is an example rpm file of RUEI:
rpm -Uhvv ux-core-12.1.0.0.1-20120109.x86_64.rpm > OutputOfScripts
rpm -qp --scripts ux-core-12.1.0.0.1-20120109.x86_64.rpm > ListOfScripts
Kind regards,
Stefan