[OmniOS-discuss] Installing local packages?

Dan Swartzendruber dswartz at druber.com
Fri Apr 4 19:58:05 UTC 2014


Okay, this has got to be something incredibly obvious and stupid, but I've
been looking at it for an hour and am stumped.  I wanted to try a
pacemaker active/passive cluster using omnios.  I found saso's guide on
zfs-create.blogspot.com.  So I downloaded, bunzipped and untarred his
archive.  He says to install the prebuild packages in the
prebuilt_packages subdir using the pkgadd command.  No matter what I do, I
can't get this to work.  The four packages are all gzipped, but after
copying them to /var/spool/pkg, whether I gunzip them or not, I get:

pkgadd: ERROR: no packages were found in </var/spool/pkg>

Yet:

root at vsa3:/var/spool/pkg# ls -l
total 65461
-rw-r--r-- 1 root root 17152000 Apr  4 15:56 CNCclusterglue.pkg
-rw-r--r-- 1 root root 13154816 Apr  4 15:56 CNCheartbeat.pkg
-rw-r--r-- 1 root root 39056896 Apr  4 15:56 CNCpacemaker.pkg
-rw-r--r-- 1 root root  1488896 Apr  4 15:56 CNCrsrcagents.pkg

FWIW, if I try 'pkgadd -d .' while in the prebuild_packages subdir, I get
the same message, only referring to that subdir.  Google has been 1000%
useless for resolving this.  Any tips would be much appreciated.  Thanks!



More information about the OmniOS-discuss mailing list