Thanks Shawn, removing the other three repository origins worked.  "pkg image-update" hung (well, I killed it after 16 hours, using 100% of one CPU for the 16 hours).   Removing these other repository origins fixed that, and now its updating.

Is is just me but having the remove repository origins in the add command (set vs unset) seems very counter intuitive, I had not even looked at the set command to find the delete, it never occurred to me it could be there.   While I see some logic in that the set command is "setting" properties, including removing properties I would suggest that removing stuff belongs in the unset command.


On Jun 2, 2010, at 2:58 PM, Shawn Walker wrote:

On 06/ 2/10 01:55 PM, Ceri Davies wrote:
# pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org <http://opensolaris.org> (preferred) origin online
http://ipkg.sfbay.sun.com/dev/
opensolaris.org <http://opensolaris.org> (preferred) origin online
http://ipkg.sfbay/dev/
opensolaris.org <http://opensolaris.org> (preferred) origin online
http://pkg.opensolaris.org/dev/
opensolaris.org <http://opensolaris.org> (preferred) origin online
http://pkg.opensolaris.org/release/

I now have four publishers under opensolaris.org
<http://opensolaris.org>, and can't delete the other 3
(can't delete preferred publisher, and they are all preferred).

The reason I wanted to do this was that the pkg image-update was not
working until I did a
pkg set-publisher -p http://ipkg.sfbay.sun.com/dev
as per Keith, but that was the fourth publisher. I would like to clean up?
pkg unset-publisher does not seem to have any options to even play with
this?

A publisher is the name or identity of a group, entity, or organisation that is providing packages.

A repository is where package data is stored.

In your particular case, you have one publisher, with four repository origins configured.

I've written a blog post that might help clarify here:
 http://blogs.sun.com/srw/entry/what_s_in_a_name

To answer your question though, I assume you're wanting to remove the additional repository origins you've specified?

In that case:

pfexec pkg set-publisher -G http://ipkg.sfbay/dev/ \
   -G http://pkg.opensolaris.org/dev/ \
   -G http://pkg.opensolaris.org/release/
      opensolaris.org

Cheers,
-Shawn

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

Reply via email to