pkgsend to create the empty repo works fine. I have opened bugs for the
2 messges below.
-- Alan
Shawn Walker wrote:
Alan Steinberg wrote:
I'm not sure if this is a bug or a config change that is needed: On
the latest pkg bits (bld 127) I cannot pkgrecv into an empty directory:
Yes, it will no longer automatically create a repository for you. You
should be seeing a different error message than that one.
The error message you should be seeing would suggest creating a
repository using 'pkgsend', which you can do this way:
pkgsend -s file:///var/pkg/repo0 create-repository --set-property
publisher.prefix=<publisher>
Please open a bug; it should tell you what was really wrong here (no
such repository).
$ pkgrecv -s file:///var/pkg/repo1 -d file:///var/pkg/repo0 `cat
fmrilist`
pkgrecv: publisher.prefix is required.
The repository configuration for the repository located at
'file:///var/pkg/repoalan' is not valid or the specified path does
not exist. Please correct the configuration of the repository or
create a new one.
I then copied the cfg_cache file from the source to the empty
destination dir, and then I get:
$ pkgrecv -s file:///var/pkg/repo1 -d file:///var/pkg/repo0 `cat
fmrilist`
pkgrecv: <function msg at 0x833eca4>
That's a bug; please file one.
pkgrecv does normally work though; I've used it and we have unit tests
for it. Unfortunately, I can't tell what the failure case is here.
Cheers,
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss