Re: Apple switched to BSDtar from GNUtar with Leopard

Поиск
Список
Период
Сортировка
От Michael Wood
Тема Re: Apple switched to BSDtar from GNUtar with Leopard
Дата
Msg-id 5a8aa6680911020026x6e62215dxd0aa93ecfd9f2d03@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Apple switched to BSDtar from GNUtar with Leopard  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
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>

В списке pgsql-novice по дате отправления:

Предыдущее
От: Michael Wood
Дата:
Сообщение: Re: Install problems for postgresql-8.4.1
Следующее
От: Don Fox
Дата:
Сообщение: Re: Install problems for postgresql-8.4.1