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

22,481

Solution 1

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.

Solution 2

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.

Solution 3

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.

Share:
22,481

Related videos on Youtube

soapbar
Author by

soapbar

Println("hello world !")

Updated on March 28, 2021

Comments

  • soapbar
    soapbar about 3 years

    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?

  • Vesper
    Vesper almost 9 years
    If this is actually an answer, please detail with what was an error and how does this helps.
  • user24793
    user24793 almost 9 years
    I also had to brew unlink php53 to get php54 to install. The above was very helpful. Thank you!!
  • ryanm
    ryanm almost 9 years
    @user24793 My pleasure! Glad my little contribution helped someone out in the SO universe :)