Harry Putnam wrote:
Shawn Walker <[email protected]> writes:

Harry Putnam wrote:
I've reverted the pkg manager from defaulting to dev to default to
released.
I hadn't made the jump to b117 and am at:
  OpenSolaris 2009.06 snv_111b X86

In fact I completely removed dev from repository list in the pkg
manager.

But still I see pkg.names ending 117 when I run pkg search PKG
or search inside pkg manager.

Or to be more specific `pkg search iftop'
INDEX      ACTION    VALUE                     PACKAGE
basename   file      usr/sbin/iftop            pkg:/[email protected]
basename   file      usr/sbin/iftop            pkg:/[email protected]
basename   file      usr/sbin/iftop            pkg:/[email protected]
basename   file      usr/sbin/iftop            pkg:/[email protected]
description set       iftop                     pkg:/[email protected]
description set       iftop                     pkg:/[email protected]
pkg.description set       iftop                     pkg:/[email protected]
pkg.description set       iftop                     pkg:/[email protected]
pkg.summary set       iftop                     pkg:/[email protected]
pkg.summary set       iftop                     pkg:/[email protected]
What is the output of "pkg publisher" ?

 pkg publisher
 PUBLISHER                             TYPE     STATUS   URI
 opensolaris.org          (preferred)  origin   online   
http://pkg.opensolaris.org/dev/

Should that be like that after removing dev from pkg manager?

Yes. It appears you changed the repository for the opensolaris.org publisher.

The pkg manager shows only 1 repo... and its not dev.

Did you change it from the command line after changing it in the GUI or vice-versa? You can't change it in both programs at the same time.

Also, dinking around with pkg and various flags like -P or
set-publisher... I'm apparently not getting the syntax right... and
the commands are failing.
They do appear to be in accord with man `pkg but'... I may not
understanding what I'm seeing there.

 pkg set-publisher  http://pkg.opensolaris.org
 pkg: set-publisher: publisher does not exist. Use -O to define origin URI for 
new publisher.

 pkg -P  http://pkg.opensolaris.org
 pkg: illegal global option -- P

The examples in man pkg do not appear to show how to set or change publisher.

Example 7 shows how to add a new one, and there are a few others fairly applicable.

This is how you change to the release repository:

pfexec pkg set-publisher -O http://pkg.opensolaris.org/release opensolaris.org

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

Reply via email to