Bug 9261 - system image update error
: system image update error
Status: RESOLVED WORKSFORME
Product: opensolaris
install
: unspecified
: i86pc/amd64 OpenSolaris
: P1 blocker (vote)
: in-200811
Assigned To: installer watcher
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-06-01 12:24 UTC by sina.rabbani
Modified: 2009-06-18 19:31 UTC (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description sina.rabbani 2009-06-01 12:24:45 UTC
Sun Microsystems Inc.    SunOS 5.11    snv_111a    November 2008
sina@sina:~$ pfexec sudo -s
root@sina:~# pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                852/852   7723/7723 323.98/323.98 

PHASE                                        ACTIONS
Removal Phase                              5843/5843 
Install Phase                              6676/6676 
Update Phase                               6030/6030 
PHASE                                          ITEMS
Reading Existing Index                           8/8 
Indexing Packages                            852/852 
Optimizing Index...
PHASE                                          ITEMS
Indexing Packages                            885/885 
 The running system has not been modified. Modifications were only made to a
clone of the running system.  This clone is mounted at /tmp/tmpD5s66I should
you wish to inspect it.

pkg: An unexpected error happened during image-update: [Errno 2] No such file
or directory: '/dev/null'
Traceback (most recent call last):
  File "/usr/bin/pkg", line 2598, in ?
    __ret = main_func()
  File "/usr/bin/pkg", line 2539, in main_func
    return image_update(mydir, pargs)
  File "/usr/bin/pkg", line 607, in image_update
    api_inst.execute_plan()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 528, in
execute_plan
    be.activate_image()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/bootenv.py", line 333, in
activate_image
    raise caught_exception
IOError: [Errno 2] No such file or directory: '/dev/null'


pkg: This is an internal error.  Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message.  The version of pkg(5) is '26c3e2407c53'.
root@sina:~#
Comment 1 sina.rabbani 2009-06-01 14:39:48 UTC
1. pfexec pkg refresh
2. pfexec pkg rebuild-index
3. pfexec pkg image-update

worked fine!