I have just done exactly this on a machine, though using the sun 
internal staging area for the OpenSolaris package. I had problems with 
timeouts using the external repository (seems to be a bit swamped 
according to indianna-discuss and pkg-discuss). I did however do a pkg 
image-update first to bring the release up to date. You might need to do 
that (if so it's probably a bug)

Chris

Jeffery Kuhn wrote:
> I have been trying for the past 3 days to get any package related to xVM 
> installed on my freshly installed OpenSolaris 2008.05 machine, but everything 
> I run the command, it fails.
>
> I've su'd into root to try and eliminate any permission problems. 
> my uname is:
> SunOS atlantis 5.11 snv_86 i86pc i386 i86pc
>
> This is what i get when trying to do the install.
>
> -bash-3.2$ su -
> Password: 
> Sun Microsystems Inc. SunOS 5.11      snv_86  January 2008
> -bash-3.2# id
> uid=0(root) gid=0(root)
> -bash-3.2# pkg install SUNWxvm
> DOWNLOAD                                    PKGS       FILES     XFER (MB)
> Completed                                    2/2     474/474   11.30/11.30 
>
> PHASE                                        ACTIONS
> Install Phase                                  1/600 Action install failed 
> for 'boot' (pkg:/SUNWxvm):
>   IndexError: list index out of range
> pkg: An unexpected error happened during installation: list index out of range
> The Boot Environment opensolaris failed to be updated. A snapshot was taken 
> before the failed attempt and is mounted here /tmp/tmpFCwNhW. Use 'beadm 
> activate opensolaris_static:-:2008-06-11-14:13:44 and reboot if you wish to 
> boot to this BE.
> Traceback (most recent call last):
>   File "/usr/bin/pkg", line 1440, in ?
>     ret = main_func()
>   File "/usr/bin/pkg", line 1406, in main_func
>     return install(img, pargs)
>   File "/usr/bin/pkg", line 469, in install
>     img.imageplan.execute()
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 
> 464, in execute
>     p.execute_install(src, dest)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 286, 
> in execute_install
>     dest.install(self, src)
>   File "/usr/lib/python2.4/vendor-packages/pkg/actions/directory.py", line 
> 59, in install
>     owner = pkgplan.image.get_user_by_name(self.attrs["owner"])
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 994, in 
> get_user_by_name
>     self.type != IMG_USER)
>   File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 83, 
> in get_user_by_name
>     load_passwd(dirpath)
>   File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 
> 135, in load_passwd
>     arr[2] = int(arr[2])
> IndexError: list index out of range
>
>
> It always gives that list index out of range no matter which package i've 
> tried to install. I've only tried packages related to xVM though. Anyone have 
> any ideas on this. I will admit that I am new to OpenSolaris, and the root 
> roles thing and pfexec threw me for a loop when I first got the system up, so 
> I may be doing something wrong here. I'm by no means an expert.
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> xen-discuss mailing list
> [email protected]
>   

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to