Yesterday I installed OpenSolaris on my desktop, and today I have been struggling trying to upgrade the machine to the latest bits.
-bash-3.2# uname -a SunOS opensolaris 5.11 snv_86 i86pc i386 i86pc -bash-3.2# cat /etc/release OpenSolaris 2008.05 snv_86_rc3 X86 Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 26 April 2008 The first time I tried I got a lot of timeout, so I tried: -bash-3.2# export PKG_CLIENT_TIMEOUT=400 I still experienced some timeouts, but then I made it through to the next step: -bash-3.2# pkg image-update DOWNLOAD PKGS FILES XFER (MB) Completed 546/546 14376/14376 1308.35/1308.35 PHASE ACTIONS Removal Phase 3143/3143 Update Phase 244/14381 Action upgrade failed for 'SUNWftpr.copyright' (pkg:/SUNWftp): NameError: could not retrieve file 'f9d514d194842b823cd04b96363603e107a9d528' from 'http://pkg.opensolaris.org:80 ' pkg: An unexpected error happened during image-update: could not retrieve file 'f9d514d194842b823cd04b96363603e107a9d528' from 'http://pkg.opensolaris.org:80 ' The running system has not been modified. Modifications were only made to a clone of the running system. This clone is mounted at /tmp/ tmpySuwQ9 should you wish to inspect it. 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 391, in image_update img.imageplan.execute() File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 452, in execute p.execute_update(src, dest) File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 297, in execute_update dest.install(self, src) File "/usr/lib/python2.4/vendor-packages/pkg/actions/license.py", line 72, in install stream = self.data() File "/usr/lib/python2.4/vendor-packages/pkg/manifest.py", line 231, in opener return retrieve.get_datastream(img, fmri, action.hash) File "/usr/lib/python2.4/vendor-packages/pkg/client/retrieve.py", line 53, in get_datastream raise NameError, "could not retrieve file '%s' from '%s'" % \ NameError: could not retrieve file 'f9d514d194842b823cd04b96363603e107a9d528' from 'http://pkg.opensolaris.org:80 ' Could anyone please tell me what the problem is, and how to fix it? Trond Btw: Is there a reason we get the python stack dump here? I think it confuse the normal end-user more than it helps them... _______________________________________________ indiana-discuss mailing list indiana-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/indiana-discuss