`brew cleanup` chokes: Cask adoptopenjdk8 exists in multiple taps

(Mirko Friedenhagen) #1


it seems recently adoptopenjdk8 was added to cask-versions. I had installed it (and adoptopenjdk11) before by running:

brew tap adoptopenjdk/openjdk
brew install adoptopenjdk8 adoptopenjdk11

Now brew cleanup complains about:

$ brew cleanup
Error: Cask adoptopenjdk8 exists in multiple taps:

As I need adoptopenjdk11 (only available from adoptopenjdk/openjdk) I need to use tap adoptopenjdk/openjdk.

I already tried to

  • brew cask remove adoptopenjdk/openjdk/adoptopenjdk8 followed by
  • brew cask install adoptopenjdk/openjdk/adoptopenjdk8.

Strangely enough when now running brew cask list --full-name I do not see the tap prefix for adoptopenjdk8 but for 11 it is there ?!?:

$ brew cask list --full-name                                                                                                                                     adoptopenjdk8

Any hints appreciated.

(Boris Zhao ) #2

It has nothing to do with what you’ve installed. This error occurs because there are 2 adoptopenjdk8 in both adoptopenjdk/openjdk and homebrew/cask-versions.

The maintainers are working on it. You can see Cask adoptopenjdk8 exists in multiple taps #106.

1 Like