Subject: | |
From: | |
Reply To: | |
Date: | Wed, 1 Feb 2006 10:50:06 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Jean-Michel Barbet wrote:
> Troy Dawson wrote:
> [...]
>
>> Well ... it seems that there is already a fix in place for "REST not
>> supported" error ... BUT ... it is expecting a return code of 501 and
>> not 502 which you are getting.
>>
>> For now, see if switching the line
>>
>> except ftplib.error_perm, reason:
>> if str(reason)[:3] == '501':
>>
>> to
>>
>> except ftplib.error_perm, reason:
>> if str(reason)[:3] == '502':
>>
>> and see what you get.
>
>
> Thanks Troy,
>
> Did it tried it. Here is what I get :
>
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Downloading header for httpd-suexec to pack into transaction set.
> ftp://mirror.in2p3.fr/pub/linux/scientific/42/i386/errata/SL/RPMS/httpd-suexec-2.0.52-22.ent.i386.rpm:
> [Errno 4] IOError: [Errno ftp error] (111, 'Connection refused')
> Trying other mirror.
> Error: failure: httpd-suexec-2.0.52-22.ent.i386.rpm from sl-errata:
> [Errno 256] No more mirrors to try.
>
> Wget worked...
>
> We do have an antiviral protection on ftp flows. I have hand on it,
> so I tried to disable ftp inspection.
>
> => It works much better, so your clue is right.
>
> I never had this problem with older SL distro (3.0.2,3.0.3).
>
Scientific Linux 3.0.x uses yum 2.0.x
This had a different way of handling yum headers.
> Why do I get a 502 error instead of 501 ?
>
> Any way of solving this in a clean manner ? (I mean avoiding
> patching byterange.py) ?
>
I'm checking with the yum developers right now. I'm pretty sure there
is a workaround that is clean.
Two questions as I write this up.
Is your antiviral protection only for ftp? or does it do http as well?
Also, do you get these errors if you substitute http mirrors into your
yum repositories list. The closest mirror I see is in Germany at
http://wftp.tu-chemnitz.de/pub/linux/scientific/
> Thank you very much.
>
> > Sorry for chuckling, it just reminds me of some old tv series. "missed
> > it by *that* much"
>
> 'xcuse me, being french, I am suffering of cultural blindness
> and I am not able to figure out what you are talking about :-[
> What TV serie ?
>
> JM
I believe it was the 'get smart' series. Basically a clumsy spy.
Things would always go wrong for him, and he's always put his fingers
close together and say "Missed it by *that* much"
I don't think the series was ever good enough to get translated anywhere
else. I keep forgetting about these cultural differences.
Troy
--
__________________________________________________
Troy Dawson [log in to unmask] (630)840-6468
Fermilab ComputingDivision/CSS CSI Group
__________________________________________________
|
|
|