I tried your suggestion two ways:

1. /usr/bin/curl (version 7.8, comes with RedHat)
This works fine

2. $root/lib/openpkg/curl
Does not work.

I added -v to examine the differences between them:

1. /usr/bin/curl:
> CWD release/2.0
< 250 CWD command successful.
> PASV
< 227 Entering Passive Mode (195,27,176,150,15,117).
* Connecting to master.openpkg.org (195.27.176.150) port 3957
* Connected the data stream!
> TYPE I
< 200 Type set to I
> RETR 00INDEX.rdf
< 150 Opening BINARY mode data connection for 00INDEX.rdf (474 bytes)
* Getting file with size: 474


2. $root/lib/openpkg/curl

< 250 CWD command successful.
> CWD 2.0
< 250 CWD command successful.
> EPSV
< 229 Entering Extended Passive Mode (|||3972|)
* About to connect() to ftp.openpkg.org port 3972


And that's where it hangs.

It's possible that there is a firewall issue, or is there something else
going on with PASV vs. EPSV ?




On Tue, 6 Apr 2004, Michael van Elst wrote:

> On Tue, Apr 06, 2004 at 04:22:57PM -0500, Vinod Kutty wrote:
>
> > FATAL: an I/O error occured
>
> > I can wget the above 00INDEX.rdf with no probs, so I don't think it's a
> > network connectivity issue.
>
> Maybe a firewall or proxy issue ?
>
> The tool uses 'curl' to read the index into a pipe, the message says that
> something went wrong when reading from the pipe.
>
> To verify operation you should try 'curl' from the openpkg bootstrap
> (still $prefix/lib/openpkg/curl ?) instead of 'wget'. E.g.:
>
> curl -q -s -o - ftp://ftp.openpkg.org/release/2.0/00INDEX.rdf >00INDEX.rdf
>
> A compressed index would be also sent through 'bzip2' from the openpkg
> bootstrap which may also fail. But in your case the index is not compressed.
>
> Greetings,
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to