How can I fix "Error: Formulae found in multiple taps"?

27.3k views Asked by At

I want to install php54-redis.

Yu:nginx Yu$ brew install josegonzalez/php/php54-redis

==> Installing php54-redis from josegonzalez/homebrew-php

Error: Formulae found in multiple taps:

  • homebrew/php/php54

  • josegonzalez/php/php54

Please use the fully-qualified name e.g. homebrew/php/php54 to refer the formula.

What am I doing wrong and how is thise done properly?

3

There are 3 answers

1
soapbar On BEST ANSWER
brew untap josegonzalez/homebrew-php

This is same problem.

josegonzalez/homebrew-php has been moved to homebrew/php, so we can untap it to fix error.

2
ryanm On

Referencing this GitHub issue link, you need to do the following with the tap that you don't want. In this case, if you don't want the homebrew/php/php54 tap, try this:

brew untap homebrew/php
brew tap --repair
brew update

I just tried it in on the other tap (brew untap josegonzalez/php) and it worked well.

0
Jarvis Yang On

Took me forever but I figured it out. I kept on getting the same errors:

brew upgrade ==> Language Matters Warning: The Cloud Native Buildpacks project is updating its language in an Warning: effort to be more inclusive. Part of that effort includes renaming our Warning: default git branches from 'master' to 'main'. Warning: Error: To upgrade pack, retap it with:

# untap old repo (if present)
brew untap buildpack/tap

# untap current repo (if present)
brew untap buildpacks/tap

# retap current repo
brew tap buildpacks/tap

# upgrade
brew upgrade pack`

What I ended up doing was going to the /usr/local/Homebrew/Library/Taps folder and deleting the buildpack folder.