This is the mail archive of the
cygwin
mailing list for the Cygwin project.
restarting interrupted setup downloads
- From: Yitzchak Scott-Thoennes <sthoenna at efn dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Mar 2004 20:54:42 -0800
- Subject: restarting interrupted setup downloads
- Organization: bs"d
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/