[OmniOS-discuss] Installing local packages?

Dan McDonald danmcd at omniti.com
Fri Apr 4 20:07:03 UTC 2014


On Apr 4, 2014, at 3:58 PM, Dan Swartzendruber <dswartz at druber.com> wrote:

> 
> 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.

pkgadd -d CNCclusterglue.pkg

That should give you whateever's in that .pkg file.  Repeat with the other .pkg files.

Dan



More information about the OmniOS-discuss mailing list