Receiving the following error:
Error: No available formula with the name "rabbitmq"
Tried reinstalling brew and updating brew with no help.
its because your brew installation has some problems. Just try to reset it to master branch by running following command
git -C $(brew --repository homebrew/core) checkout master
then run
brew update
after that you can run
brew install rabbitmq
and it should be working.
Like #gino-mempin commented, you should be able to install by using brew install rabbitmq.
You can use brew doctor and brew config to verify if you have local brew setup issue.
With that being said, we failed to update rabbitmq to latest 3.8.5 (there are several failed attempts).
Related
I am using macOS 11.5.1 Big Sur and I tried to install Graphviz via
brew install graphviz
but I got an error:
Error: python#3.9: wrong number of arguments (given 1, expected 0)
The version of my Homebrew is
Homebrew 3.0.5
Homebrew/homebrew-core (git revision 7ff3c752de; last commit 2021-08-13)
Homebrew/homebrew-cask (git revision af069ca1b1; last commit 2021-08-13)
I have no idea about the reason. Any suggestions? Thank you.
I have fixed this issue, by the following commands.
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --switch /Applications/Xcode.app
Then rerun the brew install:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
It works on my Mac. Just share in case that anyone encounters the same issue.
I was unable to get it to work with homebrew. I read other threads recommending trying with Ports, which I did and failed also, since I got a little farther with Ports, I continue to look and finally found this...
Uninstall graphiz if you tried homebrew: brew uninstall graphviz
Install Ports https://www.macports.org/install.php
edit the Ports installation https://www.macports.org/install.php
Edit opt/etc/macports/sources.conf, comment out the rsync entry, and add a new entry as follows:
#rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]
https://distfiles.macports.org/ports.tar.gz [default]
Run sync in debug mode and watch for the tarball being used instead of rsync:
sudo port -d sync
sudo port install graphviz
I am on Mac os and could get twilio-cli. I have installed it using brew.
I tried
brew uninstall twilio
brew remove twilio
It gives below error
Warning: Twilio is switching the default branch from 'master' to 'main'
Warning: requiring an update to the default homebrew tap.
Warning:
Error: To upgrade twilio-cli, retap it with:
brew untap twilio/brew
brew tap twilio/brew
brew upgrade twilio
I applied above suggested commands but it still give same error over and over again.
Try this first
brew update-reset $(brew --repo twilio/brew)
Then try
brew uninstall twilio
brew untap twilio/brew
brew tap twilio/brew
brew install twilio
If that fails, then I would go to the folder
/usr/local/Homebrew/Library/Taps/twilio/
and manually delete the hombrew-brew folder rm -rf homebrew brew
Then I would do brew tap twilio/brew && brew install twilio
After that you might as well run brew update && brew upgrade
then brew doctor to make sure everything is good
brew install twilio/brew/twilio should be enough.
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 available formula with the name "paramiko"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
I've tried untapping home-brew via:
brew untap homebrew
And I get:
Error: No available tap homebrew/php.
Also tried:
brew tap --repair
brew update
Nothing besides:
Updated 1 tap (caskroom/cask).
No changes to formulae.
If I have to go through Xcode, that's fine but I feel the issue here is not the installation process but something weird with the taps...
This worked for me.
run brew doctor
Warning: Some taps are not on the default git origin branch and may
not receive updates. If this is a surprise to you, check out the
default branch with: git -C $(brew --repo homebrew/core) checkout
master
then run git -C $(brew --repo homebrew/core)
Run this command:
git -C $(brew --repo homebrew/core) checkout master
this will switch to master, then run
brew doctor
this should run without any error.
If there is no error you can install anything with brew install
ex: brew install wget
I ran:
brew doctor
which gave me as first warning:
Warning: Homebrew/homebrew-core was not tapped properly! Run:
rm -rf "/opt/homebrew/Library/Taps/homebrew/homebrew-core"
brew tap homebrew/core
Running those 2 commands above solved the problem for me.
I was also facing the same issue when installing Node via brew.
I fixed it by running two commands:
$ brew doctor
This shows me this warning:
Warning: Homebrew/homebrew-core was not tapped properly! Run:
rm -rf "/opt/homebrew/Library/Taps/homebrew/homebrew-core"
brew tap homebrew/core
Then I ran these two commands to fix the warning:
$ rm -rf "/opt/homebrew/Library/Taps/homebrew/homebrew-core"
$ brew tap homebrew/core
And then I tried installing Node:
$ brew install node
It worked.
See if the following approach in the following link helps.
Depending upon your pip/python/xcode version, brew may not work in installing python or python3.
I installed Python3 binary .pkg for Mac from their site, installed it on Mac.
Then, opened a new Terminal window and did:
which python3 && python3 --version && which pip3 && pip3 --version
pip3 install paramiko
brew or pip - install credstash - errors - No named formulae found in taps / OSErr six-1.4.1-py2.7.egg-info operation not permitted
Apparently, I also had this issue, I'm a developer.
I want to develop an OS with a command known as i686-elf-gcc, but with homebrew it doesn't work. So, use this:
brew doctor
And a warning will show up:
Warning: Homebrew/homebrew-core was not tapped properly! Run:
rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"
brew tap homebrew/core
So run these:
rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"
brew tap homebrew/core
After that, I tried installing my package:
brew install i686-elf-gcc
And, it worked, it should also work for you.
sudo ln -s /usr/lib/dart/bin/pub /usr/bin/pub
sudo ln -s /usr/lib/dart/bin/dart2js /usr/bin/dart2js
git -C $(brew --repo homebrew/core) checkout master
this command helps
I have been struggling with this for a few hours. I am on a Mac using Yosemite. I had homebrew installed, and was using git just fine. I tried doing $git add -i and I got this error:
Can't locate Git.pm in #INC (#INC contains:
So I followed the instructions here:
Can't locate Git.pm in #INC
$brew uninstall git worked fine, but after I tried to $brew install git I've been stuck in a terrible cycle.
% brew install git
Error: git-git already installed
To install this version, first `brew unlink git'
% brew unlink git
Error: No such keg: /usr/local/Cellar/git
% brew link git
Error: No such keg: /usr/local/Cellar/git
% git --version
git version 1.9.3 (Apple Git-50)
% brew upgrade git
==> Upgrading 1 outdated package, with result:
git 2.2.2
Error: /usr/local/Library/LinkedKegs/git is not a valid keg
% brew install git
Error: git-git already installed
To install this version, first `brew unlink git'
%
I just want to get homebrew & git back to normal and linked to the correct repo again. I'm really rough around the edges at this stuff, so any help would be greatly appreciated!
Give another go at force removing the brewed version of git
brew uninstall --force git
Then cleanup any older versions and clear the brew cache
brew cleanup -s git
Remove any dead symlinks
brew cleanup --prune-prefix
Then try reinstalling git
brew install git
If that doesn't work, I'd remove that installation of Homebrew altogether and reinstall it. If you haven't placed anything else in your brew --prefix directory (/usr/local by default), you can simply rm -rf $(brew --prefix). Otherwise the Homebrew wiki recommends using a script at https://gist.github.com/mxcl/1173223#file-uninstall_homebrew-sh
Had a similar issue while installing "Lua" in OS X using homebrew. I guess it could be useful for other users facing similar issue in homebrew.
On running the command:
$ brew install lua
The command returned an error:
Error: /usr/local/opt/lua is not a valid keg
(in general the error can be of /usr/local/opt/ is not a valid keg
FIXED it by deleting the file/directory it is referring to, i.e., deleting the "/usr/local/opt/lua" file.
root-user # rm -rf /usr/local/opt/lua
And then running the brew install command returned success.
Os X Mojave 10.14 has:
Error: The Command Line Tools header package must be installed on
Mojave.
Solution. Go to
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
location and install the package manually. And brew will start working and we can run:
brew uninstall --force git
brew cleanup -s git
brew cleanup --prune-prefix
brew install git
I had a problem installing Couch DB on mac OSx Lion using Homebrew.
I execute the command
brew install couchdb
but then I have have a problem with mmd5 on file
~/Library/Caches/Homebrew/spidermonkey-1.8.5.tar.gz
How can I proceed?
UPDATE
I found out how to fix the problem:
you have to remove the file
rm ~/Library/Caches/Homebrew/spidermonkey-1.8.5.tar.gz
and update your Homebrew by running
brew update
you might have git problem here (as I had) to resolve it reset all local homebrew changes by running
git reset --hard
git clean -f -x -d
and run
brew update
and now it should be straight forward to install couchdb
brew install couchdb
(if you are running LION):
brew install -v couchdb
to runn it type
couchdb