Thank you for your reply.
But it does not solve the issue!
Something wrong with my link?
Should it be the full path?
Even if it is the full path I should specify the exact package name!
Well I think that would be solved with the final release, though I managed to solve the problem with a workaround.
The root shell on this machine was csh while the user shell was set to zsh.
Once I changed the root shell to zsh and added the export PACKAGESITE to the .zshrc file, sudo pkg_add -r worked, though I have a question:
The PACKAGESITE variable is set to full path :
and I need to input the full package name in order to install packages!
What should it be set to?
Thank you again for your support.