Problems installing postgresql with homebrew

I basically 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?

+4
source share
2 answers

The URL changed appears, but the formula has not yet been updated.

The formula is now updated. Instead of manually committing the recipe, as the rest of this answer says, just update your homebrew recipes via brew update and try installing again.

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

+14
source
+2
source

Source: https://habr.com/ru/post/1384545/


All Articles