Re: [Cooker] curl problems with urpmi - follow-up question
Robert Fox [EMAIL PROTECTED] writes: With the first suggestion - I get the contents of the home directory for user robert (with ftp://robert:[EMAIL PROTECTED]//) The other, I received this: [EMAIL PROTECTED] rfox]# curl -l ftp://robert:[EMAIL PROTECTED]//mnt/ curl: (9) Couldn't cd to mnt Ok, looks like using curl with user authentification can only fetch from home directory of the user and not root directory. Curl works with 9.1 - so what has changed since then? A new curl ? François.
Re: [Cooker] curl problems with urpmi - follow-up question
On Thu, 2003-07-24 at 09:27, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: With the first suggestion - I get the contents of the home directory for user robert (with ftp://robert:[EMAIL PROTECTED]//) The other, I received this: [EMAIL PROTECTED] rfox]# curl -l ftp://robert:[EMAIL PROTECTED]//mnt/ curl: (9) Couldn't cd to mnt Ok, looks like using curl with user authentification can only fetch from home directory of the user and not root directory. Curl works with 9.1 - so what has changed since then? A new curl ? François. Any way around this? Changing user permission on ProFTP or something? I can't use rpmdrake UI anymore because of this problem because I can't force rpmdrake to use wget. So I'm stuck with the CLI and urpmi for now. Thx, Robert
Re: [Cooker] curl problems with urpmi - follow-up question
Robert Fox [EMAIL PROTECTED] writes: Any way around this? Changing user permission on ProFTP or something? I can't use rpmdrake UI anymore because of this problem because I can't force rpmdrake to use wget. So I'm stuck with the CLI and urpmi for now. I fixed a severe and rare bug in perl-URPM, I'll take a look on curl problem now. François.
Re: [Cooker] curl problems with urpmi - follow-up question
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 TotalCurrent Left Speed 100 77206 100 772060 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...
Re: [Cooker] curl problems with urpmi - follow-up question
Serge Pluess [EMAIL PROTECTED] writes: 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 TotalCurrent LeftSpeed 100 77206 100 772060 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
Re: [Cooker] curl problems with urpmi - follow-up question
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.
Re: [Cooker] curl problems with urpmi - follow-up question
On Tue, 2003-07-22 at 16:12, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: [EMAIL PROTECTED] rfox]# 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 % Total% Received % Xferd Average Speed Time Curr. Dload Upload TotalCurrent Left Speed 0 00 00 0 0 0 --:--:-- 0:00:00 --:--:-- 0 0 00 00 0 0 0 --:--:-- 0:00:09 --:--:-- 0 curl: (9) Couldn't cd to mnt Can you try alternate url, like ftp://robert:[EMAIL PROTECTED]/mnt/hd/cooker/Mandrake/RPMS/harddrake-9.2-0.19mdk.i586.rpm Do you use a proxy for accessing the host 192.168.10.100 ? François. Do you use a proxy for accessing the host 192.168.10.100 ? François. I though about the alternate URL (less the extra /) - but the same error occurs. I have NO proxy - because both machines are on the same local LAN. I have iptables running (using Guarddog) but I turned both sides off and it still fails. What else can I do for you? It appears I'm not the only one having this problem with curl (as reported on this list by others!) No, it seems many others have problems with curl while I have no problem here and so I would like to know what is wrong. Does you use passive ftp ? Try adding --disable-epsv maybe to above curl invocation. Another idea, can you try using -l option of curl here, but with the following url : ftp://robert:[EMAIL PROTECTED]/ Thanks, François. OK - the --disable-epsv didn't help. When I do the -l switch, I get a listing of the home directory contents of user robert. Maybe it's a permission thing? Why does wget work? When I do a urpmi.update -a it doesn't work. But when I do a urpmi.update -a --wget it works. Thx, Robert
Re: [Cooker] curl problems with urpmi - follow-up question
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. Hmm, something is causing the packet filtering... [EMAIL PROTECTED] lamikr]$ ping 192.168.10.100 PING 192.168.10.100 (192.168.10.100) 56(84) bytes of data. From 193.166.187.49 icmp_seq=1 Packet filtered From 193.166.187.49 icmp_seq=2 Packet filtered From 193.166.187.49 icmp_seq=3 Packet filtered But here is another example which shows how curl fails and wget works when trying to retrieve hdlist from the sunsite. [EMAIL PROTECTED] lamikr]# curl ftp://sunsite.uio.no//pub/unix/Linux/Mandrake/Mandrake-devel/cooker/cooker/Mandrake/base/hdlist2.cz curl: (9) Couldn't cd to [EMAIL PROTECTED] lamikr]# wget ftp://sunsite.uio.no//pub/unix/Linux/Mandrake/Mandrake-devel/cooker/cooker/Mandrake/base/hdlist2.cz --13:10:38-- ftp://sunsite.uio.no//pub/unix/Linux/Mandrake/Mandrake-devel/cooker/cooker/Mandrake/base/hdlist2.cz = `hdlist2.cz.4' Resolving sunsite.uio.no... done. Connecting to sunsite.uio.no[158.36.2.10]:21... connected. Logging in as anonymous ... Logged in! == SYST ... done.== PWD ... done. == TYPE I ... done. == CWD /pub/unix/Linux/Mandrake/Mandrake-devel/cooker/cooker/Mandrake/base ... done. == PASV ... done.== RETR hdlist2.cz ... done. Length: 13,092,384 (unauthoritative) 100%[] 13,092,384 670.77K/s ETA 00:00 13:10:58 (670.77 KB/s) - `hdlist2.cz.4' saved [13092384] Mika
Re: [Cooker] curl problems with urpmi - follow-up question
Robert Fox [EMAIL PROTECTED] writes: OK - the --disable-epsv didn't help. Well, it should have helped for passive ftp... When I do the -l switch, I get a listing of the home directory contents of user robert. Ok, this sounds normal, can you try again with ftp://robert:[EMAIL PROTECTED]// instead ? Can you try with first directory after just to make sure it see the root directory and not the home directory ? Maybe it's a permission thing? Why does wget work? When I do a urpmi.update -a it doesn't work. But when I do a urpmi.update -a --wget it works. For that it is normal, the problem is in curl and not wget, I just want to know why curl doesn't work here. François.
Re: [Cooker] curl problems with urpmi - follow-up question
On Wed, 2003-07-23 at 12:52, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: OK - the --disable-epsv didn't help. Well, it should have helped for passive ftp... When I do the -l switch, I get a listing of the home directory contents of user robert. Ok, this sounds normal, can you try again with ftp://robert:[EMAIL PROTECTED]// instead ? Can you try with first directory after just to make sure it see the root directory and not the home directory ? Maybe it's a permission thing? Why does wget work? When I do a urpmi.update -a it doesn't work. But when I do a urpmi.update -a --wget it works. For that it is normal, the problem is in curl and not wget, I just want to know why curl doesn't work here. François. With the first suggestion - I get the contents of the home directory for user robert (with ftp://robert:[EMAIL PROTECTED]//) The other, I received this: [EMAIL PROTECTED] rfox]# curl -l ftp://robert:[EMAIL PROTECTED]//mnt/ curl: (9) Couldn't cd to mnt Curl works with 9.1 - so what has changed since then? Cheers, Robert
Re: [Cooker] curl problems with urpmi - follow-up question
Charles A Edwards [EMAIL PROTECTED] writes: On 21 Jul 2003 15:07:54 + FACORAT Fabrice [EMAIL PROTECTED] wrote: Staying on this question, is there a way to force rpmdrake to use wget and not curl? I know about the --wget switch for urpmi, but how do I force it for rpmdrake? removing curl package ? I thought that because of difficulties if proxies were involved that rpmdrake already used wget by default. I will add a developement release of curl if it works. Does people can check it works when curl was not working previously ? Thanks, François.
Re: [Cooker] curl problems with urpmi - follow-up question
On Tue, 2003-07-22 at 12:19, François Pons wrote: Charles A Edwards [EMAIL PROTECTED] writes: On 21 Jul 2003 15:07:54 + FACORAT Fabrice [EMAIL PROTECTED] wrote: Staying on this question, is there a way to force rpmdrake to use wget and not curl? I know about the --wget switch for urpmi, but how do I force it for rpmdrake? removing curl package ? I thought that because of difficulties if proxies were involved that rpmdrake already used wget by default. I will add a developement release of curl if it works. Does people can check it works when curl was not working previously ? Thanks, François. I can check it - as soon as the update is available. Thx, R.Fox
Re: [Cooker] curl problems with urpmi - follow-up question
Robert Fox [EMAIL PROTECTED] writes: I can check it - as soon as the update is available. Ok, thanks. François.
Re: [Cooker] curl problems with urpmi - follow-up question
On Tue, 2003-07-22 at 12:25, Robert Fox wrote: On Tue, 2003-07-22 at 12:19, François Pons wrote: Charles A Edwards [EMAIL PROTECTED] writes: On 21 Jul 2003 15:07:54 + FACORAT Fabrice [EMAIL PROTECTED] wrote: Staying on this question, is there a way to force rpmdrake to use wget and not curl? I know about the --wget switch for urpmi, but how do I force it for rpmdrake? removing curl package ? I thought that because of difficulties if proxies were involved that rpmdrake already used wget by default. I will add a developement release of curl if it works. Does people can check it works when curl was not working previously ? Thanks, François. I can check it - as soon as the update is available. Thx, R.Fox OK - Updated the Curl packages - but the problem continues to exist. When I start rpmdrake manually - and choose some packages, it fails to download the packages from the the other host. Same when I try urpmi without the --wget switch. [EMAIL PROTECTED] rfox]# rpmdrake examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD (ftp1).cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib CD (ftp3).cz] would install instead of upgrade package kernel-2.4.21.3mdk-1-1mdk.i586 would install instead of upgrade package kernel2.4-marcelo-2.4.21-2mdk.i586 would install instead of upgrade package kernel-smp-2.4.21.3mdk-1-1mdk.i586 would install instead of upgrade package kernel-enterprise-2.4.21.3mdk-1-1mdk.i586 would install instead of upgrade package kernel-secure-2.4.21.3mdk-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 calling obsoleted method urpm::download_source_packages retrieving rpm files from medium Installation CD (ftp1)... ...retrieving failed: created transaction for installing on / (remove=0, install=0, upgrade=5) Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/harddrake-9.2-0.19mdk.i586.rpm Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/drakxtools-newt-9.2-0.19mdk.i586.rpm Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/drakconf-9.2-0.9mdk.i586.rpm Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/drakxtools-9.2-0.19mdk.i586.rpm Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/harddrake-ui-9.2-0.19mdk.i586.rpm Thx, R.Fox
Re: [Cooker] curl problems with urpmi - follow-up question
On Tuesday, July 22, 2003, at 05:19 AM, François Pons wrote: Charles A Edwards [EMAIL PROTECTED] writes: On 21 Jul 2003 15:07:54 + FACORAT Fabrice [EMAIL PROTECTED] wrote: Staying on this question, is there a way to force rpmdrake to use wget and not curl? I know about the --wget switch for urpmi, but how do I force it for rpmdrake? removing curl package ? I thought that because of difficulties if proxies were involved that rpmdrake already used wget by default. I will add a developement release of curl if it works. Does people can check it works when curl was not working previously ? Thanks, François. Hi installed the curl-7.10.6-0.pre4.1mdk and the libcurls2-7.10.6-0.pre4.1mdk and am still getting the same result with urpmi (version 4.4-9mdk): [EMAIL PROTECTED] root]# urpmi -v kdebase-nsplugins 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.3mdk-1-1mdk.i586 would install instead of upgrade package kernel2.4-marcelo-2.4.21-2mdk.i586 would install instead of upgrade package kernel-smp-2.4.21.3mdk-1-1mdk.i586 would install instead of upgrade package kernel-enterprise-2.4.21.3mdk-1-1mdk.i586 would install instead of upgrade package kernel-secure-2.4.21.3mdk-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 retrieving rpm files from medium Installation... ftp://spluess:[EMAIL PROTECTED]//home/spluess/Mandrake-devel/cooker/i586/ Mandrake/RPMS/kdebase-nsplugins-3.1.2-28mdk.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/kdebase-nsplugins-3.1.2-28mdk.i586.rpm If I do urpmi --wget then everything works fine. Serge
Re: [Cooker] curl problems with urpmi - follow-up question
Robert Fox [EMAIL PROTECTED] writes: retrieving rpm files from medium Installation CD (ftp1)... ...retrieving failed: created transaction for installing on / (remove=0, install=0, upgrade=5) There are no error displayed ? Can you try curl itself on command line, like this : 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 And tell me anything what happens, and especially the output of echo $? just after the command above (a single line of course). François.
Re: [Cooker] curl problems with urpmi - follow-up question
On Tuesday 22 July 2003 09:03 am, Robert Fox wrote: On Tue, 2003-07-22 at 12:25, Robert Fox wrote: On Tue, 2003-07-22 at 12:19, François Pons wrote: Charles A Edwards [EMAIL PROTECTED] writes: On 21 Jul 2003 15:07:54 + FACORAT Fabrice [EMAIL PROTECTED] wrote: Staying on this question, is there a way to force rpmdrake to use wget and not curl? I know about the --wget switch for urpmi, but how do I force it for rpmdrake? removing curl package ? I thought that because of difficulties if proxies were involved that rpmdrake already used wget by default. I will add a developement release of curl if it works. Does people can check it works when curl was not working previously ? Thanks, François. I can check it - as soon as the update is available. Thx, R.Fox OK - Updated the Curl packages - but the problem continues to exist. When I start rpmdrake manually - and choose some packages, it fails to download the packages from the the other host. Same when I try urpmi without the --wget switch. [EMAIL PROTECTED] rfox]# rpmdrake examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD (ftp1).cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib CD (ftp3).cz] would install instead of upgrade package kernel-2.4.21.3mdk-1-1mdk.i586 would install instead of upgrade package kernel2.4-marcelo-2.4.21-2mdk.i586 would install instead of upgrade package kernel-smp-2.4.21.3mdk-1-1mdk.i586 would install instead of upgrade package kernel-enterprise-2.4.21.3mdk-1-1mdk.i586 would install instead of upgrade package kernel-secure-2.4.21.3mdk-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 calling obsoleted method urpm::download_source_packages retrieving rpm files from medium Installation CD (ftp1)... ...retrieving failed: created transaction for installing on / (remove=0, install=0, upgrade=5) Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/harddrake-9 .2-0.19mdk.i586.rpm Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/drakxtools- newt-9.2-0.19mdk.i586.rpm Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/drakconf-9. 2-0.9mdk.i586.rpm Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/drakxtools- 9.2-0.19mdk.i586.rpm Error: unable to install package ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/RPMS/harddrake-u i-9.2-0.19mdk.i586.rpm Thx, R.Fox exact same behavior here.. V.
Re: [Cooker] curl problems with urpmi - follow-up question
Robert Fox [EMAIL PROTECTED] writes: On Tue, 2003-07-22 at 16:12, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: [EMAIL PROTECTED] rfox]# 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 % Total% Received % Xferd Average Speed Time Curr. Dload Upload TotalCurrent Left Speed 0 00 00 0 0 0 --:--:-- 0:00:00 --:--:-- 0 0 00 00 0 0 0 --:--:-- 0:00:09 --:--:-- 0 curl: (9) Couldn't cd to mnt Can you try alternate url, like ftp://robert:[EMAIL PROTECTED]/mnt/hd/cooker/Mandrake/RPMS/harddrake-9.2-0.19mdk.i586.rpm Do you use a proxy for accessing the host 192.168.10.100 ? François. I though about the alternate URL (less the extra /) - but the same error occurs. I have NO proxy - because both machines are on the same local LAN. I have iptables running (using Guarddog) but I turned both sides off and it still fails. What else can I do for you? It appears I'm not the only one having this problem with curl (as reported on this list by others!) No, it seems many others have problems with curl while I have no problem here and so I would like to know what is wrong. Does you use passive ftp ? Try adding --disable-epsv maybe to above curl invocation. Another idea, can you try using -l option of curl here, but with the following url : ftp://robert:[EMAIL PROTECTED]/ Thanks, François.
Re: [Cooker] curl problems with urpmi - follow-up question
Robert Fox [EMAIL PROTECTED] writes: [EMAIL PROTECTED] rfox]# 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 % Total% Received % Xferd Average Speed Time Curr. Dload Upload TotalCurrent Left Speed 0 00 00 0 0 0 --:--:-- 0:00:00 --:--:-- 0 0 00 00 0 0 0 --:--:-- 0:00:09 --:--:-- 0 curl: (9) Couldn't cd to mnt Can you try alternate url, like ftp://robert:[EMAIL PROTECTED]/mnt/hd/cooker/Mandrake/RPMS/harddrake-9.2-0.19mdk.i586.rpm Do you use a proxy for accessing the host 192.168.10.100 ? François.
Re: [Cooker] curl problems with urpmi - follow-up question
On Tue, 2003-07-22 at 16:12, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: [EMAIL PROTECTED] rfox]# 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 % Total% Received % Xferd Average Speed Time Curr. Dload Upload TotalCurrent Left Speed 0 00 00 0 0 0 --:--:-- 0:00:00 --:--:-- 0 0 00 00 0 0 0 --:--:-- 0:00:09 --:--:-- 0 curl: (9) Couldn't cd to mnt Can you try alternate url, like ftp://robert:[EMAIL PROTECTED]/mnt/hd/cooker/Mandrake/RPMS/harddrake-9.2-0.19mdk.i586.rpm Do you use a proxy for accessing the host 192.168.10.100 ? François. I though about the alternate URL (less the extra /) - but the same error occurs. I have NO proxy - because both machines are on the same local LAN. I have iptables running (using Guarddog) but I turned both sides off and it still fails. What else can I do for you? It appears I'm not the only one having this problem with curl (as reported on this list by others!) Cheers, Robert
Re: [Cooker] curl problems with urpmi - follow-up question
On Tue, 2003-07-22 at 13:19, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: retrieving rpm files from medium Installation CD (ftp1)... ...retrieving failed: created transaction for installing on / (remove=0, install=0, upgrade=5) There are no error displayed ? Can you try curl itself on command line, like this : 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 And tell me anything what happens, and especially the output of echo $? just after the command above (a single line of course). François. Strange - with --wget it works! Here you go: [EMAIL PROTECTED] rfox]# 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 % Total% Received % Xferd Average Speed Time Curr. Dload Upload TotalCurrent Left Speed 0 00 00 0 0 0 --:--:-- 0:00:00 --:--:-- 0 0 00 00 0 0 0 --:--:-- 0:00:09 --:--:-- 0 curl: (9) Couldn't cd to mnt
Re: [Cooker] curl problems with urpmi - follow-up question
$ 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 Mika François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: retrieving rpm files from medium Installation CD (ftp1)... ...retrieving failed: created transaction for installing on / (remove=0, install=0, upgrade=5) There are no error displayed ? Can you try curl itself on command line, like this : 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 And tell me anything what happens, and especially the output of echo $? just after the command above (a single line of course). François.
Re: [Cooker] curl problems with urpmi
Adam Williamson [EMAIL PROTECTED] writes: On Fri, 2003-07-18 at 17:32, Jay DeKing wrote: Agreed. I've had to use wget as well for as long as I can recall, though curl has always been installed. Jay Curl works fine here, though it never gets a description file for the cooker or contrib sources...I assume they've gone missing or something. Yes they are missing, that why urpmi produce no error message whereas curl no. I should be more quietly on this. François.
Re: [Cooker] curl problems with urpmi - follow-up question
On Mon, 2003-07-21 at 09:49, François Pons wrote: Adam Williamson [EMAIL PROTECTED] writes: On Fri, 2003-07-18 at 17:32, Jay DeKing wrote: Agreed. I've had to use wget as well for as long as I can recall, though curl has always been installed. Jay Curl works fine here, though it never gets a description file for the cooker or contrib sources...I assume they've gone missing or something. Yes they are missing, that why urpmi produce no error message whereas curl no. I should be more quietly on this. François. Staying on this question, is there a way to force rpmdrake to use wget and not curl? I know about the --wget switch for urpmi, but how do I force it for rpmdrake? Thx, R.Fox
Re: [Cooker] curl problems with urpmi - follow-up question
Le lun 21/07/2003 à 11:03, Robert Fox a écrit : Staying on this question, is there a way to force rpmdrake to use wget and not curl? I know about the --wget switch for urpmi, but how do I force it for rpmdrake? removing curl package ?
Re: [Cooker] curl problems with urpmi - follow-up question
On 21 Jul 2003 15:07:54 + FACORAT Fabrice [EMAIL PROTECTED] wrote: Staying on this question, is there a way to force rpmdrake to use wget and not curl? I know about the --wget switch for urpmi, but how do I force it for rpmdrake? removing curl package ? I thought that because of difficulties if proxies were involved that rpmdrake already used wget by default. Charles -- Doing gets it done. - Mandrake Linux 9.2 on PurpleDragon Kernel- 2.4.21.3mdk http://www.eslrahc.com - pgp0.pgp Description: PGP signature
Re: [Cooker] curl problems with urpmi
On Sat, 2003-07-19 at 02:21, Jay DeKing wrote: Don't feel bad. I don't get descriptions for them either. Not for the cooker stuff anyway. Jay been wgettin' since I first tried curl (OT: I wish I had tried curling while I still lived up north. Not much opportunity to do it in Florida. Hey ... maybe that's the whole wget/curl problem in a nutshell: it's too warm here for curling?! Does it work better in Finland and northern Quebec?) I like your theory! Here in the UK we definitely get curling weather... -- adamw
Re: [Cooker] curl problems with urpmi
Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : --- /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm 2003-07-17 14:09:34.0 +0200 +++ /tmp/urpm.pm 2003-07-18 15:56:34.0 +0200 @@ -262,6 +262,13 @@ if (my @all_files = ((map { (-O, $_) } @ftp_files), (map { /\/([^\/]*)$/ ? (-z, $1, -O, $_) : @{[]} } @other_files))) { my @l = (@ftp_files, @other_files); my ($buf, $file) = ('', undef); + print STDERR join(\n, map { '$_' } /usr/bin/curl, + (ref($options) $options-{limit_rate} ? (--limit-rate, $options-{limit_rate}) : ()), + (ref($options) $options-{proxy} ? set_proxy({ type = curl, proxy = $options-{proxy} }) : ()), + (ref($options) $options-{quiet} !$options-{verbose} ? -s : @{[]}), + -k, `curl -h` =~ /location-trusted/ ? --location-trusted : @{[]}, +-R, -f, --stderr, -, + @all_files) . |; open CURL, join( , map { '$_' } /usr/bin/curl, (ref($options) $options-{limit_rate} ? (--limit-rate, $options-{limit_rate}) : ()), (ref($options) $options-{proxy} ? set_proxy({ type = curl, proxy = $options-{proxy} }) : ()), François.
Re: [Cooker] curl problems with urpmi
On Fri, 2003-07-18 at 15:59, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : The only thing which may be causing this problem is that I am using Guarddog on both machines using iptables and firewalling. When I turn off both firewalls (on both machines) it still give errors: urpmi.update -a retrieving description file of Installation CD (ftp1)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Installation CD (ftp1)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Installation CD (ftp1) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD (ftp1).cz] retrieving description file of Contrib CD (ftp3)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Contrib CD (ftp3)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist2.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Contrib CD (ftp3) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib CD (ftp3).cz] Thx, R.Fox __ François.
[Cooker] curl problems with urpmi
I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Thx, R.Fox -- Robert Fox [EMAIL PROTECTED] Fox Consulting Services
Re: [Cooker] curl problems with urpmi
Robert Fox [EMAIL PROTECTED] writes: On Fri, 2003-07-18 at 15:59, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : The only thing which may be causing this problem is that I am using Guarddog on both machines using iptables and firewalling. When I turn off both firewalls (on both machines) it still give errors: urpmi.update -a retrieving description file of Installation CD (ftp1)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Installation CD (ftp1)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Installation CD (ftp1) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD (ftp1).cz] retrieving description file of Contrib CD (ftp3)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Contrib CD (ftp3)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist2.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Contrib CD (ftp3) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib CD (ftp3).cz] Thx, R.Fox curl exit code 9 is ftp access denied, you may not have opened everything... François.
Re: [Cooker] curl problems with urpmi
At 7/18/2003 06:10 AM, you wrote: On Fri, 2003-07-18 at 15:59, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : The only thing which may be causing this problem is that I am using Guarddog on both machines using iptables and firewalling. When I turn off both firewalls (on both machines) it still give errors: urpmi.update -a retrieving description file of Installation CD (ftp1)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Installation CD (ftp1)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Installation CD (ftp1) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD (ftp1).cz] retrieving description file of Contrib CD (ftp3)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Contrib CD (ftp3)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist2.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Contrib CD (ftp3) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib CD (ftp3).cz] Thx, R.Fox Since the beginning of the year with cooker updates daily curl has never functioned for urpmi. Always had to use wget, so you're not alone. Serge
Re: [Cooker] curl problems with urpmi
On Fri, 2003-07-18 at 16:30, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: On Fri, 2003-07-18 at 15:59, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : The only thing which may be causing this problem is that I am using Guarddog on both machines using iptables and firewalling. When I turn off both firewalls (on both machines) it still give errors: urpmi.update -a retrieving description file of Installation CD (ftp1)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Installation CD (ftp1)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Installation CD (ftp1) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD (ftp1).cz] retrieving description file of Contrib CD (ftp3)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Contrib CD (ftp3)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist2.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Contrib CD (ftp3) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib CD (ftp3).cz] Thx, R.Fox curl exit code 9 is ftp access denied, you may not have opened everything... François. I turned off both sides (using Guarddog - disabled firewall) which should allow everything! The host machine which has the Cooker mirror is running ProFTP. What else should I check? Thx, R.Fox
Re: [Cooker] curl problems with urpmi
Ditto Bob Finch On Friday 18 July 2003 09:31 am, Serge Plüss wrote: At 7/18/2003 06:10 AM, you wrote: On Fri, 2003-07-18 at 15:59, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : The only thing which may be causing this problem is that I am using Guarddog on both machines using iptables and firewalling. When I turn off both firewalls (on both machines) it still give errors: urpmi.update -a retrieving description file of Installation CD (ftp1)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Installation CD (ftp1)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Installation CD (ftp1) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD (ftp1).cz] retrieving description file of Contrib CD (ftp3)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Contrib CD (ftp3)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist2.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Contrib CD (ftp3) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib CD (ftp3).cz] Thx, R.Fox Since the beginning of the year with cooker updates daily curl has never functioned for urpmi. Always had to use wget, so you're not alone. Serge
Re: [Cooker] curl problems with urpmi
On Friday 18 July 2003 10:31 am, Serge Plüss honored me with this communique: At 7/18/2003 06:10 AM, you wrote: On Fri, 2003-07-18 at 15:59, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : The only thing which may be causing this problem is that I am using Guarddog on both machines using iptables and firewalling. snip Thx, R.Fox Since the beginning of the year with cooker updates daily curl has never functioned for urpmi. Always had to use wget, so you're not alone. Serge Agreed. I've had to use wget as well for as long as I can recall, though curl has always been installed. Jay -- Opportunity is missed by most people because it is dressed in overalls and looks like work. - Thomas Edison
RE: [Cooker] curl problems with urpmi
Ditto for me to, I just use the --wget parm. -Original Message- From: w9ya [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 8:53 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] curl problems with urpmi Ditto Bob Finch On Friday 18 July 2003 09:31 am, Serge Plüss wrote: At 7/18/2003 06:10 AM, you wrote: On Fri, 2003-07-18 at 15:59, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : The only thing which may be causing this problem is that I am using Guarddog on both machines using iptables and firewalling. When I turn off both firewalls (on both machines) it still give errors: urpmi.update -a retrieving description file of Installation CD (ftp1)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Installation CD (ftp1)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base /hdlist.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Installation CD (ftp1) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD (ftp1).cz] retrieving description file of Contrib CD (ftp3)... ...retrieving failed: curl failed: exited with 9 or signal 0 retrieving source hdlist (or synthesis) of Contrib CD (ftp3)... ftp://robert:[EMAIL PROTECTED]//mnt/hd/cooker/Mandrake/base/hdlist2.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium Contrib CD (ftp3) examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Contrib CD (ftp3).cz] Thx, R.Fox Since the beginning of the year with cooker updates daily curl has never functioned for urpmi. Always had to use wget, so you're not alone. Serge
Re: [Cooker] curl problems with urpmi
On 07.18, François Pons wrote: Robert Fox [EMAIL PROTECTED] writes: I keep getting curl errors when trying to use urpmi - but wget seems to work OK. libcurl2-7.10.5-1mdk curl-7.10.5-1mdk urpmi-4.4-9mdk gurpmi-4.4-9mdk Really, I checked here and it works nicely with the above version... Do you use proxy ? maybe it is the problem ? Try running with -v urpmi to check, you may need to modify /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm and apply the following patch in order to check what curl is getting : Me too. Just one difference. curl works, but looks like it first tries a connection that fails and in the second try it works. Since many time ago, for example with a 'urpmi.update -a', I always get an 'error 9', and then the download of the synthesys.hdlist.cz. No randomness, no dependence, Always a first try fails and then I get the correct download. One gets used to the message... -- J.A. Magallon [EMAIL PROTECTED] \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.2 (Cooker) for i586 Linux 2.4.22-pre6-jam1m (gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-0.3mdk))
Re: [Cooker] curl problems with urpmi
On Fri, 2003-07-18 at 17:32, Jay DeKing wrote: Agreed. I've had to use wget as well for as long as I can recall, though curl has always been installed. Jay Curl works fine here, though it never gets a description file for the cooker or contrib sources...I assume they've gone missing or something. -- adamw
Re: [Cooker] curl problems with urpmi
On Friday 18 July 2003 6:09 pm, Adam Williamson honored me with this communique: On Fri, 2003-07-18 at 17:32, Jay DeKing wrote: Agreed. I've had to use wget as well for as long as I can recall, though curl has always been installed. Jay Curl works fine here, though it never gets a description file for the cooker or contrib sources...I assume they've gone missing or something. Don't feel bad. I don't get descriptions for them either. Not for the cooker stuff anyway. Jay been wgettin' since I first tried curl (OT: I wish I had tried curling while I still lived up north. Not much opportunity to do it in Florida. Hey ... maybe that's the whole wget/curl problem in a nutshell: it's too warm here for curling?! Does it work better in Finland and northern Quebec?) -- Opportunity is missed by most people because it is dressed in overalls and looks like work. - Thomas Edison