OpenIndiana upgrade 134->151 fails (ibp package)

root@eddie:/# beadm list
BE                  Active Mountpoint Space   Policy Created
—                  —— ———- —–   —— ——-
openindiana_134     –      –          877.82M static 2011-07-03 23:48
snv_131             –      –          62.97M  static 2010-01-24 10:46
snv_131_3rdpty_atge –      –          23.31M  static 2010-01-23 23:58
snv_134b            –      –          80.42M  static 2010-11-17 21:57
snv_151a            NR     /          24.43G  static 2010-11-18 00:59
root@eddie:/# beadm create -e openindiana_134 openindiana_151
root@eddie:/# beadm mount openindiana_151 /mnt
root@eddie:/# pkg -R /mnt publisher
PUBLISHER                             TYPE     STATUS   URI
openindiana.org          (preferred)  origin   online   http://pkg.openindiana.org/dev/
opensolaris.org          (non-sticky) origin   online   http://pkg.opensolaris.org/dev/
root@eddie:/# pkg -R /mnt unset-publisher opensolaris.org
root@eddie:/# pkg -R /mnt publisher
PUBLISHER                             TYPE     STATUS   URI
openindiana.org          (preferred)  origin   online   http://pkg.openindiana.org/dev/
root@eddie:/# pkg -R /mnt image-update
Packages to remove:   800
Packages to install:   217
Packages to update:   618
Create boot environment:    No
Services to restart:    11
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1635/1635 53073/53073  650.9/650.9

PHASE                                        ACTIONS
Removal Phase                            20406/35660
Warning – directory /mnt/var/sadm/pkg/SUNWsacom not empty or not expected during operation – contents preserved in /mnt/var/pkg/lost+found/var/sadm/pkg/SUNWsacom-20110919T054053Z
Removal Phase                            20869/35660
Warning – directory /mnt/usr/share/icons/Neutral_Plus_Inv not empty or not expected during operation – contents preserved in /mnt/var/pkg/lost+found/usr/share/icons/Neutral_Plus_Inv-20110919T054054Z
Removal Phase                            35660/35660
Install Phase                            30090/36555

Action install failed for ‘kernel/drv/ibp.conf’ (pkg://openindiana.org/driver/network/ibp):
  AttributeError: ‘NoneType’ object has no attribute ‘version’
The Boot Environment openindiana_151 failed to be updated. A snapshot was taken before the failed attempt and has been restored so no changes have been made to openindiana_151.
pkg: An unexpected error happened during update: ‘NoneType’ object has no attribute ‘version’
Traceback (most recent call last):
  File “/usr/bin/pkg”, line 4225, in handle_errors
    __ret = func(*args, **kwargs)
  File “/usr/bin/pkg”, line 4204, in main_func
    return func(img, pargs)
  File “/usr/bin/pkg”, line 1570, in update
    ret_code = __api_execute_plan(op, api_inst)
  File “/usr/bin/pkg”, line 1001, in __api_execute_plan
    api_inst.execute_plan()
  File “/usr/lib/python2.6/vendor-packages/pkg/client/api.py”, line 828, in execute_plan
    self.__img.imageplan.execute()
  File “/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py”, line 1226, in execute
    p.execute_install(src, dest)
  File “/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py”, line 336, in execute_install
    dest.install(self, src)
  File “/usr/lib/python2.6/vendor-packages/pkg/actions/file.py”, line 141, in install
    pres_type = self.__check_preserve(orig, pkgplan)
  File “/usr/lib/python2.6/vendor-packages/pkg/actions/file.py”, line 360, in __check_preserve
    pkgplan.destination_fmri.version < pkgplan.origin_fmri.version:
AttributeError: ‘NoneType’ object has no attribute ‘version’

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 ‘052adf36c3f4’.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: