On 2010年07月15日 12:25, James C. McPherson wrote:
On 15/07/10 02:19 PM, Dave Lin wrote:
I'm running on snv_142. I got the following error when I tried to create
a file:// repo. on it.

$ pfexec pkgsend -s file://dtrepo/144/x create-repository --set-property
publisher.prefix=desktop
pkgsend: create-repository: Invalid repository URL:
'file://dtrepo/144/x': 'dtrepo' contains host information, which is not
supported for filesystem operations.

I think you're missing a /

Does this work:


pfexec pkgsend -s file:///dtrepo/144/x create-repository \
     --set-property publisher.prefix=desktop


assuming of course that /dtrepo is a valid directory on
your system

Ah, yes. it works now.

Btw, if I create a repo. as file://... at beginning, how can I switch to http://... so that users can access it via http?

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

Reply via email to