Hello all,

I meet a error when trying to update opensolaris from 111b to 116, here
is the exception:

r...@opensolaris:~# pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER
(MB)
Completed                                648/648 32278/32278
484.16/484.16 

PHASE                                        ACTIONS
Removal Phase                              9254/9254 
Install Phase                             1644/23397 Action install
failed for 'gdm' (pkg:/SUNWgnome-display-mgr):
  ValueError: max() arg is an empty sequence
 The running system has not been modified. Modifications were only made
to a clone of the running system.  This clone is mounted at
/tmp/tmpK_uEkX should you wish to inspect it.

pkg: An unexpected error happened during image-update: max() arg is an
empty sequence
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 525,
in execute_plan
    self.img.imageplan.execute()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",
line 719, in execute
    p.execute_install(src, dest)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line
260, in execute_install
    dest.install(self, src)
  File "/usr/lib/python2.4/vendor-packages/pkg/actions/user.py", line
140, in install
    ftp.setuser(username, final_attrs["ftpuser"] == "true")
  File "/usr/lib/python2.4/vendor-packages/pkg/cfgfiles.py", line 409,
in setuser
    self.adduser(username)
  File "/usr/lib/python2.4/vendor-packages/pkg/cfgfiles.py", line 401,
in adduser
    self.setvalue({"username" : username})
  File "/usr/lib/python2.4/vendor-packages/pkg/cfgfiles.py", line 165,
in setvalue
    lineno = max((self.index[k][2] for k in self.index)) + 1
ValueError: max() arg is an empty sequence


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'.


Anything i can do to correct it? Thanks!

Zhongyuan

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

Reply via email to