[osol-discuss] IPS publisher help

2011-04-26 Thread Andre Lue
Building an ips image, I start from snv_134 http://pkg.opensolaris.org/dev. I 
then upgrade this to illumos bits from a local nightly illumos repo.

What I don't understand is why no update will take place from snv_134 to 
snv_148/illumos nightly  unless I add http://pkg.openindiana.org/dev as an 
optional publisher and remove the opensolaris.org publisher.

PUBLISHER TYPE STATUS   URI
on-nightly   (preferred)  origin   online   http://localhost:1/

pkg refresh --full
pkg image-update

No updates available for this image.

# 2nd attempt after adding openindiana.org
PUBLISHER TYPE STATUS   URI
on-nightly   (preferred)  origin   online   http://localhost:1/
openindiana.org   origin   online   
http://pkg.openindiana.org/dev/

update starts and completes fine with source binaries from illumos nightly repo.

I'm trying to understand why I need the openindiana.org publisher and for what?

Shawn if you're out there, thanks in advance.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] IPS publisher help

2011-04-26 Thread Shawn Walker

On 04/26/11 08:38 AM, Andre Lue wrote:

Building an ips image, I start from snv_134 http://pkg.opensolaris.org/dev. I 
then upgrade this to illumos bits from a local nightly illumos repo.

What I don't understand is why no update will take place from snv_134 to 
snv_148/illumos nightly  unless I add http://pkg.openindiana.org/dev as an 
optional publisher and remove the opensolaris.org publisher.

PUBLISHER TYPE STATUS   URI
on-nightly   (preferred)  origin   online   http://localhost:1/

pkg refresh --full
pkg image-update

No updates available for this image.

# 2nd attempt after adding openindiana.org
PUBLISHER TYPE STATUS   URI
on-nightly   (preferred)  origin   online   http://localhost:1/
openindiana.org   origin   online   
http://pkg.openindiana.org/dev/

update starts and completes fine with source binaries from illumos nightly repo.

I'm trying to understand why I need the openindiana.org publisher and for what?

Shawn if you're out there, thanks in advance.


Because on-nightly alone isn't enough to upgrade your system. 
'on-nightly' has dependencies on things in the 'WOS', such as Python and 
others that are only available from openindiana.org's repository.


The solver in older builds such as the one you're using doesn't clearly 
express the failure, but essentially, it's telling you no updates 
available because it can't update you any farther because you're 
missing dependencies that would allow you to.


-Shawn
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org