Closed ppannuto closed 4 years ago
We no longer have such a cask, which means you’re either reading it from one of the other taps, or something changed internally that made in unreadable.
Seeing as we no longer support the cask, the recommendation is that you uninstall it.
For any coming across this in the future, it seems that a plain uninstall of old formulae has issues, but tacking on a --force
will make things happy:
$ brew cask uninstall kicad-nightly
Warning: Unexpected method 'license' called on Cask kicad-nightly.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Warning: Unexpected method 'license' called on Cask kicad-nightly.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
==> Uninstalling Cask kicad-nightly
Error: It seems there is already an App Suite at '/usr/local/Caskroom/kicad-nightly/r6979.20160714-060715/Kicad'.
$ brew cask uninstall --force kicad-nightly
Warning: Unexpected method 'license' called on Cask kicad-nightly.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Warning: Unexpected method 'license' called on Cask kicad-nightly.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
==> Uninstalling Cask kicad-nightly
Warning: It seems there is already an App Suite at '/usr/local/Caskroom/kicad-nightly/r6979.20160714-060715/Kicad'; overwriting.
==> Removing App Suite '/usr/local/Caskroom/kicad-nightly/r6979.20160714-060715/Kicad'
==> Backing App Suite 'Kicad' up to '/usr/local/Caskroom/kicad-nightly/r6979.20160714-
==> Removing App Suite '/Applications/Kicad'.
Warning: It seems there is already a Generic Artifact at '/usr/local/Caskroom/kicad-nightly/r6979.20160714-060715/kicad'; overwriting.
==> Removing Generic Artifact '/usr/local/Caskroom/kicad-nightly/r6979.20160714-060715
==> Backing Generic Artifact 'kicad' up to '/usr/local/Caskroom/kicad-nightly/r6979.20
==> Removing Generic Artifact '/Users/ppannuto/Library/Application Support/kicad'.
==> Purging files for version r6979.20160714-060715 of Cask kicad-nightly
brew doctor
does again work for me after uninstalling this.
Warning: Unexpected method 'license' called on Cask kicad-nightly.
You had a really old install.
General troubleshooting steps
--force
.~ N/A, there is no--force
fordoctor
brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Brew doctor fails with an error and no path for resolution.
Command that failed
Output of command with
--force --verbose --debug
n.b.
force
omitted as it is not a valid flag for doctorOutput of
brew cask doctor
Output of
brew tap
Possibly similar to https://github.com/Homebrew/homebrew-cask/issues/75358, which appears to have been an error with the formula -- perhaps the same applies here?