On 07/14/10 09:32 PM, [email protected] 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.

You're missing a forward slash - the URI syntax is file://<full path>
as in

file:///dtrepo/144/x

Actually, both of the following are valid syntaxes:

  file:<absolute_path>  as in file:/path/to/directory

  file://<absolute_path> as in file:///path/to/directory

Cheers,
-Shawn


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

Reply via email to