~ % brew install youtube-dl
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "youtube-dl".
==> 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.
Try brew update first.
If the problem persists, please share the output for brew doctor, it shows the problem with solutions.
Related
I was following the instruction here and it said to do:
brew install agda
agda-mode setup
I believe it should be working since I was able to compile the hello-world.agda and run the binary executable with ./hello-world.
But the output says there are error:
(meta_learning) brandomiranda~ ❯ brew install agda
Warning: No available formula with the name "agda".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> 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.
In fact, I don't know what changed since my last compilation of hello world but indeed I cannot compile it (and thus run it) anymore:
(meta_learning) brandomiranda~/coq4brando/cs598 ❯ agda --compile hello-world.agda
/Users/brandomiranda/.agda/libraries:1: Failed to read library file /usr/local/lib/agda/standard-library.agda-lib.
Reason: /usr/local/lib/agda/standard-library.agda-lib: openFile: does not exist (No such file or directory)
Why? Does someone know how to fix this?
I keep getting this weird brew warning, logs are below:
Warning: No available formula or cask with the name "md5sha1sum#!/bin/bash".
Please tap it and then try again: brew tap md5sha1sum#!/bin
Error: No similarly named formulae found.
Error: No previously deleted formula found.
ERROR: Unexpected mod_checksum '==> Searching for similarly named formulae...
==> Searching for a previously deleted formula (in the last month)...
What should I do?
I tried brew tap md5sha1sum#!/bin, not working.
Like Gordon said, md5sha1sum is the formula name, but #!/bin/bash is shebang.
It can be confirmed by either the CLI search, or formulae search page.
$ brew search md5sha1sum
==> Formulae
md5sha1sum
Unable to install the thrift compiler while running the command "brew install thrift#0.12"
I get the below error:
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.```
Can someone suggest an alternative or a fix?
I'm trying to install the Arabic data on Tesseract using Terminal using this command. I have homebrew installed
brew install tesseract-ocr-[ara]
But I keep getting this error.
Any thoughts?
Error: No available formula with the name "tesseract-ocr-[ara]"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
It suggested that I do a deeper clone since I had only done a shallow clone, so I did that, but it still gave me this same result.
brew info tesseract says:
tesseract: stable 4.1.0 (bottled), HEAD
OCR (Optical Character Recognition) engine
https://github.com/tesseract-ocr/
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/tesseract.rb
==> Dependencies
Build: autoconf, autoconf-archive, automake, libtool, pkg-config
Required: leptonica, libtiff
==> Options
--HEAD
Install HEAD version
==> Caveats
This formula contains only the "eng", "osd", and "snum" language data files.
If you need all the other supported languages, `brew install tesseract-lang`.
This suggests that you need to run brew install tesseract-lang.
I'm trying to install OpenNI2 with Homebrew, but midway I ran into this common issue "Error: SHA1 mismatch"
I tried the solution from another question that resembled this like
SHA1 error when using brew installs's brew update ; however it's already updated
I also did try to remove, as it instructed, the listed archive but I ran into the same problem.
running brew doctor didn't seem to give a good hint on a resolution.
Preq.
$ brew tap homebrew/science
$ brew tap totakke/openni2
Action
$ brew install openni2
Output
==> Downloading https://github.com/occipital/OpenNI2/archive/2.2-beta2.tar.gz
######################################################################## 100.0%
==> Downloading https://github.com/occipital/OpenNI2/pull/18.patch
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: e0be30b6b9296939306155580df1ac7912d3f949
Actual: 4beb04a31a64677618801f0e95141807592442ef
Archive: /Library/Caches/Homebrew/openni2--patch-e0be30b6b9296939306155580df1ac7912d3f949.patch
To retry an incomplete download, remove the file above.
reference
The cause is hash mismatch of the patch file.
OpenNI2 formula is currently hosted by homebrew-science.
It's a homebrew-science problem.
Alternative solution is editting the formula by yourself.
$ brew edit openni2
- sha1 "e0be30b6b9296939306155580df1ac7912d3f949"
+ sha1 "4beb04a31a64677618801f0e95141807592442ef"
Thanks Takeuchi!
This means that the patch has changed since the formula was written. You should make sure that the patch has not been changed maliciously. If you trust the patch, you can run brew edit openni2 to edit the formula, remove the sha1 line corresponding to the patch, save the formula, and try again.