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:
$ 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>
Please advise.
-- Alan
Shawn Walker wrote:
Alan Steinberg wrote:
Hi Shawn.
As a reminder, parallel publication is not supported at this time
via file://, only with http://. Various import tests have been
performed to verify that publication performance is roughly the same
as it was before.
In a review comment you also state:
In particular, this will eventually be needed since I've been told
that the ON build team would like to do parallel publication, which
is currently not supported (that is, multiple packages at once via
file://).
I'm still not following what you mean by parallel publication. What
exactly does "multiple packages at once" mean? Can you still use
pkgsend to copy a list of FMRIs from one repo directory to another? :
Parallel publication meaning multiple pkgsend or pkgrecv processes all
publishing packages to the same package repository using file://.
In short, when using file://, ensure that:
1) you are the only person using pkgrecv or pkgsend to publish to the
repository indicated by file://
2) that you do not have a pkg.depotd process running that is pointed
at the repository indicated by file://
pkgsend -s file:///var/pkg/repo1 -d file:///var/pkg/repo0 `cat fmrilist`
I think you mean pkgrecv here.
But yes, this should still work, and if it doesn't, please file a bug.
Cheers,
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss