petede <[email protected]> writes:
[...] >> >> 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. That ouput is the same as the output posted above. > Within the pkg manager what does the File -> Manage Repositories show > in the list of repositories ? It'd probably take me a week to figure out how to get a screen shot, but the dialog box is fairly simple to describe. In the list toward the bottom of dialog box it says: Repo Name Preferred enabled opensolaris.org [X] [X] And thats it. >> When I switched the pkg manager... that should have taken care of >> publisher too right? > > When you say 'switched' what do you mean exactly ? First I changed the preferred designation from dev to opensolaris.org. When I saw that had not changed what `pkg search' shows, I then completely removed `dev' from the dialog. And as explained above the only repo in there now is opensolaris.org. And it has both preferred and enabled designations. >> 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 I get the part about the name I give (release-repo above) but: Where you have `-P -O http://pkg.opensolaris.org/release' Is the `release' actually the word release or some number goes there? I ask because I haven't seen that kind address for the released version before So far I've only used (inside pkg manager) http://pkg.opensolaris.org and http://pkg.opensolaris.org/dev I thought http://pkg.opensolaris.org meant the released version.... I haven't seen any other repo address showing `pkg.opensolaris.org/release' the only two I've used or seen (as above): http://pkg.opensolaris.org http://pkg.opensolaris.org/dev So I'm confused as to what `release' is supposed to represent in your command line. _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
