Do it this way:

pkgrepo create /tmp/repo
pkgrepo set -s /tmp/repo -p myprefix publisher/alias=
pkgrepo refresh -s /tmp/repo

-Shawn

That makes the refresh operation work.
To get the importer to work, I also had to set the default publisher.

    pkgrepo create $REPOURI
    pkgrepo set -s $REPOURI publisher/prefix=myprefix
    pkgrepo set -s $REPOURI -p myprefix publisher/alias=
    pkgrepo refresh -s $REPOURI




On Tuesday November 2    11:19AM, Shawn Walker wrote:
On 11/ 2/10 10:57 AM, Chris Quenelle wrote:

I suspect the issue is then that there's simply no catalog yet in the
repository you created and the importer doesn't handle that correctly.

If you haven't opened a bug yet for this, please do so.

In the meantime, I believe you can workaround the issue by executing
'pkgrepo refresh -s /tmp/repodir' after 'pkgrepo set' as that will
create an empty catalog.

-Shawn

% pkgrepo create r
% pkgrepo set -s r publisher/prefix=myprefix
% pkgrepo refresh -s r
Repository refresh initiated.
pkgrepo: Operation not supported for this configuration.

Do it this way:

pkgrepo create /tmp/repo
pkgrepo set -s /tmp/repo -p myprefix publisher/alias=
pkgrepo refresh -s /tmp/repo

-Shawn

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

Reply via email to