restarting interrupted setup downloads
Yitzchak Scott-Thoennes
sthoenna@efn.org
Wed Mar 17 11:50:00 GMT 2004
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/
More information about the Cygwin
mailing list