Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

brew reinstall is exiting with "Warning: already installed" #23424

Closed
mistydemeo opened this issue Oct 21, 2013 · 9 comments
Closed

brew reinstall is exiting with "Warning: already installed" #23424

mistydemeo opened this issue Oct 21, 2013 · 9 comments
Labels

Comments

@mistydemeo
Copy link
Member

==> Reinstalling lynx -vd
Warning: lynx-2.8.7 already installed
@MikeMcQuaid
Copy link
Member

Hmm. Can't reproduce with ack. It from a tap?

@mistydemeo
Copy link
Member Author

I can't reproduce either after manually reinstalling. That's weird.

@MikeMcQuaid
Copy link
Member

Weird.

@mistydemeo
Copy link
Member Author

Ah - it was a very old install. This happens if the thing to reinstall is missing an opt prefix. I can reproduce by rming the opt prefix then trying brew reinstall.

@jacknagel
Copy link
Contributor

What should we do here? Would like to address it or close.

@janson
Copy link

janson commented Mar 31, 2014

FWIW: I've experienced this since upgrading from 10.8.x to 10.9.2.

  • All my links were broken for installed packages.
  • Until I unlink && link a given package I get the error @mistydemeo described.
$ brew reinstall node
==> Reinstalling node
Warning: node-0.10.26 already installed
$ which node
$ brew unlink node
Unlinking /usr/local/Cellar/node/0.10.26... 1296 links removed
$ brew link node
Linking /usr/local/Cellar/node/0.10.26... 1192 symlinks created
$ which node
/usr/local/bin/node
$ brew reinstall node
🍺  /usr/local/Cellar/node/0.10.26: 1121 files, 16M, built in 2.5 minutes

So far, I've seen this with every installed package.

@qwertmax
Copy link

Cool that works for me, thanks!

@adamv
Copy link
Contributor

adamv commented Apr 18, 2014

Homebrew installs don't survive across major OS X updates.

@adamv
Copy link
Contributor

adamv commented Apr 23, 2014

Tentatively closing this.

@adamv adamv closed this as completed Apr 23, 2014
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants