On 13 Dec 2009, at 19:46, Chris Ridd wrote: > canopus% pkg publisher > PUBLISHER TYPE STATUS URI > opensolaris.org (preferred) origin online > http://pkg.opensolaris.org/dev/ > canopus origin online http://localhost/ > extra origin online > https://pkg.sun.com/opensolaris/extra/ > canopus% pkg info SUNWipkg > Name: SUNWipkg > Summary: Image Packaging System > Description: Image Packaging System > Category: System/Packaging > State: Installed > Publisher: opensolaris-dev > Version: 0.5.11 > Build Release: 5.11 > Branch: 0.128 > Packaging Date: 25 November 2009 02:24:53 > Size: 3.64 MB > FMRI: > pkg://opensolaris-dev/[email protected],5.11-0.128:20091125T022453Z
Assuming that my changing of the publisher name from opensolaris-dev to opensolaris.org broke things, I tried to rename my preferred publisher: /usr/bin/pkg set-publisher -g http://pkg.opensolaris.org/dev/ opensolaris-dev /usr/bin/pkg set-publisher -P opensolaris-dev /usr/bin/pkg unset-publisher opensolaris.org (all of which succeeded) (Using -g because the man page does not document -O any more.) This just results in pkg refresh failing: --- /usr/bin/pkg refresh Refreshing catalog 2/3 opensolaris-dev The catalog retrieved for publisher 'opensolaris-dev' only contains package data for these publisher(s): opensolaris.org. To resolve this issue, update this publisher to use the correct repository origin, or add one of the listed publishers using this publisher's repository origin. To correct the repository origin, execute the following command as a privileged user: pkg set-publisher -O <url> opensolaris-dev To add a new publisher using this publisher's repository origin, execute the following command as a privileged user: pkg set-publisher -O http://pkg.opensolaris.org/dev/ <publisher> After the new publisher has been added, this one should be removed by executing the following command as a privileged user: pkg unset-publisher opensolaris-dev --- Help? Cheers, Chris _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
