-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
brew cask doesn't work on OS X 10.10 #4667
Comments
It not advised to upgrade to OS X 10.10 by homebrew themselves. https://twitter.com/MacHomebrew/status/473727200118976512. I think it's not an easy fix by now. |
homebrew is working just fine now Homebrew/legacy-homebrew#29795 (reference) |
› brew cask
Error: Unknown command: cask
› brew tap caskroom/cask
Warning: Already tapped!
› brew upgrade brew-cask
Error: brew-cask-0.35.0 already installed |
I'm getting identical issues to all those above. My install of homebrew didn't work under Yosemite yesterday morning – they patched things up throughout the day and now it appears to work just fine. I was able to install tons and tons of recipes on a fresh install of Yosemite. It'd be great to get |
Hi! Thanks for the data points. I would love to get this working, but don't yet have access to a Yosemite VM. There are some useful clues above; maybe we will be able to figure it out. It's certainly odd that |
@tcarlsen Was this on a new install? I have it installed as well and had no issue getting brew cask to work: |
I'm wondering if @tcarlsen's and my issue is separate from that of the original poster. For me, the I can devote more time to tracing this down later on today — it's definitely odd. |
@tcarlsen I'm getting the same issue. |
@kreeger I believe it is. Can either @tcarlsen or you create a new issue? @acgetchell Have you tried going into I can't reproduce this issue on a different machine either. Could you provide some more information on the system?
|
My latest try: ┌─[getchell][Hapkido][~]
└─▪ brew tap caskroom/cask
Warning: Already tapped!
┌─[getchell][Hapkido][~]
└─▪ brew doctor
Your system is ready to brew.
┌─[getchell][Hapkido][~]
└─▪ brew install brew-cask
Error: No available formula for brew-cask |
Can you try |
┌─[getchell][Hapkido][~]
└─▪ brew update
Already up-to-date.
┌─[getchell][Hapkido][~]
└─▪ brew install caskroom/cask/brew-cask
Error: No available formula for brew-cask
Please tap it and then try again: brew tap caskroom/cask
┌─[getchell][Hapkido][~]
└─▪ brew tap caskroom/cask
Warning: Already tapped!
┌─[getchell][Hapkido][~]
└─▪ brew install caskroom/cask/brew-cask
Error: No available formula for brew-cask
Please tap it and then try again: brew tap caskroom/cask |
It seems there's a problem with the way Homebrew's taps are being handled in Yosemite, and not an inherent problem with Cask itself. Regardless, could you also show |
Hi @acgetchell ! I didn't realize this was still a problem. I guess I got it mixed up with #4685. Some of the hard-to-diagnose problems we have seen recently were solved with cleanup: $ brew cleanup && brew cask cleanup Also, I've been adding some new diagnostics to |
Fixed! ┌─[getchell][Hapkido][~]
└─▪ brew cleanup && brew cask cleanup
Removing: /Users/getchell/Library/Logs/Homebrew/boost...
Removing: /Users/getchell/Library/Logs/Homebrew/cgal...
Removing: /Users/getchell/Library/Logs/Homebrew/cloog...
Removing: /Users/getchell/Library/Logs/Homebrew/cmake...
Removing: /Users/getchell/Library/Logs/Homebrew/doxygen...
Removing: /Users/getchell/Library/Logs/Homebrew/eigen...
Removing: /Users/getchell/Library/Logs/Homebrew/freetype...
Removing: /Users/getchell/Library/Logs/Homebrew/gcc...
Removing: /Users/getchell/Library/Logs/Homebrew/geomview...
Removing: /Users/getchell/Library/Logs/Homebrew/gmp...
Removing: /Users/getchell/Library/Logs/Homebrew/graphviz...
Removing: /Users/getchell/Library/Logs/Homebrew/isl...
Removing: /Users/getchell/Library/Logs/Homebrew/lesstif...
Removing: /Users/getchell/Library/Logs/Homebrew/libmpc...
Removing: /Users/getchell/Library/Logs/Homebrew/llvm...
Removing: /Users/getchell/Library/Logs/Homebrew/mpfr...
Removing: /Users/getchell/Library/Logs/Homebrew/pkg-config...
Removing: /Users/getchell/Library/Logs/Homebrew/qt...
Error: Unknown command: cask
┌─[getchell][Hapkido][~]
└─▪ brew install caskroom/cask/brew-cask
Error: No available formula for brew-cask
Please tap it and then try again: brew tap caskroom/cask
┌─[getchell][Hapkido][~]
└─▪ brew untap caskroom/cask
Untapped 0 formulae
┌─[getchell][Hapkido][~]
└─▪ brew tap caskroom/cask
Cloning into '/usr/local/Library/Taps/caskroom/homebrew-cask'...
remote: Reusing existing pack: 37913, done.
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 37930 (delta 5), reused 3 (delta 0)
Receiving objects: 100% (37930/37930), 13.09 MiB | 1.00 MiB/s, done.
Resolving deltas: 100% (22658/22658), done.
Checking connectivity... done.
Tapped 1 formula
┌─[getchell][Hapkido][~]
└─▪ ls -la /usr/local/Library/Taps/caskroom/homebrew-cask/
total 128
drwxr-xr-x 20 getchell admin 680 Jun 18 17:21 .
drwxr-xr-x 3 getchell admin 102 Jun 18 17:20 ..
drwxr-xr-x 13 getchell admin 442 Jun 18 17:21 .git
-rw-r--r-- 1 getchell admin 23 Jun 18 17:21 .gitignore
-rw-r--r-- 1 getchell admin 2349 Jun 18 17:21 .travis.yml
-rw-r--r-- 1 getchell admin 964 Jun 18 17:21 CONDUCT.md
-rw-r--r-- 1 getchell admin 14007 Jun 18 17:21 CONTRIBUTING.md
drwxr-xr-x 1622 getchell admin 55148 Jun 18 17:21 Casks
-rw-r--r-- 1 getchell admin 139 Jun 18 17:21 Gemfile
-rw-r--r-- 1 getchell admin 305 Jun 18 17:21 Gemfile.lock
-rw-r--r-- 1 getchell admin 1313 Jun 18 17:21 LICENSE
-rw-r--r-- 1 getchell admin 3209 Jun 18 17:21 README.md
-rw-r--r-- 1 getchell admin 132 Jun 18 17:21 Rakefile
-rw-r--r-- 1 getchell admin 9131 Jun 18 17:21 USAGE.md
drwxr-xr-x 3 getchell admin 102 Jun 18 17:21 bin
-rw-r--r-- 1 getchell admin 609 Jun 18 17:21 brew-cask.rb
drwxr-xr-x 4 getchell admin 136 Jun 18 17:21 developer
drwxr-xr-x 13 getchell admin 442 Jun 18 17:21 doc
drwxr-xr-x 5 getchell admin 170 Jun 18 17:21 lib
drwxr-xr-x 9 getchell admin 306 Jun 18 17:21 test
┌─[getchell][Hapkido][~]
└─▪ brew install brew-cask
==> Cloning https://github.com/caskroom/homebrew-cask.git
Updating /Library/Caches/Homebrew/brew-cask--git
==> Checking out tag v0.36.2
🍺 /usr/local/Cellar/brew-cask/0.36.2: 1697 files, 6.7M, built in 17 seconds
┌─[getchell][Hapkido][~]
└─▪ brew cask install anki
==> Downloading http://ankisrs.net/download/mirror/anki-2.0.26.dmg
######################################################################## 100.0%
==> Symlinking App 'Anki.app' to '/Users/getchell/Applications/Anki.app'
🍺 anki installed to '/opt/homebrew-cask/Caskroom/anki/2.0.26' (242 files, 84M) |
fixed it for me. still a problem on a fresh install. |
$ brew cleanup && brew cask cleanup solved my problem... |
That didn't fix my issue, but this did: Homebrew/legacy-homebrew#29843 (comment) |
Thank you @yildizib. That did the trick. System |
i had problem with line ending. what caused the similar error message
so i removed after that i run untap, tap and reinstall and it works well now. see: #9807 |
Cask is not recognised correctly on clean Yosemite installs. This is due to a weird compounding error as discussed in [homebrew/4667](Homebrew/homebrew-cask#4667)
all u have to do is reinstall it from the beginning: brew uninstall caskroom/cask/brew-cask |
brew install caskroom/cask/brew-cask THX! it is work |
uninstalling and then running: it's kinda strange how it's not really clear the differences between: of which i ran into examples using all three interchangeably when looking for a solution to this. |
|
|
@acgetchell You script works perfect! Thanks! |
@masculine and others who run into this issue: You shouldn't need to tap anything manually, we're now kept up-to-date with Homebrew itself. brew update; brew cleanup; brew cask cleanup
brew uninstall --force brew-cask; brew update Else, there's a nuclear option here. As always, the reporting bugs guide will have the most up-to-date troubleshooting directions, check there first. |
The text was updated successfully, but these errors were encountered: