Closed jsingal closed 3 months ago
Some observations and temporary workaround:
brew upgrade
seems to work fine despite the error.Error:
/usr/local/Homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromInstalledPathLoader): loading minikube
Error: Unexpected method 'appcast' called on Cask minikube.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Temporary Workaround:
brew uninstall minikube
I'm having the same issue but it's complaining about a font installed from the (cask-fonts)[https://github.com/Homebrew/homebrew-cask-fonts/] tap. But I can't try the workaround because brew uninstall
isn't working, even on other casks/formula.
Edit: Uninstall issue was unrelated
Error: Unexpected method 'appcast' called on Cask vimmotion.
In all of these cases, this is caused by having a Cask still installed in your Caskroom that was removed from homebrew-cask
more than a couple of years ago. They were therefore never updated to remove the deprecated appcast
stanza.
If you wish to keep the app installed, you may be best off removing the Cask from your Caskroom (however note that you won't be able to uninstall the app using Homebrew), as it will never receive updates or be able to be reinstalled in future.
rm -rfi $(brew --caskroom)/<token>
rm -rfi $(brew --caskroom)/winds
This will not remove the application from your computer.
Thanks for your guys help.
I received the same issue with adoptopenjdk:
brew uninstall ffmpeg
Error: Unexpected method 'appcast' called on Cask adoptopenjdk15.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Error: Unexpected method 'appcast' called on Cask adoptopenjdk8.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Removing the caskroom entries using the instructions from @bevanjkay solved the issue.
Unexpected method 'appcast' called on Cask adoptopenjdk11.
Unexpected method 'appcast' called on Cask adoptopenjdk11.
Had the same. I ended up deleting the adoptopenjdk manually then reinstall if needed, but this one is being deprecated for temurin.
/opt/homebrew/Caskroom/adoptopenjdk
I got the same problem for tcl:
Unexpected method 'appcast' called on Cask tcl.
I had a similar issue with adoptopenjdk8
, despite not having the cask installed, and going through the loops with temurin
.
After removing the cask manually, having no errors with brew doctor
, but I still had errors with brew cleanup
.
Anyway, to solve the error:
brew edit --cask adoptopenjdk8
appcast
.brew install --cask adoptopenjdk8
thank for this suggest, i use brew --caskroom to find my caskroom position then remove it , that's worked
In all of these cases, this is caused by having a Cask still installed in your Caskroom that was removed from
homebrew-cask
more than a couple of years ago. They were therefore never updated to remove the deprecatedappcast
stanza. If you wish to keep the app installed, you may be best off removing the Cask from your Caskroom (however note that you won't be able to uninstall the app using Homebrew), as it will never receive updates or be able to be reinstalled in future.
rm -rfi $(brew --caskroom)/<token>
rm -rfi $(brew --caskroom)/winds
This will not remove the application from your computer.
Looked up for the --caskroom dir from home-brew and removed it. Thank you @bevanjkay ! Cheers!
I had a similar issue with
adoptopenjdk8
, despite not having the cask installed, and going through the loops withtemurin
.I had a similar issue withadoptopenjdk8
, despite not having the cask installed, and going through the loops withtemurin
.尽管没有安装木桶,并且使用temurin
进行循环,但我在adoptopenjdk8
时也遇到了类似的问题。After removing the cask manually, having no errors with
brew doctor
, but I still had errors withbrew cleanup
.After removing the cask manually, having no errors withbrew doctor
, but I still had errors withbrew cleanup
.手动移除木桶后,brew doctor
没有错误,但我仍然在brew cleanup
中出现错误。Anyway, to solve the error:Anyway, to solve the error: 无论如何,要解决错误:
brew edit --cask adoptopenjdk8
- Remove or comment out the line containing
appcast
.Remove or comment out the line containingappcast
.删除或注释掉包含appcast
的行。brew install --cask adoptopenjdk8
Thanks
This also worked for me.
brew edit --cask adoptopenjdk8
Remove or comment out the line containing appcast.brew install --cask adoptopenjdk8
For anyone still encountering this error on macOS, the package's current installation instructions worked for me:
$ brew install mysql pkg-config
$ pip install mysqlclient
So abstract a problem, I also encountered
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Encounter this error when running 'brew upgrade' or 'brew upgrade --cask' command.
Unexpected method 'appcast' called on Cask winds
Command that failed
brew upgrade
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap