Hi

I thought I would try some of those tests you suggested. First of all the Directory with the updated cooker files on the ftp server is :
/home/spluess/Mandrake-devel
So I tried the following curl command:


[Serge-Pluesss-Computer:~] root# curl -k --location-trusted -R -f --stderr - -z harddrake-9.2-0.21mdk.i586.rpm -O ftp://spluess:[EMAIL PROTECTED]//home/spluess/Mandrake-devel/cooker/i586/ Mandrake/RPMS/harddrake-9.2-0.21mdk.i586.rpm

This is the result of that command:

curl: (9) Couldn't cd to home

So then I tried it without the double //:

[Serge-Pluesss-Computer:~] root# curl -k --location-trusted -R -f --stderr - -z harddrake-9.2-0.21mdk.i586.rpm -O ftp://spluess:[EMAIL PROTECTED]/home/spluess/Mandrake-devel/cooker/i586/ Mandrake/RPMS/harddrake-9.2-0.21mdk.i586.rpm

Same result:

curl: (9) Couldn't cd to home

then I thought I might try not to specify the /home/spluess part as the Mandrake-devel folder is under the user accounts home directory:

[Serge-Pluesss-Computer:~] root# curl -k --location-trusted -R -f --stderr - -z harddrake-9.2-0.21mdk.i586.rpm -O ftp://spluess:[EMAIL PROTECTED]/Mandrake-devel/cooker/i586/Mandrake/RPMS/ harddrake-9.2-0.21mdk.i586.rpm

That command just hangs. Same also for double // between dbdev and Mandrake-devel

Then I tried adding --disable-epsv, same results as above

curl -l ftp://spluess:[EMAIL PROTECTED]/ also just hangs

so then I tried to add -P and I got the file listing from my home dir with the -l command

Next try was the transfer command above with the -P option and this time it worked, but only without the /home/spluess part in the ftp path:

[Serge-Pluesss-Computer:~] root# curl -k --location-trusted -P -R -f --stderr - -z harddrake-9.2-0.21mdk.i586.rpm -O ftp://spluess:[EMAIL PROTECTED]/Mandrake-devel/cooker/i586/Mandrake/RPMS/ harddrake-9.2-0.21mdk.i586.rpm

and here is the output

% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
100 77206 100 77206 0 0 296k 0 0:00:00 0:00:00 0:00:00 787k


But to come back to the actual urpmi I think like you said that curl has a problem when the path is specified from the / directory (such as /home/spluess) whereas wget doesn't seem to have that same problem as it works just fine with urpmi:

[Serge-Pluesss-Computer:~] root# urpmi -v kdeedu
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib.cz]
would install instead of upgrade package kernel-2.4.21.6mdk-1-1mdk.i586
would install instead of upgrade package kernel2.4-marcelo-2.4.21-2mdk.i586
would install instead of upgrade package kernel-secure-2.4.21.6mdk-1-1mdk.i586
would install instead of upgrade package kernel-enterprise-2.4.21.6mdk-1-1mdk.i586
would install instead of upgrade package kernel-smp-2.4.21.6mdk-1-1mdk.i586
would install instead of upgrade package kernel22-smp-2.2.20-9mdk.i586
would install instead of upgrade package kernel-linus2.2-2.2.20-4mdk.i586
would install instead of upgrade package kernel22-2.2.20-9mdk.i586
To satisfy dependencies, the following packages are going to be installed (25 MB):
kdeedu-3.1.2-6mdk.i586
libkdeedu1-3.1.2-6mdk.i586
Is this OK? (Y/n)


retrieving rpm files from medium "Installation"...
ftp://spluess:[EMAIL PROTECTED]//home/spluess/Mandrake-devel/cooker/i586/ Mandrake/RPMS/libkdeedu1-3.1.2-6mdk.i586.rpm
...retrieving failed: curl failed: exited with 9 or signal 0


Installation failed, some files are missing:
ftp://spluess:[EMAIL PROTECTED]//home/spluess/Mandrake-devel/cooker/i586/ Mandrake/RPMS/kdeedu-3.1.2-6mdk.i586.rpm
ftp://spluess:[EMAIL PROTECTED]//home/spluess/Mandrake-devel/cooker/i586/ Mandrake/RPMS/libkdeedu1-3.1.2-6mdk.i586.rpm
You may want to update your urpmi database


And here is the same with the --wget argument:

[Serge-Pluesss-Computer:~] root# urpmi -v --wget kdeedu
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib.cz]
would install instead of upgrade package kernel-2.4.21.6mdk-1-1mdk.i586
would install instead of upgrade package kernel2.4-marcelo-2.4.21-2mdk.i586
would install instead of upgrade package kernel-secure-2.4.21.6mdk-1-1mdk.i586
would install instead of upgrade package kernel-enterprise-2.4.21.6mdk-1-1mdk.i586
would install instead of upgrade package kernel-smp-2.4.21.6mdk-1-1mdk.i586
would install instead of upgrade package kernel22-smp-2.2.20-9mdk.i586
would install instead of upgrade package kernel-linus2.2-2.2.20-4mdk.i586
would install instead of upgrade package kernel22-2.2.20-9mdk.i586
To satisfy dependencies, the following packages are going to be installed (25 MB):
kdeedu-3.1.2-6mdk.i586
libkdeedu1-3.1.2-6mdk.i586
Is this OK? (Y/n)


retrieving rpm files from medium "Installation"...
ftp://spluess:[EMAIL PROTECTED]//home/spluess/Mandrake-devel/cooker/i586/ Mandrake/RPMS/libkdeedu1-3.1.2-6mdk.i586.rpm
ftp://spluess:[EMAIL PROTECTED]//home/spluess/Mandrake-devel/cooker/i586/ Mandrake/RPMS/kdeedu-3.1.2-6mdk.i586.rpm
...retrieving done
installing /var/cache/urpmi/rpms/kdeedu-3.1.2-6mdk.i586.rpm /var/cache/urpmi/rpms/libkdeedu1-3.1.2-6mdk.i586.rpm
starting installing packages
created transaction for installing on / (remove=0, install=0, upgrade=2)
adding package kdeedu-3.1.2-6mdk.i586 (id=1087, eid=1087, update=1, file=/var/cache/urpmi/rpms/kdeedu-3.1.2-6mdk.i586.rpm)
adding package libkdeedu1-3.1.2-6mdk.i586 (id=1032, eid=1032, update=1, file=/var/cache/urpmi/rpms/libkdeedu1-3.1.2-6mdk.i586.rpm)
Preparing... ##################################################
1:kdeedu ##################################################
2:libkdeedu1 ##################################################



Hope all this helps


Serge

On Wednesday, July 23, 2003, at 02:28 AM, Fran�ois Pons wrote:

lamikr_mdk <[EMAIL PROTECTED]> writes:

$ curl -k --location-trusted -R -f --stderr - -z
harddrake-9.2-0.19mdk.i586.rpm -O
ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/ harddrake-9.2-0.19mdk.i586.rpm
curl: (7) Connect failed
$ echo $?
7

Well, can you try with a simple ping to check 192.168.10.100 is up when you
check curl. After that, check curl without -k --location-trusted and after that
check with
curl ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/ harddrake-9.2-0.19mdk.i586.rpm
directly without more option.


You are sure of not using a proxy for accessing files ?

If so, can you continue trying curl with --disable-epsv to the above tests.

Thanks,
Fran�ois.




Reply via email to