This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with setup


 Hello!

Here some comments about setup.exe

Problem 1.
 I have notice that setup fails sometimes in some mirrors (I use the
downloading mode). I have found that some mirrors have the following policy:
If the connection is slow they close the connection after some number of
bytes
is downloaded. If this is intentional or if it is a side effect of time-out
I
don't know.  One of these is mirrors.rcn.net. See what happens in a machine
that has a slow connection:


rmedina@limon /ftp $wget -c
http://mirrors.rcn.net/pub/sourceware/cygwin/release
/XFree86/lesstif/lesstif-0.93.91-4.tar.bz2
--05:10:30-- 
http://mirrors.rcn.net/pub/sourceware/cygwin/release/XFree86/lesst
if/lesstif-0.93.91-4.tar.bz2
           => `lesstif-0.93.91-4.tar.bz2'
Resolving mirrors.rcn.net... 207.172.2.141
Connecting to mirrors.rcn.net[207.172.2.141]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,956,055 [application/x-tar]

51% [=================>                   ] 1,003,312      1.28K/s    ETA
26:04

05:38:40 (610.75 B/s) - Connection closed at byte 1003312. Retrying.

--05:38:41-- 
http://mirrors.rcn.net/pub/sourceware/cygwin/release/XFree86/lesst
if/lesstif-0.93.91-4.tar.bz2
  (try: 2) => `lesstif-0.93.91-4.tar.bz2'
Connecting to mirrors.rcn.net[207.172.2.141]:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 1,956,055 (952,743 to go) [application/x-tar]

100%[++++++++++++++++++==================>] 1,956,055      1.23K/s    ETA
00:00

05:52:01 (1.17 KB/s) - `lesstif-0.93.91-4.tar.bz2' saved [1956055/1956055]


 If the file is say 5MB long, the wget connection is stopped at 1MB, 2MB,
3MB,
and 4MB. The same thing happens using ftp instead of http.
 So,if you have a slow connection, it is impossible to fetch  from 
mirrors.rcn.net
a file bigger than 1MB with a normal ftp or with setup.
 At least some times setup does not stop, but it continues downloading the
next
package. Result: All the packages bigger than 1MB are mysteriously lost.
 I have tried mirrors.rnc.net with a fast connection and there is not such
problem.

I think that you should:
a) At least put on guard about the existence this problem.
b) Modify setup in order be able to reassume the downloading. Or at least,
   give the option, instead of downloading directly, of outputting a command
   file to be used with wget.
 
 
Problem 2.

When setup discovers, at the end, that the downloading is incomplete it asks
if one wants to try again. If one replies yes it starts all the process from
the begining, downloading again what has been previously and successfully
fetched.
 I think that setup should not download again what is already in the
directory,
unless it is explicitly chosen.

I hope these comments could be useful.

Rodrigo Medina

 					  	


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]