Error:- PRVF-0002 : could not retrieve local node name
if you face this type of error while installing Oracle 12c Release 2 , make sure see you hostname if not properly set, change it with a proper name.
Here you can find my host name dbacentre
save and if your /etc/hosts
Reboot the server and again restart your installation. you will get success result.