OK, I edited wp-admin/includes/file.php and increased the timeout there from 300 to 1000 and got this error:
Downloading update from http://wordpress.org/wordpress-3.2.zip…
Unpacking the update…
Incompatible Archive.: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
Installation Failed
And when I went to manually download wordpress-3.2.zip on the machine with dial-up access I got this:
sauron.deepsoft.com% wget -c -P /extra/ http://wordpress.org/wordpress-3.2.zip
--2011-07-11 13:35:56-- http://wordpress.org/wordpress-3.2.zip
Resolving wordpress.org... 72.233.56.138, 72.233.56.139
Connecting to wordpress.org|72.233.56.138|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to:
/extra/wordpress-3.2.zip’
[ <=> ] 2,067,484 4.58K/s in 7m 14s
2011-07-11 13:43:11 (4.66 KB/s) – `/extra/wordpress-3.2.zip’ saved [2067484]
sauron.deepsoft.com% unzip -t /extra/wordpress-3.2.zip
Archive: /extra/wordpress-3.2.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /extra/wordpress-3.2.zip or
/extra/wordpress-3.2.zip.zip, and cannot find /extra/wordpress-3.2.zip.ZIP, period.
`
It looks there are *two* things wrong with wordpress.org:
1) It has a download timeout
2) It does not send a ‘content-length:’ header!
I can actually live with the download timeout, so long as there is a content-length header — wget can deal with this.
I had to download wordpress-3.2.zip on a different machine (with a faster internet connection) and then transfer the file from there to the machine with the slow internet connection…