Did you build ros 2 from source ?
I used the steps mentioned here (https://github.com/ros2/ros2/wiki/Linux-Development-Setup) to the core and found no issues like this while installing ros 2 in ubuntu 16.04 ( both in a native system as well as oracle virtualbox environment).
Try re-installing again from the source.