[OpenIndiana-discuss] managing repositories

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Sun Nov 11 18:37:29 UTC 2012


On Sun, 11 Nov 2012, "Weiergräber, Oliver H." wrote:
>
> Didn't get any errors or warnings with these commands, but it seems 
> to me that the "-p" option does not really exist. There is only a 
> "-P" switch (upper case!), which marks a repository as preferred. 
> But we don't want to generally prefer sfe over the core repository, 
> do we? In fact, "pkg publisher" does not list any flags (such as

SFE packages are usually newer so they may be preferred.

> "preferred").
>
> So... what is the "-p" option meant to do? Is it maybe silently ignored?

I see it in the help output from 'pkg':

         pkg set-publisher [-Ped] [-k ssl_key] [-c ssl_cert]
             [-g origin_to_add|--add-origin=origin_to_add ...]
             [-G origin_to_remove|--remove-origin=origin_to_remove ...]
             [-m mirror_to_add|--add-mirror=mirror_to_add ...]
             [-M mirror_to_remove|--remove-mirror=mirror_to_remove ...]
             [-p repo_uri] [--enable] [--disable] [--no-refresh]
             [--reset-uuid] [--non-sticky] [--sticky]
             [--search-after=publisher]
             [--search-before=publisher]
             [--search-first]
             [--approve-ca-cert=path_to_CA]
             [--revoke-ca-cert=hash_of_CA_to_revoke]
             [--unset-ca-cert=hash_of_CA_to_unset]
             [--set-property name_of_property=value]
             [--add-property-value name_of_property=value_to_add]
             [--remove-property-value name_of_property=value_to_remove]
             [--unset-property name_of_property_to_delete]
             [publisher]


Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


More information about the OpenIndiana-discuss mailing list