Due to a permissions problem with installpkg, the following modification needs to be done BEFORE it is used to install any packages:
line 103 of installpkg needs cp -Rp to be changed to cp -R
I did that, but am getting same errors for X, Samba and CUPS.