2009/11/1 Tom Lane <tgl@sss.pgh.pa.us>:
> Hassan Schroeder <hassan.schroeder@gmail.com> writes:
>> However, retrieving it from several different mirrors gives me the
>> same checksum, which doesn't match the file retrieved from this
>> <http://www.postgresql.org/ftp/source/v8.4.1/postgresql-8.4.1.tar.gz>
>> location.
>
> There is no such location... if you look closer you'll see what you
> have is a 404 Not Found response, which Safari has helpfully wrapped
> up into a .gz file :-(
Run "file postgresql-8.4.1.tar.gz" and it will likely say it is an HTML file.
$ curl -O http://www.postgresql.org/ftp/source/v8.4.1/postgresql-8.4.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 239 100 239 0 0 306 0 --:--:-- --:--:-- --:--:-- 0
$ file postgresql-8.4.1.tar.gz
postgresql-8.4.1.tar.gz: HTML document text
If you use curl's -f option, it makes more sense, though:
$ curl -f -O http://www.postgresql.org/ftp/source/v8.4.1/postgresql-8.4.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
--
Michael Wood <esiotrot@gmail.com>