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

Unexpected method 'appcast' called on Cask #173201

Closed
6 tasks done
jsingal opened this issue May 8, 2024 · 22 comments
Closed
6 tasks done

Unexpected method 'appcast' called on Cask #173201

jsingal opened this issue May 8, 2024 · 22 comments

Comments

@jsingal
Copy link

jsingal commented May 8, 2024

Verification

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

/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/testssl
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/tree
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libheif
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libtiff
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libtool
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/gmp
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/wget
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libidn2
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromTapLoader): loading teamookla/speedtest/speedtest
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/little-cms2
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libpng
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/ncurses
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/ghostscript
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/nettle
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/pixman
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/gdbm
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/mpdecimal
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/freetype
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/imath
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/liblinear
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/starship
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libunistring
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/liblqr
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/openjpeg
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/highway
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/ldns
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/brotli
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libslirp
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/shared-mime-info
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/concurrencykit
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/[email protected]
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/openssh
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/glib
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/readline
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/aom
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libde265
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/lz4
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/darksky-weather
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/webp
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/sqlite
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/xz
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libnghttp2
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/vde
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/lua
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/openexr
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/fontconfig
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromTapLoader): loading homebrew/core/archey
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromKegLoader): loading archey
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/htop
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/giflib
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/certifi
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/capstone
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libfido2
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/dtc
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/snappy
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libvmaf
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/openssl@3
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/ca-certificates
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/gettext
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libssh2
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libcbor
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/qemu
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/zstd
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/ansiweather
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/tcl-tk
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/dnsperf
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/jbig2dec
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/m4
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libtasn1
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/oniguruma
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libraw
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libssh
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/pcre2
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/youtube-dl
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libevent
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/[email protected]
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/pcre
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/jpeg-xl
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/[email protected]
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libidn
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/x265
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libomp
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/unbound
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/nmap
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/jq
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/zsh-syntax-highlighting
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libusb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/[email protected]
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/imagemagick
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/shodan
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/jasper
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/p11-kit
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/lzo
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/libffi
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/telnet
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/[email protected]
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/jpeg-turbo
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/gnutls
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading homebrew/core/smap
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading 1password
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading 1password-cli
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading adobe-acrobat-reader
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading aerial
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading airparrot
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading appcleaner
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading atom
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading authy
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading bartender
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading brave-browser
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading cakebrew
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading cardhop
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading clean-me
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading cloudflare-warp
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading cyberduck
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading docker
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading duet
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromInstalledPathLoader): loading exodus
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading fantastical
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading firefox
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading google-chrome
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading google-drive
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading google-earth-pro
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading handbrake
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading hazel
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading hyper
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading iina
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading istat-menus
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading iterm2
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading itsycal
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading keka
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading kindle
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading little-snitch
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading microsoft-auto-update
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading microsoft-office
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading microsoft-teams
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading mimestream
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading mountain-duck
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading mullvadvpn
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading numi
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading pdf-expert
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading popclip
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading protonvpn
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading pulsar
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading rocket-typist
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading shottr
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading spotify
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading steam
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading sublime-text
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromInstalledPathLoader): loading subnetcalc
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading tg-pro
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading the-unarchiver
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading thunderbird
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading tor-browser
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading transmission
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading transmit
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading utm
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading visual-studio-code
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading vlc
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading whatsapp
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading wifi-explorer
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromInstalledPathLoader): loading winds
Error: Unexpected method 'appcast' called on Cask winds.
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading zoom

Output of brew doctor and brew config

~ brew doctor
Error: Unexpected method 'appcast' called on Cask winds.
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
Error: Unexpected method 'appcast' called on Cask winds.
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  atom
  authy
  cakebrew
  clean-me
  kindle

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  archey

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  darksky-weather
  [email protected]
  youtube-dl

Warning: Some installed formulae are not readable:
  archey: wrong number of arguments (given 1, expected 0)


➜  ~ brew config
HOMEBREW_VERSION: 4.2.21-47-g9bf7734
ORIGIN: https://github.com/Homebrew/brew
HEAD: 9bf7734749a0d8e99d2e3f966bb236a08f2a2609
Last commit: 54 minutes ago
Core tap HEAD: 88c922d97a51710cbd36788e2c1b9d4e1f1eb520
Core tap last commit: 30 minutes ago
Core tap JSON: 08 May 12:14 UTC
Core cask tap HEAD: 143403b45228fc215ac9c14efc22de0ec2345573
Core cask tap last commit: 48 minutes ago
Core cask tap JSON: 08 May 12:14 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4.1-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: N/A
Rosetta 2: false

Output of brew tap

~ brew tap
1password/tap
homebrew/bundle
homebrew/cask
homebrew/core
homebrew/services
teamookla/speedtest
wpscanteam/tap
@donpark

This comment was marked as outdated.

@Bckempa

This comment was marked as off-topic.

@xand3r40r93

This comment was marked as off-topic.

@bevanjkay
Copy link
Member

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.

@jsingal
Copy link
Author

jsingal commented May 9, 2024

Thanks for your guys help.

@jsingal jsingal closed this as completed May 9, 2024
@lodewykk
Copy link

lodewykk commented May 9, 2024

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.

@sgup
Copy link

sgup commented May 19, 2024

Unexpected method 'appcast' called on Cask adoptopenjdk11.

@gadgetvirtuoso
Copy link

gadgetvirtuoso commented May 21, 2024

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

@syntax76
Copy link

I got the same problem for tcl:

Unexpected method 'appcast' called on Cask tcl.

@bevanjkay bevanjkay pinned this issue May 28, 2024
@miccal miccal unpinned this issue May 28, 2024
@miccal miccal pinned this issue May 28, 2024
@bevanjkay bevanjkay changed the title Unexpected method 'appcast' called on Cask winds Unexpected method 'appcast' called on Cask May 29, 2024
@Twoody
Copy link

Twoody commented Jun 1, 2024

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:

  1. brew edit --cask adoptopenjdk8
  2. Remove or comment out the line containing appcast.
  3. brew install --cask adoptopenjdk8

@MiniSC
Copy link

MiniSC commented Jun 25, 2024

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 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.

@gk258007
Copy link

Looked up for the --caskroom dir from home-brew and removed it. Thank you @bevanjkay ! Cheers!

@Chanzhaoyu
Copy link

I had a similar issue with adoptopenjdk8, despite not having the cask installed, and going through the loops with temurin.I had a similar issue with adoptopenjdk8, despite not having the cask installed, and going through the loops with temurin.尽管没有安装木桶,并且使用temurin进行循环,但我在adoptopenjdk8时也遇到了类似的问题。

After removing the cask manually, having no errors with brew doctor, but I still had errors with brew cleanup.After removing the cask manually, having no errors with brew doctor, but I still had errors with brew cleanup.手动移除木桶后,brew doctor没有错误,但我仍然在brew cleanup中出现错误。

Anyway, to solve the error:Anyway, to solve the error: 无论如何,要解决错误:

  1. brew edit --cask adoptopenjdk8
  2. Remove or comment out the line containing appcast.Remove or comment out the line containing appcast.删除或注释掉包含appcast的行。
  3. brew install --cask adoptopenjdk8

Thanks

@alienlifeform
Copy link

alienlifeform commented Aug 9, 2024

This also worked for me.

brew edit --cask adoptopenjdk8
Remove or comment out the line containing appcast.
brew install --cask adoptopenjdk8

@anuvedantham

This comment has been minimized.

@sqmw
Copy link

sqmw commented Aug 21, 2024

So abstract a problem, I also encountered

@sdaitzman
Copy link

Leaving a comment now for anyone else who encounters the text "Error: Unexpected method 'appcast' called on Cask now."

now is the name of the Cask, not part of the message! You need to remove the now package that uses the deprecated entry to resolve the error message.

@watsaket00
Copy link

watsaket00 commented Sep 18, 2024

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.

I got this errors 'Error: Unexpected method 'appcast' called on Cask adoptopenjdk8'

This work for me too, Thank you :)

@Edjevw12
Copy link

brew cleanup --prune=all

this worked for me

@jobearrr
Copy link

jobearrr commented Oct 9, 2024

I only needed to comment out the line containing appcast as suggested before.

  1. brew edit --cask adoptopenjdk8
  2. Remove or comment out the line containing appcast.
  3. brew install --cask adoptopenjdk8

@dennismphil
Copy link

Error: Unexpected method 'appcast' called on Cask adoptopenjdk11.

 
The solution quoted worked with a slight tweak, the version was  `adoptopenjdk11` which I did not realize in the first glance. In case this helps anyone. 

Anyway, to solve the error:

  1. brew edit --cask adoptopenjdk8
  2. Remove or comment out the line containing appcast.
  3. brew install --cask adoptopenjdk8

@khuddite
Copy link

khuddite commented Nov 1, 2024

  1. brew edit --cask adoptopenjdk8

Sure, worked for me. Thanks!

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