On 5 Jul 2008, at 14:30, Petr Sobotka wrote:

> Hello,
>
> I have strange problem:
>
> Here is very simple pkgsend script which I used to import package to
> my local repository:
>
> #/usr/bin/ksh93
> cd /var/tmp/pkgbuild-petr/xdelta3.0t-build
> export PKG_REPO=http://localhost:80
> eval `pkgsend open [EMAIL PROTECTED]
> pkgsend add depend type=require fmri=SUNWcar

[...]

>    raise KeyError, "packages matching '%s' not found in catalog or  
> image" \
> KeyError: "packages matching 'pkg:/[EMAIL PROTECTED],5.11-0.91'
> not found in catalog or image"
>
> Why does pkg want to install postgres?

I don't think it does, but the basic problem seems to be that having  
dependencies on packages in another repository (authority) is  
currently quite broken.

I suspect the only solution that'll work is to recreate the package  
without the cross-repo dependency line. Obviously that's a temporary  
hack, and I haven't tried it myself.

> Package SUNWcar I have installed.
> Before installing it I switch preferred authority to my local  
> repository.

That's the other potential workaround. It didn't work for me either :-(

Cheers,

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

Reply via email to