Shawn Walker wrote:
2008/6/10 Chris Gerhard <[EMAIL PROTECTED]>:
I just tried to run pkg image-update to update OpenSolaris 2008.05

If I'm doing something wrong then it should give a better error message than
this:

[EMAIL PROTECTED]:~$ pfexec pkg image-update
Creating Plan \Traceback (most recent call last):
 File "/usr/bin/pkg", line 1440, in ?
   ret = main_func()
 File "/usr/bin/pkg", line 1404, in main_func
   return image_update(img, pargs)
 File "/usr/bin/pkg", line 366, in image_update
   noexecute = noexecute)
 File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1282,
in make_install_plan
   ip.evaluate()
 File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line
344, in evaluate
   self.evaluate_fmri(f)
 File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line
187, in evaluate_fmri
   m = self.image.get_manifest(pfmri)
 File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 516, in
get_manifest
   m = self._fetch_manifest(fmri)
 File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 468, in
_fetch_manifest
   mcontent = retrieve.get_manifest(self, fmri)
 File "/usr/lib/python2.4/vendor-packages/pkg/client/retrieve.py", line 81,
in get_manifest
   raise NameError, "could not retrieve manifest '%s' from '%s'" % \
NameError: could not retrieve manifest
'[EMAIL PROTECTED]' from
'http://pkg.opensolaris.org:80'

[EMAIL PROTECTED]:~$


What did I do wrong?

You're not doing anything wrong. However, it looks like pkg is unable
to connect to pkg.opensolaris.org to retrieve the information it
needs.

Yes, there should be a better error message and I believe that is
being worked on right now.

Cheers,

I ran it again, this time as root although I don't think that is relevant. This time I get a lot further:

-bash-3.2# pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed 534/534 13882/13882 1172.63/1172.63

PHASE                                        ACTIONS
Removal Phase                              3109/3109
Update Phase                             13819/13819
Install Phase                              5837/5837
pkg: unable to activate opensolaris-1
-bash-3.2# beadm activate opensolaris-1
beadm: Unable to activate opensolaris-1
-bash-3.2# beadm list

BE            Active Active on Mountpoint Space
Name                 reboot               Used
----          ------ --------- ---------- -----
opensolaris   yes    yes       legacy     2.94G
foo           no     no        -          89.5K
opensolaris-1 no     no        -          1.31G
-bash-3.2#



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to