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

brew cask install fails if Docker or VLC have been installed manually #18

Open
maxdanilov opened this issue Jan 25, 2020 · 5 comments
Open
Labels
wontfix This will not be worked on

Comments

@maxdanilov
Copy link

brew cask install ace-link
==> Downloading https://github.com/blaise-io/acelink/releases/download/1.4.0/Ace.Link.1.4.0.dmg
Already downloaded: /Users/maxim/Library/Caches/Homebrew/downloads/3fb4e10d6014cf040b01334045e8d48e12ac9e5ee9a74bca4ec87ef80c6eb759--Ace.Link.1.4.0.dmg
==> Verifying SHA-256 checksum for Cask 'ace-link'.
==> Installing dependencies: docker
==> Downloading https://download.docker.com/mac/stable/42247/Docker.dmg
Already downloaded: /Users/maxim/Library/Caches/Homebrew/downloads/c8f04506f50dbebfe55fa9e2c36f1e4ab84933b3bfffab22b5b2cb55fb1f2f79--Docker.dmg
==> Verifying SHA-256 checksum for Cask 'docker'.
==> Installing Cask docker
==> Purging files for version 2.2.0.0,42247 of Cask docker
Error: It seems there is already an App at '/Applications/Docker.app'.
@maxdanilov maxdanilov changed the title brew cask install fails if has already been installed brew cask install fails if Docker has already been installed Jan 25, 2020
@stickperson
Copy link

Same if VLC is already installed

@alexreg
Copy link

alexreg commented Feb 6, 2020

Maybe can be made optional dependencies? Or to recognise if non-cask installations exist?

@blaise-io
Copy link
Owner

blaise-io commented Feb 7, 2020

This is a limitation in Homebrew Cask: it does not understand applications that were installed manually and it does not offer an option to skip applications where a manual install exists at the target location.

Workarounds:

  1. Skip installing Docker and VLC using brew install ace-link --cask --skip-cask-deps, or
  2. Overwrite the existing install of Docker and VLC using brew install ace-link --cask --force

I can't/won't fix this issue but I'll pin it for visibility.

@blaise-io blaise-io added the wontfix This will not be worked on label Feb 7, 2020
@blaise-io blaise-io pinned this issue Feb 8, 2020
@blaise-io blaise-io changed the title brew cask install fails if Docker has already been installed brew cask install ace-link fails if Docker or VLC have been installed manually Feb 8, 2020
@blaise-io blaise-io changed the title brew cask install ace-link fails if Docker or VLC have been installed manually Install with brew cask fails if Docker or VLC have been installed manually Feb 8, 2020
@blaise-io blaise-io changed the title Install with brew cask fails if Docker or VLC have been installed manually brew cask install` fails if Docker or VLC have been installed manually Feb 8, 2020
@blaise-io blaise-io changed the title brew cask install` fails if Docker or VLC have been installed manually brew cask install fails if Docker or VLC have been installed manually Feb 8, 2020
@codery2k
Copy link

codery2k commented Apr 5, 2020

If anyone has a similar problem while running brew cask upgrade, it should be fixed by running the command with --skip-cask-deps, i.e

brew cask upgrade --skip-cask-deps

Repository owner locked as resolved and limited conversation to collaborators Apr 5, 2020
@blaise-io blaise-io reopened this Oct 28, 2023
@blaise-io
Copy link
Owner

Reopening to allow discussion on solutions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants