This is the mail archive of the cygwin 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]

restarting interrupted setup downloads


When using mirrors.rcn.net, I often get connections dropped at ~ even
megabyte points during the download when on a low speed connection.

After setup has done it's best, I run the following in the local
package directory (named "cygwin") to pick up the files that weren't
correctly, and then run setup to install them:

perl -nwe'/\\cygwin\/(.*) wrong size/ && ($url = $dir = $1) && $url =~ s/%3a/:/ && $url =~ s/%2f/\//g && $dir =~ s/(.*)\/.*/$1/ && print "(mkdir $dir; cd $dir; wget -c $url)\n"' setup.log.full | bash

--
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]