Closed bzupnick closed 4 years ago
Can’t reproduce. Try rebooting your machine. If that doesn’t work, try rm -rf "$(brew --cache)"
.
Unfortunately it seems to have the same result.
$ rm -rf "$(brew --cache)"
$ brew cask install docker
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).
==> Updated Formulae
vim ✔ bumpversion dhall-json fx glooctl ios-deploy neomutt ocaml-num serverless vips
ansible-lint certbot diffr geogram gnupg jenkins node phpstan terragrunt
bcftools cln dnscrypt-proxy get_iplayer htslib navi noti samtools tor
bit debianutils dvc glib-networking imagemagick ncmpc now-cli scrcpy traefik
==> Downloading https://download.docker.com/mac/stable/40693/Docker.dmg
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'docker'.
==> Installing Cask docker
hdiutil: attach failed - no mountable file systems
==> Purging files for version 2.1.0.5,40693 of Cask docker
Error: Failure while executing; `hdiutil attach -plist -nobrowse -readonly -noidme -mountrandom /var/folders/qy/rdffl5_52wd11b76ngjswj880000gp/T/d20191210-73607-1ozpqs5 /var/folders/qy/rdffl5_52wd11b76ngjswj880000gp/T/d20191210-73607-1ozpqs5/13890d1d77d78fca7fae9492930e9cb0a45ba8d4fadb125d386f64a6ce8738b7--Docker.cdr` exited with 1. Here's the output:
hdiutil: attach failed - no mountable file systems
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:176:in `assert_success!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:53:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:19:in `system_command!'
/usr/local/Homebrew/Library/Homebrew/unpack_strategy/dmg.rb:156:in `block in mount'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/tmpdir.rb:93:in `mktmpdir'
/usr/local/Homebrew/Library/Homebrew/unpack_strategy/dmg.rb:126:in `mount'
/usr/local/Homebrew/Library/Homebrew/unpack_strategy/dmg.rb:116:in `extract_to_dir'
/usr/local/Homebrew/Library/Homebrew/unpack_strategy.rb:123:in `extract'
/usr/local/Homebrew/Library/Homebrew/unpack_strategy.rb:130:in `block in extract_nestedly'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/tmpdir.rb:93:in `mktmpdir'
/usr/local/Homebrew/Library/Homebrew/unpack_strategy.rb:127:in `extract_nestedly'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:193:in `extract_primary_container'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:73:in `stage'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:97:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:22:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:92:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:158:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
I’m going to leave this open for now, but you’re likely on your own. As mentioned, I can’t reproduce, and those errors are often on the user’s side. I recommend you search for the hdiutil: attach failed - no mountable file systems
error online.
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
Installing docker fails, see the output bellow:
Command that failed
Output of command with
--force --verbose --debug
Output of
brew cask doctor
Output of
brew tap