Joel Kreager wrote:
> Following along with the instructions to clone the image and upgrade the 
> clone I get several new errors:
> 
> [solaris:/]$ pkg refresh
> [solaris:/]$ pkg install SUNWipkg
> Traceback (most recent call last):
>   File "/usr/bin/pkg", line 570, in ?
>     install(img, pargs)
>   File "/usr/bin/pkg", line 189, in install
>     noexecute = noexecute)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 665, in 
> list_install
>     constraint = version.CONSTRAINT_AUTO)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 251, in 
> get_matching_fmris
>     counthash)
>   File "/usr/lib/python2.4/vendor-packages/pkg/catalog.py", line 208, in 
> get_matching_fmris
>     cv, cat_fmri = entry.split()
> ValueError: need more than 0 values to unpack
> 
> [solaris:/]$ pkg -R /mnt refresh
> [solaris:/]$ pkg -R /mnt image-update
> Traceback (most recent call last):
>   File "/usr/bin/pkg", line 568, in ?
>     image_update(img, pargs)
>   File "/usr/bin/pkg", line 137, in image_update
>     for opt, arg in opts:
> TypeError: iteration over non-sequence
> [solaris:/]$ 
> 
> [solaris:/]$ cat /mnt/var/pkg/cfg_cache
> [policy]
> require-optional = False
> display-copyrights = True
> preferred-authority = opensolaris.org
> pursue-latest = True
> 
> [filter]
> 
> [authority_opensolaris.org]
> origin = http://ipkg.sfbay.org:80
> prefix = opensolaris.org
> mirrors = None
> 
> I added .org after ipkg.sfbay - this was not in the instructions, but no host 
> was reachable without a top level domain.  Maybe this domain is wrong?  
> (There was no domain in the posting).
> 
> Any help would be appreciated. Thanks.
>  
>  
> This message posted from opensolaris.org

I'm confused.

pkgadd is the legacy svr4 packaging tool

pkg is the (under active development) packaging system in Indiana.

What are you running?
What are you trying to do?

- Bart


-- 
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird".
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to