Hi Ed.

SRUs (support repository updates) should only be installed with pkg image-update. We purposely are avoiding "dim sum patching" and all the issues which can come up (such as dependencies, as you ran into).

On thing I noticed is that you have the publisher name set to osolre. This should be changed to opensolaris.org.

-- Alan

Ed McKnight wrote:
   Attempting to update one package from SRU1. It drags in updates to 3
   other packages. One of those, SUNWcsl, delivers libc.so.1 which
   apparently can't be updated this way.
   I figure next step will be to try image-update, but I'll wait a bit in
   case anyone wants to look at this machine. I suppose there's a doc
   somewhere that says 'don't attempt to do individual package updates
   that deliver shared libraries that are in use,' but I missed it.
   thx,  --emk
   thor:work-111-7d:~# pkg publisher
   PUBLISHER                             TYPE     STATUS   URI
   osolre                   (preferred)  origin   online
   [1]http://osol-re.sfbay:10700/
   coips                                 origin   online
   [2]http://coips.sfbay:25991/
   ha-cluster                            origin   online
   [3]https://pkg.sun.com/opensolaris/ha-cluster/
   ipkg                                  origin   online
   [4]http://ipkg.sfbay/dev/
   support                               origin   online
   [5]https://pkg.sun.com/opensolaris/support/
   thor:work-111-7d:~#
   thor:work-111-7d:~# pkg install -v [6][email protected],5.11-0.111.1
   Creating Plan | Before evaluation:
   UNEVALUATED:
   +pkg:/[email protected],5.11-0.111.1:20090603T005954Z
   After evaluation:
   [7]pkg:/[email protected],5.11-0.111:20090418T183653Z ->
   [8]pkg:/[email protected],5.11-0.111.1:20090603T005954Z
   [9]pkg:/[email protected],5.11-0.111:20090331T075027Z ->
   [10]pkg:/[email protected],5.11-0.111.1:20090603T010111Z
   [11]pkg:/[email protected],5.11-0.111:20090331T074846Z ->
   [12]pkg:/[email protected],5.11-0.111.1:20090603T010033Z
   [13]pkg:/[email protected],5.11-0.111:20090331T075112Z ->
   [14]pkg:/[email protected],5.11-0.111.1:20090603T010143Z
   Actuators:
   None
   DOWNLOAD                                    PKGS       FILES     XFER
   (MB)
   Completed                                    4/4     169/169
   12.87/12.87
   PHASE                                        ACTIONS
   Removal Phase                                    9/9
   Install Phase                                  21/21
   Update Phase                                923/1620 Action upgrade
   failed for 'lib/libc.so.1' (pkg:/SUNWcsl):
    OSError: [Errno 16] Device busy
   The Boot Environment work-111-7d failed to be updated. A snapshot was
   taken before the failed attempt and is mounted here /tmp/tmpOAALGF. Use
   'beadm unmount work-111-7d-1' and then 'beadm activate work-111-7d-1'
   if you wish to boot to this BE.
   pkg: An unexpected error happened during installation: [Errno 16]
   Device busy
   Traceback (most recent call last):
     File "/usr/bin/pkg", line 2475, in ?
       __ret = main_func()
     File "/usr/bin/pkg", line 2424, in main_func
       return install(mydir, pargs)
     File "/usr/bin/pkg", line 755, in install
       api_inst.execute_plan()
     File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line
   520, in execute_plan
       self.img.imageplan.execute()
     File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",
   line 735, in execute
       p.execute_update(src, dest)
     File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line
   265, in execute_update
       dest.install(self, src)
     File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line
   197, in install
       portable.rename(temp, final_path)
     File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py",
   line 197, in rename
       os.rename(src, dst)
   OSError: [Errno 16] Device busy
   pkg: This is an internal error.  Please let the developers know about
   this
   problem by filing a bug at [15]http://defect.opensolaris.org and
   including the
   above traceback and this message.  The version of pkg(5) is
   '05eb4fbadc69'.
   thor:work-111-7d:~#
   thor:work-111-7d:~# pkg list -vf SUNWipkg
   FMRI
   STATE      UFIX
   [16]pkg://opensolaris.org/[email protected],5.11-0.111:20090331T083226Z
   installed  u---
   thor:work-111-7d:~#

References

   1. http://osol-re.sfbay:10700/
   2. http://coips.sfbay:25991/
   3. https://pkg.sun.com/opensolaris/ha-cluster/
   4. http://ipkg.sfbay/dev/
   5. https://pkg.sun.com/opensolaris/support/
   6. mailto:[email protected],5.11-0.111.1
   7. mailto:pkg:/[email protected],5.11-0.111:20090418T183653Z
   8. mailto:pkg:/[email protected],5.11-0.111.1:20090603T005954Z
   9. mailto:pkg:/[email protected],5.11-0.111:20090331T075027Z
  10. mailto:pkg:/[email protected],5.11-0.111.1:20090603T010111Z
  11. mailto:pkg:/[email protected],5.11-0.111:20090331T074846Z
  12. mailto:pkg:/[email protected],5.11-0.111.1:20090603T010033Z
  13. mailto:pkg:/[email protected],5.11-0.111:20090331T075112Z
  14. mailto:pkg:/[email protected],5.11-0.111.1:20090603T010143Z
  15. http://defect.opensolaris.org/
  16. mailto:pkg://opensolaris.org/[email protected],5.11-0.111:20090331T083226Z
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to