[OpenIndiana-discuss] onu broken today for oi_151a

2012-02-14 Thread Gary Mills
When I tried `onu' today for oi_151a, it failed:

# usr/src/tools/scripts/onu -t oi_151a_onu -d 
/home/mills/Downloads/code/illumos-gate/packages/i386/nightly
Created successfully
Mounted successfully on: '/tmp/onu.aEG8kg'
Packages to remove: 1
   Create boot environment:No
PHASEACTIONS
Removal Phase  55/55 

PHASE  ITEMS
Package State Update Phase   1/1 
Package Cache Update Phase   1/1
Image State Update Phase 2/2
WARNING: pkg(5) appears to be out of date, and should be updated before
running update.  Please update pkg(5) using 'pfexec pkg install
pkg:/package/pkg' and then retry the update.
pkg -R /tmp/onu.aEG8kg image-update failed: exit code 1
# pkg publisher
PUBLISHER TYPE STATUS   URI
openindiana.org  (preferred)  origin   online   
http://pkg.openindiana.org/dev/

How do I tell it to leave the pkg version alone?  If I only update
that one, will `onu' work normally again?

-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] onu broken today for oi_151a

2012-02-14 Thread Richard Lowe
the traditional reason to back publish or republish package/pkg has been to
fix bugs affecting upgrade, so this is intentional, though perhaps outdated.

Its not a bug anywhere, though it'd be nice if onu checked ahead of time
somehow to save trouble.

Workarounds.

- update pkg in the current BE.
- disable the openindiana publisher temporarily in the current be
(set-publisher -d)
- pkg -R /tmp/onu.* image-update -fto do the update by hand and the
activate the new BE.

-- Rich
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss