On 03/11/10 02:52 PM, Muthukumar R wrote:
Hi All,
I am trying to get a bunch of pkgs using pkgrecv in a bash script like:

pkgrecv -s http://pkg.opensolaris.org/dev -d file:///pkgs
<pkg-name>@<version>

where pkg-names and their versions are from a file. I see the pkgrecv
receives some packages and then get stuck at

Retrieving catalog<...>

I have to stop and restart the script to get it going. And the pacakge
it waits for is random (some times 10th package some time 5 th package
etc).

Is this a known issue. Any env variable needs to be set for this?

The pkgrecv command uses a transport subsystem that is fairly sensitive to network problems. However, I've not heard of this particular issue before.

If you normally use a proxy, set the HTTP_PROXY environment variable.

Finally, did you really mean file:///pkgs? That translates to '/pkgs' which would be a directory called 'pkgs' in your root filesystem.

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

Reply via email to