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?

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

pkg publisher -a might be useful as well.


Within the pkg manager what does the File -> Manage Repositories show in the list of repositories ?

Any chance of a screen shot ?


When I switched the pkg manager... that should have taken care of
publisher too right?

When you say 'switched' what do you mean exactly ?

I mean, I see it DID NOT but is that the expected behavior?

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.


So you would want to do something like:

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

The -P indicates the preferred repo to use and thus is optional.
The -O <url> indicates the URL for the repository
The last argument is the 'name' you give it

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

Reply via email to