Rob McMahon wrote:
> I see people recommending that you not do this, but rather change the 
> URI of the opensolaris.org publisher, but I haven't seen why.  I thought 
> the point was that you could have a list of publishers, and flip between 
> them.  Is there something magic about a publisher called 
> opensolaris.org, or does it confuse things to have two publishers with 
> similar packages ?  What am I letting myself in for ?

Two primary reasons:

* eventually, the package client won't let you choose the name for the 
publisher -- it will get that from the package repository

* the name of a publisher has subtle effects on how we determine whether 
we can upgrade packages

Here's the related text from the latest man page update for the 
set-publisher command:

---

With -P, set the specified publisher as the preferred publisher.  When
installing new packages, the preferred publisher will be checked first
when determining which package repositories should be used for the
retrieval of package content and metadata during package operations.
When updating existing packages, if a package was installed from a
publisher that was preferred at the time of install, then updates will
be obtained from the current preferred publisher.  For packages that
were installed from a publisher that was not preferred at the time of
install, updates will always be obtained from the original publisher
regardless of the current, preferred publisher.

---

In short, the package system doesn't consider packages from different 
publishers equivalent, so if you start mixing and matching publisher 
names, some may get "stuck" and not be upgraded.

Cheers,
-- 
Shawn Walker

Reply via email to