Question

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 ?

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top