sudo pkg install VBoxSolarisAdditions.pkg
pkg install: The following pattern(s) did not match any allowable packages. Try using a different matching pattern, or refreshing publisher information:
sudo pkg install ./VBoxSolarisAdditions.pkg
pkg install: Illegal FMRI './VBoxSolarisAdditions.pkg': Invalid Package Name: ./VBoxSolarisAdditions.pkg
sudo pkg set-publisher -p /media/VBOXADDITIONS_4.3.38_106717/
pkg set-publisher: file protocol error: code: 22 reason: The path '/media/VBOXADDITIONS_4.3.38_106717' does not contain a valid package repository. Repository URL: 'file:///media/VBOXADDITIONS_4.3.38_106717'.
sudo pkg set-publisher -p /media/VBOXADDITIONS_4.3.38_106717/VBoxSolarisAdditions.pkg
pkg set-publisher: file protocol error: code: 22 reason: Archive /media/VBOXADDITIONS_4.3.38_106717/VBoxSolarisAdditions.pkg is missing, unsupported, or corrupt. Repository URL: 'file:///media/VBOXADDITIONS_4.3.38_106717/VBoxSolarisAdditions.pkg'.
Am I doing something wrong?
sudo pkgadd -d /full/path/to/VBoxSolarisAdditions.pkg