On 01/28/11 12:46 PM, Joe Higgins wrote:
I have created a repo with 2 publishers.

The following command confirms.

root@brunel:/joe# pkgrepo info -s file:/repo/repo2
PUBLISHER PACKAGES STATUS UPDATED
JWH 1 online 2011-01-28T21:38:29.399953Z
solaris 11 online 2011-01-27T21:11:00.708433Z

Adding JWH as a publisher works fine.

root@brunel:/joe# pkg set-publisher -p file:/repo/repo2 JWH
pkg set-publisher:
Updated publisher(s): JWH


However when I try to add solaris as a publisher it does not work

root@brunel:/joe# pkg set-publisher -p file:/repo/repo2 solaris
pkg set-publisher: failed to add or update one or more publishers
solaris:
The specified repository location is not a known source of publisher
configuration updates for 'solaris'.

This new repository location must be added as an origin to the publisher
to accept configuration updates from this repository.


-- Is this a known defect or user error ?

User error; feel free to suggest changing the wording of it though.

In short, it's attempting to tell you that you already have the 'solaris' publisher configured with a *different* repository, and because of that, it wants you to manually add the new repository or replace the existing one.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to