[OpenIndiana-discuss] Upgrade to oi_151a8 fails on one machine

Richard Jones openindiana-discuss at jonze.com
Wed Aug 14 12:35:04 UTC 2013


On Wed, Aug 14, 2013 at 11:57:42AM +0100, Jon Tibble wrote:
> For debugging updates use the process here:
> 
> http://wiki.openindiana.org/oi/Troubleshooting+image-update+failures

Hi John, all,

I'm having trouble with the update, though I suspect it's a local issue:

pkg: An unexpected error happened during update: 
Traceback (most recent call last):
  File "/usr/bin/pkg", line 5954, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 5937, in main_func
    pargs=pargs, **opts)
  File "/usr/bin/pkg", line 2323, in update
    reject_list=reject_pats, update_index=update_index)
  File "/usr/bin/pkg", line 1583, in __api_op
    ret_code = __api_execute_plan(_op, _api_inst)
  File "/usr/bin/pkg", line 1269, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line
2130, in execute_plan
    self.__be_name)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/bootenv.py", line
428, in init_image_recovery
    img.find_root(self.clone_dir, exact_match=True)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line
522, in find_root
    exact_match, startd, d)
ImageNotFoundException

I don't know if this helps:

# beadm list
BE          Active Mountpoint Space Policy Created
openindiana NR     /          1.84G static 2013-04-08 06:49

# zfs list
NAME                        USED  AVAIL  REFER  MOUNTPOINT
hotspur                    8.18T  4.60T  8.01T  /hotspur
hotspur/swap               8.25G  4.60T   115K  -
hotspur/var                 783M  4.60T   783M  legacy
rpool                      2.48G  4.84G  44.5K  /rpool
rpool/ROOT                 1.77G  4.84G    31K  legacy
rpool/ROOT/openindiana     1.77G  4.84G  1.69G  /
rpool/dump                  729M  4.84G   729M  -
rpool/export                 99K  4.84G    32K  /export
rpool/export/home            67K  4.84G    32K  /export/home
rpool/export/home/richard    35K  4.84G    35K  /export/home/richard

Note that I moved /var onto pool made of real disks as rpool is on a USB
stick. If that makes any difference.

Thanks,

Richard

-- 
Richard Jones                                      +44 7843 588 599
              "Quod gratis asseritur, gratis negatur"              
Privacy notice:                   http://www.jonze.com/privacy.html



More information about the OpenIndiana-discuss mailing list