Likely caused by a change reverted in Homebrew/brew#16684. Please do brew update and try again.

Discussions

Warning: No available formula with the name "mongodb-community@4.0".
Well, I solved my issue but only because I am pedantic about backups. I uninstalled everything related to mongo, installed 4.4 and then ran a mongo restore from the daily dumps of my databases. More on reddit.com
🌐 r/mongodb
2
1
September 19, 2022
Error: No similarly named formulae found. Error: No available formula or cask with the name "python" - Stack Overflow
So, I'm using macOS Big Sur. So I typed: python --version Python 2.7.16 brew install python I got this error message when I want to update my python via my terminal. Error: No similarly named formu... More on stackoverflow.com
🌐 stackoverflow.com
macos - Homebrew Error: No formulae found in taps - Stack Overflow
I'm trying to install paramiko on my MacBook Pro (OSX Sierra) without going through Xcode because I'm too lazy to install Xcode honestly. When trying to run: brew install paramiko I get: Error: No More on stackoverflow.com
🌐 stackoverflow.com
php - How to fix "No available formula" warning for Homebrew - Stack Overflow
When I start a new terminal session, I keep getting Error: No available formula with the name "homebrew/php/php56" Please tap it and then try again: brew tap homebrew/php warning. I tried brew tap More on stackoverflow.com
🌐 stackoverflow.com
🌐
GitHub
github.com › orgs › Homebrew › discussions › 2479
brew install Error: No similarly named formulae found. · Homebrew · Discussion #2479
Warning: A newer Command Line Tools release is available. Update them from Software Update in System Preferences or run: softwareupdate --all --install --force If that doesn't show you any updates, run: sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install Alternatively, manually download them from: https://developer.apple.com/download/all/. You should download the Command Line Tools for Xcode 11.3.1.
🌐
Linux Man Pages
man7.org › linux › man-pages › man1 › update-alternatives.1.html
update-alternatives(1) - Linux manual page
Each line contains one space, the ... (auto or manual). Best: best-choice The path of the best alternative for this link group. Not present if there is no alternatives available....
🌐
Reddit
reddit.com › r/mongodb › warning: no available formula with the name "mongodb-community@4.0".
r/mongodb on Reddit: Warning: No available formula with the name "mongodb-community@4.0".
September 19, 2022 -

Has mongodb-community@4.0 been removed?

Yesterday my mongo decided to die with the below error:

`Wrong mongod version","attr":{"error":"UPGRADE PROBLEM: Found an invalid featureCompatibilityVersion document (ERROR: BadValue: Invalid value for version, found 4.0, expected '4.4' or '4.2'. Contents of featureCompatibilityVersion document in admin.system.version: { _id: \"featureCompatibilityVersion\", version: \"4.0\" }. See https://docs.mongodb.com/master/release-notes/4.4-compatibility/#feature-compatibility.)). If the current featureCompatibilityVersion is below 4.2, see the documentation on upgrading at https://docs.mongodb.com/master/release-notes/4.4/#upgrade-procedures." `

So I tried to uninstall mongodb-community entirely from my machine and any version that may have been there and install mongodb-community@4.0 in order to run `

db.adminCommand( { setFeatureCompatibilityVersion: "4.4" } )

However when I run `brew install mongodb-community@4.0` I get the following:

`Warning: No available formula with the name "mongodb-community@4.0". Did you mean mongodb-community@5.0, mongodb-community@4.2, mongodb-community@4.4 or mongodb-community?

==> Searching for similarly named formulae...

These similarly named formulae were found:

mongodb/brew/mongodb-community@5.0 mongodb/brew/mongodb-community@4.2 mongodb/brew/mongodb-community@4.4 mongodb/brew/mongodb-community

To install one of them, run (for example):

brew install mongodb/brew/mongodb-community@5.0

==> Searching for a previously deleted formula (in the last month)...

Error: No previously deleted formula found.

==> Searching taps on GitHub...

Error: No formulae found in taps.`

I take it mongodb-community@4.0 has been removed? It still shows it as a command on their GitHub page. https://github.com/mongodb/homebrew-brew

Is there another way that I can get around this? Mongo will not start with this compatibility error.

If I remove the entire data folder for mongo and then install 4.4 it will run but then I don't have my data. Copying it back and starting the 4.4 again just results in the same error of compatibility.

🌐
GitHub
github.com › orgs › Homebrew › discussions › 2105
No available formula or cask with the name "..." (macOS) · Homebrew · Discussion #2105
Update them from Software Update in System Preferences or run: softwareupdate --all --install --force If that doesn't show you any updates, run: sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install Alternatively, manually download them from: https://developer.apple.com/download/more/. You should download the Command Line Tools for Xcode 12.4. Warning: Homebrew's "sbin" was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin.
Find elsewhere
🌐
Super User
superuser.com › questions › 1762011 › no-available-formula-with-the-name-testdisk-when-using-homebrew-in-macos
No available formula with the name "testdisk" when using Homebrew in macOS - Super User
January 9, 2023 - Check brew doctor for updates and errors and then reinstall your homebrew-core, which includes all Formula. $ rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" $ brew tap homebrew/core ...
🌐
Stack Exchange
apple.stackexchange.com › questions › 411656 › unable-to-install-git-using-homebrew
terminal - Unable to install git using homebrew - Ask Different
January 20, 2021 - One workaround that works for me is running brew search {formula} before brew install {formula}.
🌐
GitHub
github.com › Homebrew › brew › issues › 6827
brew leaves fails with "Error: No available formula with the name "mpfr@2"" · Issue #6827 · Homebrew/brew
December 9, 2019 - ran brew update and can still reproduce the problem? ran brew doctor, fixed all issues and can still reproduce the problem? ran brew config and brew doctor and included their output with your issue...
Author   Homebrew
🌐
TecAdmin
tecadmin.net › linux-update-alternatives-command
Update-alternatives Command: A Comprehensive Guide for Linux Users – TecAdmin
April 26, 2025 - sudo update-alternatives --install ... you encounter an error stating that there are no alternatives for a command, it’s likely that the alternative has not been installed yet....
🌐
Baeldung
baeldung.com › home › administration › the update-alternatives command in linux
The update-alternatives Command in Linux | Baeldung on Linux
July 24, 2024 - Some packages as e.g. micro doesn’t provide the means to update the alternative system. So, if such a program is the current one, we can face a warning about a dangling alternative after removal.
🌐
GitHub
github.com › Homebrew › brew › issues › 13592
`brew deps` fails with `--formula` and emits a warning without it · Issue #13592 · Homebrew/brew
July 22, 2022 - Run `brew link` on these: bash-completion@2 bash-completion Warning: Some installed formulae are missing dependencies. You should `brew install` the missing dependencies: brew install openssl@3 Run `brew missing` for more details. I ran brew update and am still able to reproduce my issue. I have resolved all warnings from brew doctor and that did not fix my problem. Run brew deps --union --full-name --formula <formula-names> to generate a definitive list of dependencies for all of the formulae installed, or being installed, by a provisioning script.
Author   Homebrew
🌐
Codeberg
vhs.codeberg.page › post › brew-install-missing-formulas
Brew Install Missing Formulas | VHSblog
February 7, 2019 - images master* ❯ brew install hugo@0.44 Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/cask). No changes to formulae. Error: No available formula with the name "hugo@0.44" ==> Searching for a previously deleted formula (in the last month)...
🌐
Ubuntu
manpages.ubuntu.com › trusty › man(8)
Ubuntu Manpage: update-alternatives - maintain symbolic links determining default commands
The arguments after --slave are the generic name, symlink name in the alternatives directory and the alternative path for a slave link. Zero or more --slave options, each followed by three arguments, may be specified. Note that the master alternative must exist or the call will fail. However if a slave alternative doesn't exist, the corresponding slave alternative link will simply not be installed (a warning will still be displayed).