John Lee
John Lee

Reputation: 1251

Having issues Installing postgresql with homebrew

Basically i did

brew install postgresql

and this is the error i get,

==> Downloading   http://ftp9.us.postgresql.org/pub/mirrors/postgresql/source/v9.1.1/postgresql-9.1.1.tar.bz2

curl: (22) The requested URL returned error: 403
Error: Download failed: http://ftp9.us.postgresql.org/pub/mirrors/postgresql/source/v9.1.1/postgresql-9.1.1.tar.bz2

I thought installing postgresql using brew is easy, anyone facing the same problem ?

Upvotes: 4

Views: 2035

Answers (2)

James Allman
James Allman

Reputation: 41188

It appears the URL has changed but the formula hasn't been updated yet.

The formula has now been updated. Instead of manually fixing the recipe as the rest of this answer suggests, just update your homebrew recipes via brew update and try the install again.

You can edit the formula yourself with the brew edit postgresql command. Change the url to http://ftp.postgresql.org/pub/source/v9.1.1/postgresql-9.1.1.tar.bz2 and try to install again.

Upvotes: 14

mikepence
mikepence

Reputation: 41

MD5 for http://ftp.postgresql.org/pub/source/v9.1.1/postgresql-9.1.1.tar.bz2 is 061a9f17323117c9358ed60f33ecff78

Upvotes: 2

Related Questions