On 01/24/10 05:38 PM, B wrote:
pkg unset-publisher opensolaris.org
pkg: unset-publisher:
Removal failed for 'opensolaris.org': The preferred publisher cannot be removed.
$ pfexec pkg set-publisher -P -O http://pkg.opensolaris.org/dev/ opensolaris.org
pkg: Could not refresh the catalog for opensolaris.org
This is strange, this is the output from me changing publishers:
bash-4.0$ pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://pkg.opensolaris.org/dev/
Opensolaris-Contrib origin online
http://pkg.opensolaris.org/contrib/
Extras origin online
https://pkg.sun.com/opensolaris/extra/
Multimedia origin online
http://opensolaris.homeunix.com:10906/
Sunfreeware (disabled) origin online
http://pkg.sunfreeware.com:9000/
Blastwave (disabled) origin online
http://blastwave.network.com:10000/
KDE origin online
http://solaris.bionicmutton.org:10001/
pending.opensolaris.org origin online
http://jucr.opensolaris.org/pending/
bash-4.0$ pfexec pkg set-publisher -O http://pkg.opensolaris.org/release
opensolaris.org
bash-4.0$ pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://pkg.opensolaris.org/release/
Opensolaris-Contrib origin online
http://pkg.opensolaris.org/contrib/
Extras origin online
https://pkg.sun.com/opensolaris/extra/
Multimedia origin online
http://opensolaris.homeunix.com:10906/
Sunfreeware (disabled) origin online
http://pkg.sunfreeware.com:9000/
Blastwave (disabled) origin online
http://blastwave.network.com:10000/
KDE origin online
http://solaris.bionicmutton.org:10001/
pending.opensolaris.org origin online
http://jucr.opensolaris.org/pending/
bash-4.0$ pfexec pkg set-publisher -O http://pkg.opensolaris.org/dev/
opensolaris.org
bash-4.0$ pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://pkg.opensolaris.org/dev/
Opensolaris-Contrib origin online
http://pkg.opensolaris.org/contrib/
Extras origin online
https://pkg.sun.com/opensolaris/extra/
Multimedia origin online
http://opensolaris.homeunix.com:10906/
Sunfreeware (disabled) origin online
http://pkg.sunfreeware.com:9000/
Blastwave (disabled) origin online
http://blastwave.network.com:10000/
KDE origin online
http://solaris.bionicmutton.org:10001/
pending.opensolaris.org origin online
http://jucr.opensolaris.org/pending/
bash-4.0$
you'll see I originally had the development as my preferred. Then I
decided to add the release without the -P but the same name as the
development and you can see the preferred publisher was replaced with
the release publisher. I guess only one publisher can exist with the
same name. In the second set I set everything back to where the
development was the publisher for opensolaris.org. Again without the "-P".
So, I don't know why it's not working for you. I'll have to think and
research.
Paul
_______________________________________________
opensolaris-help mailing list
[email protected]