Gary Mills wrote:
>> Gary Mills wrote:
>>>> Gary Mills wrote:
>>>>> pkg.depotd: repository configuration error:
>>>> publisher.prefix is required.
>>>>> Please use the --set-property option to provide a
>>>> value, or update the cfg_cache file for the
>>>> repository to correct this.
>>>>
>>>> However, the properties are documented for the
>> moment
>>>> in the pkg.depotd 
>>>> man page, and you can easily edit the cfg_cache
>> file
>>>> or manually start 
>>>> the depot server with the necessary options to set
>>>> the configuration.
>>> Except that you can't edit the cfg_cache file
>> because
>>> the server won't create it until after the
>> publisher prefix
>>> is set.  It's a catch 22 situation.  Admins
>> shouldn't have
>>> to start the server manually.
>> Ah, if you're creating a new repository, then you can
>> use pkgsend to do 
>> this:
>>
>> pkgsend -s file:///path/to/repo create-repository
>> --set-property 
>> publisher.prefix=foo
> 
> Except that it won't work because the server won't start.
> Catch 22 again!

No, that will work.  That's why it's *create-repository*.  Please read 
the man page.  There's no catch 22 here.

Cheers,
-- 
Shawn Walker

Reply via email to