The swmtool(1M) utility does not work in the Trusted Solaris 8 operating environment.
Workaround: Use the pkgadd(1M) utility. Or change the following line in /var/sadm/system/admin/INST_RELEASE to read Solaris:
# OS=Trusted Solaris OS=Solaris