osx - brew install postgresql (upgrade) error, could not link - dead links to old non-existent version -


WARNING: Do not start by removing files manually in the terminal unless you try to do everything first Do not delete the program due to manual deletion, may cause the uninstall and installation.

This is a QA style post, sharing your route to solving this issue. I'm sure there are better ways

I picked up an old Mac wind and ruby And I wanted to set it up for the train training. During the upgrade, I had a problem installing postgrascape:

  ➜ ~ brew install postgresql .... == & gt; Install Postgresql == & gt; Download https://downloads.sf.net/project/machomebrew/bottles/postgresql-9.3.5.mountain_lion.bottle.tar.gz Already downloaded: / library / catches / homebrew / postgrescale-9.3.5.Mantan_Leon .Bottle Tar.gz == & gt; Podging PostgreSQL-9.3.5.Mantan_Leon.botti.tar.g == & gt; Warnings ... to reload postgresclall after upgrade: LaunchLatLLLoadLatLoadUnload ~ / Library / LaunchAgents / HomeBrayMXcl.PostGraceCLL.plist Launchat Load ~ / Library / LaunchAgents / HomeBrayMxCL.PostGreysk.Plist Error: An Unexpected Error The 'bream link' step formula has been prepared but is not symlinked in / usr / local such file or directory - /usr/local/Cellar/postgresql/9.2.3/include/server Error: There is no such file or directory - / usr / local / cellar / postgrescle / 9.2.3 / included / server /  

I'm installing PostgreSQL 9.3.5, I could not find less about 9.2.3!

  ➜ ~ brew install postgresql WARNING: postgresql-9.3.5 is already installed, it is not just a link  

but postgraz still broke Was there.

What is the problem?

I had a similar problem but with another package. It was found that there was a group of dead links pointing to all other file systems older.

  1. Run brilliant links & lt; Appname & gt; (like brew link postgress );
  2. If you are successfully completed you are golden, otherwise proceed;
  3. Look at the path in the error message (like /usr/local/Cellar/postgresql/9.2 .3 / include / server ) to Tahara / & lt; App name & gt; / & Lt; Version & gt; and replace the path (such as / usr / local / include / server )
  4. Search within the link that links to all links seller / < App name & gt; / & Lt; Version & gt; and remove them;
  5. Goto Step 1.

Hopes


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -