On 03/ 4/11 07:20 AM, Liane Praza wrote:
On 03/03/11 23:41, Kit Chow wrote:
On drycell-4, I am getting "No updates available for this image." when I
try to onu from a recent build. (I get the same message when I try to onu
from onnv-gate.) If it is significant, the system is currently running
snv147.

Please let me know how to get around this.

There's nothing to go on here. You haven't taken the first step to debug the problem. Somewhere in the late 150s, pkg will help you take that first step, but.. 147 is *really* old.


Kit,

A while back Liane had sent a flag day notice, which I am including below. What I would do is onu to 151a and then follow the directions below to upgrade to recent build either via onu or pkg update. Or you can netinstall the machine to a recent build ( depending on what you netinstall server has)
Sangeeta

===========
This is a flag day for all developers.

First, as preparation to ship Solaris 11 Express, the "opensolaris.org" IPS publisher is changing to "solaris". ON development bits do not set this publisher name, but if you do not follow the WOS release note for 151 to change your publisher name on test machines, you will get no more WOS updates. Eventually, once your build machines are updated to WOS 151 or greater, you also won't be able to update your test machines until the publisher is changed.

To reiterate, you MUST FOLLOW THE WOS RELEASE NOTES for build 151 to continue testing. They're linked here, in case you haven't seen them.
http://solaris.sfbay.sun.com/benet/S11/ReleaseNotes/snv_151.txt

Once you have done this, even if you're "onu"ing bits from older builds, you MUST USE the onu from after my putback. It understands the new publisher name, whereas the old one does not.

Second, the default behaviour of onu has changed in three significant ways:
  - Your updated BE is not reverted to its default publishers
    after upgrade.  This will make it easier to add packages later, but
    does mean you'll have to manually unconfigure the publishers if
    you no longer want them.  See the onu manpage for more details.

  - We now unmount the BE.  If you wish to manipulate it after
    onu'ing, use beadm to mount the BE.

  - onu uses file: publishers by default.  This eliminates a common
    use of the -r option, and onu will no longer start pkg.depotds
    for you.  You can always start them manually if you prefer
    to operate that way.

Here ends the flag day notices. However, as a reminder to all developers, onu is a crutch. It's well worth learning to set up and upgrade your test environment yourself. It's quite simple, especially if you're setting up an environment to always upgrade from the same workspace.

# pkg uninstall entire
# pkg set-publisher --non-sticky solaris
# pkg set-publisher --non-sticky opensolaris.org
# pkg set-publisher -e -P -O file:/path/to/repo.redist on-nightly
# pkg set-publisher -e --search-after=on-nightly \
  -O file:/path/to/repo.extra on-extra
# pkg image-update --accept

These instructions are repeated in usr/src/pkg/README.pkg, along with many other helpful comments about operating with IPS in ON.

liane
===============
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to