Closed arielelkin closed 4 years ago
The formula in question
Cask.
work fine on my machine but on CI it systematically fails.
Give us an example. I’m not sure what you’re calling “CI”, but your example isn’t it.
Have you ever installed the cask before?
Yes, I'm able to install the cask on my local machine, but the installation fails on my other machine (my "CI" machine, on which I run my continuous integration builds). Output on my machine:
$ brew cask install blackhole
Warning: Cask 'blackhole' is already installed.
To re-install blackhole, run:
brew cask reinstall blackhole
output on my CI machine:
% brew update && brew cask install blackhole --force --verbose --debug
Already up-to-date.
==> Downloading https://github.com/ExistentialAudio/BlackHole/releases/download/v0.2.6/BlackHole.v0.2.6.pkg
##O#- #
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'blackhole' with message: Download failed: https://github.com/ExistentialAudio/BlackHole/releases/download/v0.2.6/BlackHole.v0.2.6.pkg
Clearly something went wrong on the other machine, because that’s not the URL on the cask. Perhaps it’s stuck and unable to update Homebrew itself. I’d nuke and try again, or at least untap and retap the repo.
Without steps to reproduce and it only failing on one machine, not much we can do.
General troubleshooting steps
--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
The formula in question is Blackhole.
work fine on my machine but on CI it systematically fails.
Output of command with
--force --verbose --debug
Output of
brew cask doctor
Output of
brew tap