[INS-21003] Installer has detected that an invalid inventory pointer location file was specifies

This error appear while trying to install oracle database 12c on Linux 64bit to solve it i forgot to add the group on oraInst.loc
vi /etc/oraInst.loc
and add the below line :-
inst_group=dba ( depend on your group).
Thanks
osama