Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebrew Formula error: No available formula with the name "formula". Did you mean foreman? Error: Broken pipe #839

Open
d4rklinux opened this issue Nov 29, 2022 · 0 comments

Comments

@d4rklinux
Copy link

Foreman Homebrow Problem

hi, I have a problem with homebrew in practice when I start the terminal I always get this error and I have to press q up to 3 times until the error disappears.
How can I fix? I am attaching the error.

"Warning: No available formula with the name "formula". Did you mean foreman?
Error: Broken pipe"

"/Users/d4rklinux/.zprofile:10: command not found: CASK...
Error: No available formula with the name "formula". Did you mean foreman?"

"Warning: No available formula with the name "formula". Did you mean foreman?
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/foreman.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/file-formula.rb
Error: Broken pipe"

Last login: Tue Nov 29 13:24:59 on ttys000
/Users/d4rklinux/.zprofile:4: command not found: Example
/Users/d4rklinux/.zprofile:5: no such file or directory: /REGEX/
/Users/d4rklinux/.zprofile:6: bad pattern: [FORMULA
/Users/d4rklinux/.zprofile:6: command not found: CASK...]
/Users/d4rklinux/.zprofile:7: command not found: CASK...
Warning: No available formula with the name "formula". Did you mean foreman?
Error: Broken pipe
Already up-to-date.
/Users/d4rklinux/.zprofile:9: bad pattern: [FORMULA
/Users/d4rklinux/.zprofile:9: command not found: CASK...]
/Users/d4rklinux/.zprofile:10: command not found: CASK...
Error: No available formula with the name "formula". Did you mean foreman?
/Users/d4rklinux/.zprofile:11: bad pattern: [FORMULA
/Users/d4rklinux/.zprofile:11: command not found: CASK...]
/Users/d4rklinux/.zprofile:13: command not found: Troubleshooting:
HOMEBREW_VERSION: 3.6.12-54-g7478293
ORIGIN: https://github.com/Homebrew/brew
HEAD: 747829334b4bb3ab0d67a4c8bd9f4bf78c491c49
Last commit: 32 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c931185fc2cea8b756a557985abd8c3bd0c27e2a
Core tap last commit: 2 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 14.0.0 build 1400
Git: 2.37.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.84.0 => /usr/bin/curl
macOS: 13.0.1-arm64
CLT: 14.1.0.0.1.1666437224
Xcode: 14.1
Rosetta 2: false
Your system is ready to brew.
Loading package information... Debugger entered--Lisp error: (cask-no-cask-file "/Users/d4rklinux/Cask")
signal(cask-no-cask-file ("/Users/d4rklinux/Cask"))
(if (f-file? (cask-file bundle)) (progn (let* (package-alist package-activated-list package-archives package-archive-contents (load-path load-path) (package-directory-list (eval (car (get ... ...)))) (package-load-list (eval (car (get ... ...)))) (package-user-dir (cask-elpa-path bundle)) (package-gnupghome-dir "/Users/d4rklinux/.emacs.d/elpa/gnupg")) (cask--use-environment bundle t t) :refresh t (let* ((--cl-rest-- (cask--dependencies-and-missing bundle)) (runtime (if (= ... 3) (car-safe ...) (signal ... ...))) (develop (car-safe (prog1 --cl-rest-- ...))) (missing-dependencies (car-safe (prog1 --cl-rest-- ...))) (dependencies (cask--remove-vendored (cask--uniq-dependencies ...))) (total (length dependencies))) (progn (if (or (not ...) (not cask-cli--silent)) (progn (princ ... ...))) (if (or (not ...) (not cask-cli--silent)) (progn (princ ... nil))) (let ((--dotimes-limit-- total) (--dotimes-counter-- 0)) (while (< --dotimes-counter-- --dotimes-limit--) (let ... ...) (setq --dotimes-counter-- ...))) (if missing-dependencies (progn (signal ... missing-dependencies))))))) (signal 'cask-no-cask-file (list (cask-file bundle))))
cask-install(#s(cask-bundle :name nil :version nil :description nil :runtime-dependencies nil :development-dependencies nil :path "/Users/d4rklinux/" :patterns nil :sources nil))
(progn (cask-install (cask-cli--bundle)))
(condition-case err (progn (cask-install (cask-cli--bundle))) (cask-missing-dependencies (let ((missing-dependencies (cdr err))) (error "Some dependencies were not available: %s" (s-join ", " (mapcar #'symbol-name (mapcar #'cask-dependency-name missing-dependencies)))))) (cask-failed-initialization (let* ((data (cdr err)) (message (error-message-string (nth 0 data))) (output (nth 1 data))) (error "Package initialization failed: %s\nOutput:\n%s" message output))) (cask-failed-installation (let* ((data (cdr err)) (dependency (progn (or (progn ...) (signal ... ...)) (aref (nth 0 data) 1))) (message (error-message-string (nth 1 data))) (output (nth 2 data))) (if dependency (error "Dependency %s failed to install: %s\nOutput:\n%s" dependency message output) (error "Package installation failed: %s\nOutput:\n%s" message output)))))
cask-cli/install()
commander--handle-command(("install"))
commander-parse(("install"))
(if commander-parsing-done nil (commander-parse (or commander-args (cdr command-line-args-left))))
eval-buffer(#<buffer load> nil "/opt/homebrew/Cellar/cask/0.8.8/cask-cli.el" nil t) ; Reading at buffer position 13305
load-with-code-conversion("/opt/homebrew/Cellar/cask/0.8.8/cask-cli.el" "/opt/homebrew/Cellar/cask/0.8.8/cask-cli.el" nil t)
load("/opt/homebrew/Cellar/cask/0.8.8/cask-cli.el" nil t t)
command-line-1(("-scriptload" "/opt/homebrew/Cellar/cask/0.8.8/cask-cli.el" "--" "install"))
command-line()
normal-top-level()

Warning: No available formula with the name "formula". Did you mean foreman?
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/foreman.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/file-formula.rb
Error: Broken pipe
/opt/homebrew/Library/Homebrew/utils/popen.rb:47:in popen' /opt/homebrew/Library/Homebrew/utils/popen.rb:47:in popen'
/opt/homebrew/Library/Homebrew/utils/popen.rb:9:in popen_read' /opt/homebrew/Library/Homebrew/missing_formula.rb:162:in block in deleted_reason'
/opt/homebrew/Library/Homebrew/extend/pathname.rb:303:in block in cd' /opt/homebrew/Library/Homebrew/extend/pathname.rb:303:in chdir'
/opt/homebrew/Library/Homebrew/extend/pathname.rb:303:in cd' /opt/homebrew/Library/Homebrew/missing_formula.rb:145:in deleted_reason'
/opt/homebrew/Library/Homebrew/missing_formula.rb:14:in reason' /opt/homebrew/Library/Homebrew/cmd/install.rb:303:in rescue in install'
/opt/homebrew/Library/Homebrew/cmd/install.rb:149:in install' /opt/homebrew/Library/Homebrew/brew.rb:95:in

'
/Users/d4rklinux/.zprofile:18: command not found: Contributing:
/Users/d4rklinux/.zprofile:19: no matches found: [--no-fetch]
/Users/d4rklinux/.zprofile:20: bad pattern: [FORMULA
/Users/d4rklinux/.zprofile:20: command not found: CASK...]
/Users/d4rklinux/.zprofile:22: command not found: Further
==> Built-in commands
--cache commands help outdated unpin
--caskroom completions home pin untap
--cellar config info postinstall update-report
--env deps install readall update-reset
--prefix desc leaves reinstall update
--repository developer link search upgrade
--version docs list shellenv uses
analytics doctor log tap-info vendor-install
autoremove fetch migrate tap
casks formulae missing uninstall
cleanup gist-logs options unlink

==> Built-in developer commands
audit formula sh
bottle generate-man-completions style
bump-cask-pr install-bundler-gems tap-new
bump-formula-pr irb test
bump-revision linkage tests
bump-unversioned-casks livecheck typecheck
bump pr-automerge unbottled
cat pr-publish unpack
command pr-pull update-license-data
contributions pr-upload update-maintainers
create prof update-python-resources
dispatch-build-bottle release update-sponsors
edit rubocop update-test
extract ruby vendor-gems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant