Hi,

I'm trying to install current (b146, or newer) onnv bits compiled from
the mercurial repository,
but it fails.  Base system is OpenSolaris dev b134.

In the past, onu used to install/update/delete a few thousand files,
and the onu update
process worked fine.  Now it updates about fifty files, and the
updated BE starts the
old b134 kernel.  I.e. onu does not update any more.


The onu output for a failed update looks like this:

# /opt/onbld/bin/onu -v -O -s osol_201003_134-2 -t b147jk_onu -d
/files/snv_147_jk/packages/i386/nightly-nd
starting pkg.depotd -d
/files/snv_147_jk/packages/i386/nightly-nd/repo.redist -p 13000
beadm create -e osol_201003_134-2 b147jk_onu
[07/Aug/2010:17:49:17] ENGINE Listening for SIGHUP.
[07/Aug/2010:17:49:17] ENGINE Listening for SIGTERM.
[07/Aug/2010:17:49:17] ENGINE Listening for SIGUSR1.
[07/Aug/2010:17:49:17] ENGINE Bus STARTING
[07/Aug/2010:17:49:17] ENGINE Started monitor thread '_TimeoutMonitor'.
[07/Aug/2010:17:49:17] ENGINE Serving on 0.0.0.0:13000
[07/Aug/2010:17:49:17] ENGINE Bus STARTED
[07/Aug/2010:17:49:18] INDEX Updating search indexes
beadm mount b147jk_onu /tmp/onu.JHaiQl
pkg -R /tmp/onu.JHaiQl uninstall entire
PHASE                                        ACTIONS
Removal Phase                                  54/54
pkg -R /tmp/onu.JHaiQl set-publisher --no-refresh --non-sticky opensolaris.org
pkg -R /tmp/onu.JHaiQl set-publisher -e --no-refresh -P -O
http://localhost:13000/ on-nightly
pkg -R /tmp/onu.JHaiQl refresh --full
Refreshing catalog 3/4 opensolaris.org[07/Aug/2010:17:49:58] INDEX
Search indexes updated and available.
pkg -R /tmp/onu.JHaiQl image-update
PHASE                                        ACTIONS
Removal Phase                                  46/46
Install Phase                                  47/47
Update Phase                                   22/22
b147jk_onu has been updated successfully

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://docs.sun.com/doc/821-1479
---------------------------------------------------------------------------

pkg -R /tmp/onu.JHaiQl set-publisher -P opensolaris.org
pkg -R /tmp/onu.JHaiQl set-publisher -d on-nightly
beadm activate b147jk_onu
[07/Aug/2010:17:51:52] ENGINE Caught signal SIGTERM.
[07/Aug/2010:17:51:52] ENGINE Bus STOPPING
[07/Aug/2010:17:51:52] ENGINE HTTP Server
cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 13000)) shut down
79.79u 5.54s 2:35.67 54.8%
fritz 137# [07/Aug/2010:17:51:52] ENGINE Stopped thread '_TimeoutMonitor'.
[07/Aug/2010:17:51:52] ENGINE Bus STOPPED
[07/Aug/2010:17:51:52] ENGINE Bus EXITING
[07/Aug/2010:17:51:52] ENGINE Bus EXITED
[07/Aug/2010:17:51:52] ENGINE Waiting for child threads to terminate...





I tried some commands from the onu script on a manually created
BE, which I mounted to /mnt2

# pkg -R /mnt2 publisher
PUBLISHER                             TYPE     STATUS   URI
on-nightly               (preferred)  origin   online   http://localhost:13000/
opensolaris.org          (disabled)   origin   online
http://pkg.opensolaris.org/dev/
contrib.opensolaris.org               origin   online
http://pkg.opensolaris.org/contrib/
extra                                 origin   online
https://pkg.sun.com/opensolaris/extra/


# pkg -R /mnt2 list -af osnet-incorporation
NAME (PUBLISHER)                              VERSION         STATE      UFOXI
consolidation/osnet/osnet-incorporation       0.5.11-0.147    known      -----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.134
   installed  u----


# pkg -R /mnt2 install -nv [email protected] > /tmp/log

pkg: No solution was found to satisfy constraints



In the output for the osnet-incorporation installation attempt, I see two
identical "FAIL" messages:

                incorporate: pkg:/install/[email protected],5.11-0.147
                                FAIL: no suitable newer version for
installed pkg 
pkg://opensolaris.org/install/[email protected],5.11-0.134:20100302T031110Z
                                   Ruled out
pkg://on-nightly/install/[email protected],5.11-0.147:20100806T204314Z
because: This version is excluded by installed incorporation
pkg://opensolaris.org/consolidation/install/[email protected],5.11-0.134:20100302T010520Z


# pkg -R /mnt2 list -af install/beadm
NAME (PUBLISHER)                              VERSION         STATE      UFOXI
install/beadm                                 0.5.11-0.147    known      -----
install/beadm (opensolaris.org)               0.5.11-0.134    installed  u----



What exactly is broken here?

How can I use onu to install current onnv bits on top of OpenSolaris dev b134 ?
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to