Jens Deppe wrote:

> Hello,
> 
> "Hypothetical" situation:
> 
> Given a system with a base install of 2009.06, I add an additional
> publisher for ipkg.sfbay/support in order to install, say, SRU1. So
> 'pkg publisher' shows this:
> 
> opensolaris.org          (preferred)  origin   online 
> http://pkg.opensolaris.org/release/
> support                               origin   online 
> http://ipkg.sfbay/support

Note that the /support repo is really supposed to completely supplant
/release -- that is, rather than adding /support (under whatever name), you
should simply change the URL of opensolaris.org to that of the support repo.

In newer versions of pkg(5), this is enforced, as the client requires you
to use the same publisher prefix as the publisher itself advertises, and
both these repos advertise "opensolaris.org" as their prefix, forcing only
one to be configured at a time.

> At some point that person wants to update to a newer SRU. Am I correct in
> understanding that they will have to re-add a publisher called 'support'
> (actual URL irrelevant) before they are able to perform the update?

It would be best, yes.  Otherwise, the system would get very confused.
Even more confused than it already is by having two repos with essentially
the same content under two different names.

> Also, is there any other way, other than say querying the 'entire'
> package to look for the previously used publisher, that they would
> know to use this specific name for their publisher?

You should be able to use "pkg list" for this, but there's no particular
package you're supposed to do this for.  Primarily because you're not
really running in a supportable configuration as it is.

Danek

Reply via email to