On Thursday 17 April 2008 5:11:12 am Michel BRIAND wrote:
> Hi,
>
> Andres Mejia <[EMAIL PROTECTED]> - Wed, 16 Apr 2008 09:40:39 -0400
>
> >On Wednesday 16 April 2008 5:18:13 am Michel BRIAND wrote:
> >> Hello,
> >>
> >> sorry for the delay.
> >>
> >> I ran your attached script.
> >>
> >> 1/ ./nvidia-cg-toolkit-installer --install
> >>
> >> Downloading
> >> http://developer.download.nvidia.com/cg/Cg_2.0/2.0.0012/Cg-2.0_Jan2008_x
> >>86. tar.gz on the i386 architecture. Use of uninitialized value in hash
> >> element
> >> at /usr/share/perl5/LWP/Protocol.pm line 55. Use of uninitialized
> >> value in pattern match (m//) at /usr/share/perl5/LWP/Protocol.pm
> >> line 58. Use of uninitialized value in concatenation (.) or string
> >> at /usr/share/perl5/LWP/Protocol.pm line 38. Use of uninitialized
> >> value in string eq at /usr/share/perl5/LWP/UserAgent.pm line 195. 501
> >> Protocol scheme '' is not supported Failed to download NVIDIA Cg
> >> Toolkit.
> >
> >Alright. For this case, usually the reason you get a "501 Protocol
> >scheme '' is not supported" is because in either apt-config or your
> >wgetrc files, your proxy is set as only "proxy.com" or something
> >similar instead of "http://proxy.com";. What are your settings for your
> >proxy in 'apt-config dump' and/or your wgetrc files? Don't give me
> >your login or password of course, just the general form you use.
>
> Yes, there is something in apt's config:
>
> $ apt-config dump|grep -i proxy
> Acquire::http::Proxy "false";
>
> But I do not have any proxy setting in ~/.wgetrc nor in /etc/wgetrc.

If it's left as 'false', this would be the reason why the installer fails with 
the "501 Protocol scheme '' is not supported" error. It should be in the form 
http://[[user][:[EMAIL PROTECTED]:port] depending on your proxy configuration. 
It's even stated in the apt.conf(5) manual page.

> >> 2/ ./nvidia-cg-toolkit-installer --install --proxy
> >> "http://proxy.free.fr:3128";
> >>
> >> Downloading
> >> http://developer.download.nvidia.com/cg/Cg_2.0/2.0.0012/Cg-2.0_Jan2008_x
> >>86. tar.gz on the i386 architecture. Download successful. Total size of
> >> content
> >> downloaded: 0KB Downloading
> >> http://developer.download.nvidia.com/cg/Cg_2.0/2.0.0012/Cg-2.0_Jan2008_L
> >>ang uageSpecification.pdf on the i386 architecture. 0KB [.............]
> >> 100%
> >> 80.2 KB/s Download successful. Total size of content downloaded: 80KB
> >> Checking MD5 sum for NVIDIA Cg Toolkit file...failed. Checksum
> >> mismatch. Expected checksum c26a8fd98a4ed8b9a2e418a04554d41a for the
> >> NVIDIA Cg Toolkit file.
> >
> >It looks like this would work, however there's some problem with
> >downloads from the NVIDIA developer site at the moment. Check
>
> I tried this morning: Nvidia site works well.

It might have been resolved now.

> >http://developer.nvidia.com/object/contact_us.html. The problem I'm
> >getting is that only a piece of the file is downloaded and it's
> >claimed that you have the entire file. Downloads sometimes work
> >correctly using your web browser's download manager, but fails using
> >"wget -c". You could keep retrying with this method, or you could try
> >a different proxy.
>
> Maybe you can find a way to be sure, with wget, to have succeed or
> not ? It could be safer for the script, no ?

libwww-perl has ways to do that, so using wget would be unnecessary.

> Good luck :) !
>
> Michel



-- 
Regards,
Andres



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to